Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.535/1.535, allocations: 289.8 MB / 297.1 MB, free: 6.711 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 169.3 kB / 366.3 MB, free: 2.004 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.1 MB / 0.6256 GB, free: 5.816 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009813/0.0009815, allocations: 80.34 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2946/0.2957, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6914/0.9871, allocations: 116.3 MB / 0.9726 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9185/1.906, allocations: 395.3 MB / 1.359 GB, free: 92.89 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/1.906, allocations: 85.77 kB / 1.359 GB, free: 92.84 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.1903/2.096, allocations: 104.2 MB / 1.461 GB, free: 1.395 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/2.096, allocations: 15.94 kB / 1.461 GB, free: 1.379 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/2.097, allocations: 51.44 kB / 1.461 GB, free: 1.328 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01488/2.111, allocations: 6.672 MB / 1.467 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/2.112, allocations: 11.98 kB / 1.467 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.358e-05/2.112, allocations: 16 kB / 1.467 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003553/2.112, allocations: 140.9 kB / 1.467 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004317/2.112, allocations: 256.3 kB / 1.467 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/2.112, allocations: 0 / 1.467 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/2.112, allocations: 0 / 1.467 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/2.112, allocations: 8 kB / 1.467 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/2.114, allocations: 1.43 MB / 1.469 GB, free: 8.559 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/2.115, allocations: 118.6 kB / 1.469 GB, free: 8.434 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.192e-05/2.115, allocations: 52.89 kB / 1.469 GB, free: 8.379 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/2.115, allocations: 81.11 kB / 1.469 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/2.115, allocations: 95.38 kB / 1.469 GB, free: 8.176 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/2.115, allocations: 0 / 1.469 GB, free: 8.176 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0003471/2.115, allocations: 143.2 kB / 1.469 GB, free: 8.031 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/2.115, allocations: 63.41 kB / 1.469 GB, free: 7.957 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/2.116, allocations: 271.5 kB / 1.47 GB, free: 7.684 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/2.116, allocations: 25.7 kB / 1.47 GB, free: 7.652 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/2.116, allocations: 183.8 kB / 1.47 GB, free: 7.469 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.224e-05/2.116, allocations: 47.3 kB / 1.47 GB, free: 7.422 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/2.116, allocations: 3.938 kB / 1.47 GB, free: 7.418 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002108/2.116, allocations: 342.7 kB / 1.47 GB, free: 7.074 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-05/2.116, allocations: 51.98 kB / 1.47 GB, free: 7.023 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/2.116, allocations: 121.4 kB / 1.47 GB, free: 6.871 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/2.117, allocations: 76.47 kB / 1.47 GB, free: 6.797 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/2.117, allocations: 3.938 kB / 1.47 GB, free: 6.793 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004087/2.117, allocations: 219.5 kB / 1.471 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/2.117, allocations: 12 kB / 1.471 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/2.117, allocations: 0 / 1.471 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/2.117, allocations: 7.938 kB / 1.471 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/2.117, allocations: 63.91 kB / 1.471 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/2.117, allocations: 7.938 kB / 1.471 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/2.118, allocations: 35.73 kB / 1.471 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/2.118, allocations: 11.98 kB / 1.471 GB, free: 6.438 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.91e-05/2.118, allocations: 116.9 kB / 1.471 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/2.118, allocations: 31.62 kB / 1.471 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/2.118, allocations: 148.3 kB / 1.471 GB, free: 6.133 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/2.118, allocations: 4 kB / 1.471 GB, free: 6.129 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/2.118, allocations: 0 / 1.471 GB, free: 6.129 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003373/2.119, allocations: 449.8 kB / 1.472 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/2.119, allocations: 301.9 kB / 1.472 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/2.119, allocations: 0 / 1.472 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/2.119, allocations: 39.97 kB / 1.472 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/2.119, allocations: 0 / 1.472 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/2.119, allocations: 4 kB / 1.472 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.277e-06/2.119, allocations: 7.906 kB / 1.472 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/2.119, allocations: 0 / 1.472 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003667/2.12, allocations: 220.6 kB / 1.472 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005518/2.12, allocations: 0.6565 MB / 1.473 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/2.12, allocations: 136.8 kB / 1.473 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.863e-05/2.121, allocations: 3.984 kB / 1.473 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/2.121, allocations: 20.2 kB / 1.473 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/2.121, allocations: 19.97 kB / 1.473 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/2.121, allocations: 11.98 kB / 1.473 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002144/2.121, allocations: 215.1 kB / 1.473 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001199/2.122, allocations: 155.9 kB / 1.473 GB, free: 3.746 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004136/2.123, allocations: 232.3 kB / 1.474 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002864/2.123, allocations: 157.5 kB / 1.474 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/2.123, allocations: 3.938 kB / 1.474 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/2.123, allocations: 55.86 kB / 1.474 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009083/2.124, allocations: 182 kB / 1.474 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/2.125, allocations: 0.5153 MB / 1.474 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005836/2.126, allocations: 0.8377 MB / 1.475 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/2.126, allocations: 0 / 1.475 GB, free: 1.699 MB / 0.8386 GB (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)