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.0008077/0.0008079, allocations: 99.41 kB / 17 MB, free: 6.094 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.0007774/0.0007774, allocations: 188 kB / 17.89 MB, free: 5.684 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.277/1.277, allocations: 223.2 MB / 241.9 MB, free: 216 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.2/0.2, allocations: 44.22 MB / 337.2 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002817, allocations: 8 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1132, allocations: 61.93 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse): time 0.277/0.3902, allocations: 48.19 MB / 0.5077 GB, free: 12.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01259/0.4029, allocations: 7.226 MB / 0.5147 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/0.4046, allocations: 50.12 kB / 0.5148 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.4065, allocations: 399.1 kB / 0.5152 GB, free: 12.03 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.008951/0.4155, allocations: 2.733 MB / 0.5178 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004758/0.4203, allocations: 1.803 MB / 0.5196 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004384/0.4247, allocations: 3.194 MB / 0.5227 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.426, allocations: 0.7618 MB / 0.5234 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006969/0.433, allocations: 4.445 MB / 0.5278 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004133/0.4371, allocations: 2.673 MB / 0.5304 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000357/0.4375, allocations: 56.56 kB / 0.5305 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005418/0.443, allocations: 2.794 MB / 0.5332 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003245/0.4433, allocations: 261.6 kB / 0.5334 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005067/0.4438, allocations: 264.1 kB / 0.5337 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002317/0.4461, allocations: 1.662 MB / 0.5353 GB, free: 8.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4462, allocations: 0 / 0.5353 GB, free: 8.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4462, allocations: 4 kB / 0.5353 GB, free: 8.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.4462, allocations: 0 / 0.5353 GB, free: 8.617 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.002465/0.4487, allocations: 1.57 MB / 0.5368 GB, free: 7.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.4487, allocations: 10.44 kB / 0.5368 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001552/0.4489, allocations: 131.9 kB / 0.537 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002472/0.4514, allocations: 315 kB / 0.5373 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009416/0.4523, allocations: 0.7486 MB / 0.538 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/0.4524, allocations: 67.3 kB / 0.5381 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.81e-05/0.4525, allocations: 83.66 kB / 0.5382 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/0.4549, allocations: 1.221 MB / 0.5393 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.4549, allocations: 6.438 kB / 0.5393 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-05/0.455, allocations: 37.75 kB / 0.5394 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.455, allocations: 21.78 kB / 0.5394 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002361/0.4574, allocations: 1.023 MB / 0.5404 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00449/0.4619, allocations: 5.413 MB / 0.5457 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.4637, allocations: 0.6625 MB / 0.5463 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005935/0.4643, allocations: 369.9 kB / 0.5467 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007266/0.465, allocations: 1.387 MB / 0.548 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.4651, allocations: 39.56 kB / 0.5481 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005458/0.4656, allocations: 115.8 kB / 0.5482 GB, free: 14.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 3.146e-06/0.4656, allocations: 0 / 0.5482 GB, free: 14.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=65): time 0.005748/0.4714, allocations: 1.708 MB / 0.5499 GB, free: 13.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.4715, allocations: 188.5 kB / 0.55 GB, free: 13.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.4727, allocations: 0.9574 MB / 0.551 GB, free: 12.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.913e-05/0.4728, allocations: 42.89 kB / 0.551 GB, free: 12.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000411/0.4732, allocations: 0.5025 MB / 0.5515 GB, free: 12.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/0.4735, allocations: 223.9 kB / 0.5517 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.4736, allocations: 16.94 kB / 0.5517 GB, free: 11.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.4737, allocations: 341.5 kB / 0.5521 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007913/0.4745, allocations: 361.3 kB / 0.5524 GB, free: 11.37 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009207/0.4755, allocations: 0.5463 MB / 0.5529 GB, free: 10.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008577/0.4763, allocations: 421.9 kB / 0.5533 GB, free: 10.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.4764, allocations: 0 / 0.5533 GB, free: 10.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002575/0.4789, allocations: 1.178 MB / 0.5545 GB, free: 9.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001696/0.4791, allocations: 230.3 kB / 0.5547 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.4791, allocations: 7.984 kB / 0.5547 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005429/0.4846, allocations: 0.7797 MB / 0.5555 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.4857, allocations: 258.1 kB / 0.5557 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009369/0.4866, allocations: 0.7869 MB / 0.5565 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.4877, allocations: 82.2 kB / 0.5566 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.4879, allocations: 66.45 kB / 0.5566 GB, free: 7.555 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4879, allocations: 10.59 kB / 0.5567 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002066/0.49, allocations: 0.9984 MB / 0.5576 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.49, allocations: 4 kB / 0.5576 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003043/0.4903, allocations: 81.67 kB / 0.5577 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008707/0.4912, allocations: 264.6 kB / 0.558 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.4927, allocations: 1.65 MB / 0.5596 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007719/0.4935, allocations: 76.95 kB / 0.5596 GB, free: 4.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.436e-05/0.4936, allocations: 61.78 kB / 0.5597 GB, free: 4.742 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.0005379/0.4942, allocations: 325.9 kB / 0.56 GB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.4944, allocations: 118.7 kB / 0.5601 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004015/0.4984, allocations: 2.157 MB / 0.5622 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.4984, allocations: 8 kB / 0.5622 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.4984, allocations: 0 / 0.5622 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.4984, allocations: 7.984 kB / 0.5622 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/0.5014, allocations: 1.831 MB / 0.564 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.5014, allocations: 6.625 kB / 0.564 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00043/0.5018, allocations: 132 kB / 0.5642 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0028/0.5047, allocations: 0.5889 MB / 0.5647 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.17e-05/0.5047, allocations: 16 kB / 0.5648 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008429/0.5056, allocations: 0.8229 MB / 0.5656 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.5056, allocations: 7.922 kB / 0.5656 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.5075, allocations: 1.011 MB / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005597/0.5081, allocations: 315.2 kB / 0.5669 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.5083, allocations: 23.94 kB / 0.5669 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006851/0.509, allocations: 67.95 kB / 0.5669 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.5091, allocations: 56.42 kB / 0.567 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.258e-05/0.5092, allocations: 43.97 kB / 0.567 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009248/0.5101, allocations: 0.7299 MB / 0.5678 GB, free: 12.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5101, allocations: 0 / 0.5678 GB, free: 12.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002033/0.5121, allocations: 0.7101 MB / 0.5684 GB, free: 11.77 MB / 414.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.002867/0.515, allocations: 1.879 MB / 0.5703 GB, free: 9.879 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003186/0.5182, allocations: 1.48 MB / 0.5717 GB, free: 8.387 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.5182, allocations: 4 kB / 0.5717 GB, free: 8.383 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008342/0.5191, allocations: 402.3 kB / 0.5721 GB, free: 7.992 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/0.5217, allocations: 0.5299 MB / 0.5726 GB, free: 7.469 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.5324, allocations: 6.445 MB / 0.5789 GB, free: 0.707 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007171/0.5331, allocations: 1.079 MB / 0.58 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002275/0.5354, allocations: 0.8039 MB / 0.5808 GB, free: 14.81 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000674/0.5361, allocations: 455.2 kB / 0.5812 GB, free: 14.37 MB / 430.1 MB Notification: Performance of SimCode: time 2.034e-06/0.5361, allocations: 0 / 0.5812 GB, free: 14.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06188/0.598, allocations: 35.41 MB / 0.6158 GB, free: 11.41 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/0.5983, allocations: 288.6 kB / 0.6161 GB, free: 11.05 MB / 462.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'/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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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'/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:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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'/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:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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'/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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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'/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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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:215: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:216:220: error: use of undeclared identifier 'tmpMeta' res[1] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure2_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