Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.367/1.367, allocations: 289.8 MB / 297.1 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009558/0.0009558, allocations: 173.3 kB / 366.3 MB, free: 1.977 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.1/1.1, allocations: 205.1 MB / 0.6256 GB, free: 5.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008022/0.0008018, allocations: 82.78 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.362e-06/6.532e-06, allocations: 0 / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4816/0.4816, allocations: 116.3 MB / 0.9725 GB, free: 68.45 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.314/3.795, allocations: 2.084 GB / 3.057 GB, free: 355.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/3.796, allocations: 93.47 kB / 3.057 GB, free: 355.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.486/6.282, allocations: 1.06 GB / 4.117 GB, free: 1.828 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000108/6.282, allocations: 44 kB / 4.117 GB, free: 1.785 MB / 0.948 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.005049/6.287, allocations: 2.179 MB / 4.119 GB, free: 15.55 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/6.287, allocations: 8.031 kB / 4.119 GB, free: 15.54 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003531/6.291, allocations: 0.5479 MB / 4.12 GB, free: 14.99 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002797/6.293, allocations: 1.291 MB / 4.121 GB, free: 13.64 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.019e-05/6.293, allocations: 44 kB / 4.121 GB, free: 13.6 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/6.294, allocations: 83.91 kB / 4.121 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002247/6.296, allocations: 1.251 MB / 4.122 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/6.298, allocations: 1.464 MB / 4.124 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.701e-05/6.298, allocations: 8 kB / 4.124 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/6.298, allocations: 0 / 4.124 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.957e-05/6.298, allocations: 58.58 kB / 4.124 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009542/6.308, allocations: 7.371 MB / 4.131 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/6.31, allocations: 1.037 MB / 4.132 GB, free: 1.82 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008192/6.311, allocations: 0.6077 MB / 4.133 GB, free: 1.215 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008349/6.311, allocations: 0.8633 MB / 4.133 GB, free: 172 kB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3152/6.627, allocations: 0.64 MB / 4.134 GB, free: 218.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=110): time 4.278e-06/6.627, allocations: 0 / 4.134 GB, free: 218.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=110): time 0.00294/6.63, allocations: 1.25 MB / 4.135 GB, free: 218.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/6.63, allocations: 89.39 kB / 4.135 GB, free: 218.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009563/6.631, allocations: 0.823 MB / 4.136 GB, free: 218.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.832e-05/6.631, allocations: 29.64 kB / 4.136 GB, free: 218.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/6.631, allocations: 488.4 kB / 4.137 GB, free: 218.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/6.631, allocations: 372.3 kB / 4.137 GB, free: 217.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-05/6.631, allocations: 0 / 4.137 GB, free: 217.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.027e-05/6.631, allocations: 342.6 kB / 4.137 GB, free: 217.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005202/6.632, allocations: 435 kB / 4.138 GB, free: 217.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005906/6.633, allocations: 0.5923 MB / 4.138 GB, free: 217.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008501/6.633, allocations: 0.537 MB / 4.139 GB, free: 217.5 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/6.633, allocations: 7.469 kB / 4.139 GB, free: 217.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001733/6.635, allocations: 1.23 MB / 4.14 GB, free: 217.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001575/6.635, allocations: 0.9699 MB / 4.141 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/6.635, allocations: 3.688 kB / 4.141 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/6.635, allocations: 6.812 kB / 4.141 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/6.636, allocations: 234.3 kB / 4.141 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/6.636, allocations: 10.75 kB / 4.141 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/6.638, allocations: 136.9 kB / 4.141 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.525e-05/6.638, allocations: 44.84 kB / 4.141 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.41e-06/6.638, allocations: 6.812 kB / 4.141 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001557/6.639, allocations: 1.065 MB / 4.142 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/6.639, allocations: 10.41 kB / 4.142 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.745e-06/6.639, allocations: 7.062 kB / 4.142 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009591/6.64, allocations: 224.5 kB / 4.143 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/6.64, allocations: 6.406 kB / 4.143 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/6.642, allocations: 131.4 kB / 4.143 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.343e-05/6.642, allocations: 42.31 kB / 4.143 GB, free: 216.3 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.0001862/6.642, allocations: 135.4 kB / 4.143 GB, free: 216.2 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/6.642, allocations: 137.5 kB / 4.143 GB, free: 216.1 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/6.644, allocations: 1.255 MB / 4.144 GB, free: 216 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/6.644, allocations: 10.91 kB / 4.144 GB, free: 216 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/6.644, allocations: 0.8438 kB / 4.144 GB, free: 216 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001368/6.645, allocations: 1.034 MB / 4.145 GB, free: 216 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004069/6.65, allocations: 3.022 MB / 4.148 GB, free: 215.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/6.65, allocations: 7.516 kB / 4.148 GB, free: 215.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/6.651, allocations: 251.3 kB / 4.149 GB, free: 215.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.739e-06/6.651, allocations: 10.59 kB / 4.149 GB, free: 215.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.856e-05/6.651, allocations: 24.12 kB / 4.149 GB, free: 215.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/6.651, allocations: 7.312 kB / 4.149 GB, free: 215.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/6.651, allocations: 6.781 kB / 4.149 GB, free: 215.5 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002426/6.653, allocations: 2.187 MB / 4.151 GB, free: 215 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005434/6.654, allocations: 364.2 kB / 4.151 GB, free: 214.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/6.654, allocations: 8.406 kB / 4.151 GB, free: 214.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/6.655, allocations: 103.1 kB / 4.151 GB, free: 214.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/6.655, allocations: 65.22 kB / 4.151 GB, free: 214.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.403e-05/6.655, allocations: 42.92 kB / 4.151 GB, free: 214.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0006602/6.656, allocations: 0.6296 MB / 4.152 GB, free: 214.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002075/6.658, allocations: 1.009 MB / 4.153 GB, free: 214.6 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.003219/6.661, allocations: 3.094 MB / 4.156 GB, free: 213.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002057/6.663, allocations: 1.702 MB / 4.158 GB, free: 213.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/6.663, allocations: 6.047 kB / 4.158 GB, free: 213.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006293/6.664, allocations: 0.5656 MB / 4.158 GB, free: 213.7 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/6.667, allocations: 0.6619 MB / 4.159 GB, free: 213.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004418/6.671, allocations: 2.763 MB / 4.161 GB, free: 213 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/6.672, allocations: 1.542 MB / 4.163 GB, free: 212.3 MB / 0.9636 GB Notification: Performance of SimCode: time 4.41e-07/6.672, allocations: 3 kB / 4.163 GB, free: 212.3 MB / 0.9636 GB Notification: Performance of Templates: time 0.06277/6.735, allocations: 47.14 MB / 4.209 GB, free: 211.6 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)