Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.146/2.146, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.001544/0.001543, allocations: 185.2 kB / 360.3 MB, free: 7.531 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.67/1.67, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001246/0.001245, allocations: 87.97 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2489/0.2502, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5637/0.8139, allocations: 115.2 MB / 0.9627 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.983/5.797, allocations: 2.136 GB / 3.098 GB, free: 288.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/5.798, allocations: 89.45 kB / 3.098 GB, free: 288.9 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: 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 9.432/15.23, allocations: 2.103 GB / 5.201 GB, free: 66.42 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/15.23, allocations: 8.5 kB / 5.201 GB, free: 66.41 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009467/15.24, allocations: 0.8974 MB / 5.202 GB, free: 65.51 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00804/15.25, allocations: 2.2 MB / 5.204 GB, free: 63.3 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/15.25, allocations: 88 kB / 5.204 GB, free: 63.22 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009859/15.25, allocations: 172 kB / 5.205 GB, free: 63.05 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009396/15.26, allocations: 2.815 MB / 5.207 GB, free: 60.23 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01196/15.27, allocations: 3.146 MB / 5.21 GB, free: 56.95 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001565/15.27, allocations: 3.938 kB / 5.21 GB, free: 56.95 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001102/15.27, allocations: 4 kB / 5.21 GB, free: 56.95 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001717/15.27, allocations: 133.3 kB / 5.211 GB, free: 56.81 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0278/15.3, allocations: 14.88 MB / 5.225 GB, free: 40.94 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00519/15.3, allocations: 2.055 MB / 5.227 GB, free: 38.89 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003321/15.31, allocations: 1.35 MB / 5.228 GB, free: 37.54 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001501/15.31, allocations: 1.388 MB / 5.23 GB, free: 35.86 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003177/15.31, allocations: 1.277 MB / 5.231 GB, free: 34.57 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=213): time 6.482e-06/15.31, allocations: 0 / 5.231 GB, free: 34.57 MB / 0.9948 GB Notification: Performance of matching and sorting (n=213): time 0.01014/15.32, allocations: 2.482 MB / 5.233 GB, free: 32.08 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/15.32, allocations: 81.31 kB / 5.234 GB, free: 31.99 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002207/15.33, allocations: 0.9775 MB / 5.235 GB, free: 31.01 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005727/15.33, allocations: 25.7 kB / 5.235 GB, free: 30.98 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009024/15.33, allocations: 0.8716 MB / 5.235 GB, free: 30.09 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001352/15.33, allocations: 0.712 MB / 5.236 GB, free: 29.37 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/15.33, allocations: 0 / 5.236 GB, free: 29.37 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002114/15.33, allocations: 381.9 kB / 5.236 GB, free: 28.99 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002596/15.33, allocations: 0.9411 MB / 5.237 GB, free: 28.04 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003137/15.33, allocations: 1.342 MB / 5.239 GB, free: 26.54 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003965/15.34, allocations: 1.203 MB / 5.24 GB, free: 25.34 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-05/15.34, allocations: 8 kB / 5.24 GB, free: 25.33 MB / 0.9948 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.008383/15.35, allocations: 2.611 MB / 5.242 GB, free: 22.71 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/15.35, allocations: 8 kB / 5.242 GB, free: 22.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/15.35, allocations: 8.844 kB / 5.242 GB, free: 22.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.52e-05/15.35, allocations: 16 kB / 5.242 GB, free: 22.68 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004505/15.35, allocations: 471.3 kB / 5.243 GB, free: 22.22 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.291e-05/15.35, allocations: 23.92 kB / 5.243 GB, free: 22.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005351/15.36, allocations: 302 kB / 5.243 GB, free: 21.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003996/15.36, allocations: 87.97 kB / 5.243 GB, free: 21.81 MB / 0.9948 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.0006028/15.36, allocations: 152.7 kB / 5.243 GB, free: 21.66 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006017/15.36, allocations: 193.7 kB / 5.244 GB, free: 21.46 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008303/15.37, allocations: 2.559 MB / 5.246 GB, free: 18.89 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.727e-05/15.37, allocations: 20 kB / 5.246 GB, free: 18.87 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/15.37, allocations: 0 / 5.246 GB, free: 18.87 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006006/15.37, allocations: 2.366 MB / 5.248 GB, free: 16.43 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/15.39, allocations: 5.463 MB / 5.254 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/15.39, allocations: 0 / 5.254 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005012/15.39, allocations: 495.6 kB / 5.254 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.203e-05/15.39, allocations: 8 kB / 5.254 GB, free: 10.37 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003426/15.39, allocations: 39.95 kB / 5.254 GB, free: 10.33 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.457e-05/15.39, allocations: 12 kB / 5.254 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/15.39, allocations: 3.906 kB / 5.254 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009514/15.4, allocations: 4.226 MB / 5.258 GB, free: 5.969 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01431/15.42, allocations: 6.451 MB / 5.265 GB, free: 15.39 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002579/15.42, allocations: 0.5371 MB / 5.265 GB, free: 14.84 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007573/15.42, allocations: 12 kB / 5.265 GB, free: 14.82 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00439/15.43, allocations: 219.5 kB / 5.265 GB, free: 14.61 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004188/15.43, allocations: 121.8 kB / 5.266 GB, free: 14.49 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003684/15.43, allocations: 79.89 kB / 5.266 GB, free: 14.41 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.001788/15.43, allocations: 0.7352 MB / 5.266 GB, free: 13.68 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.008259/15.44, allocations: 1.841 MB / 5.268 GB, free: 11.84 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.01061/15.45, allocations: 5.31 MB / 5.273 GB, free: 6.16 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006515/15.45, allocations: 2.344 MB / 5.276 GB, free: 3.812 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/15.45, allocations: 0 / 5.276 GB, free: 3.812 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003105/15.46, allocations: 1.227 MB / 5.277 GB, free: 2.586 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009713/15.47, allocations: 0.9743 MB / 5.278 GB, free: 1.633 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/15.48, allocations: 4.958 MB / 5.283 GB, free: 12.61 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005247/15.49, allocations: 2.321 MB / 5.285 GB, free: 10.25 MB / 1.026 GB Notification: Performance of SimCode: time 1.904e-06/15.49, allocations: 0 / 5.285 GB, free: 10.25 MB / 1.026 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)