Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 177 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 80.53 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4332/0.4332, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005166/0.000517, allocations: 12 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4274/0.428, allocations: 61.9 MB / 0.5096 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6281/1.056, allocations: 215.9 MB / 0.7205 GB, free: 91.81 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/1.057, allocations: 89.42 kB / 0.7206 GB, free: 91.81 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.747/2.804, allocations: 478.6 MB / 1.188 GB, free: 91.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.134e-06/2.804, allocations: 0 / 1.188 GB, free: 91.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000147/2.804, allocations: 33.03 kB / 1.188 GB, free: 91.74 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.005173/2.809, allocations: 1.672 MB / 1.19 GB, free: 90.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/2.809, allocations: 11.94 kB / 1.19 GB, free: 90.83 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005263/2.81, allocations: 138 kB / 1.19 GB, free: 90.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003691/2.813, allocations: 365 kB / 1.19 GB, free: 90.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/2.816, allocations: 0.8488 MB / 1.191 GB, free: 90.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/2.816, allocations: 62.44 kB / 1.191 GB, free: 90.39 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003547/2.816, allocations: 77.47 kB / 1.191 GB, free: 90.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003938/2.82, allocations: 1.243 MB / 1.192 GB, free: 90.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.631e-05/2.82, allocations: 0 / 1.192 GB, free: 90.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002968/2.821, allocations: 41.59 kB / 1.192 GB, free: 90.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.146e-05/2.821, allocations: 24.97 kB / 1.192 GB, free: 90.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002853/2.824, allocations: 1.01 MB / 1.193 GB, free: 90.08 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006298/2.83, allocations: 5.395 MB / 1.199 GB, free: 86.46 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/2.832, allocations: 0.6759 MB / 1.199 GB, free: 86.42 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006711/2.832, allocations: 1.392 MB / 1.201 GB, free: 84.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/2.833, allocations: 50.16 kB / 1.201 GB, free: 84.77 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008736/2.833, allocations: 122.9 kB / 1.201 GB, free: 84.72 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=65): time 3.606e-06/2.833, allocations: 0 / 1.201 GB, free: 84.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65): time 0.006065/2.839, allocations: 1.743 MB / 1.202 GB, free: 84.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/2.84, allocations: 190.6 kB / 1.203 GB, free: 83.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/2.841, allocations: 0.8406 MB / 1.203 GB, free: 83.63 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/2.841, allocations: 41.42 kB / 1.204 GB, free: 83.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003331/2.841, allocations: 0.494 MB / 1.204 GB, free: 83.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/2.841, allocations: 228.6 kB / 1.204 GB, free: 83.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.335e-05/2.842, allocations: 15.72 kB / 1.204 GB, free: 83.01 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.099e-05/2.842, allocations: 337.2 kB / 1.205 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007357/2.842, allocations: 359.8 kB / 1.205 GB, free: 82.59 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008268/2.843, allocations: 0.5554 MB / 1.205 GB, free: 82.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008072/2.844, allocations: 419 kB / 1.206 GB, free: 82.11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/2.844, allocations: 0 / 1.206 GB, free: 82.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002378/2.846, allocations: 1.186 MB / 1.207 GB, free: 81.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004297/2.847, allocations: 1.834 MB / 1.209 GB, free: 79.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/2.847, allocations: 7.672 kB / 1.209 GB, free: 79.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005645/2.853, allocations: 0.7844 MB / 1.21 GB, free: 79.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/2.854, allocations: 259.6 kB / 1.21 GB, free: 79.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008297/2.855, allocations: 0.7888 MB / 1.211 GB, free: 79.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/2.856, allocations: 86.16 kB / 1.211 GB, free: 79.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/2.856, allocations: 68.11 kB / 1.211 GB, free: 79.03 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/2.856, allocations: 3.938 kB / 1.211 GB, free: 79.03 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001993/2.858, allocations: 1.005 MB / 1.212 GB, free: 78.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/2.858, allocations: 3.844 kB / 1.212 GB, free: 78.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000286/2.858, allocations: 80.91 kB / 1.212 GB, free: 78.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008658/2.859, allocations: 264.3 kB / 1.212 GB, free: 78.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/2.861, allocations: 1.672 MB / 1.214 GB, free: 77.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/2.862, allocations: 86.16 kB / 1.214 GB, free: 77.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.661e-05/2.862, allocations: 63.23 kB / 1.214 GB, free: 77.13 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006388/2.863, allocations: 325.1 kB / 1.214 GB, free: 76.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/2.863, allocations: 123.2 kB / 1.214 GB, free: 76.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003895/2.867, allocations: 2.271 MB / 1.216 GB, free: 76.08 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/2.867, allocations: 7.344 kB / 1.216 GB, free: 76.08 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/2.867, allocations: 3.969 kB / 1.216 GB, free: 76.08 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/2.867, allocations: 3.609 kB / 1.216 GB, free: 76.08 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/2.87, allocations: 1.994 MB / 1.218 GB, free: 74.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/2.87, allocations: 4 kB / 1.218 GB, free: 74.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004633/2.87, allocations: 145.5 kB / 1.219 GB, free: 74.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002851/2.873, allocations: 0.5877 MB / 1.219 GB, free: 74.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.08e-05/2.873, allocations: 33.17 kB / 1.219 GB, free: 74.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000665/2.874, allocations: 0.8089 MB / 1.22 GB, free: 73.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/2.874, allocations: 11.5 kB / 1.22 GB, free: 73.55 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/2.876, allocations: 1.314 MB / 1.221 GB, free: 72.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007071/2.877, allocations: 316.5 kB / 1.222 GB, free: 71.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/2.877, allocations: 20 kB / 1.222 GB, free: 71.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007536/2.878, allocations: 75.88 kB / 1.222 GB, free: 71.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/2.878, allocations: 68.38 kB / 1.222 GB, free: 71.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.351e-05/2.878, allocations: 55.97 kB / 1.222 GB, free: 71.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008891/2.879, allocations: 0.7097 MB / 1.222 GB, free: 71.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.3e-07/2.879, allocations: 0 / 1.222 GB, free: 71.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003254/2.882, allocations: 0.7648 MB / 1.223 GB, free: 70.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.005768/2.888, allocations: 3.018 MB / 1.226 GB, free: 67.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005573/2.894, allocations: 1.512 MB / 1.228 GB, free: 65.64 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/2.894, allocations: 4 kB / 1.228 GB, free: 65.64 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00162/2.895, allocations: 430.8 kB / 1.228 GB, free: 65.22 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005166/2.901, allocations: 0.5159 MB / 1.229 GB, free: 64.71 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008247/2.909, allocations: 6.218 MB / 1.235 GB, free: 58.32 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006453/2.91, allocations: 1.103 MB / 1.236 GB, free: 57.19 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003544/2.913, allocations: 0.797 MB / 1.236 GB, free: 56.44 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007468/2.914, allocations: 455 kB / 1.237 GB, free: 56 MB / 0.5261 GB Notification: Performance of SimCode: time 1.092e-06/2.914, allocations: 0 / 1.237 GB, free: 56 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0582/2.972, allocations: 34.73 MB / 1.271 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/2.972, allocations: 280.2 kB / 1.271 GB, free: 21.7 MB / 0.5261 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -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_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.c:7: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -Os -march=native -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_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.c:1423:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.c:1423:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.c:1423:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = 3 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -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_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_records.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_records.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -Os -march=native -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_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_01exo.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_01exo.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_01exo.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -Os -march=native -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_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.c:618:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[1] = mmc_mk_box2(0, mmc_mk_real(data->localData[0]->realVars[96] /* V2.port_b.p variable */), mmc_mk_real(data->localData[0]->realVars[125] /* V5.port_b.h_outflow variable */)); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.c:619:197: error: use of undeclared identifier 'tmpMeta' res[0] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure85_Modelica_Fluid_Valves__omcQValveIncompressible_24V5_Medium_T__ph_f__nonlinear,tmpMeta[1]), 273.15, 593.15, 1e-13) - data->localData[0]->realVars[128] /* V5.state_a.T variable */; ^ 2 warnings and 2 errors generated. make: *** [: ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.o] Error 1