Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.292/1.292, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009296/0.0009293, allocations: 173.3 kB / 361.1 MB, free: 7.125 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9906/0.9906, allocations: 205.1 MB / 0.6195 GB, free: 11.96 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.0007484/0.0007484, allocations: 85.28 kB / 0.7326 GB, free: 44.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1708/0.1716, allocations: 121.4 MB / 0.8512 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.5633, allocations: 115.3 MB / 0.9637 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.628/3.191, allocations: 2.09 GB / 3.054 GB, free: 16.58 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/3.192, allocations: 88.8 kB / 3.054 GB, free: 16.49 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.679/5.871, allocations: 1.024 GB / 4.078 GB, free: 74.57 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/5.871, allocations: 12 kB / 4.078 GB, free: 74.55 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004376/5.875, allocations: 0.7087 MB / 4.079 GB, free: 73.84 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002887/5.878, allocations: 1.612 MB / 4.081 GB, free: 72.21 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/5.878, allocations: 60 kB / 4.081 GB, free: 72.15 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002329/5.878, allocations: 119.9 kB / 4.081 GB, free: 72.03 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00313/5.881, allocations: 2.299 MB / 4.083 GB, free: 69.73 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002692/5.884, allocations: 2.055 MB / 4.085 GB, free: 67.65 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.196e-05/5.884, allocations: 4 kB / 4.085 GB, free: 67.64 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/5.884, allocations: 0 / 4.085 GB, free: 67.64 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-05/5.884, allocations: 92.22 kB / 4.085 GB, free: 67.55 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008577/5.893, allocations: 7.994 MB / 4.093 GB, free: 59.16 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002369/5.895, allocations: 2.177 MB / 4.095 GB, free: 56.95 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/5.897, allocations: 1.277 MB / 4.096 GB, free: 55.66 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/5.898, allocations: 1.564 MB / 4.098 GB, free: 53.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/5.898, allocations: 70.58 kB / 4.098 GB, free: 53.69 MB / 0.948 GB Notification: Performance of pre-optimization done (n=222): time 3.566e-06/5.898, allocations: 0 / 4.098 GB, free: 53.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=226): time 0.0103/5.908, allocations: 5.964 MB / 4.104 GB, free: 47.61 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/5.908, allocations: 154.5 kB / 4.104 GB, free: 47.43 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009302/5.909, allocations: 0.8758 MB / 4.105 GB, free: 46.54 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/5.909, allocations: 29.7 kB / 4.105 GB, free: 46.51 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/5.91, allocations: 0.541 MB / 4.105 GB, free: 45.96 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004182/5.91, allocations: 0.7349 MB / 4.106 GB, free: 45.21 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.909e-05/5.91, allocations: 0 / 4.106 GB, free: 45.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.367e-05/5.91, allocations: 381.9 kB / 4.106 GB, free: 44.83 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000944/5.911, allocations: 0.824 MB / 4.107 GB, free: 44.01 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/5.912, allocations: 1.087 MB / 4.108 GB, free: 42.84 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 (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009466/5.922, allocations: 3.647 MB / 4.112 GB, free: 39.15 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/5.922, allocations: 4 kB / 4.112 GB, free: 39.15 MB / 0.948 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003455/5.925, allocations: 2.381 MB / 4.114 GB, free: 36.77 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/5.925, allocations: 4 kB / 4.114 GB, free: 36.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/5.925, allocations: 4 kB / 4.114 GB, free: 36.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/5.925, allocations: 16 kB / 4.114 GB, free: 36.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/5.927, allocations: 423.4 kB / 4.115 GB, free: 36.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.326e-05/5.927, allocations: 12 kB / 4.115 GB, free: 36.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/5.929, allocations: 127.8 kB / 4.115 GB, free: 36.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/5.929, allocations: 77.52 kB / 4.115 GB, free: 36.12 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: 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.0002963/5.929, allocations: 143.3 kB / 4.115 GB, free: 35.97 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004/5.93, allocations: 185.8 kB / 4.115 GB, free: 35.79 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004042/5.934, allocations: 2.521 MB / 4.118 GB, free: 33.25 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/5.934, allocations: 24 kB / 4.118 GB, free: 33.23 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/5.934, allocations: 7.906 kB / 4.118 GB, free: 33.22 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002924/5.937, allocations: 2.12 MB / 4.12 GB, free: 31.08 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007751/5.945, allocations: 5.119 MB / 4.125 GB, free: 25.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/5.945, allocations: 4 kB / 4.125 GB, free: 25.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001939/5.947, allocations: 467.4 kB / 4.125 GB, free: 25.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.701e-05/5.947, allocations: 16 kB / 4.125 GB, free: 25.37 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/5.947, allocations: 28.3 kB / 4.125 GB, free: 25.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.294e-05/5.947, allocations: 23.92 kB / 4.125 GB, free: 25.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/5.947, allocations: 15.84 kB / 4.125 GB, free: 25.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004839/5.952, allocations: 4.646 MB / 4.13 GB, free: 20.45 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006521/5.958, allocations: 6.603 MB / 4.136 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/5.959, allocations: 0.4888 MB / 4.137 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004002/5.96, allocations: 12 kB / 4.137 GB, free: 13.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001815/5.961, allocations: 111.6 kB / 4.137 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/5.962, allocations: 133.6 kB / 4.137 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/5.962, allocations: 75.98 kB / 4.137 GB, free: 12.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008098/5.963, allocations: 0.6721 MB / 4.138 GB, free: 12.12 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003323/5.966, allocations: 1.109 MB / 4.139 GB, free: 11.02 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (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],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.003025/5.969, allocations: 2.868 MB / 4.142 GB, free: 7.926 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002461/5.971, allocations: 2.099 MB / 4.144 GB, free: 5.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/5.971, allocations: 4 kB / 4.144 GB, free: 5.816 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001155/5.973, allocations: 1.129 MB / 4.145 GB, free: 4.695 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003996/5.977, allocations: 0.9256 MB / 4.146 GB, free: 3.781 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006231/5.983, allocations: 4.07 MB / 4.15 GB, free: 15.57 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002128/5.985, allocations: 1.923 MB / 4.151 GB, free: 13.62 MB / 0.9636 GB Notification: Performance of SimCode: time 5.92e-07/5.985, allocations: 0 / 4.151 GB, free: 13.62 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)