Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.154/2.154, allocations: 253.1 MB / 260.4 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001581/0.00158, allocations: 177.2 kB / 319.6 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.4 MB / 0.5704 GB, free: 15.03 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001562/0.00156, allocations: 87.33 kB / 0.6746 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/8.095e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2311, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.733/5.964, allocations: 2.203 GB / 3.091 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/5.965, allocations: 89.7 kB / 3.091 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.796/10.76, allocations: 1.03 GB / 4.121 GB, free: 53.14 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002042/10.76, allocations: 47.92 kB / 4.121 GB, free: 53.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.01031/10.77, allocations: 2.174 MB / 4.123 GB, free: 50.88 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/10.77, allocations: 8.031 kB / 4.123 GB, free: 50.87 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006261/10.78, allocations: 0.5595 MB / 4.124 GB, free: 50.31 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004937/10.78, allocations: 1.303 MB / 4.125 GB, free: 48.95 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-05/10.78, allocations: 44 kB / 4.125 GB, free: 48.91 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004147/10.78, allocations: 83.91 kB / 4.125 GB, free: 48.82 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00404/10.79, allocations: 1.263 MB / 4.126 GB, free: 47.56 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003852/10.79, allocations: 1.474 MB / 4.128 GB, free: 46.01 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.058e-05/10.79, allocations: 3.938 kB / 4.128 GB, free: 46.01 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002059/10.79, allocations: 4 kB / 4.128 GB, free: 46 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.77e-05/10.79, allocations: 62.61 kB / 4.128 GB, free: 45.94 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01501/10.81, allocations: 7.384 MB / 4.135 GB, free: 38.14 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003074/10.81, allocations: 1.047 MB / 4.136 GB, free: 37.07 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/10.81, allocations: 0.596 MB / 4.137 GB, free: 36.48 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/10.81, allocations: 0.8672 MB / 4.138 GB, free: 35.43 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001592/10.81, allocations: 0.6416 MB / 4.138 GB, free: 34.77 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=110): time 4.949e-06/10.81, allocations: 0 / 4.138 GB, free: 34.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110): time 0.005226/10.82, allocations: 1.251 MB / 4.139 GB, free: 33.52 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/10.82, allocations: 86.11 kB / 4.14 GB, free: 33.41 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/10.82, allocations: 0.8279 MB / 4.14 GB, free: 32.57 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002441/10.82, allocations: 29.7 kB / 4.14 GB, free: 32.54 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005668/10.82, allocations: 492.7 kB / 4.141 GB, free: 32.05 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005238/10.82, allocations: 374.4 kB / 4.141 GB, free: 31.68 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.292e-05/10.82, allocations: 3.938 kB / 4.141 GB, free: 31.67 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001142/10.82, allocations: 345.9 kB / 4.142 GB, free: 31.33 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/10.82, allocations: 425.9 kB / 4.142 GB, free: 30.91 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/10.82, allocations: 0.5956 MB / 4.142 GB, free: 30.26 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/10.83, allocations: 0.5299 MB / 4.143 GB, free: 29.73 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/10.83, allocations: 7.938 kB / 4.143 GB, free: 29.72 MB / 0.8698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003741/10.83, allocations: 1.228 MB / 4.144 GB, free: 28.48 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000269/10.83, allocations: 0.9742 MB / 4.145 GB, free: 27.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/10.83, allocations: 4 kB / 4.145 GB, free: 27.44 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-05/10.83, allocations: 8 kB / 4.145 GB, free: 27.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002221/10.83, allocations: 239.7 kB / 4.145 GB, free: 27.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/10.83, allocations: 8 kB / 4.145 GB, free: 27.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002883/10.84, allocations: 139.1 kB / 4.146 GB, free: 27.05 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/10.84, allocations: 47.89 kB / 4.146 GB, free: 27.01 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/10.84, allocations: 4 kB / 4.146 GB, free: 27 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00316/10.84, allocations: 1.064 MB / 4.147 GB, free: 25.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/10.84, allocations: 4 kB / 4.147 GB, free: 25.94 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/10.84, allocations: 12.31 kB / 4.147 GB, free: 25.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/10.84, allocations: 227.7 kB / 4.147 GB, free: 25.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/10.84, allocations: 8 kB / 4.147 GB, free: 25.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002765/10.84, allocations: 127.2 kB / 4.147 GB, free: 25.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/10.84, allocations: 47.97 kB / 4.147 GB, free: 25.52 MB / 0.8698 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.0004066/10.84, allocations: 120.7 kB / 4.147 GB, free: 25.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003244/10.85, allocations: 146.2 kB / 4.147 GB, free: 25.25 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004041/10.85, allocations: 1.259 MB / 4.149 GB, free: 23.98 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/10.85, allocations: 8 kB / 4.149 GB, free: 23.98 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/10.85, allocations: 4 kB / 4.149 GB, free: 23.97 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002665/10.85, allocations: 1.017 MB / 4.15 GB, free: 22.95 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008226/10.86, allocations: 3.037 MB / 4.152 GB, free: 19.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/10.86, allocations: 0 / 4.152 GB, free: 19.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002539/10.86, allocations: 264 kB / 4.153 GB, free: 19.56 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.718e-05/10.86, allocations: 4 kB / 4.153 GB, free: 19.55 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/10.86, allocations: 19.98 kB / 4.153 GB, free: 19.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.096e-05/10.86, allocations: 7.984 kB / 4.153 GB, free: 19.53 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/10.86, allocations: 11.84 kB / 4.153 GB, free: 19.52 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004954/10.87, allocations: 2.172 MB / 4.155 GB, free: 17.25 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/10.87, allocations: 371.1 kB / 4.155 GB, free: 16.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003435/10.87, allocations: 8 kB / 4.155 GB, free: 16.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002229/10.87, allocations: 107.6 kB / 4.155 GB, free: 16.75 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/10.87, allocations: 60.92 kB / 4.155 GB, free: 16.69 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/10.87, allocations: 43.97 kB / 4.155 GB, free: 16.65 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001381/10.87, allocations: 0.6346 MB / 4.156 GB, free: 16.01 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003715/10.88, allocations: 1.032 MB / 4.157 GB, free: 14.97 MB / 0.8698 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.005835/10.88, allocations: 3.094 MB / 4.16 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005627/10.89, allocations: 1.683 MB / 4.162 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/10.89, allocations: 0 / 4.162 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001386/10.89, allocations: 0.567 MB / 4.162 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006322/10.9, allocations: 0.6716 MB / 4.163 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008297/10.91, allocations: 2.775 MB / 4.166 GB, free: 5.898 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002118/10.91, allocations: 1.549 MB / 4.167 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of SimCode: time 1.593e-06/10.91, allocations: 0 / 4.167 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of Templates: time 0.6245/11.53, allocations: 47.33 MB / 4.213 GB, free: 218.8 MB / 0.9011 GB