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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.374/1.374, allocations: 289.8 MB / 297.1 MB, free: 6.617 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.0009985/0.0009985, allocations: 181.2 kB / 366.3 MB, free: 1.938 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.121/1.121, allocations: 205.1 MB / 0.6256 GB, free: 5.781 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.0008156/0.0008155, allocations: 86.66 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2145/0.2154, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.6894, allocations: 116.3 MB / 0.9726 GB, free: 68.14 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.45/4.14, allocations: 2.137 GB / 3.109 GB, free: 323.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/4.14, allocations: 86.64 kB / 3.109 GB, free: 323.1 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 5.489/9.629, allocations: 2.103 GB / 5.212 GB, free: 48.51 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/9.629, allocations: 11.94 kB / 5.212 GB, free: 48.5 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006488/9.636, allocations: 0.9014 MB / 5.213 GB, free: 47.59 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005176/9.641, allocations: 2.2 MB / 5.215 GB, free: 45.34 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.425e-05/9.641, allocations: 88 kB / 5.216 GB, free: 45.26 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003658/9.642, allocations: 171.9 kB / 5.216 GB, free: 45.09 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004373/9.646, allocations: 2.822 MB / 5.218 GB, free: 42.26 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004332/9.65, allocations: 3.13 MB / 5.221 GB, free: 39 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.203e-05/9.65, allocations: 3.938 kB / 5.221 GB, free: 39 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002337/9.651, allocations: 4 kB / 5.221 GB, free: 38.99 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.944e-05/9.651, allocations: 133.3 kB / 5.222 GB, free: 38.86 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01701/9.668, allocations: 14.88 MB / 5.236 GB, free: 22.79 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002637/9.67, allocations: 2.06 MB / 5.238 GB, free: 20.72 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/9.672, allocations: 1.337 MB / 5.239 GB, free: 19.38 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008971/9.673, allocations: 1.394 MB / 5.241 GB, free: 17.69 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001552/9.674, allocations: 1.279 MB / 5.242 GB, free: 16.4 MB / 1.01 GB Notification: Performance of pre-optimization done (n=213): time 4.108e-06/9.674, allocations: 0 / 5.242 GB, free: 16.4 MB / 1.01 GB Notification: Performance of matching and sorting (n=213): time 0.005175/9.68, allocations: 2.483 MB / 5.245 GB, free: 13.91 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/9.68, allocations: 73.41 kB / 5.245 GB, free: 13.82 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/9.681, allocations: 0.9775 MB / 5.246 GB, free: 12.84 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.000145/9.681, allocations: 25.7 kB / 5.246 GB, free: 12.81 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006262/9.682, allocations: 0.8793 MB / 5.246 GB, free: 11.91 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005679/9.682, allocations: 0.7082 MB / 5.247 GB, free: 11.2 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/9.682, allocations: 0 / 5.247 GB, free: 11.2 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.537e-05/9.682, allocations: 389.8 kB / 5.247 GB, free: 10.81 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/9.684, allocations: 0.9373 MB / 5.248 GB, free: 9.867 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/9.685, allocations: 1.348 MB / 5.25 GB, free: 8.352 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001843/9.687, allocations: 1.203 MB / 5.251 GB, free: 7.152 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.954e-06/9.687, allocations: 0 / 5.251 GB, free: 7.152 MB / 1.01 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003771/9.69, allocations: 2.607 MB / 5.253 GB, free: 4.535 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/9.691, allocations: 8.969 kB / 5.253 GB, free: 4.527 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/9.691, allocations: 8 kB / 5.253 GB, free: 4.52 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.586e-05/9.691, allocations: 20 kB / 5.253 GB, free: 4.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/9.693, allocations: 471.3 kB / 5.254 GB, free: 4.039 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/9.693, allocations: 19.94 kB / 5.254 GB, free: 4.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002665/9.695, allocations: 302 kB / 5.254 GB, free: 3.723 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/9.696, allocations: 91.95 kB / 5.254 GB, free: 3.633 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.0003295/9.696, allocations: 148.7 kB / 5.254 GB, free: 3.48 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/9.696, allocations: 193.7 kB / 5.255 GB, free: 3.289 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004067/9.7, allocations: 2.552 MB / 5.257 GB, free: 0.7188 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/9.7, allocations: 20 kB / 5.257 GB, free: 0.6992 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/9.7, allocations: 7.906 kB / 5.257 GB, free: 0.6914 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003389/9.704, allocations: 2.366 MB / 5.259 GB, free: 14.25 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009733/9.713, allocations: 5.469 MB / 5.265 GB, free: 8.664 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/9.713, allocations: 0 / 5.265 GB, free: 8.664 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002562/9.716, allocations: 491.7 kB / 5.265 GB, free: 8.184 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.209e-05/9.716, allocations: 8 kB / 5.265 GB, free: 8.176 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001731/9.716, allocations: 43.86 kB / 5.265 GB, free: 8.133 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.49e-05/9.716, allocations: 15.94 kB / 5.265 GB, free: 8.117 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/9.716, allocations: 0 / 5.265 GB, free: 8.117 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006099/9.722, allocations: 4.222 MB / 5.269 GB, free: 3.773 MB / 1.026 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.4069/10.13, allocations: 6.45 MB / 5.276 GB, free: 188.3 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/10.13, allocations: 0.5444 MB / 5.276 GB, free: 188.2 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003565/10.13, allocations: 9.125 kB / 5.276 GB, free: 188.2 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001978/10.13, allocations: 211.9 kB / 5.277 GB, free: 188.2 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/10.13, allocations: 117.5 kB / 5.277 GB, free: 188.2 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/10.13, allocations: 83.56 kB / 5.277 GB, free: 188.2 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.0009364/10.13, allocations: 0.7354 MB / 5.277 GB, free: 188.1 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.004448/10.14, allocations: 1.836 MB / 5.279 GB, free: 188.1 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.0056/10.14, allocations: 5.308 MB / 5.284 GB, free: 185.8 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.003003/10.15, allocations: 2.343 MB / 5.287 GB, free: 185.7 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/10.15, allocations: 3.906 kB / 5.287 GB, free: 185.7 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/10.15, allocations: 1.224 MB / 5.288 GB, free: 185.7 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004553/10.15, allocations: 0.9725 MB / 5.289 GB, free: 185.7 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008304/10.16, allocations: 4.967 MB / 5.294 GB, free: 184.7 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002287/10.16, allocations: 2.324 MB / 5.296 GB, free: 184 MB / 1.026 GB Notification: Performance of SimCode: time 8.62e-07/10.16, allocations: 0 / 5.296 GB, free: 184 MB / 1.026 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)