Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009727/0.009731, allocations: 177.4 kB / 15.13 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.056/2.056, allocations: 194.5 MB / 210.3 MB, free: 7.602 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001844/0.001843, allocations: 112.1 kB / 255.6 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2715/0.2715, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.0004703, allocations: 11.09 kB / 406.3 MB, free: 51.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09903/0.09953, allocations: 54.88 MB / 461.1 MB, free: 3.176 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.0005621/0.1002, allocations: 230.2 kB / 461.4 MB, free: 2.949 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009762/0.1099, allocations: 4.79 MB / 466.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.747e-05/0.11, allocations: 0 / 466.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.204e-05/0.11, allocations: 0 / 466.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.263e-06/0.11, allocations: 0 / 466.2 MB, free: 14.14 MB / 314.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:208:3-482:16:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices2‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0101/0.1202, allocations: 2.613 MB / 468.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 3.578e-05/0.1202, allocations: 0 / 468.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.928e-05/0.1203, allocations: 0 / 468.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.044e-05/0.1203, allocations: 3.984 kB / 468.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.166e-05/0.1203, allocations: 4 kB / 468.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.1204, allocations: 3.984 kB / 468.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0482/0.1686, allocations: 19.82 MB / 488.6 MB, free: 7.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.1686, allocations: 3.938 kB / 488.6 MB, free: 7.676 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.1687, allocations: 29.64 kB / 488.6 MB, free: 7.641 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03962/0.2083, allocations: 20.37 MB / 0.4971 GB, free: 3.238 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.253e-05/0.2084, allocations: 7.984 kB / 0.4971 GB, free: 3.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.2084, allocations: 0 / 0.4971 GB, free: 3.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.2084, allocations: 0 / 0.4971 GB, free: 3.23 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.009953/0.2184, allocations: 0.6649 MB / 0.4977 GB, free: 2.512 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.2184, allocations: 8.031 kB / 0.4977 GB, free: 2.504 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/0.2185, allocations: 38.56 kB / 0.4978 GB, free: 2.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.2185, allocations: 0 / 0.4978 GB, free: 2.457 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.2187, allocations: 163 kB / 0.4979 GB, free: 2.258 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.2187, allocations: 0 / 0.4979 GB, free: 2.258 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.2187, allocations: 3.938 kB / 0.4979 GB, free: 2.254 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.476e-05/0.2188, allocations: 33.69 kB / 0.498 GB, free: 2.215 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2188, allocations: 0 / 0.498 GB, free: 2.215 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.2188, allocations: 0 / 0.498 GB, free: 2.215 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2189, allocations: 0 / 0.498 GB, free: 2.215 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.003e-05/0.2189, allocations: 4 kB / 0.498 GB, free: 2.211 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.2191, allocations: 149.6 kB / 0.4981 GB, free: 2.016 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.121e-05/0.2191, allocations: 26.55 kB / 0.4981 GB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.34e-05/0.2192, allocations: 12.89 kB / 0.4982 GB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.2192, allocations: 0 / 0.4982 GB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.42e-05/0.2193, allocations: 56.27 kB / 0.4982 GB, free: 1.895 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.482e-06/0.2193, allocations: 0 / 0.4982 GB, free: 1.895 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001932/0.2195, allocations: 63.41 kB / 0.4983 GB, free: 1.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.2195, allocations: 85.09 kB / 0.4984 GB, free: 1.719 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.82e-05/0.2196, allocations: 89.86 kB / 0.4984 GB, free: 1.621 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.2196, allocations: 25.7 kB / 0.4985 GB, free: 1.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.2197, allocations: 80.14 kB / 0.4985 GB, free: 1.508 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.2197, allocations: 4 kB / 0.4985 GB, free: 1.504 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.2197, allocations: 0 / 0.4985 GB, free: 1.504 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2199, allocations: 310.8 kB / 0.4988 GB, free: 1.191 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.328e-05/0.2199, allocations: 8.062 kB / 0.4988 GB, free: 1.184 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.617e-06/0.2199, allocations: 0 / 0.4988 GB, free: 1.184 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.002e-05/0.22, allocations: 29.7 kB / 0.4989 GB, free: 1.148 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.22, allocations: 0 / 0.4989 GB, free: 1.148 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.707e-05/0.2201, allocations: 75.28 kB / 0.4989 GB, free: 1.062 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.498e-05/0.2201, allocations: 29.7 kB / 0.499 GB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2202, allocations: 0 / 0.499 GB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2202, allocations: 0 / 0.499 GB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-06/0.2202, allocations: 0 / 0.499 GB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2202, allocations: 4.094 kB / 0.499 GB, free: 1.023 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.2202, allocations: 8 kB / 0.499 GB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.2203, allocations: 3.938 kB / 0.499 GB, free: 1.012 MB / 346.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001041/0.2204, allocations: 131.5 kB / 0.4991 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.2204, allocations: 11.94 kB / 0.4991 GB, free: 0.8555 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.338e-05/0.2204, allocations: 3.125 kB / 0.4991 GB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2204, allocations: 0 / 0.4991 GB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2204, allocations: 0 / 0.4991 GB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2204, allocations: 0 / 0.4991 GB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.2206, allocations: 149.6 kB / 0.4993 GB, free: 0.6562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2206, allocations: 3.938 kB / 0.4993 GB, free: 0.6523 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-06/0.2206, allocations: 4 kB / 0.4993 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2206, allocations: 3.953 kB / 0.4993 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.2206, allocations: 3.984 kB / 0.4993 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2206, allocations: 0 / 0.4993 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2207, allocations: 0 / 0.4993 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.2208, allocations: 94.83 kB / 0.4994 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.2209, allocations: 85.12 kB / 0.4995 GB, free: 432 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.2209, allocations: 3.953 kB / 0.4995 GB, free: 428 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.199e-05/0.2209, allocations: 0 / 0.4995 GB, free: 428 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.2209, allocations: 4 kB / 0.4995 GB, free: 424 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.2209, allocations: 0 / 0.4995 GB, free: 424 kB / 346.7 MB Notification: Performance of sorting global known variables: time 3.796e-05/0.221, allocations: 75.28 kB / 0.4995 GB, free: 348 kB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.221, allocations: 0 / 0.4995 GB, free: 348 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.01414/0.2352, allocations: 3.808 MB / 0.5033 GB, free: 12.53 MB / 362.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.02772/0.2629, allocations: 1.533 MB / 0.5048 GB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.2631, allocations: 63.41 kB / 0.5048 GB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2631, allocations: 0 / 0.5048 GB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.907e-05/0.2632, allocations: 59.33 kB / 0.5049 GB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.2634, allocations: 7.953 kB / 0.5049 GB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008475/0.2719, allocations: 344.2 kB / 0.5052 GB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.2722, allocations: 0.6692 MB / 0.5059 GB, free: 9.754 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.687e-06/0.2722, allocations: 128 / 0.5059 GB, free: 9.754 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.2723, allocations: 15.44 kB / 0.5059 GB, free: 9.738 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2723, allocations: 0 / 0.5059 GB, free: 9.738 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6657/0.9381, allocations: 123.4 MB / 0.6264 GB, free: 13.38 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000742/0.9389, allocations: 217.5 kB / 0.6266 GB, free: 13.13 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_2_ModelicaTest_Math_TestMatrices2.o ModelicaTest_3_2_2_ModelicaTest_Math_TestMatrices2.c In file included from ModelicaTest_3_2_2_ModelicaTest_Math_TestMatrices2.c:7: In file included from ./ModelicaTest_3_2_2_ModelicaTest_Math_TestMatrices2_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_2_ModelicaTest_Math_TestMatrices2_functions.o ModelicaTest_3_2_2_ModelicaTest_Math_TestMatrices2_functions.c In file included from ModelicaTest_3_2_2_ModelicaTest_Math_TestMatrices2_functions.c:2: In file included from ./ModelicaTest_3_2_2_ModelicaTest_Math_TestMatrices2_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_2_ModelicaTest_Math_TestMatrices2_functions.c:3089: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_2_ModelicaTest_Math_TestMatrices2_functions.c:3089: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_2_ModelicaTest_Math_TestMatrices2_functions.c:4249: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_2_ModelicaTest_Math_TestMatrices2_functions.c:4249: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_2_ModelicaTest_Math_TestMatrices2_functions.h:317: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_2_ModelicaTest_Math_TestMatrices2_functions.c:4897: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_2_ModelicaTest_Math_TestMatrices2_functions.o' failed make: *** [ModelicaTest_3_2_2_ModelicaTest_Math_TestMatrices2_functions.o] Error 1