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: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) [: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.7479/0.7479, allocations: 127.4 MB / 134.6 MB, free: 4.051 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.001217/0.001217, allocations: 193.2 kB / 164.4 MB, free: 6.848 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.092/2.092, allocations: 205.1 MB / 399.1 MB, free: 6.082 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.00107/0.00107, allocations: 95.2 kB / 476.3 MB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3902/0.3913, allocations: 82.88 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.5881, allocations: 76.75 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.552/7.14, allocations: 2.167 GB / 2.788 GB, free: 174.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/7.141, allocations: 84.83 kB / 2.788 GB, free: 174.8 MB / 0.6355 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 8.545/15.69, allocations: 1.934 GB / 4.722 GB, free: 54.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/15.69, allocations: 10.75 kB / 4.722 GB, free: 54.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01509/15.7, allocations: 1.07 MB / 4.723 GB, free: 54.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01415/15.72, allocations: 2.384 MB / 4.725 GB, free: 53.72 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004172/15.72, allocations: 108.3 kB / 4.725 GB, free: 53.72 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002587/15.72, allocations: 201.8 kB / 4.725 GB, free: 53.72 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01745/15.74, allocations: 4.298 MB / 4.729 GB, free: 53.71 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01683/15.75, allocations: 3.809 MB / 4.733 GB, free: 53.39 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000157/15.75, allocations: 6.484 kB / 4.733 GB, free: 53.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006523/15.75, allocations: 4.906 kB / 4.733 GB, free: 53.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002251/15.75, allocations: 156.8 kB / 4.733 GB, free: 53.39 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04394/15.8, allocations: 15.34 MB / 4.748 GB, free: 46.19 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/15.81, allocations: 3.934 MB / 4.752 GB, free: 46.1 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006852/15.82, allocations: 2.412 MB / 4.755 GB, free: 46.06 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002579/15.82, allocations: 1.639 MB / 4.756 GB, free: 44.37 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.438e-05/15.82, allocations: 85.48 kB / 4.756 GB, free: 44.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=391): time 9.588e-06/15.82, allocations: 0 / 4.756 GB, free: 44.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=391): time 0.02061/15.84, allocations: 4.353 MB / 4.76 GB, free: 44.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.924e-05/15.84, allocations: 91.52 kB / 4.761 GB, free: 44.01 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003842/15.84, allocations: 1.242 MB / 4.762 GB, free: 43.85 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.001284/15.84, allocations: 29.3 kB / 4.762 GB, free: 43.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008733/15.85, allocations: 0.8505 MB / 4.763 GB, free: 43.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.002577/15.85, allocations: 1.266 MB / 4.764 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002975/15.85, allocations: 1.312 kB / 4.764 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000354/15.85, allocations: 442.4 kB / 4.764 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003948/15.85, allocations: 1.561 MB / 4.766 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004741/15.86, allocations: 1.967 MB / 4.768 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008538/15.87, allocations: 2.227 MB / 4.77 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-05/15.87, allocations: 3.719 kB / 4.77 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=434) (initialization): time 0.02053/15.89, allocations: 4.469 MB / 4.774 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/15.89, allocations: 5.219 kB / 4.774 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.672e-05/15.89, allocations: 5.438 kB / 4.774 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.605e-05/15.89, allocations: 23.94 kB / 4.774 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006965/15.89, allocations: 0.7233 MB / 4.775 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001239/15.89, allocations: 26.3 kB / 4.775 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007719/15.9, allocations: 347.8 kB / 4.775 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001708/15.9, allocations: 131.6 kB / 4.775 GB, free: 41.4 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.002575/15.91, allocations: 154.6 kB / 4.776 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002302/15.91, allocations: 280.2 kB / 4.776 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02037/15.93, allocations: 4.712 MB / 4.78 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.767e-05/15.93, allocations: 35.12 kB / 4.781 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.036e-05/15.93, allocations: 0 / 4.781 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0163/15.95, allocations: 4.086 MB / 4.785 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03572/15.98, allocations: 8.673 MB / 4.793 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.809e-05/15.98, allocations: 2.531 kB / 4.793 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007131/15.99, allocations: 0.7476 MB / 4.794 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001161/15.99, allocations: 21.5 kB / 4.794 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001345/15.99, allocations: 48.66 kB / 4.794 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.233e-05/15.99, allocations: 15.41 kB / 4.794 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/15.99, allocations: 3.5 kB / 4.794 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02359/16.01, allocations: 7.363 MB / 4.801 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03433/16.05, allocations: 10.76 MB / 4.811 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00515/16.05, allocations: 0.8287 MB / 4.812 GB, free: 37.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002194/16.06, allocations: 13.84 kB / 4.812 GB, free: 37.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006646/16.06, allocations: 213.3 kB / 4.813 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001343/16.06, allocations: 192.2 kB / 4.813 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001198/16.06, allocations: 131.1 kB / 4.813 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.003182/16.07, allocations: 0.9482 MB / 4.814 GB, free: 37.69 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01487/16.08, allocations: 2.115 MB / 4.816 GB, free: 37.54 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.0156/16.1, allocations: 5.642 MB / 4.821 GB, free: 35.03 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01188/16.11, allocations: 3.935 MB / 4.825 GB, free: 34.97 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/16.11, allocations: 3.188 kB / 4.825 GB, free: 34.97 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.006263/16.12, allocations: 2.13 MB / 4.827 GB, free: 34.96 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.013/16.13, allocations: 1.239 MB / 4.828 GB, free: 34.93 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02858/16.16, allocations: 6.751 MB / 4.835 GB, free: 33.72 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005837/16.16, allocations: 2.727 MB / 4.838 GB, free: 32.94 MB / 0.7448 GB Notification: Performance of SimCode: time 1.042e-06/16.16, allocations: 0 / 4.838 GB, free: 32.94 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)