Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.319/1.319, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.0009555/0.0009554, allocations: 177.3 kB / 361.1 MB, free: 7.059 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.053/1.053, allocations: 205.1 MB / 0.6195 GB, free: 10.26 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.000795/0.0007951, allocations: 86.02 kB / 0.7325 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1874/0.1882, allocations: 121.4 MB / 0.8511 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.6195, allocations: 115.3 MB / 0.9637 GB, free: 78.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.648/3.268, allocations: 2.09 GB / 3.054 GB, free: 64.06 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/3.268, allocations: 83.95 kB / 3.054 GB, free: 63.98 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.593/5.86, allocations: 1.025 GB / 4.079 GB, free: 114.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.806e-05/5.86, allocations: 8.766 kB / 4.079 GB, free: 114.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00363/5.864, allocations: 0.7128 MB / 4.08 GB, free: 114.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002315/5.866, allocations: 1.614 MB / 4.081 GB, free: 112.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.187e-05/5.867, allocations: 62.72 kB / 4.081 GB, free: 112.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/5.867, allocations: 118.6 kB / 4.081 GB, free: 112.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002925/5.87, allocations: 2.297 MB / 4.084 GB, free: 110 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/5.872, allocations: 2.045 MB / 4.086 GB, free: 108 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.267e-05/5.872, allocations: 7.984 kB / 4.086 GB, free: 108 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/5.873, allocations: 0 / 4.086 GB, free: 108 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.093e-05/5.873, allocations: 91.86 kB / 4.086 GB, free: 107.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008245/5.881, allocations: 7.922 MB / 4.093 GB, free: 99.68 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/5.883, allocations: 2.15 MB / 4.096 GB, free: 97.55 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001267/5.884, allocations: 1.267 MB / 4.097 GB, free: 96.28 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009654/5.885, allocations: 1.57 MB / 4.098 GB, free: 94.39 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/5.885, allocations: 62.78 kB / 4.098 GB, free: 94.32 MB / 0.948 GB Notification: Performance of pre-optimization done (n=222): time 2.965e-06/5.885, allocations: 0 / 4.098 GB, free: 94.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=226): time 0.009257/5.895, allocations: 5.493 MB / 4.104 GB, free: 88.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/5.895, allocations: 107 kB / 4.104 GB, free: 88.61 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000832/5.896, allocations: 0.8709 MB / 4.105 GB, free: 87.73 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/5.896, allocations: 28.66 kB / 4.105 GB, free: 87.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/5.896, allocations: 0.545 MB / 4.105 GB, free: 87.15 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/5.896, allocations: 0.7349 MB / 4.106 GB, free: 86.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.534e-05/5.896, allocations: 0 / 4.106 GB, free: 86.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.636e-05/5.896, allocations: 381.9 kB / 4.106 GB, free: 86.02 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009358/5.897, allocations: 0.8201 MB / 4.107 GB, free: 85.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/5.898, allocations: 1.091 MB / 4.108 GB, free: 84.04 MB / 0.948 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.009201/5.908, allocations: 3.649 MB / 4.112 GB, free: 80.43 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/5.908, allocations: 0 / 4.112 GB, free: 80.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003202/5.911, allocations: 2.384 MB / 4.114 GB, free: 78.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/5.911, allocations: 4 kB / 4.114 GB, free: 78.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/5.911, allocations: 7.984 kB / 4.114 GB, free: 78.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/5.911, allocations: 16 kB / 4.114 GB, free: 78.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/5.912, allocations: 422.6 kB / 4.114 GB, free: 77.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/5.912, allocations: 19.92 kB / 4.115 GB, free: 77.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/5.914, allocations: 109 kB / 4.115 GB, free: 77.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/5.914, allocations: 71.98 kB / 4.115 GB, free: 77.43 MB / 0.948 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.000267/5.915, allocations: 144.4 kB / 4.115 GB, free: 77.28 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/5.915, allocations: 189.7 kB / 4.115 GB, free: 77.09 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003743/5.919, allocations: 2.528 MB / 4.117 GB, free: 74.57 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/5.919, allocations: 20 kB / 4.117 GB, free: 74.55 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/5.919, allocations: 7.75 kB / 4.117 GB, free: 74.55 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002762/5.921, allocations: 2.128 MB / 4.12 GB, free: 72.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006752/5.928, allocations: 5.112 MB / 4.125 GB, free: 67.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/5.928, allocations: 8 kB / 4.125 GB, free: 67.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001912/5.93, allocations: 467.4 kB / 4.125 GB, free: 66.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.666e-05/5.93, allocations: 12 kB / 4.125 GB, free: 66.76 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/5.93, allocations: 27.98 kB / 4.125 GB, free: 66.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.067e-05/5.93, allocations: 19.77 kB / 4.125 GB, free: 66.72 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/5.93, allocations: 19.83 kB / 4.125 GB, free: 66.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004484/5.935, allocations: 4.457 MB / 4.129 GB, free: 62.07 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00607/5.941, allocations: 6.442 MB / 4.136 GB, free: 55.45 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008435/5.942, allocations: 494.7 kB / 4.136 GB, free: 54.95 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002764/5.942, allocations: 15.98 kB / 4.136 GB, free: 54.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/5.944, allocations: 109.5 kB / 4.136 GB, free: 54.84 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/5.944, allocations: 136.3 kB / 4.136 GB, free: 54.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/5.944, allocations: 71.98 kB / 4.137 GB, free: 54.63 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.000669/5.945, allocations: 0.6682 MB / 4.137 GB, free: 53.96 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002612/5.947, allocations: 1.117 MB / 4.138 GB, free: 52.84 MB / 0.948 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.002418/5.95, allocations: 2.86 MB / 4.141 GB, free: 50.23 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002263/5.952, allocations: 2.099 MB / 4.143 GB, free: 48.13 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/5.952, allocations: 4.125 kB / 4.143 GB, free: 48.12 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/5.953, allocations: 1.124 MB / 4.144 GB, free: 47 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003745/5.957, allocations: 0.9352 MB / 4.145 GB, free: 46.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005218/5.962, allocations: 4.071 MB / 4.149 GB, free: 41.95 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001512/5.964, allocations: 1.932 MB / 4.151 GB, free: 39.99 MB / 0.948 GB Notification: Performance of SimCode: time 8.42e-07/5.964, allocations: 0 / 4.151 GB, free: 39.99 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1)