Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IDEAS_dev_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.001115/0.001115, allocations: 179.4 kB / 7.462 MB, free: 476 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7082/0.7082, allocations: 133.5 MB / 141.4 MB, free: 3.867 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.69/1.69, allocations: 221.3 MB / 395 MB, free: 13.97 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.00124, allocations: 99.62 kB / 477.8 MB, free: 4.004 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.5309/0.5322, allocations: 88.44 MB / 0.5529 GB, free: 90.74 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.7398, allocations: 82.29 MB / 0.6333 GB, free: 38.5 MB / 462.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.58/5.32, allocations: 1.944 GB / 2.578 GB, free: 46.28 MB / 0.6856 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000378/5.32, allocations: 89.45 kB / 2.578 GB, free: 46.19 MB / 0.6856 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.323/13.64, allocations: 2.132 GB / 4.71 GB, free: 63.46 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/13.64, allocations: 8.531 kB / 4.71 GB, free: 63.46 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007874/13.65, allocations: 0.9059 MB / 4.711 GB, free: 63.29 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007465/13.66, allocations: 2.23 MB / 4.713 GB, free: 62.27 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002336/13.66, allocations: 89.31 kB / 4.713 GB, free: 62.27 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001374/13.66, allocations: 177 kB / 4.713 GB, free: 62.27 MB / 0.7481 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008716/13.67, allocations: 2.812 MB / 4.716 GB, free: 61.25 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009509/13.68, allocations: 3.131 MB / 4.719 GB, free: 59.67 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.182e-05/13.68, allocations: 8.5 kB / 4.719 GB, free: 59.66 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003129/13.68, allocations: 4.656 kB / 4.719 GB, free: 59.66 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001453/13.68, allocations: 126.9 kB / 4.719 GB, free: 59.54 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02062/13.7, allocations: 14.9 MB / 4.734 GB, free: 44.16 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003295/13.7, allocations: 2.054 MB / 4.736 GB, free: 42.12 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001717/13.7, allocations: 1.352 MB / 4.737 GB, free: 40.78 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/13.71, allocations: 1.386 MB / 4.738 GB, free: 39.11 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001877/13.71, allocations: 1.277 MB / 4.74 GB, free: 37.82 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=213): time 6.261e-06/13.71, allocations: 3.141 kB / 4.74 GB, free: 37.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=213): time 0.006655/13.71, allocations: 2.481 MB / 4.742 GB, free: 35.34 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/13.71, allocations: 77.41 kB / 4.742 GB, free: 35.25 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/13.72, allocations: 0.9902 MB / 4.743 GB, free: 34.26 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000273/13.72, allocations: 29.7 kB / 4.743 GB, free: 34.22 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009423/13.72, allocations: 0.8678 MB / 4.744 GB, free: 33.34 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008088/13.72, allocations: 0.7081 MB / 4.745 GB, free: 32.62 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/13.72, allocations: 0 / 4.745 GB, free: 32.62 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001432/13.72, allocations: 385.9 kB / 4.745 GB, free: 32.24 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/13.72, allocations: 0.9334 MB / 4.746 GB, free: 31.3 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/13.72, allocations: 1.348 MB / 4.747 GB, free: 29.79 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002089/13.72, allocations: 1.203 MB / 4.748 GB, free: 28.59 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/13.72, allocations: 0 / 4.748 GB, free: 28.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004775/13.73, allocations: 2.624 MB / 4.751 GB, free: 25.96 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/13.73, allocations: 5.641 kB / 4.751 GB, free: 25.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/13.73, allocations: 8 kB / 4.751 GB, free: 25.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.575e-05/13.73, allocations: 16 kB / 4.751 GB, free: 25.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002239/13.73, allocations: 467.3 kB / 4.751 GB, free: 25.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.251e-05/13.73, allocations: 32.08 kB / 4.751 GB, free: 25.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003532/13.73, allocations: 300.8 kB / 4.752 GB, free: 25.15 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002578/13.73, allocations: 83.97 kB / 4.752 GB, free: 25.07 MB / 0.7481 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.0004699/13.74, allocations: 148.6 kB / 4.752 GB, free: 24.91 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005249/13.74, allocations: 197.7 kB / 4.752 GB, free: 24.72 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004643/13.74, allocations: 2.556 MB / 4.755 GB, free: 22.14 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/13.74, allocations: 20 kB / 4.755 GB, free: 22.12 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/13.74, allocations: 7.906 kB / 4.755 GB, free: 22.11 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003097/13.74, allocations: 2.359 MB / 4.757 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/13.75, allocations: 5.461 MB / 4.762 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/13.75, allocations: 11.97 kB / 4.762 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002549/13.76, allocations: 487.3 kB / 4.763 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-05/13.76, allocations: 16 kB / 4.763 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001812/13.76, allocations: 35.95 kB / 4.763 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-05/13.76, allocations: 15.91 kB / 4.763 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/13.76, allocations: 4 kB / 4.763 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005984/13.76, allocations: 4.225 MB / 4.767 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00882/13.77, allocations: 6.452 MB / 4.773 GB, free: 2.695 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001997/13.77, allocations: 0.5371 MB / 4.774 GB, free: 2.137 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005422/13.77, allocations: 12 kB / 4.774 GB, free: 2.125 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002556/13.78, allocations: 219.4 kB / 4.774 GB, free: 1.91 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002534/13.78, allocations: 121.8 kB / 4.774 GB, free: 1.793 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/13.78, allocations: 86.95 kB / 4.774 GB, free: 1.711 MB / 0.7481 GB Notification: Performance of sort global known variables: time 0.001116/13.78, allocations: 0.7475 MB / 4.775 GB, free: 0.9648 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.006105/13.78, allocations: 1.832 MB / 4.777 GB, free: 15.13 MB / 0.7637 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.009458/13.79, allocations: 5.31 MB / 4.782 GB, free: 9.785 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00515/13.8, allocations: 2.346 MB / 4.784 GB, free: 7.434 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/13.8, allocations: 0 / 4.784 GB, free: 7.434 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00211/13.8, allocations: 1.224 MB / 4.785 GB, free: 6.215 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006328/13.81, allocations: 0.9834 MB / 4.786 GB, free: 5.254 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/13.82, allocations: 4.964 MB / 4.791 GB, free: 264 kB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4855/14.31, allocations: 2.337 MB / 4.793 GB, free: 131.9 MB / 0.7637 GB Notification: Performance of SimCode: time 1.463e-06/14.31, allocations: 1.812 kB / 4.793 GB, free: 131.9 MB / 0.7637 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_CO2TransportStep.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)