Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow") [: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 8.0.0/package.mo): time 2.164/2.164, allocations: 284.9 MB / 292.2 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001623/0.001622, allocations: 189.2 kB / 360.4 MB, free: 7.539 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.1 MB / 0.6188 GB, free: 13.2 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 87.86 kB / 0.7318 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.265e-06/8.396e-06, allocations: 0 / 0.8502 GB, free: 4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5543/0.5543, allocations: 115.2 MB / 0.9628 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.166/4.72, allocations: 2.075 GB / 3.038 GB, free: 43.15 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/4.721, allocations: 89.77 kB / 3.038 GB, free: 43.11 MB / 0.948 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd: time 2.649/7.37, allocations: 0.6041 GB / 3.642 GB, free: 180.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.088e-05/7.37, allocations: 24 kB / 3.642 GB, free: 180.9 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.005661/7.375, allocations: 1.572 MB / 3.643 GB, free: 179.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/7.375, allocations: 8.531 kB / 3.643 GB, free: 179.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003302/7.379, allocations: 358.2 kB / 3.644 GB, free: 178.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/7.381, allocations: 0.8617 MB / 3.645 GB, free: 178 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/7.381, allocations: 32 kB / 3.645 GB, free: 178 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/7.381, allocations: 56 kB / 3.645 GB, free: 177.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002641/7.384, allocations: 1.019 MB / 3.646 GB, free: 176.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002474/7.386, allocations: 0.9763 MB / 3.647 GB, free: 175.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.702e-05/7.386, allocations: 0 / 3.647 GB, free: 175.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/7.387, allocations: 4 kB / 3.647 GB, free: 175.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.627e-05/7.387, allocations: 62.06 kB / 3.647 GB, free: 175.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009011/7.396, allocations: 5.148 MB / 3.652 GB, free: 170.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/7.398, allocations: 0.8577 MB / 3.653 GB, free: 169.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/7.399, allocations: 0.5503 MB / 3.653 GB, free: 168.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.358e-05/7.399, allocations: 16.66 kB / 3.653 GB, free: 168.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009638/7.4, allocations: 482.6 kB / 3.654 GB, free: 168.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 3.757e-06/7.4, allocations: 0 / 3.654 GB, free: 168.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.00245/7.402, allocations: 0.8349 MB / 3.654 GB, free: 167.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/7.402, allocations: 64 kB / 3.654 GB, free: 167.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006651/7.403, allocations: 422.2 kB / 3.655 GB, free: 167.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.594e-05/7.403, allocations: 25.7 kB / 3.655 GB, free: 167 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/7.403, allocations: 379.5 kB / 3.655 GB, free: 166.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/7.404, allocations: 256.1 kB / 3.656 GB, free: 166.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.054e-05/7.404, allocations: 3.938 kB / 3.656 GB, free: 166.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001199/7.404, allocations: 382.7 kB / 3.656 GB, free: 166 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007257/7.405, allocations: 329.5 kB / 3.656 GB, free: 165.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007982/7.405, allocations: 442.8 kB / 3.657 GB, free: 165.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008708/7.406, allocations: 403 kB / 3.657 GB, free: 164.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/7.406, allocations: 0 / 3.657 GB, free: 164.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001942/7.408, allocations: 0.8857 MB / 3.658 GB, free: 163.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/7.408, allocations: 4.938 kB / 3.658 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/7.408, allocations: 4 kB / 3.658 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/7.408, allocations: 8 kB / 3.658 GB, free: 163.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/7.41, allocations: 159.8 kB / 3.658 GB, free: 163.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/7.41, allocations: 11.92 kB / 3.658 GB, free: 163.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/7.412, allocations: 115.4 kB / 3.658 GB, free: 163.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.856e-05/7.412, allocations: 24 kB / 3.658 GB, free: 163.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0001815/7.412, allocations: 112.9 kB / 3.658 GB, free: 163.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/7.412, allocations: 79.06 kB / 3.658 GB, free: 163.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003129/7.412, allocations: 99 kB / 3.658 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/7.412, allocations: 8 kB / 3.658 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/7.412, allocations: 0 / 3.658 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001713/7.414, allocations: 1.076 MB / 3.66 GB, free: 162.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003755/7.418, allocations: 1.88 MB / 3.661 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/7.418, allocations: 0 / 3.661 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001798/7.42, allocations: 187.8 kB / 3.662 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/7.42, allocations: 4 kB / 3.662 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-05/7.42, allocations: 7.984 kB / 3.662 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/7.42, allocations: 7.938 kB / 3.662 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/7.42, allocations: 0 / 3.662 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002792/7.423, allocations: 1.496 MB / 3.663 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005733/7.423, allocations: 248 kB / 3.663 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/7.423, allocations: 4 kB / 3.663 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/7.425, allocations: 87.75 kB / 3.663 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/7.425, allocations: 36.59 kB / 3.663 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.903e-05/7.425, allocations: 27.98 kB / 3.663 GB, free: 158.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004936/7.426, allocations: 322.9 kB / 3.664 GB, free: 157.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001535/7.427, allocations: 458.9 kB / 3.664 GB, free: 157.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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 Backend phase and start with SimCode phase: time 0.002502/7.43, allocations: 1.824 MB / 3.666 GB, free: 155.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001751/7.432, allocations: 0.7917 MB / 3.667 GB, free: 154.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/7.432, allocations: 0 / 3.667 GB, free: 154.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008178/7.432, allocations: 426.3 kB / 3.667 GB, free: 154.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004123/7.437, allocations: 487.3 kB / 3.668 GB, free: 154 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004328/7.441, allocations: 1.781 MB / 3.669 GB, free: 152.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/7.442, allocations: 1.248 MB / 3.671 GB, free: 150.9 MB / 0.948 GB Notification: Performance of SimCode: time 9.91e-07/7.442, allocations: 0 / 3.671 GB, free: 150.9 MB / 0.948 GB Notification: Performance of Templates: time 0.05918/7.501, allocations: 26.82 MB / 3.697 GB, free: 124.3 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)