Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 188.5 kB / 7.801 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4599/0.4599, allocations: 90.86 MB / 99.08 MB, free: 14.96 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 221.4 MB / 342.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009978/0.0009977, allocations: 100.9 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.158e-06/9.348e-06, allocations: 4 kB / 493.9 MB, free: 8.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3688, allocations: 72.3 MB / 0.5529 GB, free: 73.32 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.318/3.687, allocations: 1.89 GB / 2.443 GB, free: 186.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/3.687, allocations: 88.75 kB / 2.443 GB, free: 186.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 7.109/10.8, allocations: 1.976 GB / 4.42 GB, free: 50.45 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000249/10.8, allocations: 84.48 kB / 4.42 GB, free: 50.45 MB / 0.6823 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.01695/10.81, allocations: 4.336 MB / 4.424 GB, free: 48.77 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/10.81, allocations: 10.41 kB / 4.424 GB, free: 48.77 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008479/10.82, allocations: 1.068 MB / 4.425 GB, free: 48.56 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006208/10.83, allocations: 2.296 MB / 4.427 GB, free: 48.04 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/10.83, allocations: 101.7 kB / 4.427 GB, free: 48.04 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000769/10.83, allocations: 200 kB / 4.428 GB, free: 48.04 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007651/10.84, allocations: 4.245 MB / 4.432 GB, free: 48.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006689/10.84, allocations: 3.736 MB / 4.435 GB, free: 47.71 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.835e-05/10.84, allocations: 5.688 kB / 4.435 GB, free: 47.71 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003198/10.84, allocations: 6.844 kB / 4.435 GB, free: 47.71 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000133/10.84, allocations: 164 kB / 4.436 GB, free: 47.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02187/10.87, allocations: 16.22 MB / 4.451 GB, free: 39.64 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005524/10.87, allocations: 3.933 MB / 4.455 GB, free: 39.55 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003266/10.87, allocations: 2.415 MB / 4.458 GB, free: 39.51 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/10.88, allocations: 1.621 MB / 4.459 GB, free: 37.82 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/10.88, allocations: 77.83 kB / 4.459 GB, free: 37.78 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=392): time 5.921e-06/10.88, allocations: 0 / 4.459 GB, free: 37.78 MB / 0.6823 GB Notification: Performance of matching and sorting (n=392): time 0.01003/10.89, allocations: 4.371 MB / 4.464 GB, free: 37.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.811e-05/10.89, allocations: 96.67 kB / 4.464 GB, free: 37.45 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002238/10.89, allocations: 1.216 MB / 4.465 GB, free: 37.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000321/10.89, allocations: 28.8 kB / 4.465 GB, free: 37.27 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004367/10.89, allocations: 0.8073 MB / 4.466 GB, free: 36.81 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001267/10.89, allocations: 1.271 MB / 4.467 GB, free: 35.95 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/10.89, allocations: 0 / 4.467 GB, free: 35.95 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001816/10.89, allocations: 441 kB / 4.467 GB, free: 35.64 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002309/10.89, allocations: 1.567 MB / 4.469 GB, free: 35.63 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002984/10.9, allocations: 1.945 MB / 4.471 GB, free: 35.35 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005158/10.9, allocations: 2.2 MB / 4.473 GB, free: 35.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.75e-05/10.9, allocations: 0 / 4.473 GB, free: 35.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01002/10.91, allocations: 4.443 MB / 4.477 GB, free: 35.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/10.91, allocations: 6.469 kB / 4.477 GB, free: 35.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/10.91, allocations: 3.656 kB / 4.477 GB, free: 35.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.757e-05/10.91, allocations: 23.56 kB / 4.477 GB, free: 35.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003489/10.91, allocations: 0.7137 MB / 4.478 GB, free: 35.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-05/10.91, allocations: 24.14 kB / 4.478 GB, free: 35.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004475/10.92, allocations: 398.7 kB / 4.478 GB, free: 34.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004162/10.92, allocations: 124.8 kB / 4.478 GB, free: 34.92 MB / 0.6823 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.0007172/10.92, allocations: 166.1 kB / 4.479 GB, free: 34.81 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009272/10.92, allocations: 280.4 kB / 4.479 GB, free: 34.67 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009584/10.93, allocations: 4.698 MB / 4.483 GB, free: 34.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.41e-05/10.93, allocations: 35.19 kB / 4.483 GB, free: 34.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/10.93, allocations: 3.5 kB / 4.483 GB, free: 34.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006853/10.94, allocations: 4.081 MB / 4.487 GB, free: 34.17 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01671/10.95, allocations: 8.671 MB / 4.496 GB, free: 33.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/10.95, allocations: 2.812 kB / 4.496 GB, free: 33.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003784/10.96, allocations: 0.7458 MB / 4.497 GB, free: 33.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.204e-05/10.96, allocations: 15.84 kB / 4.497 GB, free: 33.43 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000326/10.96, allocations: 42.28 kB / 4.497 GB, free: 33.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.722e-05/10.96, allocations: 25.17 kB / 4.497 GB, free: 33.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/10.96, allocations: 4.312 kB / 4.497 GB, free: 33.43 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01208/10.97, allocations: 6.997 MB / 4.504 GB, free: 32.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002435/10.97, allocations: 0.7995 MB / 4.504 GB, free: 31.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006403/10.97, allocations: 14.88 kB / 4.504 GB, free: 31.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002896/10.98, allocations: 203.1 kB / 4.505 GB, free: 31.92 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003641/10.98, allocations: 202.3 kB / 4.505 GB, free: 31.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002799/10.98, allocations: 119.4 kB / 4.505 GB, free: 31.87 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001416/10.98, allocations: 0.9301 MB / 4.506 GB, free: 31.48 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004482/10.98, allocations: 1.459 MB / 4.507 GB, free: 31.09 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,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.007847/10.99, allocations: 5.534 MB / 4.513 GB, free: 28.53 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007134/11, allocations: 3.939 MB / 4.516 GB, free: 26.43 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/11, allocations: 0 / 4.516 GB, free: 26.43 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003371/11, allocations: 2.138 MB / 4.519 GB, free: 24.54 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007482/11.01, allocations: 1.228 MB / 4.52 GB, free: 23.71 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/11.02, allocations: 6.733 MB / 4.526 GB, free: 18.36 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003176/11.03, allocations: 2.624 MB / 4.529 GB, free: 16.28 MB / 0.6823 GB Notification: Performance of SimCode: time 1.132e-06/11.03, allocations: 0 / 4.529 GB, free: 16.28 MB / 0.6823 GB Notification: Performance of Templates: time 0.4775/11.5, allocations: 85.48 MB / 4.612 GB, free: 110 MB / 0.698 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)