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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 95.64 kB / 16.98 MB, free: 5.938 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.001321/0.001321, allocations: 186.9 kB / 17.88 MB, free: 5.594 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.333/1.333, allocations: 223.2 MB / 241.8 MB, free: 388 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.184/0.184, allocations: 44.23 MB / 337.1 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004854, allocations: 8.969 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1305, allocations: 61.93 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse): time 0.03574/0.1663, allocations: 34.46 MB / 0.4941 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01349/0.1798, allocations: 8.707 MB / 0.5026 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.1815, allocations: 47.56 kB / 0.5027 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.1835, allocations: 0.6065 MB / 0.5033 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2546/0.4381, allocations: 2.708 MB / 0.5059 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009524/0.4477, allocations: 3.412 MB / 0.5093 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004033/0.4518, allocations: 1.709 MB / 0.5109 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001849/0.4536, allocations: 0.7859 MB / 0.5117 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008314/0.462, allocations: 4.175 MB / 0.5158 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004939/0.467, allocations: 2.392 MB / 0.5181 GB, free: 12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005293/0.4675, allocations: 55.25 kB / 0.5182 GB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006912/0.4745, allocations: 2.745 MB / 0.5208 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005507/0.4751, allocations: 260.6 kB / 0.5211 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007603/0.4758, allocations: 258.5 kB / 0.5213 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00346/0.4793, allocations: 1.661 MB / 0.523 GB, free: 11.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4793, allocations: 0 / 0.523 GB, free: 11.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4793, allocations: 0 / 0.523 GB, free: 11.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.806e-05/0.4794, allocations: 0 / 0.523 GB, free: 11.72 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003277/0.4826, allocations: 1.557 MB / 0.5245 GB, free: 10.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.4827, allocations: 9.938 kB / 0.5245 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001999/0.4829, allocations: 134.5 kB / 0.5246 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00254/0.4855, allocations: 322.1 kB / 0.5249 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.4867, allocations: 0.7404 MB / 0.5257 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-05/0.4868, allocations: 62.72 kB / 0.5257 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.4869, allocations: 81.34 kB / 0.5258 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002889/0.4898, allocations: 1.222 MB / 0.527 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/0.4898, allocations: 6.828 kB / 0.527 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.49, allocations: 41.94 kB / 0.527 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.49, allocations: 18.66 kB / 0.527 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002709/0.4927, allocations: 1.032 MB / 0.5281 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005922/0.4986, allocations: 5.419 MB / 0.5333 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002169/0.5009, allocations: 0.6817 MB / 0.534 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008092/0.5017, allocations: 1.387 MB / 0.5354 GB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.247e-05/0.5018, allocations: 46.75 kB / 0.5354 GB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008108/0.5026, allocations: 110.2 kB / 0.5355 GB, free: 3.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 4.168e-06/0.5026, allocations: 0 / 0.5355 GB, free: 3.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.005765/0.5084, allocations: 1.724 MB / 0.5372 GB, free: 2.703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.5084, allocations: 188.9 kB / 0.5374 GB, free: 2.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.5095, allocations: 0.9655 MB / 0.5383 GB, free: 2.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.173e-05/0.5096, allocations: 39.83 kB / 0.5384 GB, free: 2.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.5099, allocations: 0.5026 MB / 0.5389 GB, free: 1.914 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.5101, allocations: 227 kB / 0.5391 GB, free: 1.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.5101, allocations: 16.84 kB / 0.5391 GB, free: 1.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.419e-05/0.5102, allocations: 335.9 kB / 0.5394 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007/0.5109, allocations: 356.2 kB / 0.5397 GB, free: 1.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007706/0.5117, allocations: 0.5524 MB / 0.5403 GB, free: 1.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007627/0.5125, allocations: 412.5 kB / 0.5407 GB, free: 1.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.5125, allocations: 2.875 kB / 0.5407 GB, free: 1.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002066/0.5146, allocations: 1.177 MB / 0.5418 GB, free: 488 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005674/0.5151, allocations: 1.827 MB / 0.5436 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.5152, allocations: 12 kB / 0.5436 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005848/0.521, allocations: 0.7927 MB / 0.5444 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.522, allocations: 257.3 kB / 0.5446 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008913/0.5229, allocations: 0.7685 MB / 0.5454 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.5241, allocations: 92.27 kB / 0.5455 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.5242, allocations: 66.47 kB / 0.5455 GB, free: 12.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.5242, allocations: 4 kB / 0.5455 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002141/0.5264, allocations: 0.9953 MB / 0.5465 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.5264, allocations: 4 kB / 0.5465 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003196/0.5267, allocations: 79.88 kB / 0.5466 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000901/0.5276, allocations: 272.3 kB / 0.5469 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.5293, allocations: 1.663 MB / 0.5485 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008999/0.5302, allocations: 87.47 kB / 0.5486 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.339e-05/0.5303, allocations: 58.97 kB / 0.5486 GB, free: 9.934 MB / 398.1 MB 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.0005562/0.5309, allocations: 322.3 kB / 0.5489 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.5311, allocations: 118.6 kB / 0.549 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003878/0.5349, allocations: 2.138 MB / 0.5511 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.535, allocations: 11.98 kB / 0.5511 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.535, allocations: 0 / 0.5511 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.535, allocations: 0 / 0.5511 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002931/0.5379, allocations: 1.843 MB / 0.5529 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.5379, allocations: 8.156 kB / 0.553 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004285/0.5384, allocations: 122.4 kB / 0.5531 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002952/0.5413, allocations: 0.5978 MB / 0.5537 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.104e-05/0.5414, allocations: 23.64 kB / 0.5537 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008114/0.5422, allocations: 0.8233 MB / 0.5545 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.5422, allocations: 7.828 kB / 0.5545 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.5442, allocations: 1.09 MB / 0.5556 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005599/0.5448, allocations: 311.9 kB / 0.5558 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.5449, allocations: 18.8 kB / 0.5559 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007036/0.5456, allocations: 70.64 kB / 0.5559 GB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.5458, allocations: 62.56 kB / 0.556 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.724e-05/0.5458, allocations: 39.16 kB / 0.556 GB, free: 3.531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009054/0.5467, allocations: 0.7304 MB / 0.5567 GB, free: 2.984 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5468, allocations: 0 / 0.5567 GB, free: 2.984 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002025/0.5488, allocations: 0.7071 MB / 0.5574 GB, free: 2.328 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (49): * Single equations (assignments): 48 * 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.003044/0.5518, allocations: 2.28 MB / 0.5597 GB, free: 260 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003148/0.555, allocations: 1.473 MB / 0.5611 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.555, allocations: 0 / 0.5611 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008317/0.5559, allocations: 406.7 kB / 0.5615 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/0.5585, allocations: 0.5149 MB / 0.562 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005948/0.5645, allocations: 6.104 MB / 0.568 GB, free: 8.441 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007105/0.5652, allocations: 1.099 MB / 0.569 GB, free: 7.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00232/0.5676, allocations: 0.8109 MB / 0.5698 GB, free: 6.523 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006264/0.5682, allocations: 449.1 kB / 0.5702 GB, free: 6.395 MB / 414.1 MB Notification: Performance of SimCode: time 8.12e-07/0.5682, allocations: 0 / 0.5702 GB, free: 6.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06179/0.63, allocations: 34.88 MB / 0.6043 GB, free: 4.109 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/0.6303, allocations: 293.9 kB / 0.6046 GB, free: 3.742 MB / 446.1 MB 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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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:777:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.c:777: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:777: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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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:620:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[1] = mmc_mk_box2(0, mmc_mk_real(data->localData[0]->realVars[123] /* V5.port_a.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:621:220: error: use of undeclared identifier 'tmpMeta' res[1] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure5_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_V5_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