Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.824/1.824, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009397/0.0009398, allocations: 188.7 kB / 487 MB, free: 5.375 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.187/1.187, allocations: 221.3 MB / 0.7819 GB, free: 1.477 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 104.9 kB / 0.9213 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.571/0.5721, allocations: 148.4 MB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.802, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.245/4.047, allocations: 1.936 GB / 3.142 GB, free: 390.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001854/4.047, allocations: 79.95 kB / 3.142 GB, free: 390.6 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.598/6.645, allocations: 1.045 GB / 4.187 GB, free: 183.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/6.645, allocations: 7.531 kB / 4.187 GB, free: 183.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004187/6.65, allocations: 0.7114 MB / 4.188 GB, free: 183.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00288/6.652, allocations: 1.652 MB / 4.189 GB, free: 182 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.03e-05/6.653, allocations: 61.31 kB / 4.189 GB, free: 182 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000278/6.653, allocations: 119.3 kB / 4.189 GB, free: 182 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004037/6.657, allocations: 2.301 MB / 4.192 GB, free: 181 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00345/6.66, allocations: 2.05 MB / 4.194 GB, free: 180 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.477e-05/6.66, allocations: 13.59 kB / 4.194 GB, free: 180 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/6.661, allocations: 0.625 kB / 4.194 GB, free: 180 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.46e-05/6.661, allocations: 92.09 kB / 4.194 GB, free: 180 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/6.671, allocations: 8.349 MB / 4.202 GB, free: 172.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002468/6.673, allocations: 2.147 MB / 4.204 GB, free: 170 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/6.675, allocations: 1.27 MB / 4.205 GB, free: 168.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/6.676, allocations: 1.556 MB / 4.207 GB, free: 166.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/6.676, allocations: 60.53 kB / 4.207 GB, free: 166.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 3.226e-06/6.676, allocations: 0 / 4.207 GB, free: 166.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=226): time 0.01004/6.686, allocations: 5.513 MB / 4.212 GB, free: 161.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/6.686, allocations: 114 kB / 4.212 GB, free: 161.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/6.687, allocations: 0.8837 MB / 4.213 GB, free: 160.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001116/6.687, allocations: 25.7 kB / 4.213 GB, free: 160.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/6.687, allocations: 0.549 MB / 4.214 GB, free: 159.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004187/6.688, allocations: 0.7349 MB / 4.214 GB, free: 158.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.013e-05/6.688, allocations: 0 / 4.214 GB, free: 158.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.817e-05/6.688, allocations: 385.9 kB / 4.215 GB, free: 158.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009727/6.689, allocations: 0.8268 MB / 4.216 GB, free: 157.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/6.69, allocations: 1.066 MB / 4.217 GB, free: 156.5 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.009897/6.7, allocations: 3.675 MB / 4.22 GB, free: 152.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/6.7, allocations: 0 / 4.22 GB, free: 152.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003705/6.704, allocations: 2.387 MB / 4.223 GB, free: 150.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/6.704, allocations: 9.844 kB / 4.223 GB, free: 150.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/6.704, allocations: 4 kB / 4.223 GB, free: 150.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/6.704, allocations: 12 kB / 4.223 GB, free: 150.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/6.705, allocations: 421.3 kB / 4.223 GB, free: 150 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/6.705, allocations: 19.92 kB / 4.223 GB, free: 150 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/6.707, allocations: 149.2 kB / 4.223 GB, free: 149.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/6.708, allocations: 75.98 kB / 4.223 GB, free: 149.8 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.0003032/6.708, allocations: 136.1 kB / 4.223 GB, free: 149.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002752/6.708, allocations: 193.7 kB / 4.224 GB, free: 149.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004026/6.712, allocations: 2.529 MB / 4.226 GB, free: 147 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/6.712, allocations: 24 kB / 4.226 GB, free: 147 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/6.712, allocations: 2.297 kB / 4.226 GB, free: 147 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00289/6.715, allocations: 2.128 MB / 4.228 GB, free: 144.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007556/6.723, allocations: 5.128 MB / 4.233 GB, free: 139.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/6.723, allocations: 11.28 kB / 4.233 GB, free: 139.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001982/6.725, allocations: 463.2 kB / 4.234 GB, free: 139.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/6.725, allocations: 12 kB / 4.234 GB, free: 139.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/6.725, allocations: 31.98 kB / 4.234 GB, free: 139.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/6.725, allocations: 12 kB / 4.234 GB, free: 139.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/6.725, allocations: 11.94 kB / 4.234 GB, free: 139.1 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004774/6.73, allocations: 4.262 MB / 4.238 GB, free: 134.7 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006443/6.736, allocations: 6.212 MB / 4.244 GB, free: 128.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/6.737, allocations: 498.6 kB / 4.244 GB, free: 127.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002924/6.738, allocations: 15.98 kB / 4.244 GB, free: 127.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/6.739, allocations: 105.9 kB / 4.244 GB, free: 127.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/6.739, allocations: 133.6 kB / 4.245 GB, free: 127.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/6.74, allocations: 78.86 kB / 4.245 GB, free: 127.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007852/6.74, allocations: 0.6843 MB / 4.245 GB, free: 126.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002887/6.743, allocations: 1.117 MB / 4.246 GB, free: 125.7 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.00276/6.746, allocations: 2.862 MB / 4.249 GB, free: 123.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002506/6.749, allocations: 2.103 MB / 4.251 GB, free: 121.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/6.749, allocations: 0 / 4.251 GB, free: 121.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/6.75, allocations: 1.128 MB / 4.252 GB, free: 120 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003844/6.754, allocations: 0.9223 MB / 4.253 GB, free: 119.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006143/6.76, allocations: 4.113 MB / 4.257 GB, free: 115.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/6.761, allocations: 1.936 MB / 4.259 GB, free: 113.3 MB / 1.151 GB Notification: Performance of SimCode: time 7.02e-07/6.761, allocations: 0 / 4.259 GB, free: 113.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1)