Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_9_Buildings_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.842/1.842, 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.0009571/0.0009571, allocations: 185.3 kB / 487 MB, free: 5.355 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.176/1.176, allocations: 221.3 MB / 0.7819 GB, free: 1.422 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.0008529/0.0008529, allocations: 106.6 kB / 0.9213 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4535/0.4544, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.6649, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.087/3.751, allocations: 1.936 GB / 3.142 GB, free: 333.9 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/3.752, allocations: 83.95 kB / 3.142 GB, free: 333.8 MB / 1.135 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.596/6.347, allocations: 1.044 GB / 4.186 GB, free: 136.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/6.347, allocations: 8 kB / 4.186 GB, free: 136.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004365/6.352, allocations: 0.7032 MB / 4.187 GB, free: 136.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/6.355, allocations: 1.666 MB / 4.189 GB, free: 134.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/6.355, allocations: 63.06 kB / 4.189 GB, free: 134.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/6.355, allocations: 116 kB / 4.189 GB, free: 134.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00309/6.358, allocations: 2.299 MB / 4.191 GB, free: 132 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002678/6.361, allocations: 2.063 MB / 4.193 GB, free: 129.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.205e-05/6.361, allocations: 4 kB / 4.193 GB, free: 129.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/6.361, allocations: 7.906 kB / 4.193 GB, free: 129.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.454e-05/6.361, allocations: 88.28 kB / 4.193 GB, free: 129.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008961/6.37, allocations: 8.407 MB / 4.201 GB, free: 121 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/6.372, allocations: 2.167 MB / 4.204 GB, free: 118.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/6.374, allocations: 1.276 MB / 4.205 GB, free: 117.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/6.375, allocations: 1.564 MB / 4.206 GB, free: 115.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/6.375, allocations: 62.88 kB / 4.206 GB, free: 115.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 3.406e-06/6.375, allocations: 4 kB / 4.206 GB, free: 115.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=226): time 0.01043/6.385, allocations: 5.991 MB / 4.212 GB, free: 109.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/6.385, allocations: 154.4 kB / 4.212 GB, free: 109.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009618/6.386, allocations: 0.885 MB / 4.213 GB, free: 108.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/6.386, allocations: 29.7 kB / 4.213 GB, free: 108.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/6.386, allocations: 0.545 MB / 4.214 GB, free: 107.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000397/6.387, allocations: 0.7349 MB / 4.215 GB, free: 107 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.922e-05/6.387, allocations: 3.938 kB / 4.215 GB, free: 107 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.622e-05/6.387, allocations: 381.9 kB / 4.215 GB, free: 106.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000956/6.388, allocations: 0.8279 MB / 4.216 GB, free: 105.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/6.389, allocations: 1.068 MB / 4.217 GB, free: 104.7 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 (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009541/6.399, allocations: 3.679 MB / 4.22 GB, free: 101 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/6.399, allocations: 0 / 4.22 GB, free: 101 MB / 1.151 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.0034/6.402, allocations: 2.388 MB / 4.223 GB, free: 98.58 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/6.402, allocations: 7.125 kB / 4.223 GB, free: 98.58 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/6.402, allocations: 4 kB / 4.223 GB, free: 98.57 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/6.402, allocations: 16 kB / 4.223 GB, free: 98.56 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/6.404, allocations: 427.4 kB / 4.223 GB, free: 98.14 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/6.404, allocations: 12 kB / 4.223 GB, free: 98.13 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/6.406, allocations: 151.7 kB / 4.223 GB, free: 97.98 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/6.406, allocations: 75.98 kB / 4.223 GB, free: 97.91 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: 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.0002841/6.406, allocations: 136.5 kB / 4.223 GB, free: 97.77 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000296/6.406, allocations: 189.8 kB / 4.224 GB, free: 97.58 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0039/6.41, allocations: 2.531 MB / 4.226 GB, free: 95.04 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/6.41, allocations: 24 kB / 4.226 GB, free: 95.02 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/6.41, allocations: 0 / 4.226 GB, free: 95.02 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002844/6.413, allocations: 2.128 MB / 4.228 GB, free: 92.87 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007584/6.421, allocations: 5.143 MB / 4.233 GB, free: 87.66 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/6.421, allocations: 4 kB / 4.233 GB, free: 87.66 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001912/6.423, allocations: 455.5 kB / 4.234 GB, free: 87.21 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.867e-05/6.423, allocations: 20 kB / 4.234 GB, free: 87.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/6.423, allocations: 31.98 kB / 4.234 GB, free: 87.16 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.299e-05/6.423, allocations: 19.92 kB / 4.234 GB, free: 87.14 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/6.423, allocations: 11.94 kB / 4.234 GB, free: 87.13 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004963/6.428, allocations: 4.437 MB / 4.238 GB, free: 82.49 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006435/6.434, allocations: 6.375 MB / 4.244 GB, free: 75.91 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009844/6.435, allocations: 498.6 kB / 4.245 GB, free: 75.41 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002876/6.436, allocations: 15.98 kB / 4.245 GB, free: 75.39 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/6.437, allocations: 103.8 kB / 4.245 GB, free: 75.29 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/6.438, allocations: 141.5 kB / 4.245 GB, free: 75.15 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/6.438, allocations: 75.98 kB / 4.245 GB, free: 75.08 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007567/6.439, allocations: 0.6806 MB / 4.246 GB, free: 74.39 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002955/6.441, allocations: 1.125 MB / 4.247 GB, free: 73.27 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (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,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.002822/6.444, allocations: 2.855 MB / 4.25 GB, free: 70.45 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002418/6.447, allocations: 2.099 MB / 4.252 GB, free: 68.36 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/6.447, allocations: 8 kB / 4.252 GB, free: 68.35 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/6.448, allocations: 1.12 MB / 4.253 GB, free: 67.23 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004441/6.452, allocations: 0.9291 MB / 4.254 GB, free: 66.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006048/6.458, allocations: 4.121 MB / 4.258 GB, free: 62.06 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00163/6.46, allocations: 1.929 MB / 4.26 GB, free: 60.09 MB / 1.151 GB Notification: Performance of SimCode: time 4.91e-07/6.46, allocations: 4 kB / 4.26 GB, free: 60.09 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)