Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.369/1.369, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.0009112/0.0009112, allocations: 181.3 kB / 366.3 MB, free: 1.949 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.136/1.136, allocations: 205.1 MB / 0.6256 GB, free: 7.43 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.0008252/0.0008252, allocations: 81.75 kB / 0.7395 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.424e-06/7.444e-06, allocations: 4 kB / 0.859 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4823/0.4823, allocations: 116.3 MB / 0.9725 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.309/3.791, allocations: 2.137 GB / 3.109 GB, free: 344.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/3.791, allocations: 83.98 kB / 3.109 GB, free: 344.2 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.434/9.225, allocations: 2.099 GB / 5.209 GB, free: 85.27 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001511/9.226, allocations: 73.89 kB / 5.209 GB, free: 85.2 MB / 1.01 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.01126/9.237, allocations: 3.636 MB / 5.212 GB, free: 81.54 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/9.237, allocations: 9.594 kB / 5.212 GB, free: 81.53 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005901/9.243, allocations: 0.8998 MB / 5.213 GB, free: 80.64 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004685/9.248, allocations: 2.192 MB / 5.215 GB, free: 78.44 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.594e-05/9.248, allocations: 88 kB / 5.215 GB, free: 78.36 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003565/9.248, allocations: 170.2 kB / 5.216 GB, free: 78.19 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004141/9.252, allocations: 2.822 MB / 5.218 GB, free: 75.36 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004178/9.256, allocations: 3.134 MB / 5.221 GB, free: 72.11 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.945e-05/9.256, allocations: 8 kB / 5.221 GB, free: 72.1 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002344/9.257, allocations: 4 kB / 5.221 GB, free: 72.1 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.68e-05/9.257, allocations: 133.3 kB / 5.222 GB, free: 71.96 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01341/9.27, allocations: 14.89 MB / 5.236 GB, free: 56.16 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002467/9.273, allocations: 2.058 MB / 5.238 GB, free: 54.11 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/9.274, allocations: 1.342 MB / 5.239 GB, free: 52.76 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008664/9.275, allocations: 1.39 MB / 5.241 GB, free: 51.09 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001508/9.277, allocations: 1.277 MB / 5.242 GB, free: 49.8 MB / 1.01 GB Notification: Performance of pre-optimization done (n=213): time 3.958e-06/9.277, allocations: 0 / 5.242 GB, free: 49.8 MB / 1.01 GB Notification: Performance of matching and sorting (n=213): time 0.005017/9.282, allocations: 2.479 MB / 5.244 GB, free: 47.32 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/9.282, allocations: 81.34 kB / 5.245 GB, free: 47.22 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/9.283, allocations: 0.9735 MB / 5.245 GB, free: 46.24 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001489/9.283, allocations: 33.7 kB / 5.245 GB, free: 46.2 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005785/9.283, allocations: 0.8677 MB / 5.246 GB, free: 45.32 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005254/9.284, allocations: 0.7043 MB / 5.247 GB, free: 44.61 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/9.284, allocations: 0 / 5.247 GB, free: 44.61 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.113e-05/9.284, allocations: 389.9 kB / 5.247 GB, free: 44.22 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/9.285, allocations: 0.9372 MB / 5.248 GB, free: 43.28 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/9.287, allocations: 1.34 MB / 5.25 GB, free: 41.77 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/9.288, allocations: 1.206 MB / 5.251 GB, free: 40.57 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/9.288, allocations: 4 kB / 5.251 GB, free: 40.56 MB / 1.01 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003746/9.292, allocations: 2.612 MB / 5.253 GB, free: 37.94 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/9.292, allocations: 8 kB / 5.253 GB, free: 37.93 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/9.292, allocations: 4 kB / 5.253 GB, free: 37.93 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.084e-05/9.292, allocations: 20 kB / 5.253 GB, free: 37.91 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/9.294, allocations: 471.8 kB / 5.254 GB, free: 37.45 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/9.294, allocations: 23.92 kB / 5.254 GB, free: 37.43 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002635/9.297, allocations: 298.1 kB / 5.254 GB, free: 37.13 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/9.297, allocations: 87.88 kB / 5.254 GB, free: 37.05 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.0003192/9.297, allocations: 160.5 kB / 5.254 GB, free: 36.88 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/9.298, allocations: 193.7 kB / 5.255 GB, free: 36.69 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003872/9.302, allocations: 2.56 MB / 5.257 GB, free: 34.11 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/9.302, allocations: 23.94 kB / 5.257 GB, free: 34.09 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/9.302, allocations: 0 / 5.257 GB, free: 34.09 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002719/9.304, allocations: 2.37 MB / 5.259 GB, free: 31.66 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00798/9.312, allocations: 5.467 MB / 5.265 GB, free: 26.13 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/9.312, allocations: 0 / 5.265 GB, free: 26.13 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002267/9.315, allocations: 491.7 kB / 5.265 GB, free: 25.65 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.606e-05/9.315, allocations: 8 kB / 5.265 GB, free: 25.64 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/9.315, allocations: 43.89 kB / 5.265 GB, free: 25.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/9.315, allocations: 11.94 kB / 5.265 GB, free: 25.59 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/9.315, allocations: 7.906 kB / 5.265 GB, free: 25.58 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00476/9.32, allocations: 4.23 MB / 5.269 GB, free: 21.23 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/9.321, allocations: 0.5372 MB / 5.27 GB, free: 20.67 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000333/9.321, allocations: 15.89 kB / 5.27 GB, free: 20.66 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001932/9.323, allocations: 207.5 kB / 5.27 GB, free: 20.45 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/9.323, allocations: 125.8 kB / 5.27 GB, free: 20.33 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/9.324, allocations: 79.95 kB / 5.27 GB, free: 20.25 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.0008509/9.324, allocations: 0.7352 MB / 5.271 GB, free: 19.52 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002581/9.327, allocations: 1.212 MB / 5.272 GB, free: 18.3 MB / 1.01 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.005171/9.332, allocations: 5.307 MB / 5.277 GB, free: 12.78 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003119/9.335, allocations: 2.342 MB / 5.28 GB, free: 10.43 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/9.335, allocations: 4 kB / 5.28 GB, free: 10.43 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/9.337, allocations: 1.224 MB / 5.281 GB, free: 9.211 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004871/9.342, allocations: 0.9754 MB / 5.282 GB, free: 8.25 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008175/9.35, allocations: 4.939 MB / 5.287 GB, free: 3.285 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002553/9.352, allocations: 2.272 MB / 5.289 GB, free: 0.9766 MB / 1.01 GB Notification: Performance of SimCode: time 8.81e-07/9.352, allocations: 0 / 5.289 GB, free: 0.9766 MB / 1.01 GB Notification: Performance of Templates: time 0.4779/9.83, allocations: 67.37 MB / 5.355 GB, free: 208.3 MB / 1.026 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)