Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [: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.045/2.045, allocations: 253.1 MB / 260.4 MB, free: 7.539 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.001718/0.001717, allocations: 189.2 kB / 319.6 MB, free: 3.297 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.838/1.838, allocations: 205.4 MB / 0.5704 GB, free: 15.12 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.001367/0.001366, allocations: 86.39 kB / 0.6746 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.244e-05/1.266e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2827, allocations: 106.3 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.909/6.192, allocations: 2.206 GB / 3.094 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/6.192, allocations: 86.19 kB / 3.094 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.683/14.88, allocations: 1.684 GB / 4.778 GB, free: 84.51 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003481/14.88, allocations: 77.08 kB / 4.778 GB, free: 84.5 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: 677 * Number of variables: 677 Notification: Performance of Generate backend data structure: time 0.02073/14.9, allocations: 3.598 MB / 4.781 GB, free: 83.27 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/14.9, allocations: 10.72 kB / 4.781 GB, free: 83.27 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/14.91, allocations: 0.9742 MB / 4.782 GB, free: 83.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007852/14.92, allocations: 1.958 MB / 4.784 GB, free: 82.63 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/14.92, allocations: 89.16 kB / 4.784 GB, free: 82.62 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001264/14.92, allocations: 155.5 kB / 4.785 GB, free: 82.62 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01112/14.93, allocations: 3.101 MB / 4.788 GB, free: 82.61 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01197/14.94, allocations: 2.972 MB / 4.79 GB, free: 82.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001592/14.94, allocations: 10 kB / 4.79 GB, free: 82.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007923/14.94, allocations: 0 / 4.79 GB, free: 82.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001505/14.94, allocations: 121.4 kB / 4.791 GB, free: 82.29 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03028/14.97, allocations: 12.85 MB / 4.803 GB, free: 75.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00784/14.98, allocations: 2.684 MB / 4.806 GB, free: 75.72 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005121/14.98, allocations: 1.825 MB / 4.808 GB, free: 75.69 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002008/14.99, allocations: 1.498 MB / 4.809 GB, free: 74.09 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.963e-05/14.99, allocations: 72.94 kB / 4.809 GB, free: 74.05 MB / 0.948 GB Notification: Performance of pre-optimization done (n=278): time 4.889e-06/14.99, allocations: 0 / 4.809 GB, free: 74.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=278): time 0.01412/15, allocations: 3.161 MB / 4.812 GB, free: 73.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/15, allocations: 80.44 kB / 4.812 GB, free: 73.75 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/15, allocations: 1.037 MB / 4.813 GB, free: 73.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007102/15, allocations: 28.95 kB / 4.813 GB, free: 73.57 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004493/15, allocations: 0.7252 MB / 4.814 GB, free: 73.16 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001608/15.01, allocations: 0.9074 MB / 4.815 GB, free: 72.54 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/15.01, allocations: 2.5 kB / 4.815 GB, free: 72.54 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002267/15.01, allocations: 401.8 kB / 4.815 GB, free: 72.23 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003031/15.01, allocations: 1.13 MB / 4.816 GB, free: 72.23 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003604/15.01, allocations: 1.439 MB / 4.818 GB, free: 71.96 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005975/15.02, allocations: 1.544 MB / 4.819 GB, free: 71.91 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-05/15.02, allocations: 0 / 4.819 GB, free: 71.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01131/15.03, allocations: 3.208 MB / 4.822 GB, free: 71.69 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/15.03, allocations: 6.094 kB / 4.822 GB, free: 71.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/15.03, allocations: 3.688 kB / 4.822 GB, free: 71.69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.234e-05/15.03, allocations: 16.59 kB / 4.822 GB, free: 71.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0055/15.04, allocations: 0.5321 MB / 4.823 GB, free: 71.69 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.015e-05/15.04, allocations: 20.97 kB / 4.823 GB, free: 71.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006006/15.04, allocations: 283.8 kB / 4.823 GB, free: 71.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006644/15.04, allocations: 92.77 kB / 4.823 GB, free: 71.59 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * 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.0007494/15.04, allocations: 138.6 kB / 4.823 GB, free: 71.49 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009849/15.05, allocations: 222.9 kB / 4.824 GB, free: 71.38 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/15.06, allocations: 3.323 MB / 4.827 GB, free: 71.22 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-05/15.06, allocations: 29.44 kB / 4.827 GB, free: 71.22 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/15.06, allocations: 0 / 4.827 GB, free: 71.22 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009761/15.07, allocations: 2.839 MB / 4.83 GB, free: 70.98 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02162/15.09, allocations: 6.284 MB / 4.836 GB, free: 70.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/15.09, allocations: 3.219 kB / 4.836 GB, free: 70.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006374/15.1, allocations: 0.5823 MB / 4.836 GB, free: 70.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.334e-05/15.1, allocations: 10.25 kB / 4.836 GB, free: 70.45 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007136/15.1, allocations: 34.75 kB / 4.836 GB, free: 70.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.01e-05/15.1, allocations: 6.719 kB / 4.837 GB, free: 70.45 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/15.1, allocations: 3.531 kB / 4.837 GB, free: 70.45 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01446/15.11, allocations: 5.1 MB / 4.841 GB, free: 70.07 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002934/15.11, allocations: 0.641 MB / 4.842 GB, free: 69.82 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009263/15.11, allocations: 6.234 kB / 4.842 GB, free: 69.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005328/15.12, allocations: 193 kB / 4.842 GB, free: 69.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007252/15.12, allocations: 137.8 kB / 4.842 GB, free: 69.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003744/15.12, allocations: 94.22 kB / 4.843 GB, free: 69.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001964/15.12, allocations: 0.7926 MB / 4.843 GB, free: 69.69 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005756/15.13, allocations: 1.197 MB / 4.844 GB, free: 69.57 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 278 * 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.008363/15.14, allocations: 4.7 MB / 4.849 GB, free: 67.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007769/15.15, allocations: 2.837 MB / 4.852 GB, free: 67.54 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/15.15, allocations: 6.203 kB / 4.852 GB, free: 67.54 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00381/15.15, allocations: 1.524 MB / 4.853 GB, free: 67.53 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01069/15.16, allocations: 1.084 MB / 4.854 GB, free: 67.51 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01748/15.18, allocations: 5.259 MB / 4.86 GB, free: 66.56 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006039/15.18, allocations: 2.236 MB / 4.862 GB, free: 65.81 MB / 0.948 GB Notification: Performance of SimCode: time 2.114e-06/15.18, allocations: 0 / 4.862 GB, free: 65.81 MB / 0.948 GB Notification: Performance of Templates: time 0.1945/15.38, allocations: 71.34 MB / 4.931 GB, free: 38.29 MB / 0.948 GB