Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Math.MatricesInModel.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.MatricesInModel,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Math_MatricesInModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009761/0.009766, allocations: 161.3 kB / 15.11 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.753/1.753, allocations: 170.8 MB / 186.7 MB, free: 1.098 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002269/0.002269, allocations: 101.7 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4508/0.4508, allocations: 38.05 MB / 303.7 MB, free: 42.77 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006855/0.0006858, allocations: 12 kB / 363 MB, free: 5.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1419, allocations: 48.71 MB / 411.7 MB, free: 4.676 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.MatricesInModel): time 0.0007839/0.1427, allocations: 202.4 kB / 411.9 MB, free: 4.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01531/0.1581, allocations: 5.032 MB / 416.9 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.825e-06/0.1581, allocations: 0 / 416.9 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.211e-05/0.1582, allocations: 0 / 416.9 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 1.834e-06/0.1582, allocations: 4 kB / 416.9 MB, free: 15.42 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01406/0.1723, allocations: 2.813 MB / 419.7 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 2.242e-05/0.1723, allocations: 0 / 419.7 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.638e-05/0.1724, allocations: 0 / 419.7 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.64e-05/0.1724, allocations: 3.984 kB / 419.7 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006364/0.1788, allocations: 1.862 MB / 421.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.1788, allocations: 0 / 421.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3699/0.5487, allocations: 20.19 MB / 441.8 MB, free: 34.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.5488, allocations: 0.5938 kB / 441.8 MB, free: 34.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.5488, allocations: 25.7 kB / 441.8 MB, free: 34.45 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03895/0.5878, allocations: 20.56 MB / 462.4 MB, free: 33.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.5878, allocations: 0 / 462.4 MB, free: 33.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.5879, allocations: 0 / 462.4 MB, free: 33.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.5879, allocations: 0 / 462.4 MB, free: 33.76 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.01663/0.6045, allocations: 0.6611 MB / 463 MB, free: 33.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.6046, allocations: 9.656 kB / 463.1 MB, free: 33.17 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.327e-05/0.6046, allocations: 110.4 kB / 463.2 MB, free: 33.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.178e-05/0.6047, allocations: 75.28 kB / 463.2 MB, free: 32.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.499e-05/0.6048, allocations: 239.6 kB / 463.5 MB, free: 32.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.6048, allocations: 150.6 kB / 463.6 MB, free: 32.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.6049, allocations: 153.7 kB / 463.8 MB, free: 32.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.579e-05/0.6049, allocations: 104.9 kB / 463.9 MB, free: 32.31 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.605, allocations: 77.84 kB / 463.9 MB, free: 32.24 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.605, allocations: 150.6 kB / 464.1 MB, free: 32.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/0.6051, allocations: 159.7 kB / 464.2 MB, free: 31.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.23e-05/0.6051, allocations: 155.3 kB / 464.4 MB, free: 31.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.6053, allocations: 441.2 kB / 464.8 MB, free: 31.31 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.856e-05/0.6054, allocations: 172.2 kB / 465 MB, free: 31.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.308e-05/0.6054, allocations: 80.14 kB / 465.1 MB, free: 31.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.6054, allocations: 79.88 kB / 465.2 MB, free: 30.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.6055, allocations: 109 kB / 465.3 MB, free: 30.87 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.814e-06/0.6055, allocations: 0 / 465.3 MB, free: 30.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 7.422e-05/0.6056, allocations: 27.73 kB / 465.3 MB, free: 30.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.6056, allocations: 131.2 kB / 465.4 MB, free: 30.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.134e-05/0.6057, allocations: 96.05 kB / 465.5 MB, free: 30.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.6057, allocations: 32.27 kB / 465.5 MB, free: 30.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.455e-05/0.6057, allocations: 80.84 kB / 465.6 MB, free: 30.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.6057, allocations: 0 / 465.6 MB, free: 30.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-07/0.6057, allocations: 0 / 465.6 MB, free: 30.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.821e-05/0.6058, allocations: 321.7 kB / 465.9 MB, free: 30.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.438e-06/0.6058, allocations: 3.469 kB / 465.9 MB, free: 30.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.031e-05/0.6059, allocations: 15.72 kB / 466 MB, free: 30.15 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.438e-05/0.6059, allocations: 75.28 kB / 466 MB, free: 30.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/0.6059, allocations: 75.28 kB / 466.1 MB, free: 30 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.668e-05/0.606, allocations: 28.86 kB / 466.1 MB, free: 29.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.606, allocations: 81.69 kB / 466.2 MB, free: 29.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.6061, allocations: 88.86 kB / 466.3 MB, free: 29.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.927e-05/0.6061, allocations: 153.9 kB / 466.4 MB, free: 29.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.498e-05/0.6061, allocations: 78.94 kB / 466.5 MB, free: 29.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.807e-05/0.6062, allocations: 153.8 kB / 466.7 MB, free: 29.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.026e-05/0.6063, allocations: 79.44 kB / 466.8 MB, free: 29.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.6063, allocations: 75.28 kB / 466.8 MB, free: 29.29 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.573e-05/0.6064, allocations: 271.7 kB / 467.1 MB, free: 29.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.6064, allocations: 105 kB / 467.2 MB, free: 28.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.6065, allocations: 114.7 kB / 467.3 MB, free: 28.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.794e-05/0.6065, allocations: 178.6 kB / 467.5 MB, free: 28.62 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-05/0.6066, allocations: 180.6 kB / 467.7 MB, free: 28.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.664e-05/0.6066, allocations: 186.2 kB / 467.8 MB, free: 28.26 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.6068, allocations: 404.7 kB / 468.2 MB, free: 27.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/0.6068, allocations: 101 kB / 468.3 MB, free: 27.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.452e-05/0.6069, allocations: 111.1 kB / 468.4 MB, free: 27.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-05/0.6069, allocations: 176.3 kB / 468.6 MB, free: 27.42 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.607, allocations: 184.2 kB / 468.8 MB, free: 27.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.205e-05/0.607, allocations: 182.8 kB / 469 MB, free: 27.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.229e-05/0.607, allocations: 178.9 kB / 469.1 MB, free: 26.88 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.286e-05/0.6071, allocations: 311.5 kB / 469.4 MB, free: 26.56 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.6072, allocations: 185.5 kB / 469.6 MB, free: 26.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/0.6072, allocations: 183.5 kB / 469.8 MB, free: 26.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.433e-05/0.6073, allocations: 105.1 kB / 469.9 MB, free: 26.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.6074, allocations: 176.3 kB / 470.1 MB, free: 25.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.6074, allocations: 113.2 kB / 470.2 MB, free: 25.78 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.994e-05/0.6074, allocations: 75.28 kB / 470.3 MB, free: 25.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6074, allocations: 0 / 470.3 MB, free: 25.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.02008/0.6275, allocations: 3.863 MB / 474.1 MB, free: 25.58 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04229/0.6699, allocations: 1.761 MB / 475.9 MB, free: 24.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.453e-05/0.67, allocations: 8.75 kB / 475.9 MB, free: 24.51 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.67, allocations: 0 / 475.9 MB, free: 24.51 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/0.67, allocations: 0 / 475.9 MB, free: 24.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.6703, allocations: 0.5208 MB / 476.4 MB, free: 23.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/0.6852, allocations: 422.1 kB / 476.8 MB, free: 23.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.6854, allocations: 0.6798 MB / 477.5 MB, free: 22.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.195e-05/0.6854, allocations: 0 / 477.5 MB, free: 22.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.6854, allocations: 12.38 kB / 477.5 MB, free: 22.95 MB / 330.7 MB Notification: Performance of SimCode: time 2.875e-06/0.6854, allocations: 0 / 477.5 MB, free: 22.95 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6526/1.338, allocations: 124.4 MB / 0.5878 GB, free: 42.14 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/1.338, allocations: 206.8 kB / 0.588 GB, free: 41.9 MB / 426.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_1_ModelicaTest_Math_MatricesInModel.o ModelicaTest_3_2_1_ModelicaTest_Math_MatricesInModel.c In file included from ModelicaTest_3_2_1_ModelicaTest_Math_MatricesInModel.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Math_MatricesInModel_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_1_ModelicaTest_Math_MatricesInModel_functions.o ModelicaTest_3_2_1_ModelicaTest_Math_MatricesInModel_functions.c In file included from ModelicaTest_3_2_1_ModelicaTest_Math_MatricesInModel_functions.c:2: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Math_MatricesInModel_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_3_2_1_ModelicaTest_Math_MatricesInModel_functions.c:3245:96: error: use of undeclared identifier '_dummyFunctionPointerNotUsed_ext' dgees_((char*)MMC_STRINGDATA(tmp4), (char*)MMC_STRINGDATA(tmp5), data_of_integer_f77_array(&(_dummyFunctionPointerNotUsed_ext)), (int*) &_n, data_of_real_f77_array(&(_T_ext)), (int*) &_lda, (int*) &_sdim, data_of_real_f77_array(&(_eval_real_ext)), data_of_real_f77_array(&(_eval_imag_ext)), data_of_real_f77_array(&(_Z_ext)), (int*) &_lda, data_of_real_f77_array(&(_work_ext)), (int*) &_lwork, data_of_boolean_f77_array(&(_bwork_ext)), (int*) &_info_ext); ^ ModelicaTest_3_2_1_ModelicaTest_Math_MatricesInModel_functions.c:3245:397: warning: implicit declaration of function 'data_of_boolean_f77_array' is invalid in C99 [-Wimplicit-function-declaration] dgees_((char*)MMC_STRINGDATA(tmp4), (char*)MMC_STRINGDATA(tmp5), data_of_integer_f77_array(&(_dummyFunctionPointerNotUsed_ext)), (int*) &_n, data_of_real_f77_array(&(_T_ext)), (int*) &_lda, (int*) &_sdim, data_of_real_f77_array(&(_eval_real_ext)), data_of_real_f77_array(&(_eval_imag_ext)), data_of_real_f77_array(&(_Z_ext)), (int*) &_lda, data_of_real_f77_array(&(_work_ext)), (int*) &_lwork, data_of_boolean_f77_array(&(_bwork_ext)), (int*) &_info_ext); ^ ModelicaTest_3_2_1_ModelicaTest_Math_MatricesInModel_functions.c:4591:71: warning: implicit declaration of function 'data_of_boolean_f77_array' is invalid in C99 [-Wimplicit-function-declaration] dtrsen_((char*)MMC_STRINGDATA(_job), (char*)MMC_STRINGDATA(_compq), data_of_boolean_f77_array(&(_select_ext)), (int*) &_n, data_of_real_f77_array(&(_To_ext)), (int*) &_ldt, data_of_real_f77_array(&(_Qo_ext)), (int*) &_ldq, data_of_real_f77_array(&(_wr_ext)), data_of_real_f77_array(&(_wi_ext)), (int*) &_m_ext, &_s_ext, &_sep_ext, data_of_real_f77_array(&(_work_ext)), (int*) &_lwork, data_of_integer_f77_array(&(_iwork_ext)), (int*) &_liwork, (int*) &_info_ext); ^ ModelicaTest_3_2_1_ModelicaTest_Math_MatricesInModel_functions.c:4591:71: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'int *' [-Wint-conversion] dtrsen_((char*)MMC_STRINGDATA(_job), (char*)MMC_STRINGDATA(_compq), data_of_boolean_f77_array(&(_select_ext)), (int*) &_n, data_of_real_f77_array(&(_To_ext)), (int*) &_ldt, data_of_real_f77_array(&(_Qo_ext)), (int*) &_ldq, data_of_real_f77_array(&(_wr_ext)), data_of_real_f77_array(&(_wi_ext)), (int*) &_m_ext, &_s_ext, &_sep_ext, data_of_real_f77_array(&(_work_ext)), (int*) &_lwork, data_of_integer_f77_array(&(_iwork_ext)), (int*) &_liwork, (int*) &_info_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_3_2_1_ModelicaTest_Math_MatricesInModel_functions.h:351:71: note: passing argument to parameter here extern void dtrsen_(char* /*_job*/, char* /*_compq*/, int* /*_select*/, int* /*_n*/, double* /*_To*/, int* /*_ldt*/, double* /*_Qo*/, int* /*_ldq*/, double* /*_wr*/, double* /*_wi*/, int* /*_m*/, double* /*_s*/, double* /*_sep*/, double* /*_work*/, int* /*_lwork*/, int* /*_iwork*/, int* /*_liwork*/, int* /*_info*/); ^ ModelicaTest_3_2_1_ModelicaTest_Math_MatricesInModel_functions.c:5239:12: warning: implicit declaration of function 'scalar' is invalid in C99 [-Wimplicit-function-declaration] _h = scalar(div_alloc_real_array_scalar(mul_alloc_real_matrix_product_smart(mul_alloc_real_array_scalar(tmp6, 2.0), tmp7), _lu)); ^ 6 warnings and 1 error generated. : recipe for target 'ModelicaTest_3_2_1_ModelicaTest_Math_MatricesInModel_functions.o' failed make: *** [ModelicaTest_3_2_1_ModelicaTest_Math_MatricesInModel_functions.o] Error 1