Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Annex60.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.3231/0.3231, allocations: 54.39 MB / 61.67 MB, free: 11.02 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001778/0.001778, allocations: 186.3 kB / 75.37 MB, free: 1.512 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.768/1.768, allocations: 194.2 MB / 283.2 MB, free: 3.457 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001874/0.001874, allocations: 113.8 kB / 341.3 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.216e-05/1.22e-05, allocations: 4 kB / 404.9 MB, free: 27.64 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1629, allocations: 57.65 MB / 462.6 MB, free: 1.914 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.979/5.142, allocations: 2.145 GB / 2.597 GB, free: 57.34 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/5.143, allocations: 87.95 kB / 2.597 GB, free: 57.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.987/11.13, allocations: 1.493 GB / 4.09 GB, free: 45.35 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0004507/11.13, allocations: 71.77 kB / 4.09 GB, free: 45.35 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 654 * Number of variables: 654 Notification: Performance of Generate backend data structure: time 0.01722/11.15, allocations: 3.615 MB / 4.093 GB, free: 44.18 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/11.15, allocations: 12.19 kB / 4.093 GB, free: 44.18 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008865/11.16, allocations: 0.9666 MB / 4.094 GB, free: 44.02 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007657/11.16, allocations: 2.047 MB / 4.096 GB, free: 43.54 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/11.16, allocations: 79.94 kB / 4.096 GB, free: 43.54 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001455/11.17, allocations: 162.8 kB / 4.096 GB, free: 43.54 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008695/11.17, allocations: 3.024 MB / 4.099 GB, free: 43.52 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01013/11.18, allocations: 2.895 MB / 4.102 GB, free: 43.25 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001597/11.19, allocations: 12.95 kB / 4.102 GB, free: 43.24 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009507/11.19, allocations: 3.25 kB / 4.102 GB, free: 43.24 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000164/11.19, allocations: 121.9 kB / 4.102 GB, free: 43.23 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0268/11.21, allocations: 11.98 MB / 4.114 GB, free: 37.41 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005417/11.22, allocations: 2.623 MB / 4.117 GB, free: 37.32 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003054/11.22, allocations: 1.81 MB / 4.118 GB, free: 37.29 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/11.22, allocations: 1.326 MB / 4.12 GB, free: 35.88 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.672e-05/11.22, allocations: 64.83 kB / 4.12 GB, free: 35.84 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=271): time 5.52e-06/11.22, allocations: 1.375 kB / 4.12 GB, free: 35.84 MB / 0.5573 GB Notification: Performance of matching and sorting (n=271): time 0.009043/11.23, allocations: 3.158 MB / 4.123 GB, free: 35.61 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/11.23, allocations: 82.8 kB / 4.123 GB, free: 35.55 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002528/11.23, allocations: 0.953 MB / 4.124 GB, free: 35.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000336/11.23, allocations: 28.2 kB / 4.124 GB, free: 35.37 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005585/11.24, allocations: 0.6926 MB / 4.124 GB, free: 34.98 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001012/11.24, allocations: 0.88 MB / 4.125 GB, free: 34.38 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/11.24, allocations: 0.6562 kB / 4.125 GB, free: 34.38 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002063/11.24, allocations: 397.3 kB / 4.126 GB, free: 34.07 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001823/11.24, allocations: 1.119 MB / 4.127 GB, free: 34.06 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002101/11.24, allocations: 1.402 MB / 4.128 GB, free: 33.82 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00385/11.24, allocations: 1.556 MB / 4.13 GB, free: 33.78 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.01e-05/11.24, allocations: 0 / 4.13 GB, free: 33.78 MB / 0.5573 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.007349/11.25, allocations: 3.179 MB / 4.133 GB, free: 33.56 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/11.25, allocations: 8.781 kB / 4.133 GB, free: 33.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/11.25, allocations: 2.594 kB / 4.133 GB, free: 33.56 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.042e-05/11.25, allocations: 17.66 kB / 4.133 GB, free: 33.56 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002703/11.25, allocations: 0.5251 MB / 4.133 GB, free: 33.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-05/11.25, allocations: 15.81 kB / 4.133 GB, free: 33.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003942/11.26, allocations: 274.3 kB / 4.134 GB, free: 33.47 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003627/11.26, allocations: 89.91 kB / 4.134 GB, free: 33.47 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (300): * Single equations (assignments): 300 * 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.0006346/11.26, allocations: 141 kB / 4.134 GB, free: 33.36 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/11.26, allocations: 213.6 kB / 4.134 GB, free: 33.25 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008685/11.27, allocations: 3.374 MB / 4.137 GB, free: 33.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.992e-05/11.27, allocations: 30.41 kB / 4.137 GB, free: 33.09 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-05/11.27, allocations: 0 / 4.137 GB, free: 33.09 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005456/11.28, allocations: 2.874 MB / 4.14 GB, free: 32.85 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/11.29, allocations: 6.283 MB / 4.146 GB, free: 32.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/11.29, allocations: 3.906 kB / 4.146 GB, free: 32.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003156/11.3, allocations: 0.5781 MB / 4.147 GB, free: 32.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.905e-05/11.3, allocations: 10.22 kB / 4.147 GB, free: 32.32 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002769/11.3, allocations: 34.83 kB / 4.147 GB, free: 32.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.09e-05/11.3, allocations: 11.56 kB / 4.147 GB, free: 32.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/11.3, allocations: 0 / 4.147 GB, free: 32.32 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00928/11.31, allocations: 5.127 MB / 4.152 GB, free: 31.95 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00245/11.31, allocations: 0.6301 MB / 4.153 GB, free: 31.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008879/11.31, allocations: 10.75 kB / 4.153 GB, free: 31.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003484/11.31, allocations: 189.3 kB / 4.153 GB, free: 31.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003114/11.31, allocations: 140 kB / 4.153 GB, free: 31.69 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003963/11.31, allocations: 89.97 kB / 4.153 GB, free: 31.69 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.002252/11.32, allocations: 0.7318 MB / 4.154 GB, free: 31.58 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006323/11.32, allocations: 1.173 MB / 4.155 GB, free: 31.46 MB / 0.5573 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 (281): * Single equations (assignments): 281 * 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.008249/11.33, allocations: 4.699 MB / 4.159 GB, free: 29.48 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00694/11.34, allocations: 2.814 MB / 4.162 GB, free: 29.42 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/11.34, allocations: 2.906 kB / 4.162 GB, free: 29.42 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00334/11.34, allocations: 1.528 MB / 4.164 GB, free: 29.41 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007003/11.35, allocations: 1.068 MB / 4.165 GB, free: 29.38 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/11.36, allocations: 5.211 MB / 4.17 GB, free: 28.44 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004435/11.37, allocations: 2.21 MB / 4.172 GB, free: 27.69 MB / 0.5573 GB Notification: Performance of SimCode: time 1.783e-06/11.37, allocations: 0 / 4.172 GB, free: 27.69 MB / 0.5573 GB Notification: Performance of Templates: time 0.1214/11.49, allocations: 71.52 MB / 4.242 GB, free: 5.625 MB / 0.5573 GB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)