Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel") [: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.0.1-maint.8.0.x/package.mo): time 1.462/1.462, allocations: 285.5 MB / 292.8 MB, free: 0.6406 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 179.5 kB / 361.1 MB, free: 15.26 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.2 MB / 0.6195 GB, free: 5.84 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009443/0.0009444, allocations: 96.55 kB / 0.7326 GB, free: 47.14 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 9.778e-06/9.799e-06, allocations: 4 kB / 0.8511 GB, free: 12.73 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7355/0.7355, allocations: 115.3 MB / 0.9637 GB, free: 85.57 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.83/1.566, allocations: 394.3 MB / 1.349 GB, free: 221.5 MB / 0.8621 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/1.566, allocations: 85.62 kB / 1.349 GB, free: 221.5 MB / 0.8621 GB Notification: Performance of FrontEnd: time 0.1942/1.76, allocations: 103.5 MB / 1.45 GB, free: 117.3 MB / 0.8621 GB Notification: Performance of Transformations before backend: time 2.538e-05/1.76, allocations: 8 kB / 1.45 GB, free: 117.3 MB / 0.8621 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.0009588/1.761, allocations: 0.6607 MB / 1.451 GB, free: 116.6 MB / 0.8621 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/1.761, allocations: 8.531 kB / 1.451 GB, free: 116.6 MB / 0.8621 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/1.761, allocations: 51.42 kB / 1.451 GB, free: 116.5 MB / 0.8621 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01401/1.775, allocations: 6.673 MB / 1.457 GB, free: 109.7 MB / 0.8621 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/1.775, allocations: 8 kB / 1.457 GB, free: 109.7 MB / 0.8621 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.46e-05/1.776, allocations: 19.98 kB / 1.457 GB, free: 109.7 MB / 0.8621 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000374/1.776, allocations: 140.9 kB / 1.457 GB, free: 109.6 MB / 0.8621 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004027/1.776, allocations: 248.4 kB / 1.458 GB, free: 109.3 MB / 0.8621 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/1.776, allocations: 4 kB / 1.458 GB, free: 109.3 MB / 0.8621 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/1.776, allocations: 0 / 1.458 GB, free: 109.3 MB / 0.8621 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/1.776, allocations: 8 kB / 1.458 GB, free: 109.3 MB / 0.8621 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/1.778, allocations: 1.426 MB / 1.459 GB, free: 107.8 MB / 0.8621 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/1.778, allocations: 106.6 kB / 1.459 GB, free: 107.7 MB / 0.8621 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.8e-05/1.779, allocations: 56.89 kB / 1.459 GB, free: 107.6 MB / 0.8621 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001641/1.779, allocations: 81.11 kB / 1.459 GB, free: 107.5 MB / 0.8621 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/1.779, allocations: 99.38 kB / 1.459 GB, free: 107.4 MB / 0.8621 GB Notification: Performance of pre-optimization done (n=15): time 2.194e-06/1.779, allocations: 3.938 kB / 1.459 GB, free: 107.4 MB / 0.8621 GB Notification: Performance of matching and sorting (n=15): time 0.0003658/1.779, allocations: 141.2 kB / 1.459 GB, free: 107.2 MB / 0.8621 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/1.779, allocations: 55.41 kB / 1.459 GB, free: 107.2 MB / 0.8621 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/1.78, allocations: 275.5 kB / 1.46 GB, free: 106.9 MB / 0.8621 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/1.78, allocations: 25.7 kB / 1.46 GB, free: 106.9 MB / 0.8621 GB Notification: Performance of collectInitialEqns (initialization): time 9.12e-05/1.78, allocations: 183.8 kB / 1.46 GB, free: 106.7 MB / 0.8621 GB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/1.78, allocations: 51.23 kB / 1.46 GB, free: 106.6 MB / 0.8621 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.08e-05/1.78, allocations: 0 / 1.46 GB, free: 106.6 MB / 0.8621 GB Notification: Performance of setup shared object (initialization): time 8.773e-05/1.78, allocations: 346.7 kB / 1.46 GB, free: 106.3 MB / 0.8621 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.876e-05/1.78, allocations: 48 kB / 1.46 GB, free: 106.2 MB / 0.8621 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/1.78, allocations: 126.5 kB / 1.46 GB, free: 106.1 MB / 0.8621 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/1.78, allocations: 81.78 kB / 1.461 GB, free: 106 MB / 0.8621 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.78, allocations: 0 / 1.461 GB, free: 106 MB / 0.8621 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003658/1.781, allocations: 225 kB / 1.461 GB, free: 105.8 MB / 0.8621 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/1.781, allocations: 7.938 kB / 1.461 GB, free: 105.8 MB / 0.8621 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.781, allocations: 0 / 1.461 GB, free: 105.8 MB / 0.8621 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/1.781, allocations: 8.312 kB / 1.461 GB, free: 105.8 MB / 0.8621 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/1.781, allocations: 67.89 kB / 1.461 GB, free: 105.7 MB / 0.8621 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/1.781, allocations: 4 kB / 1.461 GB, free: 105.7 MB / 0.8621 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/1.781, allocations: 35.73 kB / 1.461 GB, free: 105.6 MB / 0.8621 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/1.781, allocations: 11.98 kB / 1.461 GB, free: 105.6 MB / 0.8621 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.54e-05/1.781, allocations: 120.6 kB / 1.461 GB, free: 105.5 MB / 0.8621 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/1.781, allocations: 31.62 kB / 1.461 GB, free: 105.5 MB / 0.8621 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/1.782, allocations: 145.5 kB / 1.461 GB, free: 105.3 MB / 0.8621 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/1.782, allocations: 4 kB / 1.461 GB, free: 105.3 MB / 0.8621 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/1.782, allocations: 4 kB / 1.461 GB, free: 105.3 MB / 0.8621 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002735/1.782, allocations: 447.7 kB / 1.462 GB, free: 104.8 MB / 0.8621 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/1.782, allocations: 297.9 kB / 1.462 GB, free: 104.5 MB / 0.8621 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.782, allocations: 0 / 1.462 GB, free: 104.5 MB / 0.8621 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/1.783, allocations: 39.97 kB / 1.462 GB, free: 104.4 MB / 0.8621 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/1.783, allocations: 0 / 1.462 GB, free: 104.4 MB / 0.8621 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/1.783, allocations: 7.938 kB / 1.462 GB, free: 104.4 MB / 0.8621 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.783, allocations: 7.906 kB / 1.462 GB, free: 104.4 MB / 0.8621 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.783, allocations: 4 kB / 1.462 GB, free: 104.4 MB / 0.8621 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003396/1.783, allocations: 228.7 kB / 1.462 GB, free: 104.2 MB / 0.8621 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/1.783, allocations: 128.8 kB / 1.462 GB, free: 104 MB / 0.8621 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.623e-05/1.783, allocations: 4 kB / 1.462 GB, free: 104 MB / 0.8621 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/1.783, allocations: 23.92 kB / 1.462 GB, free: 104 MB / 0.8621 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/1.784, allocations: 19.88 kB / 1.462 GB, free: 104 MB / 0.8621 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/1.784, allocations: 8 kB / 1.462 GB, free: 104 MB / 0.8621 GB Notification: Performance of sort global known variables: time 0.0001781/1.784, allocations: 211.1 kB / 1.463 GB, free: 103.8 MB / 0.8621 GB Notification: Performance of remove unused functions: time 0.0004865/1.784, allocations: 136 kB / 1.463 GB, free: 103.6 MB / 0.8621 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.0003968/1.785, allocations: 239.1 kB / 1.463 GB, free: 103.4 MB / 0.8621 GB Notification: Performance of simCode: created initialization part: time 0.000261/1.785, allocations: 164.7 kB / 1.463 GB, free: 103.2 MB / 0.8621 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.785, allocations: 4.188 kB / 1.463 GB, free: 103.2 MB / 0.8621 GB Notification: Performance of simCode: created simulation system equations: time 8.356e-05/1.785, allocations: 51.94 kB / 1.463 GB, free: 103.2 MB / 0.8621 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008567/1.786, allocations: 173.9 kB / 1.463 GB, free: 103 MB / 0.8621 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009903/1.787, allocations: 0.5038 MB / 1.464 GB, free: 102.5 MB / 0.8621 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/1.787, allocations: 0.84 MB / 1.465 GB, free: 101.6 MB / 0.8621 GB Notification: Performance of SimCode: time 3.21e-07/1.787, allocations: 0 / 1.465 GB, free: 101.6 MB / 0.8621 GB Notification: Performance of Templates: time 0.01052/1.798, allocations: 6.287 MB / 1.471 GB, free: 95.42 MB / 0.8621 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)