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.001485/0.001485, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.525/1.525, allocations: 221.3 MB / 236 MB, free: 2.984 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009947/0.0009947, allocations: 90.91 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.22/0.22, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.68e-05/3.682e-05, allocations: 12.14 kB / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1609, allocations: 61.91 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5461/0.707, allocations: 215.8 MB / 0.7126 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.7073, allocations: 83.95 kB / 0.7127 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.003/2.71, allocations: 477.5 MB / 1.179 GB, free: 84.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.583e-06/2.71, allocations: 0 / 1.179 GB, free: 84.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.778e-05/2.71, allocations: 34.34 kB / 1.179 GB, free: 84.8 MB / 0.5105 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.003777/2.714, allocations: 1.519 MB / 1.18 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/2.714, allocations: 13.36 kB / 1.18 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002118/2.715, allocations: 127.6 kB / 1.181 GB, free: 84.04 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003324/2.718, allocations: 366.3 kB / 1.181 GB, free: 83.97 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002012/2.72, allocations: 0.8452 MB / 1.182 GB, free: 83.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.778e-05/2.72, allocations: 66.41 kB / 1.182 GB, free: 83.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/2.72, allocations: 82.97 kB / 1.182 GB, free: 83.68 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002611/2.723, allocations: 1.138 MB / 1.183 GB, free: 83.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/2.723, allocations: 4.781 kB / 1.183 GB, free: 83.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/2.723, allocations: 40.53 kB / 1.183 GB, free: 83.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/2.723, allocations: 19.28 kB / 1.183 GB, free: 83.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/2.725, allocations: 0.8314 MB / 1.184 GB, free: 83.38 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006342/2.731, allocations: 5.398 MB / 1.189 GB, free: 79.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/2.733, allocations: 0.5329 MB / 1.19 GB, free: 79.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004001/2.733, allocations: 291.5 kB / 1.19 GB, free: 79.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000721/2.734, allocations: 1.388 MB / 1.191 GB, free: 78.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/2.734, allocations: 47.69 kB / 1.191 GB, free: 78.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008843/2.735, allocations: 127.5 kB / 1.191 GB, free: 78.05 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=65): time 4.518e-06/2.735, allocations: 0 / 1.191 GB, free: 78.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65): time 0.003105/2.738, allocations: 0.9226 MB / 1.192 GB, free: 77.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.876e-05/2.738, allocations: 196.4 kB / 1.193 GB, free: 77.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/2.739, allocations: 0.8236 MB / 1.193 GB, free: 77.56 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.979e-05/2.739, allocations: 41.64 kB / 1.193 GB, free: 77.53 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000336/2.74, allocations: 0.4957 MB / 1.194 GB, free: 77.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/2.74, allocations: 229.5 kB / 1.194 GB, free: 77.19 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/2.74, allocations: 19.25 kB / 1.194 GB, free: 77.19 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.009e-05/2.74, allocations: 337.8 kB / 1.194 GB, free: 76.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004689/2.74, allocations: 267.9 kB / 1.195 GB, free: 76.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005525/2.741, allocations: 488.9 kB / 1.195 GB, free: 76.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005182/2.741, allocations: 340.4 kB / 1.196 GB, free: 76.65 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/2.742, allocations: 3.125 kB / 1.196 GB, free: 76.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001605/2.743, allocations: 1.007 MB / 1.196 GB, free: 76.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003981/2.744, allocations: 1.836 MB / 1.198 GB, free: 74.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/2.744, allocations: 3.875 kB / 1.198 GB, free: 74.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005504/2.749, allocations: 0.7558 MB / 1.199 GB, free: 74.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009577/2.75, allocations: 257.6 kB / 1.199 GB, free: 74.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008972/2.751, allocations: 0.771 MB / 1.2 GB, free: 74.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/2.752, allocations: 95.88 kB / 1.2 GB, free: 74.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/2.753, allocations: 66.08 kB / 1.2 GB, free: 74.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/2.753, allocations: 3.688 kB / 1.2 GB, free: 74.04 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001676/2.754, allocations: 0.8374 MB / 1.201 GB, free: 73.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/2.754, allocations: 3.938 kB / 1.201 GB, free: 73.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002804/2.755, allocations: 76.78 kB / 1.201 GB, free: 73.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000893/2.756, allocations: 265.3 kB / 1.201 GB, free: 73.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/2.757, allocations: 1.654 MB / 1.203 GB, free: 72.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/2.758, allocations: 88.62 kB / 1.203 GB, free: 72.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/2.759, allocations: 57.66 kB / 1.203 GB, free: 72.61 MB / 0.5105 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 () * 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.0002999/2.759, allocations: 154.8 kB / 1.203 GB, free: 72.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003358/2.759, allocations: 119.1 kB / 1.203 GB, free: 72.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003763/2.763, allocations: 2.095 MB / 1.205 GB, free: 72.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/2.763, allocations: 6.094 kB / 1.205 GB, free: 72.17 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/2.763, allocations: 0 / 1.205 GB, free: 72.17 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/2.763, allocations: 3.891 kB / 1.205 GB, free: 72.17 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003091/2.766, allocations: 1.831 MB / 1.207 GB, free: 71.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/2.766, allocations: 9.906 kB / 1.207 GB, free: 71.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004881/2.767, allocations: 145.1 kB / 1.207 GB, free: 71.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003031/2.77, allocations: 0.5701 MB / 1.208 GB, free: 71.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.471e-05/2.77, allocations: 36.06 kB / 1.208 GB, free: 71.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008268/2.771, allocations: 0.8111 MB / 1.209 GB, free: 71.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/2.771, allocations: 3.938 kB / 1.209 GB, free: 71.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/2.773, allocations: 1.146 MB / 1.21 GB, free: 70.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008911/2.774, allocations: 312.1 kB / 1.21 GB, free: 70.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004271/2.774, allocations: 20.09 kB / 1.21 GB, free: 70.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/2.775, allocations: 79.67 kB / 1.21 GB, free: 70.47 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/2.776, allocations: 71.56 kB / 1.21 GB, free: 70.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/2.776, allocations: 48.62 kB / 1.21 GB, free: 70.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001456/2.777, allocations: 0.6972 MB / 1.211 GB, free: 70.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/2.777, allocations: 0 / 1.211 GB, free: 70.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003372/2.781, allocations: 0.7627 MB / 1.212 GB, free: 70.26 MB / 0.5105 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 () * 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.003478/2.784, allocations: 2.851 MB / 1.215 GB, free: 68.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002672/2.787, allocations: 1.283 MB / 1.216 GB, free: 67.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/2.787, allocations: 4.844 kB / 1.216 GB, free: 67.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006099/2.787, allocations: 352.1 kB / 1.216 GB, free: 67.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003113/2.791, allocations: 0.5182 MB / 1.217 GB, free: 67.68 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00476/2.795, allocations: 1.697 MB / 1.218 GB, free: 66.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006042/2.796, allocations: 1.103 MB / 1.219 GB, free: 66.18 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002801/2.799, allocations: 0.8659 MB / 1.22 GB, free: 66.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007415/2.8, allocations: 441.7 kB / 1.221 GB, free: 65.84 MB / 0.5105 GB Notification: Performance of SimCode: time 1.953e-06/2.8, allocations: 0 / 1.221 GB, free: 65.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07055/2.87, allocations: 36.67 MB / 1.256 GB, free: 35.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/2.87, allocations: 249.4 kB / 1.257 GB, free: 35.56 MB / 0.5105 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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:193: error: use of undeclared identifier 'tmpMeta' res[0] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure85_Modelica_Fluid_Valves_D_ValveIncompressible24V5_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