Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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 1.6.0+build.1/package.mo): time 0.4717/0.4717, allocations: 94.74 MB / 102 MB, free: 10.35 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.001106/0.001106, allocations: 176.8 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.114/1.114, allocations: 170.5 MB / 319 MB, free: 9.355 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.001642/0.001642, allocations: 115.2 kB / 381 MB, free: 18.13 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.464e-06, allocations: 4 kB / 448.6 MB, free: 2.121 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1394, allocations: 61.52 MB / 0.4981 GB, free: 4.512 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9093/1.049, allocations: 402.5 MB / 0.8912 GB, free: 3.258 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/1.049, allocations: 90.23 kB / 0.8913 GB, free: 3.215 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.369/2.418, allocations: 424 MB / 1.305 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001837/2.419, allocations: 39.94 kB / 1.305 GB, free: 15.7 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.004118/2.423, allocations: 1.545 MB / 1.307 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/2.423, allocations: 9.031 kB / 1.307 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/2.424, allocations: 186 kB / 1.307 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003213/2.427, allocations: 1.243 MB / 1.308 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/2.427, allocations: 35.94 kB / 1.308 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003001/2.428, allocations: 71.91 kB / 1.308 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001737/2.429, allocations: 0.7734 MB / 1.309 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/2.431, allocations: 0.9928 MB / 1.31 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.565e-05/2.431, allocations: 8 kB / 1.31 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/2.431, allocations: 4 kB / 1.31 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/2.432, allocations: 24 kB / 1.31 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007708/2.439, allocations: 5.341 MB / 1.315 GB, free: 4.945 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007942/2.44, allocations: 425.8 kB / 1.316 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004993/2.441, allocations: 341.4 kB / 1.316 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/2.442, allocations: 1.497 MB / 1.318 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006065/2.442, allocations: 419.8 kB / 1.318 GB, free: 1.926 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=80): time 3.085e-06/2.442, allocations: 0 / 1.318 GB, free: 1.926 MB / 0.5261 GB Notification: Performance of matching and sorting (n=90): time 0.2551/2.697, allocations: 2.372 MB / 1.32 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/2.697, allocations: 246.8 kB / 1.321 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/2.699, allocations: 0.8043 MB / 1.321 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/2.699, allocations: 32.3 kB / 1.321 GB, free: 117 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/2.699, allocations: 447.4 kB / 1.322 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/2.7, allocations: 301.8 kB / 1.322 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/2.7, allocations: 5.938 kB / 1.322 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.737e-05/2.7, allocations: 345 kB / 1.322 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/2.7, allocations: 282.1 kB / 1.323 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005345/2.701, allocations: 0.5246 MB / 1.323 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009592/2.702, allocations: 406.7 kB / 1.324 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/2.702, allocations: 3.688 kB / 1.324 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001914/2.704, allocations: 1.156 MB / 1.325 GB, free: 116 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/2.704, allocations: 11.56 kB / 1.325 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/2.704, allocations: 10.56 kB / 1.325 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001686/2.704, allocations: 51.7 kB / 1.325 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009492/2.705, allocations: 227.5 kB / 1.325 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/2.706, allocations: 2.474 MB / 1.327 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/2.707, allocations: 91.27 kB / 1.327 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.479e-05/2.707, allocations: 44.2 kB / 1.328 GB, free: 113.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (118): * Single equations (assignments): 115 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002083/2.708, allocations: 128.5 kB / 1.328 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/2.708, allocations: 126.7 kB / 1.328 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/2.71, allocations: 1.189 MB / 1.329 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/2.71, allocations: 7.656 kB / 1.329 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/2.71, allocations: 8.234 kB / 1.329 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/2.71, allocations: 4.781 kB / 1.329 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003386/2.713, allocations: 2.264 MB / 1.331 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/2.713, allocations: 0 / 1.331 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009237/2.714, allocations: 186.6 kB / 1.331 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000129/2.714, allocations: 42.09 kB / 1.331 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-05/2.714, allocations: 24.33 kB / 1.331 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/2.716, allocations: 2.47 MB / 1.334 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/2.716, allocations: 0.8438 kB / 1.334 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002437/2.718, allocations: 1.634 MB / 1.335 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006209/2.719, allocations: 315.2 kB / 1.336 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/2.719, allocations: 9.875 kB / 1.336 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008942/2.72, allocations: 70.22 kB / 1.336 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/2.72, allocations: 52.05 kB / 1.336 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.567e-05/2.72, allocations: 38.59 kB / 1.336 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0008352/2.721, allocations: 0.6073 MB / 1.336 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001615/2.723, allocations: 487.4 kB / 1.337 GB, free: 109.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (roo.dynBal.medium.p,roo.dynBal.medium.T,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.p,sha.vol.dynBal.medium.T) * 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 (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001514/2.724, allocations: 0.856 MB / 1.338 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001448/2.726, allocations: 1.011 MB / 1.339 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/2.726, allocations: 6.547 kB / 1.339 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006616/2.726, allocations: 0.6152 MB / 1.339 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/2.728, allocations: 0.5166 MB / 1.34 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/2.732, allocations: 2.108 MB / 1.342 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008633/2.733, allocations: 1.347 MB / 1.343 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.132e-06/2.733, allocations: 0 / 1.343 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.0384/2.772, allocations: 26.12 MB / 1.369 GB, free: 106.9 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)