Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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 1.6.0+build.1/package.mo): time 0.5012/0.5012, allocations: 94.73 MB / 102 MB, free: 10.38 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001022/0.001022, allocations: 170.1 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.229/1.229, allocations: 170.5 MB / 319 MB, free: 9.398 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001645/0.001645, allocations: 102.6 kB / 381 MB, free: 18.14 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.346e-06/8.376e-06, allocations: 0 / 448.6 MB, free: 2.137 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1496, allocations: 61.52 MB / 0.4981 GB, free: 4.516 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9331/1.083, allocations: 402 MB / 0.8907 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/1.083, allocations: 76.45 kB / 0.8908 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.3913/1.474, allocations: 63.07 MB / 0.9524 GB, free: 168.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.301e-05/1.474, allocations: 11.94 kB / 0.9524 GB, free: 168.6 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008806/1.475, allocations: 0.6261 MB / 0.953 GB, free: 168 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/1.475, allocations: 8.031 kB / 0.953 GB, free: 168 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/1.475, allocations: 43.53 kB / 0.953 GB, free: 167.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01675/1.492, allocations: 8.47 MB / 0.9613 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/1.492, allocations: 8 kB / 0.9613 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/1.492, allocations: 12 kB / 0.9613 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003225/1.493, allocations: 128.9 kB / 0.9615 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/1.493, allocations: 225.8 kB / 0.9617 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/1.493, allocations: 4 kB / 0.9617 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/1.493, allocations: 3.906 kB / 0.9617 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/1.493, allocations: 8 kB / 0.9617 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/1.495, allocations: 1.18 MB / 0.9628 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/1.495, allocations: 89.58 kB / 0.9629 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.663e-05/1.495, allocations: 58.39 kB / 0.963 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001822/1.495, allocations: 170.2 kB / 0.9631 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/1.495, allocations: 107.4 kB / 0.9633 GB, free: 157.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 3.236e-06/1.495, allocations: 3.938 kB / 0.9633 GB, free: 157.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.001051/1.496, allocations: 0.5381 MB / 0.9638 GB, free: 156.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/1.496, allocations: 51.41 kB / 0.9638 GB, free: 156.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/1.497, allocations: 259.5 kB / 0.9641 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/1.497, allocations: 29.7 kB / 0.9641 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/1.497, allocations: 160 kB / 0.9643 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/1.497, allocations: 71.94 kB / 0.9643 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/1.497, allocations: 0 / 0.9643 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.341e-05/1.497, allocations: 338.8 kB / 0.9646 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.616e-05/1.497, allocations: 59.98 kB / 0.9647 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/1.497, allocations: 110.8 kB / 0.9648 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/1.497, allocations: 83.77 kB / 0.9649 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/1.497, allocations: 0 / 0.9649 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003738/1.498, allocations: 237.3 kB / 0.9651 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/1.498, allocations: 8.031 kB / 0.9651 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.498, allocations: 3.984 kB / 0.9651 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/1.498, allocations: 4 kB / 0.9651 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/1.498, allocations: 63.91 kB / 0.9652 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/1.498, allocations: 4 kB / 0.9652 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/1.498, allocations: 19.89 kB / 0.9652 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/1.498, allocations: 11.98 kB / 0.9652 GB, free: 155.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (30): * Single equations (assignments): 29 * 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 7.533e-05/1.498, allocations: 116.8 kB / 0.9653 GB, free: 155 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/1.498, allocations: 32.12 kB / 0.9654 GB, free: 155 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/1.499, allocations: 185 kB / 0.9655 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/1.499, allocations: 0 / 0.9655 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.499, allocations: 0 / 0.9655 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/1.499, allocations: 4 kB / 0.9656 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/1.499, allocations: 304.7 kB / 0.9658 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.499, allocations: 0 / 0.9658 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/1.499, allocations: 51.91 kB / 0.9659 GB, free: 154.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/1.499, allocations: 0 / 0.9659 GB, free: 154.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/1.499, allocations: 4 kB / 0.9659 GB, free: 154.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.499, allocations: 0 / 0.9659 GB, free: 154.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.499, allocations: 7.938 kB / 0.9659 GB, free: 154.4 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003695/1.5, allocations: 278.3 kB / 0.9662 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/1.5, allocations: 104.7 kB / 0.9663 GB, free: 154 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/1.5, allocations: 3.984 kB / 0.9663 GB, free: 154 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/1.5, allocations: 19.98 kB / 0.9663 GB, free: 154 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/1.5, allocations: 19.97 kB / 0.9663 GB, free: 154 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/1.5, allocations: 4 kB / 0.9663 GB, free: 154 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001516/1.5, allocations: 199.1 kB / 0.9665 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000406/1.501, allocations: 115.9 kB / 0.9666 GB, free: 153.7 MB / 0.5261 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.medium.T) * 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 (19): * Single equations (assignments): 17 * 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.0003669/1.501, allocations: 238.6 kB / 0.9668 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002633/1.501, allocations: 179.5 kB / 0.967 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.501, allocations: 0 / 0.967 GB, free: 153.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.662e-05/1.502, allocations: 71.92 kB / 0.9671 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008946/1.502, allocations: 190.5 kB / 0.9673 GB, free: 153 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009432/1.503, allocations: 0.5266 MB / 0.9678 GB, free: 152.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/1.504, allocations: 0.8338 MB / 0.9686 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/1.504, allocations: 0 / 0.9686 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.01054/1.514, allocations: 6.749 MB / 0.9752 GB, free: 145 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)