IQAN.export('IQAN_Simulink_test') ### Verify and Export script executed for model IQAN_Simulink_test. ### Executing Model Advisor checks. Running Model Advisor Running Model Advisor on IQAN_Simulink_test ============================================================ Model Advisor run: 28-Oct-2020 17:03:03 Configuration: None System: IQAN_Simulink_test System version: 10.1 Created by: adas ============================================================ (1) Pass: Check sample time of outports [check ID: IQAN.OutportSampleTimeCheck] ------------------------------------------------------------ (2) Pass: Check step size [check ID: IQAN.FixedStepCheck] ------------------------------------------------------------ (3) Pass: Model information check [check ID: IQAN.InformationCheck] ------------------------------------------------------------ (4) Pass: Check top model pattern [check ID: IQAN.TopModelCheck] ------------------------------------------------------------ (5) Pass: Check data types for in and outports [check ID: IQAN.DataTypeCheck] ------------------------------------------------------------ (6) Pass: Check dimension for in and outports [check ID: IQAN.DimensionCheck] ------------------------------------------------------------ (7) Pass: Check names of ports and models [check ID: IQAN.PortNameCheck] ------------------------------------------------------------ (8) Pass: Check test point paths [check ID: IQAN.TestPointCheck] ------------------------------------------------------------ (9) Pass: Check reference model names [check ID: IQAN.DuplicateRefModelNameCheck] ------------------------------------------------------------ (10) Pass: Check storage class used [check ID: IQAN.StorageClassCheck] ------------------------------------------------------------ Summary: Pass Warning Fail Not Run 10 0 0 0 ============================================================ Systems passed: 1 of 1 Systems with warnings: 0 of 1 Systems failed: 0 of 1 Summary Report ### All checks passed! ### Generating code. Warning: Model 'IQAN_Simulink_test' or its dependencies have unsaved changes, which increase the time required to compile the model hierarchy and check whether model reference targets are up to date. Warning: Model 'testModel' has unsaved changes. Suggested Actions: • Save model 'testModel'. - Fix ### Starting serial model reference code generation build ### Checking the status of model reference code generation target for model 'testModel' used in 'IQAN_Simulink_test' ### Model reference code generation target (testModel.c) for model testModel is out of date because the binary information cache does not exist. The slprj directory containing the binary information cache may have been removed. ### Starting build procedure for: testModel ### Generating code and artifacts to 'Target environment subfolder' folder structure ### Generating code into build folder: C:\Work\Parker_IQAN\out\TriCore_IQAN\_ref\testModel ### Invoking Target Language Compiler on testModel.rtw ### Using System Target File: C:\Users\adas\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\IQAN Toolbox for Simulink\SystemTargetFile\IQAN.tlc ### Loading TLC function libraries ...... ### Initial pass through model to cache user defined code ### Caching model source code ............................... ### Writing header file testModel_types.h . ### Writing header file testModel.h ### Writing source file testModel.c ### Writing header file testModel_private.h ### TLC code generation complete. ### Using toolchain: IQAN MinGW Toolchain v1.0 | gmake (64-bit Windows) ### 'C:\Work\Parker_IQAN\out\TriCore_IQAN\_ref\testModel\testModel.mk' is up to date ### Building 'testModel_rtwlib': "C:\PROGRA~1\MATLAB\R2020a\bin\win64\gmake" -f testModel.mk all ### Build procedure for testModel aborted due to an error. Error using coder.make.Builder/coder_diagnose C:\Work\Parker_IQAN\out\TriCore_IQAN\_ref\testModel>cd . C:\Work\Parker_IQAN\out\TriCore_IQAN\_ref\testModel>if "" == "" ("C:\PROGRA~1\MATLAB\R2020a\bin\win64\gmake" -f testModel.mk all ) else ("C:\PROGRA~1\MATLAB\R2020a\bin\win64\gmake" -f testModel.mk ) "C:\MinGW\bin/gcc" -c -fsingle-precision-constant -m32 -O0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DMODEL=testModel -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @testModel_comp.rsp -o"testModel.obj" "C:/Work/Parker_IQAN/out/TriCore_IQAN/_ref/testModel/testModel.c" gmake: *** [testModel.obj] Error 1 C:\Work\Parker_IQAN\out\TriCore_IQAN\_ref\testModel>echo The make command returned an error of 2 The make command returned an error of 2 C:\Work\Parker_IQAN\out\TriCore_IQAN\_ref\testModel>exit 1 Error(s) encountered while building "testModel_rtwlib": ### Failed to generate all binary outputs. Error in coder.make.Builder/coder_build Error in coder.make.Builder/run Error in coder.make.invokeBuilder Error in RTW.genMakefileAndBuild (line 458) buildResults = coder.make.invokeBuilder... Error in coder.internal.compileStage Error in coder.internal.ModelBuilder/buildProcedure (line 1526) compileResult = coder.internal.compileStage... Error in coder.internal.ModelBuilder/make_rtw (line 173) [buildResult, mainObjFolder] = buildProcedure... Error in coder.internal.ModelCodegenMgr/make_rtw (line 8) [buildResult, mainObjFolder] = obj.make_rtw(varargin); Error in make_rtw (line 20) [buildResult, mainObjFolder] = h.make_rtw(buildArgs, varargin{:}); Error in build_target Error in build_target Error in build_model_reference_target Error in updateMdlRefTarget Error in slprivate (line 11) [varargout{1:nargout}] = feval(function_name, varargin{1:end}); Error in coder.serial.hBuildModelRefs Error in coder.serial.buildModelRefs Error in update_model_reference_targets Error in update_model_reference_targets Error in update_model_reference_targets Error in build_standalone_rtw_target Error in slbuild_private Error in slbuild_private Error in sl (line 15) [varargout{1:nargout}]=feval(varargin{:}); Error in slbuild (line 98) sl('slbuild_private', mdl, target, varargin{2:end}); Error in rtwbuild Error in verifyAndExport Error in verifyAndExport Error in IQAN.export (line 38) verifyAndExport(model, varargin{:});