Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",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.002763/0.002763, allocations: 180.3 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6797/0.6797, allocations: 133.5 MB / 141.4 MB, free: 15.72 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.457/1.457, allocations: 221.3 MB / 395 MB, free: 10.3 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.001092/0.001092, allocations: 105.2 kB / 477.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4805/0.4816, allocations: 88.42 MB / 0.5529 GB, free: 88.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.6699, allocations: 82.3 MB / 0.6333 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.95/5.62, allocations: 1.899 GB / 2.533 GB, free: 45.65 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/5.621, allocations: 87.95 kB / 2.533 GB, free: 45.57 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: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 4.325/9.945, allocations: 1.038 GB / 3.571 GB, free: 56.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/9.945, allocations: 8 kB / 3.571 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005651/9.951, allocations: 0.7085 MB / 3.571 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004061/9.955, allocations: 1.657 MB / 3.573 GB, free: 53.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.767e-05/9.955, allocations: 60 kB / 3.573 GB, free: 53.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003062/9.955, allocations: 119.9 kB / 3.573 GB, free: 53.76 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004013/9.959, allocations: 2.291 MB / 3.575 GB, free: 51.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003398/9.963, allocations: 2.059 MB / 3.577 GB, free: 49.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.968e-05/9.963, allocations: 7.25 kB / 3.577 GB, free: 49.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001859/9.963, allocations: 4 kB / 3.577 GB, free: 49.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.282e-05/9.963, allocations: 100.1 kB / 3.578 GB, free: 49.28 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01281/9.976, allocations: 7.987 MB / 3.585 GB, free: 41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002931/9.979, allocations: 2.175 MB / 3.587 GB, free: 38.82 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001516/9.98, allocations: 1.28 MB / 3.589 GB, free: 37.53 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001282/9.982, allocations: 1.563 MB / 3.59 GB, free: 35.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.924e-05/9.982, allocations: 67.64 kB / 3.59 GB, free: 35.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=222): time 3.987e-06/9.982, allocations: 0 / 3.59 GB, free: 35.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=226): time 0.01412/9.996, allocations: 5.98 MB / 3.596 GB, free: 29.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/9.996, allocations: 158.5 kB / 3.596 GB, free: 29.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/9.997, allocations: 0.8849 MB / 3.597 GB, free: 28.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002217/9.998, allocations: 29.64 kB / 3.597 GB, free: 28.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/9.998, allocations: 0.5529 MB / 3.598 GB, free: 27.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006381/9.999, allocations: 0.7311 MB / 3.598 GB, free: 27.06 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.602e-05/9.999, allocations: 0 / 3.598 GB, free: 27.06 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001296/9.999, allocations: 385.9 kB / 3.599 GB, free: 26.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/10, allocations: 0.8162 MB / 3.6 GB, free: 25.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/10, allocations: 1.091 MB / 3.601 GB, free: 24.68 MB / 0.698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouA.dynBal.medium.p = bouA.dynBal.p_start (bou.p = bouA.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouADis.dynBal.medium.p = bouADis.dynBal.p_start (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/10.01, allocations: 3.639 MB / 3.604 GB, free: 21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/10.01, allocations: 0 / 3.604 GB, free: 21 MB / 0.698 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005529/10.02, allocations: 2.384 MB / 3.607 GB, free: 18.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/10.02, allocations: 6.5 kB / 3.607 GB, free: 18.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/10.02, allocations: 8.594 kB / 3.607 GB, free: 18.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.95e-05/10.02, allocations: 19.94 kB / 3.607 GB, free: 18.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001981/10.02, allocations: 423.4 kB / 3.607 GB, free: 18.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-05/10.02, allocations: 23.92 kB / 3.607 GB, free: 18.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003218/10.02, allocations: 111.5 kB / 3.607 GB, free: 18.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002547/10.02, allocations: 75.98 kB / 3.607 GB, free: 17.96 MB / 0.698 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: bouA.dynBal.medium.p = bouA.dynBal.p_start bouADis.dynBal.medium.p = bouADis.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * 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.0005921/10.02, allocations: 142.6 kB / 3.607 GB, free: 17.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006756/10.02, allocations: 201.5 kB / 3.608 GB, free: 17.62 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005288/10.03, allocations: 2.518 MB / 3.61 GB, free: 15.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.557e-05/10.03, allocations: 24 kB / 3.61 GB, free: 15.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/10.03, allocations: 3.984 kB / 3.61 GB, free: 15.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003471/10.03, allocations: 2.116 MB / 3.612 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/10.04, allocations: 5.132 MB / 3.617 GB, free: 7.738 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/10.04, allocations: 4.75 kB / 3.617 GB, free: 7.734 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002267/10.05, allocations: 471.4 kB / 3.618 GB, free: 7.273 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-05/10.05, allocations: 16 kB / 3.618 GB, free: 7.258 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/10.05, allocations: 27.98 kB / 3.618 GB, free: 7.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.196e-05/10.05, allocations: 19.92 kB / 3.618 GB, free: 7.211 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/10.05, allocations: 15.88 kB / 3.618 GB, free: 7.195 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006972/10.05, allocations: 4.654 MB / 3.622 GB, free: 2.34 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009577/10.06, allocations: 6.603 MB / 3.629 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00239/10.07, allocations: 498.6 kB / 3.629 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008314/10.07, allocations: 12 kB / 3.629 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002876/10.07, allocations: 115.7 kB / 3.629 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002767/10.07, allocations: 133.5 kB / 3.629 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/10.07, allocations: 83.98 kB / 3.629 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.001168/10.07, allocations: 0.6728 MB / 3.63 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004987/10.08, allocations: 1.121 MB / 3.631 GB, free: 8.887 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (bouADis.dynBal.U,bouADis.dynBal.mXi[1],bouBDis.dynBal.U,bouBDis.dynBal.m,bouBDis.dynBal.mXi[1],bouA.dynBal.U,bouA.dynBal.mXi[1],bouB.dynBal.U,bouB.dynBal.m,bouB.dynBal.mXi[1],dooDis.mExcBA,dooDis.mExcAB) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.005445/10.08, allocations: 2.855 MB / 3.634 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005215/10.09, allocations: 2.098 MB / 3.636 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.579e-05/10.09, allocations: 5.188 kB / 3.636 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002386/10.09, allocations: 1.132 MB / 3.637 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006322/10.1, allocations: 0.9228 MB / 3.638 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5068/10.6, allocations: 4.078 MB / 3.642 GB, free: 150.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002401/10.61, allocations: 1.937 MB / 3.644 GB, free: 150 MB / 0.7136 GB Notification: Performance of SimCode: time 1.212e-06/10.61, allocations: 0 / 3.644 GB, free: 150 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)