Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.004153/0.004153, allocations: 176.8 kB / 7.458 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7721/0.7721, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 94.77 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4387/0.4398, allocations: 88.43 MB / 0.5529 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.6213, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.825/5.446, allocations: 1.944 GB / 2.578 GB, free: 253 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004008/5.447, allocations: 90.91 kB / 2.578 GB, free: 253 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947: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 8.621/14.07, allocations: 2.132 GB / 4.71 GB, free: 16.15 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/14.07, allocations: 8 kB / 4.71 GB, free: 16.14 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008349/14.08, allocations: 0.8974 MB / 4.711 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008735/14.08, allocations: 2.227 MB / 4.713 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00021/14.09, allocations: 91.94 kB / 4.713 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001494/14.09, allocations: 167.9 kB / 4.713 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00804/14.09, allocations: 2.822 MB / 4.716 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01084/14.11, allocations: 3.137 MB / 4.719 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001658/14.11, allocations: 4 kB / 4.719 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009512/14.11, allocations: 4 kB / 4.719 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001433/14.11, allocations: 137.2 kB / 4.719 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02862/14.14, allocations: 14.89 MB / 4.734 GB, free: 6.434 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004389/14.14, allocations: 2.05 MB / 4.736 GB, free: 4.371 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002423/14.14, allocations: 1.346 MB / 4.737 GB, free: 3.023 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001491/14.14, allocations: 1.382 MB / 4.738 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002597/14.15, allocations: 1.278 MB / 4.74 GB, free: 56 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=213): time 4.629e-06/14.15, allocations: 0 / 4.74 GB, free: 56 kB / 0.7605 GB Notification: Performance of matching and sorting (n=213): time 0.5261/14.67, allocations: 2.488 MB / 4.742 GB, free: 122.7 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/14.67, allocations: 78.59 kB / 4.742 GB, free: 122.7 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/14.67, allocations: 0.9817 MB / 4.743 GB, free: 122.5 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002449/14.67, allocations: 33.52 kB / 4.743 GB, free: 122.5 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009788/14.68, allocations: 0.872 MB / 4.744 GB, free: 122.3 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008241/14.68, allocations: 0.7088 MB / 4.745 GB, free: 121.9 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/14.68, allocations: 0 / 4.745 GB, free: 121.9 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001365/14.68, allocations: 381.3 kB / 4.745 GB, free: 121.6 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/14.68, allocations: 0.9387 MB / 4.746 GB, free: 121.6 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/14.68, allocations: 1.343 MB / 4.747 GB, free: 121.2 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002266/14.68, allocations: 1.202 MB / 4.748 GB, free: 121.1 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/14.68, allocations: 6.25 kB / 4.748 GB, free: 121.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005091/14.69, allocations: 2.621 MB / 4.751 GB, free: 121 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/14.69, allocations: 5.375 kB / 4.751 GB, free: 121 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/14.69, allocations: 7.781 kB / 4.751 GB, free: 121 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.921e-05/14.69, allocations: 20.59 kB / 4.751 GB, free: 121 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/14.69, allocations: 467.3 kB / 4.751 GB, free: 121 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.569e-05/14.69, allocations: 20.34 kB / 4.751 GB, free: 121 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003685/14.69, allocations: 310.8 kB / 4.752 GB, free: 120.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002736/14.69, allocations: 89.92 kB / 4.752 GB, free: 120.9 MB / 0.7605 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.0004989/14.69, allocations: 143.3 kB / 4.752 GB, free: 120.8 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005598/14.69, allocations: 197.3 kB / 4.752 GB, free: 120.7 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004907/14.7, allocations: 2.563 MB / 4.755 GB, free: 120.6 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/14.7, allocations: 20.38 kB / 4.755 GB, free: 120.6 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/14.7, allocations: 0 / 4.755 GB, free: 120.6 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003257/14.7, allocations: 2.363 MB / 4.757 GB, free: 120.2 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/14.71, allocations: 5.46 MB / 4.762 GB, free: 119.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/14.71, allocations: 7.469 kB / 4.762 GB, free: 119.6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002749/14.72, allocations: 491.4 kB / 4.763 GB, free: 119.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.984e-05/14.72, allocations: 11.19 kB / 4.763 GB, free: 119.6 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003289/14.72, allocations: 39.5 kB / 4.763 GB, free: 119.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.452e-05/14.72, allocations: 12.62 kB / 4.763 GB, free: 119.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/14.72, allocations: 7.594 kB / 4.763 GB, free: 119.6 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009309/14.73, allocations: 4.231 MB / 4.767 GB, free: 119 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01137/14.74, allocations: 6.445 MB / 4.773 GB, free: 118 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002225/14.74, allocations: 0.5431 MB / 4.774 GB, free: 117.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009275/14.74, allocations: 13.67 kB / 4.774 GB, free: 117.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003393/14.75, allocations: 212.2 kB / 4.774 GB, free: 117.8 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003776/14.75, allocations: 125.5 kB / 4.774 GB, free: 117.8 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003023/14.75, allocations: 80.84 kB / 4.774 GB, free: 117.8 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.002061/14.75, allocations: 0.7434 MB / 4.775 GB, free: 117.7 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.008066/14.76, allocations: 1.838 MB / 4.777 GB, free: 117.6 MB / 0.7605 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.008802/14.77, allocations: 5.312 MB / 4.782 GB, free: 115.4 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005189/14.77, allocations: 2.342 MB / 4.784 GB, free: 115.3 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/14.77, allocations: 0 / 4.784 GB, free: 115.3 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002687/14.77, allocations: 1.231 MB / 4.785 GB, free: 115.3 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006622/14.78, allocations: 0.9673 MB / 4.786 GB, free: 115.3 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/14.8, allocations: 4.971 MB / 4.791 GB, free: 114.3 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005287/14.8, allocations: 2.336 MB / 4.793 GB, free: 113.5 MB / 0.7605 GB Notification: Performance of SimCode: time 1.974e-06/14.8, allocations: 0 / 4.793 GB, free: 113.5 MB / 0.7605 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_CO2TransportStep.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)