Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.7926/0.7926, allocations: 127.3 MB / 134.6 MB, free: 4.086 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.001149/0.001149, allocations: 181.3 kB / 164.4 MB, free: 6.895 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.774/1.774, allocations: 205.1 MB / 399.1 MB, free: 6.164 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.001053/0.001053, allocations: 86.36 kB / 476.3 MB, free: 8.918 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.094e-06/7.374e-06, allocations: 0 / 0.546 GB, free: 42.8 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2134, allocations: 76.75 MB / 0.6209 GB, free: 13.98 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.298/5.511, allocations: 2.165 GB / 2.786 GB, free: 32.36 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/5.512, allocations: 94 kB / 2.786 GB, free: 32.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 6.712/12.22, allocations: 1.711 GB / 4.497 GB, free: 44.15 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0006327/12.22, allocations: 81.66 kB / 4.497 GB, free: 44.13 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 677 * Number of variables: 677 Notification: Performance of Generate backend data structure: time 0.01854/12.24, allocations: 3.596 MB / 4.5 GB, free: 42.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/12.24, allocations: 11.28 kB / 4.5 GB, free: 42.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009916/12.25, allocations: 0.9809 MB / 4.501 GB, free: 42.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009066/12.26, allocations: 2.038 MB / 4.503 GB, free: 41.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002769/12.26, allocations: 83.66 kB / 4.503 GB, free: 41.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001628/12.26, allocations: 155.5 kB / 4.503 GB, free: 41.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01076/12.27, allocations: 3.099 MB / 4.506 GB, free: 41.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01299/12.29, allocations: 2.971 MB / 4.509 GB, free: 41.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000216/12.29, allocations: 9.578 kB / 4.509 GB, free: 41.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001163/12.29, allocations: 3.219 kB / 4.509 GB, free: 41.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001761/12.29, allocations: 123 kB / 4.509 GB, free: 41.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03014/12.32, allocations: 12.84 MB / 4.522 GB, free: 34.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006788/12.33, allocations: 2.686 MB / 4.525 GB, free: 33.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004479/12.33, allocations: 1.826 MB / 4.526 GB, free: 32.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002006/12.33, allocations: 1.614 MB / 4.528 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.622e-05/12.33, allocations: 65.41 kB / 4.528 GB, free: 30.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=278): time 9.067e-06/12.33, allocations: 0.5938 kB / 4.528 GB, free: 30.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=278): time 0.01124/12.34, allocations: 3.181 MB / 4.531 GB, free: 28.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/12.34, allocations: 80.56 kB / 4.531 GB, free: 28.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002722/12.35, allocations: 1.032 MB / 4.532 GB, free: 26.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000509/12.35, allocations: 25.7 kB / 4.532 GB, free: 26.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000562/12.35, allocations: 0.7257 MB / 4.533 GB, free: 26.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001267/12.35, allocations: 0.9081 MB / 4.534 GB, free: 25.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002501/12.35, allocations: 0 / 4.534 GB, free: 25.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002752/12.35, allocations: 401 kB / 4.534 GB, free: 24.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002007/12.35, allocations: 1.133 MB / 4.535 GB, free: 23.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002113/12.35, allocations: 1.44 MB / 4.537 GB, free: 22.22 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003613/12.36, allocations: 1.552 MB / 4.538 GB, free: 20.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-06/12.36, allocations: 4 kB / 4.538 GB, free: 20.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.006941/12.36, allocations: 3.212 MB / 4.541 GB, free: 17.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/12.36, allocations: 4 kB / 4.541 GB, free: 17.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/12.36, allocations: 4 kB / 4.541 GB, free: 17.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.396e-05/12.36, allocations: 16 kB / 4.541 GB, free: 17.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002704/12.37, allocations: 0.5325 MB / 4.542 GB, free: 16.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.475e-05/12.37, allocations: 19.92 kB / 4.542 GB, free: 16.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004655/12.37, allocations: 293.4 kB / 4.542 GB, free: 16.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004141/12.37, allocations: 91.97 kB / 4.542 GB, free: 16.48 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * 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.0007533/12.37, allocations: 143.9 kB / 4.542 GB, free: 16.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001255/12.37, allocations: 221.4 kB / 4.543 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008018/12.38, allocations: 3.322 MB / 4.546 GB, free: 12.78 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.29e-05/12.38, allocations: 28 kB / 4.546 GB, free: 12.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.376e-05/12.38, allocations: 5.094 kB / 4.546 GB, free: 12.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005544/12.39, allocations: 2.838 MB / 4.549 GB, free: 9.848 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/12.4, allocations: 6.285 MB / 4.555 GB, free: 3.523 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/12.4, allocations: 6.062 kB / 4.555 GB, free: 3.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003002/12.41, allocations: 0.567 MB / 4.555 GB, free: 2.953 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.378e-05/12.41, allocations: 8.906 kB / 4.555 GB, free: 2.945 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003168/12.41, allocations: 35.95 kB / 4.555 GB, free: 2.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.327e-05/12.41, allocations: 8 kB / 4.555 GB, free: 2.902 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/12.41, allocations: 1.75 kB / 4.555 GB, free: 2.902 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01008/12.42, allocations: 5.104 MB / 4.56 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003546/12.42, allocations: 0.6402 MB / 4.561 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00135/12.42, allocations: 11.91 kB / 4.561 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004775/12.43, allocations: 189.9 kB / 4.561 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004771/12.43, allocations: 130 kB / 4.561 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005121/12.43, allocations: 95.94 kB / 4.561 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.003004/12.43, allocations: 0.7917 MB / 4.562 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.007314/12.44, allocations: 1.197 MB / 4.563 GB, free: 10.68 MB / 0.7136 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 (278): * Single equations (assignments): 278 * 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.009356/12.45, allocations: 4.801 MB / 4.568 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006928/12.45, allocations: 2.836 MB / 4.571 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/12.45, allocations: 0 / 4.571 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003326/12.46, allocations: 1.527 MB / 4.572 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007532/12.47, allocations: 1.077 MB / 4.573 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01615/12.48, allocations: 5.26 MB / 4.579 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004806/12.49, allocations: 2.24 MB / 4.581 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of SimCode: time 1.252e-06/12.49, allocations: 4 kB / 4.581 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of Templates: time 0.5757/13.06, allocations: 72.05 MB / 4.651 GB, free: 127.3 MB / 0.7292 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)