Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007696/0.0007732, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008704/0.0008706, allocations: 177.2 kB / 16.91 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.4 MB / 223.1 MB, free: 5.43 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.366/0.366, allocations: 43.57 MB / 315 MB, free: 8.887 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005322/0.0005323, allocations: 15.98 kB / 384.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1164, allocations: 58.86 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.0005712/0.117, allocations: 228.4 kB / 443.8 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007323/0.1244, allocations: 5.284 MB / 449 MB, free: 7.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.085e-05/0.1244, allocations: 0 / 449 MB, free: 7.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.1244, allocations: 0 / 449 MB, free: 7.062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.679e-06/0.1244, allocations: 4 kB / 449 MB, free: 7.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00586/0.1303, allocations: 2.622 MB / 451.7 MB, free: 4.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.461e-05/0.1304, allocations: 0 / 451.7 MB, free: 4.434 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.611e-05/0.1304, allocations: 0 / 451.7 MB, free: 4.434 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.567e-05/0.1304, allocations: 0 / 451.7 MB, free: 4.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.947e-05/0.1305, allocations: 4 kB / 451.7 MB, free: 4.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.142e-06/0.1305, allocations: 0 / 451.7 MB, free: 4.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2672/0.3976, allocations: 18.2 MB / 469.9 MB, free: 36.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.3977, allocations: 3.125 kB / 469.9 MB, free: 36.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.3978, allocations: 32.75 kB / 469.9 MB, free: 36.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05328/0.451, allocations: 27.21 MB / 497.1 MB, free: 32.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4511, allocations: 4.219 kB / 497.1 MB, free: 32.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.4511, allocations: 0 / 497.1 MB, free: 32.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.4511, allocations: 0 / 497.1 MB, free: 32.93 MB / 382.1 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.01644/0.4676, allocations: 0.6641 MB / 497.8 MB, free: 32.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.4677, allocations: 10.23 kB / 497.8 MB, free: 32.33 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.033e-05/0.4677, allocations: 38.47 kB / 497.8 MB, free: 32.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.4677, allocations: 1.875 kB / 497.8 MB, free: 32.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.962e-05/0.4678, allocations: 163 kB / 498 MB, free: 32.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.4678, allocations: 2.031 kB / 498 MB, free: 32.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.4678, allocations: 0 / 498 MB, free: 32.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.592e-05/0.4679, allocations: 28.33 kB / 498 MB, free: 32.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.4679, allocations: 1.875 kB / 498 MB, free: 32.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-06/0.468, allocations: 1.562 kB / 498 MB, free: 32.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.468, allocations: 0 / 498 MB, free: 32.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.853e-05/0.468, allocations: 2.906 kB / 498 MB, free: 32.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.374e-05/0.4681, allocations: 152.7 kB / 498.2 MB, free: 31.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.948e-05/0.4681, allocations: 22.67 kB / 498.2 MB, free: 31.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.293e-05/0.4682, allocations: 7.859 kB / 498.2 MB, free: 31.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.4682, allocations: 0 / 498.2 MB, free: 31.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.4682, allocations: 61.02 kB / 498.3 MB, free: 31.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.4682, allocations: 0 / 498.3 MB, free: 31.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001778/0.4684, allocations: 72.11 kB / 498.3 MB, free: 31.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.4685, allocations: 77.11 kB / 498.4 MB, free: 31.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.393e-05/0.4685, allocations: 94.42 kB / 498.5 MB, free: 31.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.4685, allocations: 27.8 kB / 498.5 MB, free: 31.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.454e-05/0.4685, allocations: 80.14 kB / 498.6 MB, free: 31.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.4686, allocations: 3.469 kB / 498.6 MB, free: 31.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/0.4686, allocations: 9.719 kB / 498.6 MB, free: 31.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.529e-05/0.4686, allocations: 318.5 kB / 498.9 MB, free: 31.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.4687, allocations: 4.516 kB / 498.9 MB, free: 31.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-06/0.4687, allocations: 4.781 kB / 498.9 MB, free: 31.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.699e-05/0.4687, allocations: 62.08 kB / 499 MB, free: 30.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4687, allocations: 0 / 499 MB, free: 30.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.533e-05/0.4688, allocations: 66.34 kB / 499.1 MB, free: 30.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.4688, allocations: 28.83 kB / 499.1 MB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4688, allocations: 5.391 kB / 499.1 MB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.4688, allocations: 224 / 499.1 MB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.4689, allocations: 4 kB / 499.1 MB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.4689, allocations: 1.781 kB / 499.1 MB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.706e-05/0.4689, allocations: 0 / 499.1 MB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.4689, allocations: 3.625 kB / 499.1 MB, free: 30.88 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.037e-05/0.469, allocations: 139.4 kB / 499.2 MB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.884e-06/0.469, allocations: 1.031 kB / 499.2 MB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.266e-05/0.469, allocations: 5.531 kB / 499.2 MB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.469, allocations: 0 / 499.2 MB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.469, allocations: 0 / 499.2 MB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.469, allocations: 4 kB / 499.3 MB, free: 30.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.181e-05/0.4691, allocations: 157.4 kB / 499.4 MB, free: 30.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.4691, allocations: 0 / 499.4 MB, free: 30.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.4691, allocations: 0 / 499.4 MB, free: 30.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.4691, allocations: 0 / 499.4 MB, free: 30.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.4691, allocations: 0 / 499.4 MB, free: 30.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.4691, allocations: 0 / 499.4 MB, free: 30.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.4691, allocations: 3.969 kB / 499.4 MB, free: 30.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.145e-05/0.4692, allocations: 99.56 kB / 499.5 MB, free: 30.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.4692, allocations: 77.11 kB / 499.6 MB, free: 30.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.4693, allocations: 3.656 kB / 499.6 MB, free: 30.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.021e-05/0.4693, allocations: 0.5625 kB / 499.6 MB, free: 30.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.4693, allocations: 0 / 499.6 MB, free: 30.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.4693, allocations: 10.17 kB / 499.6 MB, free: 30.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.435e-05/0.4693, allocations: 75.28 kB / 499.7 MB, free: 30.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4693, allocations: 0 / 499.7 MB, free: 30.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.02799/0.4973, allocations: 3.816 MB / 0.4917 GB, free: 28.35 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04364/0.541, allocations: 1.533 MB / 0.4932 GB, free: 26.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.5412, allocations: 60.53 kB / 0.4932 GB, free: 26.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5412, allocations: 0 / 0.4932 GB, free: 26.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.609e-05/0.5413, allocations: 63.45 kB / 0.4933 GB, free: 26.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.5414, allocations: 7.938 kB / 0.4933 GB, free: 26.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01881/0.5602, allocations: 342.8 kB / 0.4936 GB, free: 26.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.5605, allocations: 0.6731 MB / 0.4943 GB, free: 25.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.356e-06/0.5605, allocations: 0 / 0.4943 GB, free: 25.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.5605, allocations: 11.44 kB / 0.4943 GB, free: 25.71 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5605, allocations: 0 / 0.4943 GB, free: 25.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1883/0.7488, allocations: 114.2 MB / 0.6058 GB, free: 7.391 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/0.749, allocations: 229 kB / 0.606 GB, free: 7.129 MB / 478.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2.c In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_functions.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_functions.c In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_functions.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_functions.c:3104:379: warning: incompatible pointer types passing 'modelica_boolean *' (aka 'signed char *') to parameter of type 'int *' [-Wincompatible-pointer-types] 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./util/generic_array.h:101:53: note: expanded from macro 'data_of_boolean_f77_array' #define data_of_boolean_f77_array(arr) (modelica_boolean*) ((arr).data) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_functions.h:200:263: note: passing argument to parameter here extern void dgees_(char*, char*, int* /*_dummyFunctionPointerNotUsed*/, int* /*_n*/, double* /*_T*/, int* /*_lda*/, int* /*_sdim*/, double* /*_eval_real*/, double* /*_eval_imag*/, double* /*_Z*/, int* /*_lda*/, double* /*_work*/, int* /*_lwork*/, int* /*_bwork*/, int* /*_info*/); ^ ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_functions.c:4264:71: warning: incompatible pointer types passing 'modelica_boolean *' (aka 'signed char *') to parameter of type 'int *' [-Wincompatible-pointer-types] 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./util/generic_array.h:101:53: note: expanded from macro 'data_of_boolean_f77_array' #define data_of_boolean_f77_array(arr) (modelica_boolean*) ((arr).data) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_3_2_3_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_3_ModelicaTest_Math_TestMatrices2_functions.c:4916: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)); ^ 5 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_records.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_records.c In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_01exo.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_01exo.c In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_01exo.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_02nls.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_02nls.c In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_02nls.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_03lsy.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_03lsy.c In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_03lsy.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_04set.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_04set.c In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_04set.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_05evt.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_05evt.c In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_05evt.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_06inz.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_06inz.c In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_06inz.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_07dly.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_07dly.c In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_07dly.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_08bnd.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_08bnd.c In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_08bnd.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_09alg.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_09alg.c In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_09alg.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_10asr.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_10asr.c In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_10asr.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_11mix.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_11mix.c In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_11mix.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_12jac.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_12jac.c In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_12jac.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_13opt.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_13opt.c In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_13opt.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_14lnz.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_14lnz.c In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_14lnz.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_15syn.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_15syn.c In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_15syn.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_16dae.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_16dae.c In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_16dae.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_17inl.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_17inl.c In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_17inl.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_18spd.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_18spd.c In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_18spd.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_init_fmu.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_init_fmu.c In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_init_fmu.c:1: In file included from ./simulation_data.h:39: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_FMU.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_FMU.c In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_FMU.c:9: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_FMU.c:59: ./fmi-export/fmu2_model_interface.c.inc:213:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ ./gc/../meta/../util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 3 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2.so ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_functions.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_records.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_01exo.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_02nls.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_03lsy.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_04set.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_05evt.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_06inz.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_07dly.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_08bnd.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_09alg.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_10asr.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_11mix.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_12jac.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_13opt.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_14lnz.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_15syn.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_16dae.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_17inl.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_18spd.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_init_fmu.o ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" "-L/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library/x86_64-linux" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library/x86_64-linux" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library/linux64" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library/linux64" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library" -lModelicaExternalC -Wl,-Bdynamic -L'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -Wl,-Bstatic -lSimulationRuntimeFMI -Wl,--no-as-needed -Wl,--disable-new-dtags -llapack -lblas -Wl,-Bdynamic -lm -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libModelicaExternalC.a(ModelicaInternal.c.o): in function `ModelicaInternal_temporaryFileName': ModelicaInternal.c:(.text+0xae4): warning: the use of `tmpnam' is dangerous, better use `mkstemp' /usr/bin/ld: ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_functions.o: in function `omc_Modelica_Math_Matrices_Utilities_householderReflection': ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_functions.c:(.text+0x12131): undefined reference to `scalar' /usr/bin/ld: /lib/x86_64-linux-gnu/liblapack.a(dgesvd.o): in function `dgesvd_': (.text+0x9e7): undefined reference to `_gfortran_concat_string' /usr/bin/ld: (.text+0xc59): undefined reference to `_gfortran_concat_string' /usr/bin/ld: /lib/x86_64-linux-gnu/liblapack.a(dhseqr.o): in function `dhseqr_': (.text+0x48a): undefined reference to `_gfortran_concat_string' /usr/bin/ld: /lib/x86_64-linux-gnu/liblapack.a(dormbr.o): in function `dormbr_': (.text+0x3cb): undefined reference to `_gfortran_concat_string' /usr/bin/ld: (.text+0x599): undefined reference to `_gfortran_concat_string' /usr/bin/ld: /lib/x86_64-linux-gnu/liblapack.a(dormbr.o):(.text+0x6e1): more undefined references to `_gfortran_concat_string' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:65: nozip] Error 1