Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") [: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.333/1.333, allocations: 289.8 MB / 297.1 MB, free: 6.691 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.0009585/0.0009585, allocations: 177.3 kB / 366.3 MB, free: 2 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.084/1.084, allocations: 205.1 MB / 0.6256 GB, free: 5.898 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.0008265/0.0008264, allocations: 83.33 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.811e-06/6.001e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5145/0.5145, allocations: 116.3 MB / 0.9725 GB, free: 68.15 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.498/4.013, allocations: 2.091 GB / 3.064 GB, free: 354.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/4.013, allocations: 90.06 kB / 3.064 GB, free: 354.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.99/9.003, allocations: 1.943 GB / 5.007 GB, free: 93.48 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001674/9.003, allocations: 94.2 kB / 5.007 GB, free: 93.47 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01174/9.015, allocations: 4.319 MB / 5.011 GB, free: 92.13 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/9.015, allocations: 7.188 kB / 5.011 GB, free: 92.13 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006341/9.022, allocations: 1.066 MB / 5.012 GB, free: 91.93 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004334/9.026, allocations: 2.254 MB / 5.014 GB, free: 91.43 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.401e-05/9.026, allocations: 104.2 kB / 5.014 GB, free: 91.43 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000403/9.026, allocations: 203.8 kB / 5.015 GB, free: 91.43 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005853/9.032, allocations: 4.234 MB / 5.019 GB, free: 91.41 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00493/9.037, allocations: 3.736 MB / 5.022 GB, free: 91.11 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.679e-05/9.037, allocations: 10.09 kB / 5.022 GB, free: 91.1 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002827/9.038, allocations: 3.781 kB / 5.022 GB, free: 91.1 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/9.038, allocations: 161.9 kB / 5.023 GB, free: 91.09 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.017/9.055, allocations: 15.11 MB / 5.037 GB, free: 83.98 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004617/9.059, allocations: 3.956 MB / 5.041 GB, free: 83.88 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002585/9.062, allocations: 2.416 MB / 5.044 GB, free: 83.85 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/9.063, allocations: 1.613 MB / 5.045 GB, free: 82.16 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/9.063, allocations: 73.11 kB / 5.045 GB, free: 82.12 MB / 1.01 GB Notification: Performance of pre-optimization done (n=392): time 5.29e-06/9.063, allocations: 4.562 kB / 5.045 GB, free: 82.12 MB / 1.01 GB Notification: Performance of matching and sorting (n=392): time 0.008637/9.072, allocations: 4.368 MB / 5.049 GB, free: 81.86 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/9.072, allocations: 91.7 kB / 5.05 GB, free: 81.8 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/9.074, allocations: 1.198 MB / 5.051 GB, free: 81.64 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002097/9.074, allocations: 25.7 kB / 5.051 GB, free: 81.61 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/9.074, allocations: 0.8183 MB / 5.052 GB, free: 81.15 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008041/9.075, allocations: 1.273 MB / 5.053 GB, free: 80.29 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/9.075, allocations: 0 / 5.053 GB, free: 80.29 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001281/9.075, allocations: 438.8 kB / 5.053 GB, free: 79.98 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001867/9.077, allocations: 1.564 MB / 5.055 GB, free: 79.97 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/9.079, allocations: 1.96 MB / 5.057 GB, free: 79.66 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004033/9.083, allocations: 2.205 MB / 5.059 GB, free: 79.61 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.146e-06/9.083, allocations: 2.719 kB / 5.059 GB, free: 79.61 MB / 1.01 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007125/9.09, allocations: 4.433 MB / 5.063 GB, free: 79.36 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/9.09, allocations: 7.406 kB / 5.063 GB, free: 79.36 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/9.09, allocations: 10.25 kB / 5.063 GB, free: 79.36 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.458e-05/9.09, allocations: 20.62 kB / 5.063 GB, free: 79.36 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002994/9.093, allocations: 0.7157 MB / 5.064 GB, free: 79.36 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/9.093, allocations: 20.91 kB / 5.064 GB, free: 79.36 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00328/9.097, allocations: 353.5 kB / 5.064 GB, free: 79.23 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002612/9.097, allocations: 125.1 kB / 5.064 GB, free: 79.23 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * 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.0004458/9.097, allocations: 149.8 kB / 5.064 GB, free: 79.12 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004559/9.098, allocations: 276.2 kB / 5.065 GB, free: 78.99 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007816/9.106, allocations: 4.706 MB / 5.069 GB, free: 78.82 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/9.106, allocations: 39.25 kB / 5.069 GB, free: 78.82 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/9.106, allocations: 2.578 kB / 5.069 GB, free: 78.82 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005816/9.112, allocations: 4.077 MB / 5.073 GB, free: 78.48 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/9.125, allocations: 8.665 MB / 5.082 GB, free: 77.74 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/9.125, allocations: 6.359 kB / 5.082 GB, free: 77.74 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003393/9.129, allocations: 0.7532 MB / 5.083 GB, free: 77.74 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.87e-05/9.129, allocations: 18.75 kB / 5.083 GB, free: 77.73 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002273/9.129, allocations: 46.7 kB / 5.083 GB, free: 77.73 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.358e-05/9.129, allocations: 19 kB / 5.083 GB, free: 77.73 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/9.129, allocations: 3.75 kB / 5.083 GB, free: 77.73 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009706/9.139, allocations: 7.397 MB / 5.09 GB, free: 77 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002031/9.141, allocations: 0.8064 MB / 5.091 GB, free: 76.71 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007082/9.141, allocations: 15.5 kB / 5.091 GB, free: 76.71 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002993/9.144, allocations: 209.8 kB / 5.091 GB, free: 76.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003/9.145, allocations: 193.5 kB / 5.091 GB, free: 76.69 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002516/9.145, allocations: 123.9 kB / 5.091 GB, free: 76.69 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.001183/9.146, allocations: 0.9153 MB / 5.092 GB, free: 76.58 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003464/9.15, allocations: 1.453 MB / 5.093 GB, free: 76.44 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.U,volBotEas.dynBal.m,volBotEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.U,volBotWes.dynBal.m,volBotWes.dynBal.mXi[1],oriEasTop.mExc,volTopEas.dynBal.U,volTopEas.dynBal.m,volTopEas.dynBal.mXi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,volTopWes.dynBal.mXi[1],dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (392): * Single equations (assignments): 392 * 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.005616/9.155, allocations: 5.537 MB / 5.099 GB, free: 73.93 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006211/9.161, allocations: 3.944 MB / 5.103 GB, free: 73.87 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/9.161, allocations: 1.656 kB / 5.103 GB, free: 73.87 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002833/9.164, allocations: 2.141 MB / 5.105 GB, free: 73.86 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006506/9.171, allocations: 1.226 MB / 5.106 GB, free: 73.83 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/9.182, allocations: 6.678 MB / 5.113 GB, free: 72.64 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002749/9.185, allocations: 2.616 MB / 5.115 GB, free: 71.86 MB / 1.01 GB Notification: Performance of SimCode: time 6.61e-07/9.185, allocations: 0 / 5.115 GB, free: 71.86 MB / 1.01 GB Notification: Performance of Templates: time 0.1122/9.297, allocations: 85.4 MB / 5.198 GB, free: 39.23 MB / 1.01 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)