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.00109/0.00109, allocations: 107 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 189.2 kB / 16.91 MB, free: 6.191 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.655/1.655, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.451/0.451, allocations: 43.49 MB / 313.6 MB, free: 8.57 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.001952/0.001952, allocations: 63.91 kB / 382.3 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1684, allocations: 57.77 MB / 440.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.002718/0.1711, allocations: 0.562 MB / 440.6 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009041/0.1802, allocations: 5.11 MB / 445.8 MB, free: 8.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.742e-05/0.1803, allocations: 4 kB / 445.8 MB, free: 8.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.1803, allocations: 4 kB / 445.8 MB, free: 8.945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.943e-06/0.1804, allocations: 0 / 445.8 MB, free: 8.945 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008382/0.1887, allocations: 2.766 MB / 448.5 MB, free: 6.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.763e-05/0.1888, allocations: 7.984 kB / 448.5 MB, free: 6.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.645e-05/0.1889, allocations: 3.984 kB / 448.5 MB, free: 6.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.187e-05/0.1889, allocations: 0 / 448.5 MB, free: 6.164 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.274e-05/0.189, allocations: 8 kB / 448.6 MB, free: 6.156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.915e-06/0.189, allocations: 0 / 448.6 MB, free: 6.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3336/0.5225, allocations: 18.99 MB / 467.5 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.5226, allocations: 0 / 467.5 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.5227, allocations: 5.516 kB / 467.5 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05371/0.5764, allocations: 27.21 MB / 494.8 MB, free: 33.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.535e-05/0.5765, allocations: 0 / 494.8 MB, free: 33.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.681e-06/0.5765, allocations: 3.188 kB / 494.8 MB, free: 33.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.708e-05/0.5766, allocations: 0 / 494.8 MB, free: 33.73 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.02084/0.5974, allocations: 0.6623 MB / 495.4 MB, free: 33.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.5975, allocations: 16.64 kB / 495.4 MB, free: 33.12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.236e-05/0.5975, allocations: 30.75 kB / 495.5 MB, free: 33.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.5976, allocations: 1.875 kB / 495.5 MB, free: 33.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.271e-05/0.5977, allocations: 167 kB / 495.6 MB, free: 32.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.5977, allocations: 3.156 kB / 495.6 MB, free: 32.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.5977, allocations: 0 / 495.6 MB, free: 32.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.5978, allocations: 35.53 kB / 495.7 MB, free: 32.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.5978, allocations: 0.5 kB / 495.7 MB, free: 32.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.5978, allocations: 0 / 495.7 MB, free: 32.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.5978, allocations: 2.469 kB / 495.7 MB, free: 32.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.145e-05/0.5979, allocations: 6.625 kB / 495.7 MB, free: 32.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001181/0.598, allocations: 145.6 kB / 495.8 MB, free: 32.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.644e-05/0.5981, allocations: 17.83 kB / 495.8 MB, free: 32.63 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.997e-05/0.5981, allocations: 10.45 kB / 495.9 MB, free: 32.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/0.5981, allocations: 0 / 495.9 MB, free: 32.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.5982, allocations: 64.47 kB / 495.9 MB, free: 32.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.5982, allocations: 10.5 kB / 495.9 MB, free: 32.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000207/0.5984, allocations: 57.78 kB / 496 MB, free: 32.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.5984, allocations: 77.11 kB / 496.1 MB, free: 32.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.535e-05/0.5985, allocations: 89.86 kB / 496.1 MB, free: 32.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.5985, allocations: 28.02 kB / 496.2 MB, free: 32.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.465e-05/0.5985, allocations: 87.3 kB / 496.3 MB, free: 32.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.5986, allocations: 0 / 496.3 MB, free: 32.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.5986, allocations: 13.7 kB / 496.3 MB, free: 32.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.27e-05/0.5987, allocations: 318 kB / 496.6 MB, free: 31.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/0.5987, allocations: 1.281 kB / 496.6 MB, free: 31.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.554e-06/0.5987, allocations: 3.469 kB / 496.6 MB, free: 31.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.592e-05/0.5987, allocations: 60.83 kB / 496.6 MB, free: 31.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5988, allocations: 0 / 496.6 MB, free: 31.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.712e-05/0.5988, allocations: 68.98 kB / 496.7 MB, free: 31.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/0.5989, allocations: 30.17 kB / 496.7 MB, free: 31.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5989, allocations: 0 / 496.7 MB, free: 31.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.5989, allocations: 3.188 kB / 496.7 MB, free: 31.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.5989, allocations: 2.094 kB / 496.7 MB, free: 31.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.5989, allocations: 4 kB / 496.8 MB, free: 31.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.5989, allocations: 0.5 kB / 496.8 MB, free: 31.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.599, allocations: 0 / 496.8 MB, free: 31.66 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 6.033e-05/0.599, allocations: 144.7 kB / 496.9 MB, free: 31.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-06/0.599, allocations: 0 / 496.9 MB, free: 31.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.148e-05/0.5991, allocations: 7.828 kB / 496.9 MB, free: 31.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.5991, allocations: 3.188 kB / 496.9 MB, free: 31.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5991, allocations: 1.391 kB / 496.9 MB, free: 31.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5991, allocations: 4 kB / 496.9 MB, free: 31.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.767e-05/0.5991, allocations: 149.6 kB / 497.1 MB, free: 31.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.5991, allocations: 0 / 497.1 MB, free: 31.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-06/0.5992, allocations: 4.094 kB / 497.1 MB, free: 31.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.5992, allocations: 0 / 497.1 MB, free: 31.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.5992, allocations: 3.984 kB / 497.1 MB, free: 31.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.5992, allocations: 0 / 497.1 MB, free: 31.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5992, allocations: 0 / 497.1 MB, free: 31.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.079e-05/0.5993, allocations: 97.34 kB / 497.2 MB, free: 31.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.5993, allocations: 81.84 kB / 497.2 MB, free: 31.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.5993, allocations: 4.5 kB / 497.2 MB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.986e-06/0.5993, allocations: 3 kB / 497.2 MB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/0.5993, allocations: 3.188 kB / 497.2 MB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.5993, allocations: 2.812 kB / 497.3 MB, free: 31.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.383e-05/0.5994, allocations: 75.28 kB / 497.3 MB, free: 31.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5994, allocations: 0 / 497.3 MB, free: 31.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.02883/0.6282, allocations: 3.813 MB / 0.4894 GB, free: 30.07 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.04976/0.678, allocations: 1.537 MB / 0.4909 GB, free: 28.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.6782, allocations: 64.7 kB / 0.491 GB, free: 28.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.6782, allocations: 0 / 0.491 GB, free: 28.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.547e-05/0.6783, allocations: 56.44 kB / 0.491 GB, free: 28.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.6784, allocations: 3.234 kB / 0.491 GB, free: 28.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0175/0.6959, allocations: 351.8 kB / 0.4913 GB, free: 28.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.6961, allocations: 0.6729 MB / 0.492 GB, free: 27.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.338e-06/0.6961, allocations: 0 / 0.492 GB, free: 27.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.6962, allocations: 11.44 kB / 0.492 GB, free: 27.39 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6962, allocations: 0 / 0.492 GB, free: 27.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1994/0.8956, allocations: 114.3 MB / 0.6037 GB, free: 8.953 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/0.8959, allocations: 224.4 kB / 0.6039 GB, free: 8.699 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:161: ./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:161: ./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:161: ./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:161: ./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:161: ./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:161: ./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:161: ./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:161: ./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:161: ./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:161: ./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:161: ./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:161: ./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:161: ./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:161: ./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:161: ./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:161: ./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:161: ./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:161: ./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:161: ./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:161: ./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:161: ./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. 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+0x12ef2): 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