Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") [: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.167/2.167, allocations: 284.9 MB / 292.2 MB, free: 10.79 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.00162/0.00162, allocations: 185.2 kB / 360.4 MB, free: 7.531 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.595/1.595, allocations: 205.2 MB / 0.6188 GB, free: 13.18 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.001209/0.001209, allocations: 91.19 kB / 0.7318 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.626e-06/8.647e-06, allocations: 4 kB / 0.8502 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.541/0.541, allocations: 115.2 MB / 0.9628 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.544/5.086, allocations: 2.083 GB / 3.046 GB, free: 269.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/5.086, allocations: 85.77 kB / 3.046 GB, free: 269.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.55/9.636, allocations: 1.06 GB / 4.106 GB, free: 144.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001698/9.636, allocations: 46.95 kB / 4.106 GB, free: 144.3 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.009013/9.645, allocations: 2.174 MB / 4.108 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/9.645, allocations: 7.531 kB / 4.108 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005628/9.651, allocations: 0.5529 MB / 4.109 GB, free: 143.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004009/9.655, allocations: 1.288 MB / 4.11 GB, free: 143.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.473e-05/9.655, allocations: 45.44 kB / 4.11 GB, free: 143.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002903/9.655, allocations: 85.97 kB / 4.11 GB, free: 143.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0036/9.659, allocations: 1.251 MB / 4.111 GB, free: 143.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003525/9.662, allocations: 1.469 MB / 4.113 GB, free: 143.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.353e-05/9.662, allocations: 3 kB / 4.113 GB, free: 143.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001929/9.663, allocations: 3.875 kB / 4.113 GB, free: 143.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-05/9.663, allocations: 59.77 kB / 4.113 GB, free: 143.2 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01338/9.676, allocations: 7.356 MB / 4.12 GB, free: 139.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002735/9.679, allocations: 1.039 MB / 4.121 GB, free: 139.6 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/9.68, allocations: 0.6059 MB / 4.122 GB, free: 139.6 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000951/9.681, allocations: 0.8673 MB / 4.122 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001503/9.683, allocations: 0.6275 MB / 4.123 GB, free: 138.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=110): time 4.308e-06/9.683, allocations: 0 / 4.123 GB, free: 138.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=110): time 0.005291/9.688, allocations: 1.257 MB / 4.124 GB, free: 138.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/9.688, allocations: 89.86 kB / 4.124 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/9.69, allocations: 0.8218 MB / 4.125 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002868/9.69, allocations: 25.7 kB / 4.125 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004633/9.691, allocations: 493.5 kB / 4.126 GB, free: 138 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005308/9.691, allocations: 366.6 kB / 4.126 GB, free: 137.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.106e-05/9.691, allocations: 3.75 kB / 4.126 GB, free: 137.8 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.901e-05/9.691, allocations: 349.5 kB / 4.126 GB, free: 137.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/9.693, allocations: 425.7 kB / 4.127 GB, free: 137.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/9.694, allocations: 0.5934 MB / 4.127 GB, free: 137.3 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/9.695, allocations: 0.5378 MB / 4.128 GB, free: 137.3 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/9.696, allocations: 0 / 4.128 GB, free: 137.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003624/9.699, allocations: 1.23 MB / 4.129 GB, free: 137.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000211/9.699, allocations: 0.9776 MB / 4.13 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/9.699, allocations: 7.281 kB / 4.13 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.672e-05/9.699, allocations: 6.531 kB / 4.13 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00226/9.702, allocations: 233.7 kB / 4.13 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/9.702, allocations: 13.66 kB / 4.13 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002899/9.705, allocations: 134.8 kB / 4.13 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001906/9.705, allocations: 44.67 kB / 4.13 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/9.705, allocations: 3.938 kB / 4.13 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003206/9.708, allocations: 1.074 MB / 4.132 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/9.708, allocations: 3.906 kB / 4.132 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/9.708, allocations: 6.531 kB / 4.132 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/9.71, allocations: 226.1 kB / 4.132 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/9.71, allocations: 12.78 kB / 4.132 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002735/9.713, allocations: 123.4 kB / 4.132 GB, free: 136.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/9.713, allocations: 41.69 kB / 4.132 GB, free: 136.1 MB / 0.9636 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.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * 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.0003845/9.714, allocations: 132.1 kB / 4.132 GB, free: 136 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003885/9.714, allocations: 142 kB / 4.132 GB, free: 136 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004009/9.718, allocations: 1.257 MB / 4.133 GB, free: 135.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/9.718, allocations: 10.91 kB / 4.133 GB, free: 135.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/9.718, allocations: 0 / 4.133 GB, free: 135.9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002721/9.721, allocations: 1.049 MB / 4.134 GB, free: 135.8 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008322/9.729, allocations: 3.025 MB / 4.137 GB, free: 135.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/9.73, allocations: 0 / 4.137 GB, free: 135.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002549/9.732, allocations: 254.3 kB / 4.138 GB, free: 135.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.109e-05/9.732, allocations: 6.969 kB / 4.138 GB, free: 135.3 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/9.732, allocations: 28.05 kB / 4.138 GB, free: 135.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.121e-05/9.732, allocations: 7.219 kB / 4.138 GB, free: 135.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/9.732, allocations: 3.75 kB / 4.138 GB, free: 135.3 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004844/9.737, allocations: 2.186 MB / 4.14 GB, free: 134.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/9.739, allocations: 361.9 kB / 4.14 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003887/9.739, allocations: 12.39 kB / 4.14 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002293/9.741, allocations: 99.62 kB / 4.14 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/9.741, allocations: 59.8 kB / 4.14 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/9.742, allocations: 38.66 kB / 4.14 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001271/9.743, allocations: 0.6308 MB / 4.141 GB, free: 134.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003724/9.747, allocations: 1.025 MB / 4.142 GB, free: 134.5 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 109 * 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.005323/9.752, allocations: 3.089 MB / 4.145 GB, free: 133.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00421/9.756, allocations: 1.694 MB / 4.147 GB, free: 133.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/9.756, allocations: 3.75 kB / 4.147 GB, free: 133.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00134/9.758, allocations: 0.5734 MB / 4.147 GB, free: 133.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006212/9.764, allocations: 0.6632 MB / 4.148 GB, free: 133.4 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008156/9.772, allocations: 2.766 MB / 4.151 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002104/9.774, allocations: 1.531 MB / 4.152 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of SimCode: time 2.775e-06/9.774, allocations: 0 / 4.152 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of Templates: time 0.11/9.884, allocations: 47.15 MB / 4.198 GB, free: 131.1 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)