Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.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.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",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.41/1.41, allocations: 289.8 MB / 297.1 MB, free: 6.723 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.001065/0.001065, allocations: 181.3 kB / 366.3 MB, free: 2.02 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.175/1.175, allocations: 205.1 MB / 0.6256 GB, free: 5.867 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.0008284/0.0008284, allocations: 93.56 kB / 0.7395 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2253/0.2262, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4977/0.7239, allocations: 116.3 MB / 0.9726 GB, free: 68.19 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.669/4.393, allocations: 2.091 GB / 3.064 GB, free: 355.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/4.393, allocations: 89.02 kB / 3.064 GB, free: 355.4 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: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 2.59/6.984, allocations: 1.025 GB / 4.089 GB, free: 30.92 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/6.984, allocations: 11.98 kB / 4.089 GB, free: 30.91 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004173/6.988, allocations: 0.7033 MB / 4.089 GB, free: 30.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002713/6.991, allocations: 1.617 MB / 4.091 GB, free: 28.53 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/6.991, allocations: 60 kB / 4.091 GB, free: 28.47 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002395/6.991, allocations: 119.9 kB / 4.091 GB, free: 28.36 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003269/6.994, allocations: 2.292 MB / 4.093 GB, free: 26.06 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002905/6.997, allocations: 2.049 MB / 4.095 GB, free: 23.99 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.588e-05/6.997, allocations: 0 / 4.095 GB, free: 23.99 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/6.997, allocations: 0 / 4.095 GB, free: 23.99 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-05/6.997, allocations: 100.2 kB / 4.096 GB, free: 23.89 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009083/7.007, allocations: 7.935 MB / 4.103 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/7.009, allocations: 2.151 MB / 4.105 GB, free: 13.33 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/7.01, allocations: 1.259 MB / 4.107 GB, free: 12.06 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/7.011, allocations: 1.564 MB / 4.108 GB, free: 10.16 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/7.011, allocations: 64.45 kB / 4.108 GB, free: 10.09 MB / 0.948 GB Notification: Performance of pre-optimization done (n=222): time 3.947e-06/7.011, allocations: 0 / 4.108 GB, free: 10.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=226): time 0.01064/7.022, allocations: 5.497 MB / 4.114 GB, free: 4.488 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/7.022, allocations: 103.1 kB / 4.114 GB, free: 4.367 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/7.023, allocations: 0.8718 MB / 4.115 GB, free: 3.488 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/7.023, allocations: 25.7 kB / 4.115 GB, free: 3.457 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/7.024, allocations: 0.5488 MB / 4.115 GB, free: 2.898 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004347/7.024, allocations: 0.7389 MB / 4.116 GB, free: 2.148 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.369e-05/7.024, allocations: 3.938 kB / 4.116 GB, free: 2.145 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.027e-05/7.024, allocations: 381.9 kB / 4.116 GB, free: 1.766 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/7.025, allocations: 0.824 MB / 4.117 GB, free: 0.9414 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/7.026, allocations: 1.085 MB / 4.118 GB, free: 15.78 MB / 0.9636 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 (bouDis.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/7.037, allocations: 3.643 MB / 4.122 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/7.037, allocations: 4 kB / 4.122 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004628/7.042, allocations: 2.38 MB / 4.124 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/7.042, allocations: 4 kB / 4.124 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/7.042, allocations: 4 kB / 4.124 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.255e-05/7.042, allocations: 16 kB / 4.124 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/7.044, allocations: 419.9 kB / 4.124 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.069e-05/7.044, allocations: 19.92 kB / 4.124 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/7.046, allocations: 111.6 kB / 4.124 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/7.047, allocations: 75.98 kB / 4.125 GB, free: 9.07 MB / 0.9636 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: 19 * 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.0003687/7.047, allocations: 140.5 kB / 4.125 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000354/7.047, allocations: 189.8 kB / 4.125 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004904/7.052, allocations: 2.541 MB / 4.127 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/7.052, allocations: 24 kB / 4.127 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/7.052, allocations: 0 / 4.127 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003372/7.056, allocations: 2.124 MB / 4.129 GB, free: 4.02 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00892/7.065, allocations: 5.105 MB / 4.134 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/7.065, allocations: 8.078 kB / 4.134 GB, free: 14.78 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002132/7.067, allocations: 471.3 kB / 4.135 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-05/7.067, allocations: 20.31 kB / 4.135 GB, free: 14.3 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/7.067, allocations: 31.98 kB / 4.135 GB, free: 14.27 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.379e-05/7.067, allocations: 19.98 kB / 4.135 GB, free: 14.25 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/7.067, allocations: 7.938 kB / 4.135 GB, free: 14.24 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005946/7.073, allocations: 4.458 MB / 4.139 GB, free: 9.594 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008114/7.081, allocations: 6.438 MB / 4.146 GB, free: 2.957 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/7.082, allocations: 494.6 kB / 4.146 GB, free: 2.453 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002951/7.082, allocations: 12 kB / 4.146 GB, free: 2.441 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/7.084, allocations: 111.7 kB / 4.146 GB, free: 2.332 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/7.084, allocations: 133.6 kB / 4.146 GB, free: 2.203 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/7.084, allocations: 75.98 kB / 4.146 GB, free: 2.129 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.000928/7.085, allocations: 0.6681 MB / 4.147 GB, free: 1.457 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003173/7.089, allocations: 1.121 MB / 4.148 GB, free: 344 kB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 12 (dooDis.mExcAB,dooDis.mExcBA,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]) * 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.3184/7.407, allocations: 2.858 MB / 4.151 GB, free: 233.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003016/7.41, allocations: 2.1 MB / 4.153 GB, free: 233.5 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/7.41, allocations: 3.625 kB / 4.153 GB, free: 233.5 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/7.411, allocations: 1.128 MB / 4.154 GB, free: 233.5 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004455/7.416, allocations: 0.9181 MB / 4.155 GB, free: 233.5 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006141/7.422, allocations: 4.058 MB / 4.159 GB, free: 232.6 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001669/7.424, allocations: 1.931 MB / 4.161 GB, free: 231.8 MB / 0.9792 GB Notification: Performance of SimCode: time 5.11e-07/7.424, allocations: 0 / 4.161 GB, free: 231.8 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic.fmu > Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1)