Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.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.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") [: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.338/1.338, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009554/0.0009551, allocations: 183.3 kB / 361.1 MB, free: 7.109 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.054/1.054, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007596/0.0007596, allocations: 98.58 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.872e-06/6.883e-06, allocations: 0 / 0.851 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4468, allocations: 115.3 MB / 0.9637 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6804/1.127, allocations: 447.9 MB / 1.401 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/1.128, allocations: 87.52 kB / 1.401 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.9519/2.079, allocations: 329 MB / 1.722 GB, free: 231.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001186/2.08, allocations: 29.38 kB / 1.722 GB, free: 231.7 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002628/2.082, allocations: 1.329 MB / 1.724 GB, free: 230.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/2.082, allocations: 8.031 kB / 1.724 GB, free: 230.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004942/2.083, allocations: 139.2 kB / 1.724 GB, free: 230.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/2.085, allocations: 0.9793 MB / 1.725 GB, free: 230 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/2.085, allocations: 25.56 kB / 1.725 GB, free: 230 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/2.085, allocations: 53.25 kB / 1.725 GB, free: 230 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009458/2.086, allocations: 0.5256 MB / 1.725 GB, free: 229.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/2.087, allocations: 0.7195 MB / 1.726 GB, free: 229.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/2.087, allocations: 6.531 kB / 1.726 GB, free: 229.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.099e-05/2.087, allocations: 2.844 kB / 1.726 GB, free: 229.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/2.087, allocations: 19.62 kB / 1.726 GB, free: 229.3 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003998/2.091, allocations: 3.736 MB / 1.73 GB, free: 226.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005917/2.092, allocations: 387.2 kB / 1.73 GB, free: 226 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/2.092, allocations: 262 kB / 1.73 GB, free: 225.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006975/2.093, allocations: 1.242 MB / 1.732 GB, free: 224.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003968/2.093, allocations: 293.8 kB / 1.732 GB, free: 224.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=63): time 2.004e-06/2.093, allocations: 0 / 1.732 GB, free: 224.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=63): time 0.001469/2.095, allocations: 0.6331 MB / 1.733 GB, free: 223.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/2.095, allocations: 86.36 kB / 1.733 GB, free: 223.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007119/2.095, allocations: 0.6446 MB / 1.733 GB, free: 223.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/2.095, allocations: 28.17 kB / 1.733 GB, free: 223.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/2.096, allocations: 332.2 kB / 1.734 GB, free: 223.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/2.096, allocations: 203 kB / 1.734 GB, free: 223 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/2.096, allocations: 6.312 kB / 1.734 GB, free: 223 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 4.993e-05/2.096, allocations: 328.9 kB / 1.734 GB, free: 222.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/2.096, allocations: 184 kB / 1.734 GB, free: 222.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/2.096, allocations: 307 kB / 1.735 GB, free: 222.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007587/2.097, allocations: 268 kB / 1.735 GB, free: 222.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/2.097, allocations: 3.938 kB / 1.735 GB, free: 222.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001306/2.099, allocations: 0.6647 MB / 1.735 GB, free: 221.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/2.099, allocations: 0.8788 MB / 1.736 GB, free: 221 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/2.099, allocations: 3.047 kB / 1.736 GB, free: 221 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002886/2.099, allocations: 83.66 kB / 1.736 GB, free: 221 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/2.099, allocations: 122.6 kB / 1.737 GB, free: 220.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00056/2.1, allocations: 0.6915 MB / 1.737 GB, free: 220.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006241/2.101, allocations: 75.45 kB / 1.737 GB, free: 220.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.03e-05/2.101, allocations: 28.67 kB / 1.737 GB, free: 220.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.653e-06/2.101, allocations: 6 kB / 1.737 GB, free: 220.3 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001188/2.102, allocations: 0.5468 MB / 1.738 GB, free: 220 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/2.102, allocations: 2.719 kB / 1.738 GB, free: 220 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002029/2.102, allocations: 93.02 kB / 1.738 GB, free: 220 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004274/2.103, allocations: 117.7 kB / 1.738 GB, free: 220 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005128/2.103, allocations: 0.6786 MB / 1.739 GB, free: 219.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000572/2.104, allocations: 73.2 kB / 1.739 GB, free: 219.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.582e-05/2.104, allocations: 27.77 kB / 1.739 GB, free: 219.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001304/2.104, allocations: 118.5 kB / 1.739 GB, free: 219.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/2.104, allocations: 91.72 kB / 1.739 GB, free: 219.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/2.106, allocations: 0.9553 MB / 1.74 GB, free: 218.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/2.106, allocations: 8.656 kB / 1.74 GB, free: 218.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/2.106, allocations: 0 / 1.74 GB, free: 218.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/2.107, allocations: 0.8125 MB / 1.741 GB, free: 218.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/2.11, allocations: 1.716 MB / 1.742 GB, free: 217 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/2.11, allocations: 4.531 kB / 1.742 GB, free: 217 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004701/2.11, allocations: 109.5 kB / 1.743 GB, free: 217 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003849/2.111, allocations: 133.8 kB / 1.743 GB, free: 216.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.935e-05/2.111, allocations: 17.73 kB / 1.743 GB, free: 216.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007815/2.111, allocations: 1.278 MB / 1.744 GB, free: 215.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/2.111, allocations: 0 / 1.744 GB, free: 215.7 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001795/2.113, allocations: 1.221 MB / 1.745 GB, free: 215 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003696/2.114, allocations: 271.5 kB / 1.745 GB, free: 214.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/2.114, allocations: 4 kB / 1.745 GB, free: 214.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000604/2.114, allocations: 54.05 kB / 1.745 GB, free: 214.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.158e-05/2.115, allocations: 41.94 kB / 1.745 GB, free: 214.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.137e-05/2.115, allocations: 25.92 kB / 1.745 GB, free: 214.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0005222/2.115, allocations: 0.5149 MB / 1.746 GB, free: 214.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001516/2.117, allocations: 0.6023 MB / 1.747 GB, free: 214.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * 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 (63): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001671/2.118, allocations: 0.8397 MB / 1.747 GB, free: 213.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001473/2.12, allocations: 0.881 MB / 1.748 GB, free: 213.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/2.12, allocations: 0 / 1.748 GB, free: 213.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005587/2.12, allocations: 359.2 kB / 1.749 GB, free: 213.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/2.122, allocations: 348.8 kB / 1.749 GB, free: 213.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/2.125, allocations: 1.6 MB / 1.751 GB, free: 212.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006825/2.125, allocations: 1.178 MB / 1.752 GB, free: 211.5 MB / 0.9323 GB Notification: Performance of SimCode: time 3.11e-07/2.125, allocations: 0 / 1.752 GB, free: 211.5 MB / 0.9323 GB Notification: Performance of Templates: time 0.02998/2.155, allocations: 22.98 MB / 1.774 GB, free: 190.9 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)