Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.332/1.332, allocations: 289.8 MB / 297.1 MB, free: 6.723 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.0009867/0.0009868, allocations: 183.8 kB / 366.3 MB, free: 2.02 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.028/1.028, allocations: 205.1 MB / 0.6256 GB, free: 5.941 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008516/0.0008516, allocations: 86.55 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.671e-06/5.68e-06, allocations: 0 / 0.859 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.401, allocations: 116.3 MB / 0.9726 GB, free: 68.18 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.462/3.863, allocations: 2.076 GB / 3.049 GB, free: 324.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/3.863, allocations: 82.17 kB / 3.049 GB, free: 324.1 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 1.481/5.344, allocations: 0.6041 GB / 3.653 GB, free: 84.15 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.068e-05/5.344, allocations: 27.94 kB / 3.653 GB, free: 84.12 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.004889/5.349, allocations: 1.567 MB / 3.654 GB, free: 82.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/5.349, allocations: 12.03 kB / 3.654 GB, free: 82.49 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002482/5.352, allocations: 358.1 kB / 3.655 GB, free: 82.14 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/5.354, allocations: 0.8589 MB / 3.656 GB, free: 81.23 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.67e-05/5.354, allocations: 32 kB / 3.656 GB, free: 81.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002342/5.354, allocations: 60 kB / 3.656 GB, free: 81.14 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001699/5.356, allocations: 1.015 MB / 3.657 GB, free: 80.12 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/5.357, allocations: 0.9802 MB / 3.658 GB, free: 79.12 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/5.357, allocations: 7.906 kB / 3.658 GB, free: 79.11 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.784e-05/5.357, allocations: 0 / 3.658 GB, free: 79.11 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.241e-05/5.358, allocations: 62.06 kB / 3.658 GB, free: 79.05 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005812/5.363, allocations: 5.154 MB / 3.663 GB, free: 73.47 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009984/5.364, allocations: 0.8552 MB / 3.664 GB, free: 72.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006321/5.365, allocations: 0.5481 MB / 3.664 GB, free: 72.05 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.107e-05/5.365, allocations: 8.656 kB / 3.664 GB, free: 72.04 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000539/5.366, allocations: 478.9 kB / 3.665 GB, free: 71.55 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 3.427e-06/5.366, allocations: 0 / 3.665 GB, free: 71.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.001461/5.367, allocations: 0.8349 MB / 3.665 GB, free: 70.71 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/5.367, allocations: 64.06 kB / 3.665 GB, free: 70.64 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00045/5.368, allocations: 418.2 kB / 3.666 GB, free: 70.23 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.987e-05/5.368, allocations: 25.7 kB / 3.666 GB, free: 70.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/5.368, allocations: 387.4 kB / 3.666 GB, free: 69.81 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000187/5.368, allocations: 252.1 kB / 3.666 GB, free: 69.56 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/5.368, allocations: 0 / 3.666 GB, free: 69.56 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.169e-05/5.368, allocations: 378.8 kB / 3.667 GB, free: 69.18 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000373/5.369, allocations: 333.4 kB / 3.667 GB, free: 68.85 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00043/5.369, allocations: 442.8 kB / 3.668 GB, free: 68.38 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/5.369, allocations: 407 kB / 3.668 GB, free: 67.98 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/5.369, allocations: 0 / 3.668 GB, free: 67.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001079/5.371, allocations: 0.8856 MB / 3.669 GB, free: 67.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/5.371, allocations: 4 kB / 3.669 GB, free: 67.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/5.371, allocations: 7.938 kB / 3.669 GB, free: 67.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/5.371, allocations: 8 kB / 3.669 GB, free: 67.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006668/5.371, allocations: 155.8 kB / 3.669 GB, free: 66.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/5.371, allocations: 11.92 kB / 3.669 GB, free: 66.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/5.372, allocations: 111.6 kB / 3.669 GB, free: 66.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.626e-05/5.372, allocations: 27.91 kB / 3.669 GB, free: 66.77 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.000133/5.373, allocations: 120.8 kB / 3.669 GB, free: 66.64 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/5.373, allocations: 75.16 kB / 3.669 GB, free: 66.57 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/5.373, allocations: 95 kB / 3.669 GB, free: 66.47 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/5.373, allocations: 8 kB / 3.669 GB, free: 66.46 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/5.373, allocations: 0 / 3.669 GB, free: 66.46 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009024/5.374, allocations: 1.076 MB / 3.67 GB, free: 65.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/5.376, allocations: 1.881 MB / 3.672 GB, free: 63.37 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/5.376, allocations: 8.031 kB / 3.672 GB, free: 63.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008694/5.377, allocations: 183.8 kB / 3.672 GB, free: 63.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/5.377, allocations: 4 kB / 3.672 GB, free: 63.18 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.324e-05/5.377, allocations: 7.984 kB / 3.672 GB, free: 63.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/5.377, allocations: 4 kB / 3.672 GB, free: 63.16 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/5.377, allocations: 3.938 kB / 3.672 GB, free: 63.16 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001486/5.379, allocations: 1.496 MB / 3.674 GB, free: 61.64 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004562/5.379, allocations: 259.9 kB / 3.674 GB, free: 61.37 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/5.379, allocations: 0 / 3.674 GB, free: 61.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008708/5.38, allocations: 83.84 kB / 3.674 GB, free: 61.29 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/5.38, allocations: 44.5 kB / 3.674 GB, free: 61.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.104e-05/5.38, allocations: 23.98 kB / 3.674 GB, free: 61.22 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002908/5.381, allocations: 322.9 kB / 3.675 GB, free: 60.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001165/5.382, allocations: 466.9 kB / 3.675 GB, free: 60.45 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.001932/5.384, allocations: 1.813 MB / 3.677 GB, free: 58.55 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000919/5.385, allocations: 0.7917 MB / 3.678 GB, free: 57.76 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/5.385, allocations: 4 kB / 3.678 GB, free: 57.75 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000417/5.385, allocations: 422.3 kB / 3.678 GB, free: 57.34 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/5.387, allocations: 477 kB / 3.678 GB, free: 56.88 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/5.39, allocations: 1.791 MB / 3.68 GB, free: 55.05 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008066/5.391, allocations: 1.24 MB / 3.681 GB, free: 53.78 MB / 0.948 GB Notification: Performance of SimCode: time 3.8e-07/5.391, allocations: 3.938 kB / 3.681 GB, free: 53.78 MB / 0.948 GB Notification: Performance of Templates: time 0.0343/5.425, allocations: 26.81 MB / 3.708 GB, free: 27.11 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)