Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.342/1.342, allocations: 289.8 MB / 297.1 MB, free: 6.629 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.001006/0.001006, allocations: 165.3 kB / 366.3 MB, free: 1.953 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.025/1.025, allocations: 205.1 MB / 0.6256 GB, free: 7.449 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.0009034/0.0009035, allocations: 81.25 kB / 0.7395 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.823e-06/6.853e-06, allocations: 4 kB / 0.859 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.42, allocations: 116.3 MB / 0.9725 GB, free: 75.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.09/3.51, allocations: 2.088 GB / 3.061 GB, free: 35.56 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/3.511, allocations: 83.95 kB / 3.061 GB, free: 35.48 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.904/8.415, allocations: 1.73 GB / 4.791 GB, free: 96.39 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.000195/8.415, allocations: 69.62 kB / 4.791 GB, free: 96.38 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01035/8.425, allocations: 3.578 MB / 4.794 GB, free: 94.85 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/8.425, allocations: 10.91 kB / 4.794 GB, free: 94.85 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005875/8.431, allocations: 0.9755 MB / 4.795 GB, free: 94.68 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003212/8.435, allocations: 1.928 MB / 4.797 GB, free: 94.15 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.455e-05/8.435, allocations: 80.5 kB / 4.797 GB, free: 94.15 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003367/8.435, allocations: 158.7 kB / 4.797 GB, free: 94.14 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004801/8.44, allocations: 3.092 MB / 4.8 GB, free: 94.13 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004753/8.445, allocations: 2.947 MB / 4.803 GB, free: 93.81 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.995e-05/8.445, allocations: 10.86 kB / 4.803 GB, free: 93.8 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002275/8.445, allocations: 2.531 kB / 4.803 GB, free: 93.8 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001606/8.445, allocations: 125.8 kB / 4.803 GB, free: 93.8 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01484/8.46, allocations: 12.8 MB / 4.816 GB, free: 87.19 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003156/8.463, allocations: 2.696 MB / 4.819 GB, free: 87.09 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002144/8.465, allocations: 1.84 MB / 4.82 GB, free: 87.05 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/8.466, allocations: 1.498 MB / 4.822 GB, free: 85.44 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/8.466, allocations: 63.09 kB / 4.822 GB, free: 85.38 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=278): time 3.737e-06/8.466, allocations: 0 / 4.822 GB, free: 85.38 MB / 0.9948 GB Notification: Performance of matching and sorting (n=278): time 0.006234/8.473, allocations: 3.183 MB / 4.825 GB, free: 84.3 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/8.473, allocations: 79.22 kB / 4.825 GB, free: 84.23 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/8.474, allocations: 1.014 MB / 4.826 GB, free: 83.81 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001448/8.474, allocations: 25.7 kB / 4.826 GB, free: 83.78 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/8.474, allocations: 0.709 MB / 4.827 GB, free: 83.28 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005678/8.475, allocations: 0.9084 MB / 4.828 GB, free: 82.55 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/8.475, allocations: 3.281 kB / 4.828 GB, free: 82.55 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001025/8.475, allocations: 410.2 kB / 4.828 GB, free: 82.21 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/8.476, allocations: 1.137 MB / 4.829 GB, free: 81.76 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/8.478, allocations: 1.45 MB / 4.831 GB, free: 81 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002749/8.481, allocations: 1.558 MB / 4.832 GB, free: 80.46 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/8.481, allocations: 2.812 kB / 4.832 GB, free: 80.46 MB / 0.9948 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004892/8.486, allocations: 3.219 MB / 4.835 GB, free: 79.33 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/8.486, allocations: 2.5 kB / 4.835 GB, free: 79.33 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/8.486, allocations: 5.5 kB / 4.835 GB, free: 79.33 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/8.486, allocations: 16.84 kB / 4.835 GB, free: 79.33 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002279/8.488, allocations: 0.5308 MB / 4.836 GB, free: 79.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/8.488, allocations: 16.81 kB / 4.836 GB, free: 79.28 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/8.49, allocations: 276.6 kB / 4.836 GB, free: 79.19 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002049/8.491, allocations: 98.08 kB / 4.836 GB, free: 79.16 MB / 0.9948 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.0003299/8.491, allocations: 145.5 kB / 4.836 GB, free: 79.02 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003698/8.491, allocations: 223.4 kB / 4.836 GB, free: 78.91 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005426/8.497, allocations: 3.337 MB / 4.84 GB, free: 77.71 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/8.497, allocations: 29.8 kB / 4.84 GB, free: 77.71 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/8.497, allocations: 2.812 kB / 4.84 GB, free: 77.71 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004183/8.501, allocations: 2.849 MB / 4.843 GB, free: 76.65 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009149/8.51, allocations: 6.299 MB / 4.849 GB, free: 72.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/8.51, allocations: 0 / 4.849 GB, free: 72.73 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002622/8.513, allocations: 0.5767 MB / 4.849 GB, free: 72.24 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.537e-05/8.513, allocations: 8 kB / 4.849 GB, free: 72.23 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001588/8.513, allocations: 34.38 kB / 4.849 GB, free: 72.21 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.946e-06/8.513, allocations: 8.984 kB / 4.849 GB, free: 72.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/8.513, allocations: 4 kB / 4.849 GB, free: 72.2 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006216/8.519, allocations: 5.126 MB / 4.854 GB, free: 67.55 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/8.52, allocations: 0.6205 MB / 4.855 GB, free: 67 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003632/8.521, allocations: 10.95 kB / 4.855 GB, free: 66.99 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/8.523, allocations: 181 kB / 4.855 GB, free: 66.88 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002128/8.523, allocations: 133.5 kB / 4.855 GB, free: 66.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001777/8.523, allocations: 94.8 kB / 4.855 GB, free: 66.72 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.00085/8.524, allocations: 0.7701 MB / 4.856 GB, free: 66.02 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002503/8.527, allocations: 1.196 MB / 4.857 GB, free: 64.85 MB / 0.9948 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.004372/8.531, allocations: 4.702 MB / 4.862 GB, free: 60.99 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003246/8.534, allocations: 2.856 MB / 4.865 GB, free: 58.32 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/8.534, allocations: 0 / 4.865 GB, free: 58.32 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001514/8.536, allocations: 1.534 MB / 4.866 GB, free: 56.89 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004398/8.54, allocations: 1.088 MB / 4.867 GB, free: 56.02 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007437/8.548, allocations: 5.233 MB / 4.872 GB, free: 51.36 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001979/8.55, allocations: 2.217 MB / 4.874 GB, free: 49.11 MB / 0.9948 GB Notification: Performance of SimCode: time 4.1e-07/8.55, allocations: 0 / 4.874 GB, free: 49.11 MB / 0.9948 GB Notification: Performance of Templates: time 0.08674/8.636, allocations: 70.86 MB / 4.944 GB, free: 11.57 MB / 1.026 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)