Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.249/1.249, allocations: 249.4 MB / 256.7 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009992/0.0009993, allocations: 180.6 kB / 316 MB, free: 3.496 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.163/1.163, allocations: 205.1 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008424/0.0008424, allocations: 96.48 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3416/0.3425, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.528, allocations: 106.3 MB / 0.8846 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9866/1.515, allocations: 387.8 MB / 1.263 GB, free: 326.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/1.515, allocations: 87.2 kB / 1.263 GB, free: 326.2 MB / 0.8698 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.1955/1.71, allocations: 101.4 MB / 1.362 GB, free: 256.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/1.71, allocations: 8 kB / 1.362 GB, free: 256.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/1.711, allocations: 51.52 kB / 1.363 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01268/1.723, allocations: 6.488 MB / 1.369 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/1.723, allocations: 12 kB / 1.369 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.255e-05/1.723, allocations: 23.92 kB / 1.369 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003175/1.724, allocations: 137 kB / 1.369 GB, free: 250 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003525/1.724, allocations: 252.3 kB / 1.369 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/1.724, allocations: 4 kB / 1.369 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/1.724, allocations: 3.938 kB / 1.369 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/1.724, allocations: 11.94 kB / 1.369 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/1.726, allocations: 1.417 MB / 1.371 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/1.726, allocations: 113.6 kB / 1.371 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.429e-05/1.726, allocations: 52.83 kB / 1.371 GB, free: 248 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/1.726, allocations: 85.11 kB / 1.371 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/1.726, allocations: 99.56 kB / 1.371 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 2.876e-06/1.726, allocations: 3.984 kB / 1.371 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0003073/1.727, allocations: 141.2 kB / 1.371 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.896e-05/1.727, allocations: 55.41 kB / 1.371 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/1.727, allocations: 267.5 kB / 1.371 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/1.727, allocations: 25.7 kB / 1.371 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/1.727, allocations: 187.8 kB / 1.372 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/1.727, allocations: 51.2 kB / 1.372 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/1.727, allocations: 4 kB / 1.372 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.833e-05/1.727, allocations: 342.8 kB / 1.372 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.411e-05/1.727, allocations: 44 kB / 1.372 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.706e-05/1.727, allocations: 129.4 kB / 1.372 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/1.728, allocations: 75.91 kB / 1.372 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.728, allocations: 0 / 1.372 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003664/1.728, allocations: 229.1 kB / 1.372 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/1.728, allocations: 4 kB / 1.372 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.728, allocations: 4 kB / 1.372 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/1.728, allocations: 4 kB / 1.372 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/1.728, allocations: 56.22 kB / 1.373 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/1.728, allocations: 8 kB / 1.373 GB, free: 246.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/1.729, allocations: 35.72 kB / 1.373 GB, free: 246.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/1.729, allocations: 12 kB / 1.373 GB, free: 246.1 MB / 0.8698 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 6.6e-05/1.729, allocations: 116.8 kB / 1.373 GB, free: 246 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/1.729, allocations: 35.62 kB / 1.373 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/1.729, allocations: 144.3 kB / 1.373 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/1.729, allocations: 7.938 kB / 1.373 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.729, allocations: 0 / 1.373 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002059/1.729, allocations: 447.7 kB / 1.373 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/1.73, allocations: 305.2 kB / 1.374 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.73, allocations: 0 / 1.374 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/1.73, allocations: 43.91 kB / 1.374 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/1.73, allocations: 0 / 1.374 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/1.73, allocations: 0 / 1.374 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.73, allocations: 7.984 kB / 1.374 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.73, allocations: 0 / 1.374 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000291/1.73, allocations: 228.1 kB / 1.374 GB, free: 244.6 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003995/1.731, allocations: 0.6573 MB / 1.375 GB, free: 244 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/1.731, allocations: 124.7 kB / 1.375 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.9e-05/1.731, allocations: 12 kB / 1.375 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/1.731, allocations: 24.2 kB / 1.375 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/1.731, allocations: 15.88 kB / 1.375 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/1.731, allocations: 15.98 kB / 1.375 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001596/1.731, allocations: 207.1 kB / 1.375 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001096/1.732, allocations: 147.8 kB / 1.375 GB, free: 243.4 MB / 0.8698 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.0003632/1.733, allocations: 231.1 kB / 1.375 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002241/1.733, allocations: 160.2 kB / 1.375 GB, free: 243 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.733, allocations: 4.625 kB / 1.375 GB, free: 243 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.894e-05/1.733, allocations: 59.92 kB / 1.375 GB, free: 243 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008012/1.734, allocations: 170.6 kB / 1.376 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00089/1.735, allocations: 0.52 MB / 1.376 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/1.735, allocations: 0.8423 MB / 1.377 GB, free: 241.4 MB / 0.8698 GB Notification: Performance of SimCode: time 3e-07/1.735, allocations: 0 / 1.377 GB, free: 241.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)