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: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep",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.8263/0.8263, allocations: 127.4 MB / 134.6 MB, free: 4.074 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.001311/0.001312, allocations: 189.2 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.897/1.897, allocations: 205.1 MB / 399.1 MB, free: 6.148 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.001002/0.001002, allocations: 86.88 kB / 476.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3582/0.3593, allocations: 82.88 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.5555, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.634/6.189, allocations: 2.171 GB / 2.792 GB, free: 41.32 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/6.19, allocations: 89.5 kB / 2.792 GB, free: 41.23 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 7.914/14.1, allocations: 2.089 GB / 4.88 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/14.1, allocations: 12 kB / 4.88 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008801/14.11, allocations: 0.9438 MB / 4.881 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5701/14.68, allocations: 2.119 MB / 4.883 GB, free: 104.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002909/14.68, allocations: 105 kB / 4.884 GB, free: 104.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001812/14.68, allocations: 202.8 kB / 4.884 GB, free: 104.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01019/14.69, allocations: 3.813 MB / 4.887 GB, free: 104.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009277/14.7, allocations: 3.75 MB / 4.891 GB, free: 104 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001031/14.7, allocations: 11.53 kB / 4.891 GB, free: 104 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004286/14.7, allocations: 6.656 kB / 4.891 GB, free: 104 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001433/14.7, allocations: 145.5 kB / 4.891 GB, free: 104 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03317/14.74, allocations: 17.97 MB / 4.909 GB, free: 94.93 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005206/14.74, allocations: 3.019 MB / 4.912 GB, free: 94.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003042/14.75, allocations: 1.842 MB / 4.914 GB, free: 94.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001765/14.75, allocations: 1.626 MB / 4.915 GB, free: 93.16 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002983/14.75, allocations: 1.891 MB / 4.917 GB, free: 93 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=304): time 5.049e-06/14.75, allocations: 0 / 4.917 GB, free: 93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=304): time 0.008752/14.76, allocations: 3.428 MB / 4.92 GB, free: 92.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/14.76, allocations: 238.2 kB / 4.921 GB, free: 92.51 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/14.76, allocations: 1.129 MB / 4.922 GB, free: 92.36 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.00035/14.76, allocations: 28.89 kB / 4.922 GB, free: 92.32 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00132/14.76, allocations: 0.9631 MB / 4.923 GB, free: 91.92 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001351/14.77, allocations: 0.9997 MB / 4.924 GB, free: 91.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/14.77, allocations: 0 / 4.924 GB, free: 91.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002135/14.77, allocations: 422.4 kB / 4.924 GB, free: 91.08 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/14.77, allocations: 1.295 MB / 4.925 GB, free: 91.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002362/14.77, allocations: 1.812 MB / 4.927 GB, free: 90.58 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003868/14.77, allocations: 1.793 MB / 4.929 GB, free: 90.53 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/14.77, allocations: 3.875 kB / 4.929 GB, free: 90.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.008004/14.78, allocations: 3.696 MB / 4.932 GB, free: 90.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/14.78, allocations: 3.562 kB / 4.932 GB, free: 90.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.334e-05/14.78, allocations: 9.594 kB / 4.932 GB, free: 90.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.158e-05/14.78, allocations: 25.28 kB / 4.932 GB, free: 90.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003044/14.79, allocations: 0.6321 MB / 4.933 GB, free: 90.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.76e-05/14.79, allocations: 24.06 kB / 4.933 GB, free: 90.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00451/14.79, allocations: 375 kB / 4.933 GB, free: 90.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005311/14.79, allocations: 112 kB / 4.934 GB, free: 90.23 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.001032/14.79, allocations: 174.1 kB / 4.934 GB, free: 90.12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001385/14.79, allocations: 236.8 kB / 4.934 GB, free: 90.01 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009911/14.8, allocations: 3.696 MB / 4.938 GB, free: 89.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-05/14.8, allocations: 29.41 kB / 4.938 GB, free: 89.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-05/14.8, allocations: 3.906 kB / 4.938 GB, free: 89.83 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006906/14.81, allocations: 3.227 MB / 4.941 GB, free: 89.39 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0248/14.84, allocations: 7.069 MB / 4.948 GB, free: 88.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/14.84, allocations: 3.625 kB / 4.948 GB, free: 88.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003838/14.84, allocations: 0.6074 MB / 4.948 GB, free: 88.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.837e-05/14.84, allocations: 12.66 kB / 4.948 GB, free: 88.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006131/14.84, allocations: 41.95 kB / 4.948 GB, free: 88.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.229e-05/14.84, allocations: 24.8 kB / 4.948 GB, free: 88.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/14.84, allocations: 3.375 kB / 4.948 GB, free: 88.7 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01285/14.85, allocations: 5.689 MB / 4.954 GB, free: 88.09 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01669/14.87, allocations: 8.468 MB / 4.962 GB, free: 87.09 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003268/14.87, allocations: 0.6816 MB / 4.963 GB, free: 86.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001358/14.87, allocations: 10.41 kB / 4.963 GB, free: 86.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00463/14.88, allocations: 224.7 kB / 4.963 GB, free: 86.87 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006177/14.88, allocations: 168.4 kB / 4.963 GB, free: 86.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005662/14.88, allocations: 100.7 kB / 4.963 GB, free: 86.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.002724/14.88, allocations: 0.8601 MB / 4.964 GB, free: 86.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01036/14.89, allocations: 1.994 MB / 4.966 GB, free: 86.68 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.01097/14.9, allocations: 5.381 MB / 4.971 GB, free: 84.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.008137/14.91, allocations: 3.259 MB / 4.975 GB, free: 84.29 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-05/14.91, allocations: 8.141 kB / 4.975 GB, free: 84.29 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00433/14.92, allocations: 1.669 MB / 4.976 GB, free: 84.28 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008579/14.93, allocations: 1.048 MB / 4.977 GB, free: 84.24 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02137/14.95, allocations: 5.989 MB / 4.983 GB, free: 83.14 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006673/14.95, allocations: 2.599 MB / 4.986 GB, free: 82.38 MB / 0.7292 GB Notification: Performance of SimCode: time 2.424e-06/14.95, allocations: 0 / 4.986 GB, free: 82.38 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)