Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.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.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep") [: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.6964/0.6964, allocations: 127.4 MB / 134.6 MB, free: 4.098 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.001231/0.001231, allocations: 185.3 kB / 164.4 MB, free: 6.891 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.703/1.703, allocations: 205.1 MB / 399.1 MB, free: 6.086 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.0009879/0.0009878, allocations: 91.38 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.667e-06/8.767e-06, allocations: 4 kB / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1911, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.425/4.617, allocations: 2.171 GB / 2.792 GB, free: 40.96 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/4.617, allocations: 90.23 kB / 2.792 GB, free: 40.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 7.409/12.03, allocations: 2.085 GB / 4.876 GB, free: 5.652 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002986/12.03, allocations: 83.98 kB / 4.876 GB, free: 5.57 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01652/12.04, allocations: 4.091 MB / 4.88 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/12.04, allocations: 12.03 kB / 4.88 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007993/12.05, allocations: 0.9399 MB / 4.881 GB, free: 452 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3707/12.42, allocations: 2.123 MB / 4.883 GB, free: 105.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/12.42, allocations: 106.7 kB / 4.883 GB, free: 105.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001255/12.42, allocations: 196 kB / 4.884 GB, free: 105.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007922/12.43, allocations: 3.811 MB / 4.887 GB, free: 105.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007591/12.44, allocations: 3.759 MB / 4.891 GB, free: 104.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-05/12.44, allocations: 6.688 kB / 4.891 GB, free: 104.9 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004021/12.44, allocations: 3.656 kB / 4.891 GB, free: 104.9 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/12.44, allocations: 146.5 kB / 4.891 GB, free: 104.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02348/12.46, allocations: 17.95 MB / 4.909 GB, free: 95.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004082/12.47, allocations: 3.028 MB / 4.912 GB, free: 95.72 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002256/12.47, allocations: 1.841 MB / 4.913 GB, free: 95.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001406/12.47, allocations: 1.626 MB / 4.915 GB, free: 94 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002533/12.47, allocations: 1.887 MB / 4.917 GB, free: 93.84 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=304): time 4.689e-06/12.47, allocations: 0 / 4.917 GB, free: 93.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=304): time 0.008752/12.48, allocations: 3.429 MB / 4.92 GB, free: 93.61 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.195e-05/12.48, allocations: 241.2 kB / 4.92 GB, free: 93.35 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/12.48, allocations: 1.128 MB / 4.922 GB, free: 93.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002988/12.48, allocations: 36.11 kB / 4.922 GB, free: 93.17 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009184/12.49, allocations: 0.9641 MB / 4.923 GB, free: 92.76 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001009/12.49, allocations: 1.002 MB / 4.924 GB, free: 92.23 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/12.49, allocations: 0 / 4.924 GB, free: 92.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001736/12.49, allocations: 419.2 kB / 4.924 GB, free: 91.92 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001877/12.49, allocations: 1.293 MB / 4.925 GB, free: 91.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/12.49, allocations: 1.81 MB / 4.927 GB, free: 91.42 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003443/12.49, allocations: 1.797 MB / 4.929 GB, free: 91.37 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/12.49, allocations: 3.375 kB / 4.929 GB, free: 91.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.006989/12.5, allocations: 3.695 MB / 4.932 GB, free: 91.14 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/12.5, allocations: 7.344 kB / 4.932 GB, free: 91.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/12.5, allocations: 6.656 kB / 4.932 GB, free: 91.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.494e-05/12.5, allocations: 26.16 kB / 4.932 GB, free: 91.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002884/12.5, allocations: 0.6267 MB / 4.933 GB, free: 91.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.02e-05/12.5, allocations: 28.72 kB / 4.933 GB, free: 91.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003887/12.51, allocations: 374.5 kB / 4.933 GB, free: 91.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000364/12.51, allocations: 120.1 kB / 4.933 GB, free: 91.07 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (366): * Single equations (assignments): 364 * Array equations: 0 * Algorithm blocks: 2 * 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.0007484/12.51, allocations: 156.4 kB / 4.934 GB, free: 90.97 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009402/12.51, allocations: 234.8 kB / 4.934 GB, free: 90.85 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00747/12.52, allocations: 3.7 MB / 4.937 GB, free: 90.68 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.882e-05/12.52, allocations: 29.16 kB / 4.937 GB, free: 90.68 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/12.52, allocations: 0 / 4.937 GB, free: 90.68 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005663/12.52, allocations: 3.236 MB / 4.941 GB, free: 90.24 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/12.54, allocations: 7.066 MB / 4.948 GB, free: 89.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/12.54, allocations: 0 / 4.948 GB, free: 89.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003174/12.54, allocations: 0.6078 MB / 4.948 GB, free: 89.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.128e-05/12.54, allocations: 12.72 kB / 4.948 GB, free: 89.55 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003315/12.54, allocations: 44.59 kB / 4.948 GB, free: 89.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.15e-05/12.54, allocations: 15.59 kB / 4.948 GB, free: 89.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/12.54, allocations: 0 / 4.948 GB, free: 89.55 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008577/12.55, allocations: 5.688 MB / 4.954 GB, free: 88.94 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002142/12.55, allocations: 0.6936 MB / 4.954 GB, free: 88.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009104/12.55, allocations: 16.92 kB / 4.954 GB, free: 88.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003321/12.56, allocations: 217 kB / 4.955 GB, free: 88.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003503/12.56, allocations: 158.6 kB / 4.955 GB, free: 88.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003009/12.56, allocations: 106.4 kB / 4.955 GB, free: 88.71 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.001694/12.56, allocations: 0.8558 MB / 4.956 GB, free: 88.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004982/12.57, allocations: 1.383 MB / 4.957 GB, free: 88.53 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volTop.dynBal.mC[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (303): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.008053/12.57, allocations: 5.389 MB / 4.962 GB, free: 86.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006633/12.58, allocations: 3.258 MB / 4.966 GB, free: 86.13 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/12.58, allocations: 3.438 kB / 4.966 GB, free: 86.13 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002656/12.58, allocations: 1.679 MB / 4.967 GB, free: 86.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005617/12.59, allocations: 1.039 MB / 4.968 GB, free: 86.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/12.6, allocations: 5.974 MB / 4.974 GB, free: 84.99 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003425/12.6, allocations: 2.532 MB / 4.977 GB, free: 84.23 MB / 0.7292 GB Notification: Performance of SimCode: time 2.234e-06/12.6, allocations: 3.656 kB / 4.977 GB, free: 84.23 MB / 0.7292 GB Notification: Performance of Templates: time 0.1227/12.73, allocations: 77.24 MB / 5.052 GB, free: 80.49 MB / 0.7292 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)