Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TestVectors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors",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.001179/0.001179, allocations: 110.8 kB / 17.33 MB, free: 6.023 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.001086/0.001086, allocations: 193.3 kB / 18.25 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 241.9 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2229/0.2229, allocations: 44.18 MB / 336.3 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 73.36 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1067, allocations: 60.82 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001706/0.1084, allocations: 0.5449 MB / 469.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.1097, allocations: 0.7668 MB / 470.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.175e-05/0.1097, allocations: 0 / 470.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.234e-05/0.1097, allocations: 0 / 470.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.098e-06/0.1098, allocations: 0 / 470.1 MB, free: 13.32 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:612:3-661:14:writable] Warning: Pure function ‘ModelicaTest.Math.Vectors‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.1113, allocations: 0.5477 MB / 470.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.818e-05/0.1113, allocations: 4 kB / 470.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.954e-05/0.1114, allocations: 0 / 470.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.298e-05/0.1114, allocations: 4 kB / 470.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.379e-05/0.1114, allocations: 0 / 470.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.579e-06/0.1114, allocations: 0 / 470.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005633/0.112, allocations: 383.2 kB / 471.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.362e-06/0.112, allocations: 0 / 471.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.618e-05/0.112, allocations: 3.938 kB / 471.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004242/0.1125, allocations: 331.4 kB / 471.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1125, allocations: 0 / 471.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1125, allocations: 3.938 kB / 471.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1125, allocations: 3.938 kB / 471.4 MB, free: 12.06 MB / 350.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.0003806/0.1129, allocations: 389.3 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1129, allocations: 8.031 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.721e-05/0.113, allocations: 30.75 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.351e-05/0.113, allocations: 4.938 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.699e-05/0.1131, allocations: 160.4 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.1131, allocations: 384 / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.1131, allocations: 384 / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.166e-05/0.1132, allocations: 34.25 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.1132, allocations: 3.938 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.1132, allocations: 4 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1132, allocations: 0 / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.691e-05/0.1133, allocations: 3.938 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.1134, allocations: 149.7 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.288e-05/0.1134, allocations: 14.58 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.176e-05/0.1134, allocations: 4.859 kB / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-06/0.1134, allocations: 0 / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.1135, allocations: 68.34 kB / 472.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.1135, allocations: 0 / 472.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001533/0.1137, allocations: 71.28 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.1137, allocations: 77.11 kB / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.63e-05/0.1137, allocations: 89.86 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.1138, allocations: 25.7 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.562e-05/0.1138, allocations: 80.14 kB / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.1138, allocations: 0 / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.1139, allocations: 21.83 kB / 472.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.113e-05/0.114, allocations: 314.8 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-06/0.114, allocations: 0 / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.209e-05/0.114, allocations: 8 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.573e-05/0.114, allocations: 60.27 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.114, allocations: 0 / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.146e-05/0.1141, allocations: 67.33 kB / 473 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.1142, allocations: 29.7 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1142, allocations: 12.03 kB / 473.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1142, allocations: 0 / 473.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-06/0.1142, allocations: 0 / 473.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1142, allocations: 3.984 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.52e-05/0.1142, allocations: 0 / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.1142, allocations: 3.938 kB / 473.1 MB, free: 10.07 MB / 350.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.973e-05/0.1143, allocations: 139.5 kB / 473.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/0.1143, allocations: 3.984 kB / 473.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.245e-05/0.1144, allocations: 11.05 kB / 473.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1144, allocations: 4 kB / 473.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1144, allocations: 0 / 473.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.1144, allocations: 4 kB / 473.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.424e-05/0.1145, allocations: 145.6 kB / 473.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1145, allocations: 0 / 473.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.1145, allocations: 0 / 473.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.1145, allocations: 3.984 kB / 473.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.1145, allocations: 3.938 kB / 473.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1145, allocations: 4 kB / 473.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1145, allocations: 0 / 473.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.429e-05/0.1146, allocations: 90.78 kB / 473.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.1146, allocations: 81.09 kB / 473.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.1147, allocations: 7.938 kB / 473.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-06/0.1147, allocations: 0 / 473.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.1147, allocations: 3.984 kB / 473.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.1147, allocations: 0 / 473.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.295e-05/0.1147, allocations: 75.28 kB / 473.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1147, allocations: 4.031 kB / 473.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003394/0.1151, allocations: 79.98 kB / 473.7 MB, free: 9.312 MB / 350.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.0007557/0.1158, allocations: 0.755 MB / 474.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.239e-05/0.1159, allocations: 59.34 kB / 474.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.116, allocations: 4.062 kB / 474.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.24e-05/0.116, allocations: 59.39 kB / 474.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.1161, allocations: 7.688 kB / 474.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/0.1165, allocations: 134.6 kB / 474.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.1167, allocations: 0.6729 MB / 475.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.54e-06/0.1167, allocations: 0 / 475.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.339e-05/0.1167, allocations: 7.438 kB / 475.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1167, allocations: 0 / 475.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01594/0.1327, allocations: 2.599 MB / 478 MB, free: 4.988 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/0.1329, allocations: 221.1 kB / 478.2 MB, free: 4.738 MB / 350.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors.c In file included from ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors.c:7: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_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 -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_functions.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_functions.c In file included from ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_functions.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_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_4_0_0_ModelicaTest_Math_TestVectors_functions.c:716:96: warning: incompatible pointer types passing 'modelica_real *' (aka 'double *') to parameter of type 'modelica_integer *' (aka 'long *') [-Wincompatible-pointer-types] _yi = omc_Modelica_Math_Vectors_interpolate(threadData, _x, _y, 6.5, ((modelica_integer) 4) ,&_iNew); ^~~~~~ ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_functions.c:477:171: note: passing argument to parameter 'out_iNew' here modelica_real omc_Modelica_Math_Vectors_interpolate(threadData_t *threadData, real_array _x, real_array _y, modelica_real _xi, modelica_integer _iLast, modelica_integer *out_iNew) ^ ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_functions.c:728:96: warning: incompatible pointer types passing 'modelica_real *' (aka 'double *') to parameter of type 'modelica_integer *' (aka 'long *') [-Wincompatible-pointer-types] _yi = omc_Modelica_Math_Vectors_interpolate(threadData, _x, _y, 6.5, ((modelica_integer) 9) ,&_iNew); ^~~~~~ ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_functions.c:477:171: note: passing argument to parameter 'out_iNew' here modelica_real omc_Modelica_Math_Vectors_interpolate(threadData_t *threadData, real_array _x, real_array _y, modelica_real _xi, modelica_integer _iLast, modelica_integer *out_iNew) ^ ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_functions.c:740:96: warning: incompatible pointer types passing 'modelica_real *' (aka 'double *') to parameter of type 'modelica_integer *' (aka 'long *') [-Wincompatible-pointer-types] _yi = omc_Modelica_Math_Vectors_interpolate(threadData, _x, _y, 4.0, ((modelica_integer) 2) ,&_iNew); ^~~~~~ ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_functions.c:477:171: note: passing argument to parameter 'out_iNew' here modelica_real omc_Modelica_Math_Vectors_interpolate(threadData_t *threadData, real_array _x, real_array _y, modelica_real _xi, modelica_integer _iLast, modelica_integer *out_iNew) ^ 5 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_records.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_records.c In file included from ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_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 -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_01exo.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_01exo.c In file included from ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_01exo.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_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 -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_02nls.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_02nls.c In file included from ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_02nls.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_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 -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_03lsy.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_03lsy.c In file included from ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_03lsy.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_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 -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_04set.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_04set.c In file included from ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_04set.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_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 -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_05evt.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_05evt.c In file included from ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_05evt.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_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 -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_06inz.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_06inz.c In file included from ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_06inz.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_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 -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_07dly.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_07dly.c In file included from ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_07dly.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_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 -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_08bnd.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_08bnd.c In file included from ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_08bnd.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_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 -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_09alg.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_09alg.c In file included from ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_09alg.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_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 -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_10asr.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_10asr.c In file included from ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_10asr.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_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 -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_11mix.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_11mix.c In file included from ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_11mix.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_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 -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_12jac.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_12jac.c In file included from ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_12jac.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_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 -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_13opt.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_13opt.c In file included from ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_13opt.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_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 -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_14lnz.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_14lnz.c In file included from ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_14lnz.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_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 -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_15syn.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_15syn.c In file included from ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_15syn.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_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 -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_16dae.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_16dae.c In file included from ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_16dae.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_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 -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_17inl.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_17inl.c In file included from ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_17inl.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_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 -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_18spd.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_18spd.c In file included from ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_18spd.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_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 -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_init_fmu.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_init_fmu.c In file included from ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_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 -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_FMU.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_FMU.c In file included from ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_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_4_0_0_ModelicaTest_Math_TestVectors.so ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_functions.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_records.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_01exo.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_02nls.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_03lsy.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_04set.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_05evt.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_06inz.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_07dly.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_08bnd.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_09alg.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_10asr.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_11mix.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_12jac.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_13opt.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_14lnz.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_15syn.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_16dae.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_17inl.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_18spd.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_init_fmu.o ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+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 4.0.0+maint.om/Resources/Library/x86_64-linux" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library/x86_64-linux" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library/linux64" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library/linux64" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: /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(dormhr.o): in function `dormhr_': (.text+0x2fb): undefined reference to `_gfortran_concat_string' /usr/bin/ld: (.text+0x489): undefined reference to `_gfortran_concat_string' /usr/bin/ld: /lib/x86_64-linux-gnu/liblapack.a(dormqr.o): in function `dormqr_': (.text+0x2dc): undefined reference to `_gfortran_concat_string' /usr/bin/ld: (.text+0x73f): undefined reference to `_gfortran_concat_string' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:65: nozip] Error 1