Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.361/1.361, allocations: 285.5 MB / 292.8 MB, free: 9.812 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.0008928/0.0008929, allocations: 183.6 kB / 361.1 MB, free: 404 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.046/1.046, allocations: 205.1 MB / 0.6195 GB, free: 2.945 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007914/0.0007914, allocations: 93.14 kB / 0.7326 GB, free: 1.121 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 6.753e-06/6.763e-06, allocations: 0.8125 kB / 0.851 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1634, allocations: 115.3 MB / 0.9637 GB, free: 56.42 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.154/3.318, allocations: 2.083 GB / 3.047 GB, free: 179.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/3.318, allocations: 87.95 kB / 3.047 GB, free: 179.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.827/6.145, allocations: 1.06 GB / 4.107 GB, free: 137.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002053/6.145, allocations: 43.2 kB / 4.107 GB, free: 137.7 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.006748/6.152, allocations: 2.176 MB / 4.109 GB, free: 136.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/6.152, allocations: 9.5 kB / 4.109 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003878/6.156, allocations: 0.5542 MB / 4.11 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002876/6.159, allocations: 1.289 MB / 4.111 GB, free: 136.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.512e-05/6.159, allocations: 44.84 kB / 4.111 GB, free: 136.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/6.159, allocations: 87.66 kB / 4.111 GB, free: 136.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00209/6.161, allocations: 1.256 MB / 4.112 GB, free: 136.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/6.163, allocations: 1.47 MB / 4.114 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.772e-05/6.163, allocations: 10.09 kB / 4.114 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/6.163, allocations: 2.062 kB / 4.114 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-05/6.163, allocations: 60.73 kB / 4.114 GB, free: 136 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007478/6.171, allocations: 7.351 MB / 4.121 GB, free: 132.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/6.173, allocations: 1.044 MB / 4.122 GB, free: 132.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007097/6.173, allocations: 0.6035 MB / 4.123 GB, free: 132.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006712/6.174, allocations: 0.8639 MB / 4.124 GB, free: 131.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007745/6.175, allocations: 0.6312 MB / 4.124 GB, free: 130.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=110): time 3.006e-06/6.175, allocations: 3.844 kB / 4.124 GB, free: 130.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=110): time 0.00269/6.177, allocations: 1.243 MB / 4.125 GB, free: 130.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/6.177, allocations: 95.61 kB / 4.125 GB, free: 130.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008351/6.178, allocations: 0.8215 MB / 4.126 GB, free: 130 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.266e-05/6.178, allocations: 33.48 kB / 4.126 GB, free: 129.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/6.179, allocations: 490.2 kB / 4.127 GB, free: 129.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/6.179, allocations: 375.7 kB / 4.127 GB, free: 129.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/6.179, allocations: 0 / 4.127 GB, free: 129.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.15e-05/6.179, allocations: 341.5 kB / 4.127 GB, free: 129 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005244/6.18, allocations: 436.2 kB / 4.128 GB, free: 128.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005913/6.18, allocations: 0.5897 MB / 4.128 GB, free: 128.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008451/6.181, allocations: 0.5421 MB / 4.129 GB, free: 128.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/6.181, allocations: 0 / 4.129 GB, free: 128.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001722/6.183, allocations: 1.229 MB / 4.13 GB, free: 127.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001391/6.183, allocations: 0.9763 MB / 4.131 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/6.183, allocations: 0 / 4.131 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/6.183, allocations: 7.094 kB / 4.131 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009996/6.184, allocations: 235.8 kB / 4.131 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/6.184, allocations: 11.19 kB / 4.131 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/6.185, allocations: 133.1 kB / 4.131 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.676e-05/6.185, allocations: 48.61 kB / 4.132 GB, free: 126.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.27e-06/6.185, allocations: 3.875 kB / 4.132 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001591/6.187, allocations: 1.075 MB / 4.133 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/6.187, allocations: 0 / 4.133 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/6.187, allocations: 10.28 kB / 4.133 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009456/6.188, allocations: 223.7 kB / 4.133 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/6.188, allocations: 13.66 kB / 4.133 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/6.189, allocations: 126.9 kB / 4.133 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.41e-05/6.189, allocations: 43.44 kB / 4.133 GB, free: 126.3 MB / 0.948 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.0001635/6.189, allocations: 127.9 kB / 4.133 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/6.189, allocations: 136.1 kB / 4.133 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/6.191, allocations: 1.253 MB / 4.134 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/6.191, allocations: 11.72 kB / 4.134 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/6.191, allocations: 7.312 kB / 4.134 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001377/6.193, allocations: 1.028 MB / 4.135 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003895/6.197, allocations: 3.034 MB / 4.138 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/6.197, allocations: 3.906 kB / 4.138 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/6.198, allocations: 251.3 kB / 4.139 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/6.198, allocations: 10.38 kB / 4.139 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.589e-05/6.198, allocations: 19.61 kB / 4.139 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/6.198, allocations: 11.78 kB / 4.139 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/6.198, allocations: 0 / 4.139 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002477/6.2, allocations: 2.19 MB / 4.141 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005027/6.201, allocations: 368.8 kB / 4.141 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/6.201, allocations: 8.766 kB / 4.141 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/6.202, allocations: 99.19 kB / 4.141 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/6.202, allocations: 62.19 kB / 4.141 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-05/6.202, allocations: 44.78 kB / 4.141 GB, free: 122.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006069/6.203, allocations: 0.634 MB / 4.142 GB, free: 122.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001942/6.205, allocations: 1.018 MB / 4.143 GB, free: 121.8 MB / 0.948 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.003596/6.209, allocations: 3.101 MB / 4.146 GB, free: 120.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002468/6.211, allocations: 1.702 MB / 4.148 GB, free: 120 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/6.211, allocations: 3.859 kB / 4.148 GB, free: 120 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007908/6.212, allocations: 0.5709 MB / 4.148 GB, free: 119.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/6.215, allocations: 0.6495 MB / 4.149 GB, free: 119.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004782/6.22, allocations: 2.756 MB / 4.152 GB, free: 118.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/6.221, allocations: 1.534 MB / 4.153 GB, free: 117.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.6e-07/6.221, allocations: 4 kB / 4.153 GB, free: 117.7 MB / 0.948 GB Notification: Performance of Templates: time 0.05819/6.279, allocations: 47.16 MB / 4.199 GB, free: 73.71 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)