Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.857/1.857, allocations: 390.4 MB / 397.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009896/0.0009897, allocations: 184.1 kB / 490.8 MB, free: 1.941 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.155/1.155, allocations: 221.3 MB / 0.7863 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008399/0.0008399, allocations: 86.05 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.43/0.4308, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.6248, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.09/3.715, allocations: 1.937 GB / 3.149 GB, free: 399.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/3.715, allocations: 95.31 kB / 3.149 GB, free: 399.8 MB / 1.151 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 2.512/6.228, allocations: 1.045 GB / 4.194 GB, free: 182.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/6.228, allocations: 9.875 kB / 4.194 GB, free: 182.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00399/6.232, allocations: 0.7064 MB / 4.195 GB, free: 182.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002776/6.235, allocations: 1.654 MB / 4.196 GB, free: 181.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.729e-05/6.235, allocations: 61.22 kB / 4.196 GB, free: 181.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002658/6.235, allocations: 116.1 kB / 4.197 GB, free: 181.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003622/6.239, allocations: 2.306 MB / 4.199 GB, free: 180.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00319/6.242, allocations: 2.052 MB / 4.201 GB, free: 179.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.365e-05/6.242, allocations: 5.016 kB / 4.201 GB, free: 179.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/6.242, allocations: 2.594 kB / 4.201 GB, free: 179.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.75e-05/6.242, allocations: 98.55 kB / 4.201 GB, free: 179.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01019/6.252, allocations: 8.348 MB / 4.209 GB, free: 172.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002687/6.255, allocations: 2.143 MB / 4.211 GB, free: 171.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/6.256, allocations: 1.262 MB / 4.212 GB, free: 169.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009876/6.257, allocations: 1.561 MB / 4.214 GB, free: 168 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/6.257, allocations: 64.28 kB / 4.214 GB, free: 167.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 3.136e-06/6.257, allocations: 0 / 4.214 GB, free: 167.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=226): time 0.01025/6.268, allocations: 5.511 MB / 4.219 GB, free: 162.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/6.268, allocations: 103.1 kB / 4.219 GB, free: 162.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009443/6.269, allocations: 0.8811 MB / 4.22 GB, free: 161.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/6.269, allocations: 25.7 kB / 4.22 GB, free: 161.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/6.269, allocations: 0.5552 MB / 4.221 GB, free: 160.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003974/6.269, allocations: 0.7349 MB / 4.222 GB, free: 159.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.102e-05/6.269, allocations: 0 / 4.222 GB, free: 159.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.072e-05/6.27, allocations: 388.5 kB / 4.222 GB, free: 159.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/6.271, allocations: 0.8279 MB / 4.223 GB, free: 158.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/6.272, allocations: 1.065 MB / 4.224 GB, free: 157.6 MB / 1.151 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.01037/6.282, allocations: 3.68 MB / 4.227 GB, free: 154 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/6.282, allocations: 0 / 4.227 GB, free: 154 MB / 1.151 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003599/6.286, allocations: 2.388 MB / 4.23 GB, free: 151.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/6.286, allocations: 8 kB / 4.23 GB, free: 151.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/6.286, allocations: 4.062 kB / 4.23 GB, free: 151.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/6.286, allocations: 19.75 kB / 4.23 GB, free: 151.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/6.288, allocations: 419.5 kB / 4.23 GB, free: 151.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/6.288, allocations: 19.92 kB / 4.23 GB, free: 151.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/6.29, allocations: 141.5 kB / 4.23 GB, free: 151 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/6.29, allocations: 79.89 kB / 4.23 GB, free: 150.9 MB / 1.151 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.0002681/6.29, allocations: 136.5 kB / 4.23 GB, free: 150.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/6.29, allocations: 185.8 kB / 4.231 GB, free: 150.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004066/6.294, allocations: 2.538 MB / 4.233 GB, free: 148.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/6.294, allocations: 26.95 kB / 4.233 GB, free: 148 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/6.294, allocations: 3.984 kB / 4.233 GB, free: 148 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003033/6.297, allocations: 2.12 MB / 4.235 GB, free: 145.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007435/6.305, allocations: 5.121 MB / 4.24 GB, free: 140.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/6.305, allocations: 11.94 kB / 4.24 GB, free: 140.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002041/6.307, allocations: 462.2 kB / 4.241 GB, free: 140.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.608e-05/6.307, allocations: 12 kB / 4.241 GB, free: 140.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/6.307, allocations: 27.98 kB / 4.241 GB, free: 140.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-05/6.307, allocations: 15.98 kB / 4.241 GB, free: 140.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/6.307, allocations: 15.06 kB / 4.241 GB, free: 140.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004777/6.312, allocations: 4.266 MB / 4.245 GB, free: 135.8 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006665/6.319, allocations: 6.21 MB / 4.251 GB, free: 129.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/6.32, allocations: 494.6 kB / 4.251 GB, free: 128.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003093/6.32, allocations: 19.98 kB / 4.251 GB, free: 128.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/6.322, allocations: 105.2 kB / 4.252 GB, free: 128.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/6.322, allocations: 136.2 kB / 4.252 GB, free: 128.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/6.322, allocations: 87.16 kB / 4.252 GB, free: 128.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0008337/6.323, allocations: 0.6728 MB / 4.252 GB, free: 127.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003097/6.326, allocations: 1.117 MB / 4.254 GB, free: 126.8 MB / 1.151 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.medium.Xi[1],bouADis.dynBal.U,bouBDis.dynBal.medium.Xi[1],bouBDis.dynBal.U,bouBDis.dynBal.m,bouA.dynBal.medium.Xi[1],bouA.dynBal.U,bouB.dynBal.medium.Xi[1],bouB.dynBal.U,bouB.dynBal.m) * 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.002643/6.329, allocations: 2.846 MB / 4.256 GB, free: 124.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002501/6.331, allocations: 2.101 MB / 4.258 GB, free: 122.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/6.331, allocations: 3.938 kB / 4.258 GB, free: 122.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/6.332, allocations: 1.131 MB / 4.259 GB, free: 121.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004042/6.336, allocations: 0.9199 MB / 4.26 GB, free: 120.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005859/6.342, allocations: 4.116 MB / 4.264 GB, free: 116.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001617/6.344, allocations: 1.938 MB / 4.266 GB, free: 114.5 MB / 1.151 GB Notification: Performance of SimCode: time 5.91e-07/6.344, allocations: 0 / 4.266 GB, free: 114.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1)