Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.369/1.369, allocations: 285.5 MB / 292.8 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 179.5 kB / 361.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.099/1.099, allocations: 205.1 MB / 0.6195 GB, free: 10.34 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008126/0.0008126, allocations: 96.45 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.971e-06/6.061e-06, allocations: 0 / 0.8511 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.436, allocations: 115.3 MB / 0.9637 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.098/3.534, allocations: 2.136 GB / 3.099 GB, free: 281.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/3.535, allocations: 86.92 kB / 3.099 GB, free: 281.7 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4975:5-4976:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4977:5-4978:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4981:5-4982:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4983:5-4984:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd: time 5.342/8.877, allocations: 2.099 GB / 5.199 GB, free: 40.77 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.000194/8.877, allocations: 71.94 kB / 5.199 GB, free: 40.7 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 709 * Number of variables: 709 Notification: Performance of Generate backend data structure: time 0.01125/8.888, allocations: 3.634 MB / 5.202 GB, free: 36.99 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/8.888, allocations: 8.031 kB / 5.202 GB, free: 36.98 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005865/8.894, allocations: 0.8975 MB / 5.203 GB, free: 36.08 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004526/8.899, allocations: 2.201 MB / 5.206 GB, free: 33.82 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.719e-05/8.899, allocations: 88 kB / 5.206 GB, free: 33.74 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005141/8.899, allocations: 171.9 kB / 5.206 GB, free: 33.57 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004293/8.903, allocations: 2.822 MB / 5.209 GB, free: 30.74 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004432/8.908, allocations: 3.134 MB / 5.212 GB, free: 27.48 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.019e-05/8.908, allocations: 7.938 kB / 5.212 GB, free: 27.47 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002424/8.908, allocations: 4 kB / 5.212 GB, free: 27.46 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.994e-05/8.908, allocations: 129.3 kB / 5.212 GB, free: 27.34 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01262/8.921, allocations: 14.89 MB / 5.226 GB, free: 11.26 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/8.923, allocations: 2.055 MB / 5.228 GB, free: 9.199 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/8.925, allocations: 1.345 MB / 5.23 GB, free: 7.852 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008567/8.926, allocations: 1.382 MB / 5.231 GB, free: 6.172 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001513/8.927, allocations: 1.283 MB / 5.232 GB, free: 4.879 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=213): time 3.717e-06/8.927, allocations: 3.938 kB / 5.232 GB, free: 4.875 MB / 0.9948 GB Notification: Performance of matching and sorting (n=213): time 0.004998/8.932, allocations: 2.483 MB / 5.235 GB, free: 2.383 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/8.932, allocations: 77.41 kB / 5.235 GB, free: 2.297 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/8.933, allocations: 0.9736 MB / 5.236 GB, free: 1.312 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/8.934, allocations: 29.7 kB / 5.236 GB, free: 1.277 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004242/8.934, allocations: 0.8716 MB / 5.237 GB, free: 400 kB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006402/8.935, allocations: 0.7004 MB / 5.237 GB, free: 15.68 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/8.935, allocations: 0 / 5.237 GB, free: 15.68 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000162/8.935, allocations: 393.8 kB / 5.238 GB, free: 15.29 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/8.936, allocations: 0.9334 MB / 5.238 GB, free: 14.35 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/8.938, allocations: 1.34 MB / 5.24 GB, free: 12.84 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002141/8.94, allocations: 1.21 MB / 5.241 GB, free: 11.63 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/8.94, allocations: 0 / 5.241 GB, free: 11.63 MB / 1.01 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004318/8.945, allocations: 2.619 MB / 5.244 GB, free: 9.004 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/8.945, allocations: 4 kB / 5.244 GB, free: 9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/8.945, allocations: 8 kB / 5.244 GB, free: 8.992 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/8.945, allocations: 16 kB / 5.244 GB, free: 8.977 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002177/8.947, allocations: 471.8 kB / 5.244 GB, free: 8.516 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.819e-05/8.947, allocations: 16 kB / 5.244 GB, free: 8.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/8.949, allocations: 310 kB / 5.244 GB, free: 8.195 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002097/8.95, allocations: 91.91 kB / 5.244 GB, free: 8.105 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (258): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 1 * 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.0003191/8.95, allocations: 144.7 kB / 5.245 GB, free: 7.957 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000347/8.95, allocations: 197.7 kB / 5.245 GB, free: 7.762 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004374/8.955, allocations: 2.56 MB / 5.247 GB, free: 5.18 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/8.955, allocations: 24 kB / 5.247 GB, free: 5.156 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/8.955, allocations: 3.906 kB / 5.247 GB, free: 5.152 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003396/8.958, allocations: 2.358 MB / 5.25 GB, free: 2.723 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00899/8.967, allocations: 5.471 MB / 5.255 GB, free: 13.14 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/8.967, allocations: 4 kB / 5.255 GB, free: 13.14 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002402/8.97, allocations: 491.6 kB / 5.255 GB, free: 12.66 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.641e-05/8.97, allocations: 12 kB / 5.255 GB, free: 12.65 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001708/8.97, allocations: 39.86 kB / 5.255 GB, free: 12.61 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.144e-05/8.97, allocations: 12 kB / 5.255 GB, free: 12.6 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/8.97, allocations: 0 / 5.255 GB, free: 12.6 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005629/8.975, allocations: 4.238 MB / 5.26 GB, free: 8.238 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/8.977, allocations: 0.5372 MB / 5.26 GB, free: 7.68 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003913/8.977, allocations: 11.98 kB / 5.26 GB, free: 7.668 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002151/8.979, allocations: 211.5 kB / 5.26 GB, free: 7.461 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/8.979, allocations: 129.7 kB / 5.26 GB, free: 7.336 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001713/8.98, allocations: 83.94 kB / 5.261 GB, free: 7.254 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.0009454/8.981, allocations: 0.7313 MB / 5.261 GB, free: 6.523 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.003061/8.984, allocations: 1.216 MB / 5.262 GB, free: 5.305 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,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 (217): * Single equations (assignments): 215 * 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.3609/9.345, allocations: 5.313 MB / 5.268 GB, free: 210 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.003836/9.348, allocations: 2.343 MB / 5.27 GB, free: 210 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/9.348, allocations: 0 / 5.27 GB, free: 210 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001681/9.35, allocations: 1.226 MB / 5.271 GB, free: 210 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00482/9.355, allocations: 0.9666 MB / 5.272 GB, free: 210 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007581/9.363, allocations: 4.933 MB / 5.277 GB, free: 209 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001998/9.365, allocations: 2.277 MB / 5.279 GB, free: 208.2 MB / 1.026 GB Notification: Performance of SimCode: time 7.11e-07/9.365, allocations: 0 / 5.279 GB, free: 208.2 MB / 1.026 GB Notification: Performance of Templates: time 0.08661/9.451, allocations: 67.36 MB / 5.345 GB, free: 207.1 MB / 1.026 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)