Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.7319/0.7319, allocations: 127.4 MB / 134.6 MB, free: 4.102 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00128/0.00128, allocations: 173.3 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.732/1.732, allocations: 205.1 MB / 399.1 MB, free: 6.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009749/0.0009749, allocations: 83.39 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.153e-06/7.183e-06, allocations: 0 / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2103, allocations: 76.75 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.568/5.778, allocations: 2.167 GB / 2.787 GB, free: 220 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/5.779, allocations: 87.94 kB / 2.787 GB, free: 132 kB / 0.6355 GB Notification: Performance of FrontEnd: time 7.829/13.61, allocations: 1.93 GB / 4.717 GB, free: 56.01 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0004757/13.61, allocations: 86.83 kB / 4.717 GB, free: 56 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 864 * Number of variables: 864 Notification: Performance of Generate backend data structure: time 0.02473/13.63, allocations: 4.394 MB / 4.721 GB, free: 54.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/13.63, allocations: 6.594 kB / 4.721 GB, free: 54.54 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009694/13.64, allocations: 1.07 MB / 4.723 GB, free: 54.32 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009345/13.65, allocations: 2.392 MB / 4.725 GB, free: 53.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003648/13.65, allocations: 105.7 kB / 4.725 GB, free: 53.79 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002124/13.65, allocations: 198.3 kB / 4.725 GB, free: 53.79 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01247/13.67, allocations: 4.297 MB / 4.729 GB, free: 53.77 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01261/13.68, allocations: 3.811 MB / 4.733 GB, free: 53.46 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002129/13.68, allocations: 11 kB / 4.733 GB, free: 53.46 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001212/13.68, allocations: 2.219 kB / 4.733 GB, free: 53.46 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002018/13.68, allocations: 157.1 kB / 4.733 GB, free: 53.45 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03159/13.71, allocations: 15.33 MB / 4.748 GB, free: 46.26 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007206/13.72, allocations: 3.927 MB / 4.752 GB, free: 46.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004321/13.72, allocations: 2.415 MB / 4.754 GB, free: 46.13 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001713/13.73, allocations: 1.64 MB / 4.756 GB, free: 44.44 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.357e-05/13.73, allocations: 82.77 kB / 4.756 GB, free: 44.39 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=391): time 6.351e-06/13.73, allocations: 2.688 kB / 4.756 GB, free: 44.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=391): time 0.01276/13.74, allocations: 4.348 MB / 4.76 GB, free: 44.14 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.765e-05/13.74, allocations: 100.7 kB / 4.76 GB, free: 44.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004169/13.74, allocations: 1.231 MB / 4.762 GB, free: 43.92 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0005643/13.74, allocations: 29.02 kB / 4.762 GB, free: 43.89 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007461/13.75, allocations: 0.8551 MB / 4.763 GB, free: 43.41 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001582/13.75, allocations: 1.269 MB / 4.764 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000319/13.75, allocations: 0 / 4.764 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003236/13.75, allocations: 443.9 kB / 4.764 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002748/13.75, allocations: 1.562 MB / 4.766 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002954/13.75, allocations: 1.967 MB / 4.768 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005557/13.76, allocations: 2.226 MB / 4.77 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.633e-05/13.76, allocations: 0 / 4.77 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=434) (initialization): time 0.01061/13.77, allocations: 4.473 MB / 4.774 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/13.77, allocations: 3.656 kB / 4.774 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/13.77, allocations: 4.625 kB / 4.774 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.41e-05/13.77, allocations: 25.25 kB / 4.774 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003542/13.77, allocations: 0.7208 MB / 4.775 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.996e-05/13.77, allocations: 24.98 kB / 4.775 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004464/13.78, allocations: 354.4 kB / 4.775 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004795/13.78, allocations: 125.7 kB / 4.775 GB, free: 41.47 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (434): * Single equations (assignments): 434 * 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.0007728/13.78, allocations: 155 kB / 4.776 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/13.78, allocations: 287.8 kB / 4.776 GB, free: 41.22 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/13.79, allocations: 4.704 MB / 4.78 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.538e-05/13.79, allocations: 42.48 kB / 4.78 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.03e-05/13.79, allocations: 2.375 kB / 4.78 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007667/13.8, allocations: 4.076 MB / 4.784 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01935/13.82, allocations: 8.682 MB / 4.793 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/13.82, allocations: 6.75 kB / 4.793 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003887/13.82, allocations: 0.7462 MB / 4.794 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-05/13.82, allocations: 20.06 kB / 4.794 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003812/13.82, allocations: 50.11 kB / 4.794 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.876e-05/13.82, allocations: 19.22 kB / 4.794 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/13.82, allocations: 3.562 kB / 4.794 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01275/13.84, allocations: 7.367 MB / 4.801 GB, free: 39.28 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002987/13.84, allocations: 0.8226 MB / 4.802 GB, free: 39 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001162/13.84, allocations: 12.64 kB / 4.802 GB, free: 39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00404/13.84, allocations: 213.8 kB / 4.802 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004111/13.84, allocations: 200.2 kB / 4.802 GB, free: 38.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004362/13.84, allocations: 124.3 kB / 4.802 GB, free: 38.97 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.002198/13.85, allocations: 0.9448 MB / 4.803 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006087/13.85, allocations: 1.475 MB / 4.805 GB, free: 38.71 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (391): * Single equations (assignments): 391 * 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.009512/13.86, allocations: 5.638 MB / 4.81 GB, free: 36.2 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.008415/13.87, allocations: 3.942 MB / 4.814 GB, free: 36.14 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/13.87, allocations: 0 / 4.814 GB, free: 36.14 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.004019/13.87, allocations: 2.13 MB / 4.816 GB, free: 36.13 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007923/13.88, allocations: 1.238 MB / 4.817 GB, free: 36.1 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01874/13.9, allocations: 6.725 MB / 4.824 GB, free: 34.89 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005742/13.91, allocations: 2.649 MB / 4.826 GB, free: 34.11 MB / 0.7448 GB Notification: Performance of SimCode: time 1.543e-06/13.91, allocations: 2.719 kB / 4.826 GB, free: 34.11 MB / 0.7448 GB Notification: Performance of Templates: time 0.1529/14.06, allocations: 87.4 MB / 4.912 GB, free: 7.473 MB / 0.7605 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)