Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.383/2.383, allocations: 284.9 MB / 292.2 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001619/0.001619, allocations: 189.2 kB / 360.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205.2 MB / 0.6188 GB, free: 12.46 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00129/0.001289, allocations: 78.03 kB / 0.7318 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.154e-05/1.17e-05, allocations: 4 kB / 0.8502 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6281/0.6281, allocations: 115.2 MB / 0.9628 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9739/1.602, allocations: 394.2 MB / 1.348 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/1.602, allocations: 86.58 kB / 1.348 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.3201/1.923, allocations: 103.5 MB / 1.449 GB, free: 84.47 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.638e-05/1.923, allocations: 8 kB / 1.449 GB, free: 84.46 MB / 0.8542 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.001246/1.924, allocations: 0.6607 MB / 1.45 GB, free: 83.75 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/1.924, allocations: 8.031 kB / 1.45 GB, free: 83.74 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002389/1.924, allocations: 51.42 kB / 1.45 GB, free: 83.69 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02165/1.946, allocations: 6.683 MB / 1.456 GB, free: 76.92 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/1.946, allocations: 8 kB / 1.456 GB, free: 76.91 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.058e-05/1.946, allocations: 16 kB / 1.456 GB, free: 76.89 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004626/1.946, allocations: 141 kB / 1.456 GB, free: 76.76 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005606/1.947, allocations: 245.3 kB / 1.456 GB, free: 76.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/1.947, allocations: 4 kB / 1.456 GB, free: 76.49 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.134e-05/1.947, allocations: 0 / 1.456 GB, free: 76.49 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/1.947, allocations: 11.98 kB / 1.457 GB, free: 76.48 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/1.949, allocations: 1.438 MB / 1.458 GB, free: 74.93 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/1.95, allocations: 110.7 kB / 1.458 GB, free: 74.81 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/1.95, allocations: 48.84 kB / 1.458 GB, free: 74.76 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/1.95, allocations: 85.11 kB / 1.458 GB, free: 74.66 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/1.95, allocations: 92.25 kB / 1.458 GB, free: 74.56 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 2.605e-06/1.95, allocations: 0 / 1.458 GB, free: 74.56 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0004882/1.951, allocations: 149.2 kB / 1.458 GB, free: 74.41 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/1.951, allocations: 55.41 kB / 1.458 GB, free: 74.34 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/1.951, allocations: 271.5 kB / 1.459 GB, free: 74.07 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/1.951, allocations: 29.7 kB / 1.459 GB, free: 74.03 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/1.951, allocations: 183.8 kB / 1.459 GB, free: 73.84 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/1.951, allocations: 47.3 kB / 1.459 GB, free: 73.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.675e-05/1.951, allocations: 0 / 1.459 GB, free: 73.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.547e-05/1.952, allocations: 350.7 kB / 1.459 GB, free: 73.45 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/1.952, allocations: 44 kB / 1.459 GB, free: 73.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/1.952, allocations: 121.4 kB / 1.459 GB, free: 73.25 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/1.952, allocations: 81.06 kB / 1.459 GB, free: 73.17 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.952, allocations: 4 kB / 1.46 GB, free: 73.17 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005826/1.953, allocations: 223.8 kB / 1.46 GB, free: 72.95 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/1.953, allocations: 5.25 kB / 1.46 GB, free: 72.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/1.953, allocations: 8 kB / 1.46 GB, free: 72.93 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/1.953, allocations: 4 kB / 1.46 GB, free: 72.93 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/1.953, allocations: 63.91 kB / 1.46 GB, free: 72.87 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/1.953, allocations: 7.984 kB / 1.46 GB, free: 72.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/1.954, allocations: 35.73 kB / 1.46 GB, free: 72.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/1.954, allocations: 9 kB / 1.46 GB, free: 72.82 MB / 0.8542 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 0.0001015/1.954, allocations: 120.6 kB / 1.46 GB, free: 72.69 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/1.954, allocations: 31.62 kB / 1.46 GB, free: 72.66 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004287/1.955, allocations: 152.3 kB / 1.46 GB, free: 72.51 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.955, allocations: 8 kB / 1.46 GB, free: 72.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.955, allocations: 0 / 1.46 GB, free: 72.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003571/1.955, allocations: 443 kB / 1.461 GB, free: 71.98 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005285/1.956, allocations: 309.9 kB / 1.461 GB, free: 71.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.956, allocations: 0 / 1.461 GB, free: 71.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/1.956, allocations: 32.48 kB / 1.461 GB, free: 71.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/1.956, allocations: 0 / 1.461 GB, free: 71.61 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/1.956, allocations: 0 / 1.461 GB, free: 71.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/1.956, allocations: 8.781 kB / 1.461 GB, free: 71.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.956, allocations: 0 / 1.461 GB, free: 71.61 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004785/1.956, allocations: 228.6 kB / 1.461 GB, free: 71.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/1.957, allocations: 128.8 kB / 1.461 GB, free: 71.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.583e-05/1.957, allocations: 4 kB / 1.461 GB, free: 71.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000415/1.957, allocations: 23.92 kB / 1.461 GB, free: 71.19 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/1.957, allocations: 19.88 kB / 1.461 GB, free: 71.17 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/1.957, allocations: 12.73 kB / 1.461 GB, free: 71.16 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0002726/1.958, allocations: 207.1 kB / 1.461 GB, free: 70.96 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000654/1.958, allocations: 132 kB / 1.462 GB, free: 70.83 MB / 0.8542 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.0004543/1.959, allocations: 245 kB / 1.462 GB, free: 70.59 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004072/1.959, allocations: 161.6 kB / 1.462 GB, free: 70.42 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.959, allocations: 4 kB / 1.462 GB, free: 70.42 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/1.959, allocations: 51.98 kB / 1.462 GB, free: 70.37 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/1.961, allocations: 171.6 kB / 1.462 GB, free: 70.21 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/1.962, allocations: 0.5147 MB / 1.463 GB, free: 69.67 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004103/1.963, allocations: 0.8377 MB / 1.464 GB, free: 68.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.533e-06/1.963, allocations: 0 / 1.464 GB, free: 68.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.01711/1.98, allocations: 6.28 MB / 1.47 GB, free: 62.61 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)