Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.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.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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 1.6.0+build.1/package.mo): time 0.4708/0.4708, 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.001088/0.001088, allocations: 181.9 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.209/1.209, allocations: 170.5 MB / 319 MB, free: 9.367 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.001774/0.001774, allocations: 108 kB / 381 MB, free: 18.2 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.684e-06, allocations: 224 / 448.6 MB, free: 2.141 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1513, allocations: 61.52 MB / 0.4981 GB, free: 4.531 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8982/1.05, allocations: 401.9 MB / 0.8906 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/1.05, allocations: 88.94 kB / 0.8907 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.11/2.159, allocations: 322.6 MB / 1.206 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001156/2.16, allocations: 24.72 kB / 1.206 GB, free: 110.8 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.00265/2.162, allocations: 1.304 MB / 1.207 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/2.162, allocations: 8.812 kB / 1.207 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006321/2.163, allocations: 149.9 kB / 1.207 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/2.165, allocations: 0.9364 MB / 1.208 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/2.165, allocations: 29.73 kB / 1.208 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/2.165, allocations: 45.91 kB / 1.208 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009527/2.166, allocations: 0.5804 MB / 1.209 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/2.167, allocations: 0.7709 MB / 1.209 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/2.167, allocations: 7.547 kB / 1.209 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.444e-05/2.167, allocations: 6.062 kB / 1.209 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/2.167, allocations: 23.72 kB / 1.209 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004729/2.172, allocations: 4.189 MB / 1.214 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005787/2.172, allocations: 378 kB / 1.214 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003489/2.173, allocations: 252.7 kB / 1.214 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006373/2.174, allocations: 1.078 MB / 1.215 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004817/2.174, allocations: 340.5 kB / 1.216 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=61): time 2.795e-06/2.174, allocations: 0 / 1.216 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66): time 0.00443/2.178, allocations: 1.719 MB / 1.217 GB, free: 102 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/2.179, allocations: 243.8 kB / 1.217 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/2.18, allocations: 0.6705 MB / 1.218 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.459e-05/2.18, allocations: 28.7 kB / 1.218 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/2.18, allocations: 370.7 kB / 1.218 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/2.18, allocations: 219.8 kB / 1.219 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/2.18, allocations: 1.812 kB / 1.219 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.859e-05/2.18, allocations: 340 kB / 1.219 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003164/2.18, allocations: 211.9 kB / 1.219 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/2.181, allocations: 424.5 kB / 1.22 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006882/2.182, allocations: 302.4 kB / 1.22 GB, free: 99.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/2.182, allocations: 2.938 kB / 1.22 GB, free: 99.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001659/2.183, allocations: 0.8581 MB / 1.221 GB, free: 99.49 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/2.183, allocations: 5.531 kB / 1.221 GB, free: 99.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/2.183, allocations: 5.688 kB / 1.221 GB, free: 99.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003622/2.184, allocations: 110.7 kB / 1.221 GB, free: 99.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006572/2.184, allocations: 154.5 kB / 1.221 GB, free: 99.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/2.186, allocations: 1.925 MB / 1.223 GB, free: 97.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009651/2.187, allocations: 67.31 kB / 1.223 GB, free: 97.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/2.187, allocations: 34.64 kB / 1.223 GB, free: 97.52 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 78 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002181/2.187, allocations: 128.3 kB / 1.223 GB, free: 97.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/2.187, allocations: 97.02 kB / 1.223 GB, free: 97.36 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/2.189, allocations: 0.88 MB / 1.224 GB, free: 96.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/2.189, allocations: 7.719 kB / 1.224 GB, free: 96.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/2.189, allocations: 0 / 1.224 GB, free: 96.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/2.189, allocations: 7.672 kB / 1.224 GB, free: 96.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0024/2.191, allocations: 1.613 MB / 1.226 GB, free: 95.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/2.191, allocations: 0 / 1.226 GB, free: 95.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005957/2.192, allocations: 122.6 kB / 1.226 GB, free: 95.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002826/2.192, allocations: 117.2 kB / 1.226 GB, free: 95.67 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-05/2.192, allocations: 5.406 kB / 1.226 GB, free: 95.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/2.193, allocations: 1.943 MB / 1.228 GB, free: 93.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/2.193, allocations: 4.859 kB / 1.228 GB, free: 93.79 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001903/2.195, allocations: 1.231 MB / 1.229 GB, free: 93.03 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004635/2.196, allocations: 261.8 kB / 1.229 GB, free: 92.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/2.196, allocations: 3.594 kB / 1.229 GB, free: 92.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007485/2.197, allocations: 59.64 kB / 1.229 GB, free: 92.78 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-05/2.197, allocations: 41.09 kB / 1.229 GB, free: 92.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.863e-05/2.197, allocations: 24.89 kB / 1.229 GB, free: 92.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0007016/2.198, allocations: 0.5185 MB / 1.23 GB, free: 92.47 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001142/2.199, allocations: 369.6 kB / 1.23 GB, free: 92.11 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.medium.p,roo.dynBal.medium.T,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * Number of discrete variables: 2 ($whenCondition1,mRoo_flow.nextTimeEvent) * Number of discrete states: 1 (mRoo_flow.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 1 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001156/2.2, allocations: 0.7024 MB / 1.231 GB, free: 91.61 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001123/2.201, allocations: 0.7237 MB / 1.232 GB, free: 90.89 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/2.201, allocations: 0 / 1.232 GB, free: 90.89 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005605/2.202, allocations: 427.4 kB / 1.232 GB, free: 90.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/2.203, allocations: 359.4 kB / 1.232 GB, free: 90.15 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/2.206, allocations: 1.579 MB / 1.234 GB, free: 88.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006969/2.207, allocations: 1.197 MB / 1.235 GB, free: 87.53 MB / 0.5261 GB Notification: Performance of SimCode: time 3.2e-07/2.207, allocations: 0 / 1.235 GB, free: 87.53 MB / 0.5261 GB Notification: Performance of Templates: time 0.0276/2.235, allocations: 19.56 MB / 1.254 GB, free: 68.62 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)