Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7496/0.7496, allocations: 141.8 MB / 149.1 MB, free: 1.336 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 185.2 kB / 182 MB, free: 0.6445 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 221.3 MB / 436 MB, free: 5.48 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009775/0.0009775, allocations: 92.59 kB / 0.507 GB, free: 2.145 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001705/0.001705, allocations: 273.3 kB / 0.5884 GB, free: 47.2 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4178/0.4196, allocations: 89.63 MB / 0.676 GB, free: 59.52 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.5892, allocations: 82.77 MB / 0.7568 GB, free: 0.5742 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.373/4.962, allocations: 1.897 GB / 2.654 GB, free: 69.63 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/4.963, allocations: 91.34 kB / 2.654 GB, free: 69.55 MB / 0.6982 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 4.011/8.974, allocations: 1.038 GB / 3.692 GB, free: 75.74 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/8.974, allocations: 9.188 kB / 3.692 GB, free: 75.74 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006581/8.98, allocations: 0.7078 MB / 3.692 GB, free: 75.4 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005812/8.986, allocations: 1.618 MB / 3.694 GB, free: 73.86 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/8.986, allocations: 60 kB / 3.694 GB, free: 73.8 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009018/8.987, allocations: 123.9 kB / 3.694 GB, free: 73.68 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005644/8.993, allocations: 2.29 MB / 3.696 GB, free: 71.39 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006072/8.999, allocations: 2.064 MB / 3.698 GB, free: 69.31 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-05/8.999, allocations: 0 / 3.698 GB, free: 69.31 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004642/8.999, allocations: 4 kB / 3.698 GB, free: 69.3 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.029e-05/9, allocations: 84.3 kB / 3.699 GB, free: 69.22 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01275/9.012, allocations: 7.955 MB / 3.706 GB, free: 60.99 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/9.015, allocations: 2.154 MB / 3.708 GB, free: 58.86 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/9.017, allocations: 1.261 MB / 3.71 GB, free: 57.59 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/9.018, allocations: 1.566 MB / 3.711 GB, free: 55.71 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/9.018, allocations: 56.53 kB / 3.711 GB, free: 55.64 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=222): time 4.268e-06/9.018, allocations: 0 / 3.711 GB, free: 55.64 MB / 0.7138 GB Notification: Performance of matching and sorting (n=226): time 0.01224/9.03, allocations: 5.503 MB / 3.717 GB, free: 50.04 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/9.03, allocations: 99.95 kB / 3.717 GB, free: 49.93 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/9.031, allocations: 0.868 MB / 3.718 GB, free: 49.05 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001774/9.032, allocations: 33.45 kB / 3.718 GB, free: 49.02 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/9.032, allocations: 0.5477 MB / 3.718 GB, free: 48.46 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005698/9.032, allocations: 0.731 MB / 3.719 GB, free: 47.72 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/9.032, allocations: 0 / 3.719 GB, free: 47.72 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0001109/9.033, allocations: 385.9 kB / 3.719 GB, free: 47.34 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/9.034, allocations: 0.8201 MB / 3.72 GB, free: 46.52 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/9.035, allocations: 1.09 MB / 3.721 GB, free: 45.36 MB / 0.7138 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.01076/9.046, allocations: 3.652 MB / 3.725 GB, free: 41.74 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/9.046, allocations: 0 / 3.725 GB, free: 41.74 MB / 0.7138 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004537/9.05, allocations: 2.379 MB / 3.727 GB, free: 39.36 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/9.05, allocations: 8 kB / 3.727 GB, free: 39.36 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/9.05, allocations: 4 kB / 3.727 GB, free: 39.35 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.757e-05/9.05, allocations: 12 kB / 3.727 GB, free: 39.34 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/9.052, allocations: 421.9 kB / 3.727 GB, free: 38.93 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/9.052, allocations: 19.92 kB / 3.727 GB, free: 38.91 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002756/9.055, allocations: 110.6 kB / 3.727 GB, free: 38.81 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/9.055, allocations: 75.98 kB / 3.728 GB, free: 38.74 MB / 0.7138 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.0003761/9.055, allocations: 156.3 kB / 3.728 GB, free: 38.58 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003634/9.056, allocations: 181.8 kB / 3.728 GB, free: 38.4 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004906/9.061, allocations: 2.526 MB / 3.73 GB, free: 35.89 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/9.061, allocations: 24 kB / 3.73 GB, free: 35.86 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/9.061, allocations: 0 / 3.73 GB, free: 35.86 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003341/9.064, allocations: 2.132 MB / 3.732 GB, free: 33.71 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/9.075, allocations: 5.114 MB / 3.737 GB, free: 28.54 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-05/9.075, allocations: 4 kB / 3.737 GB, free: 28.54 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002253/9.077, allocations: 467 kB / 3.738 GB, free: 28.09 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-05/9.077, allocations: 16 kB / 3.738 GB, free: 28.07 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001977/9.078, allocations: 27.98 kB / 3.738 GB, free: 28.04 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.337e-05/9.078, allocations: 23.92 kB / 3.738 GB, free: 28.02 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/9.078, allocations: 11.91 kB / 3.738 GB, free: 28.01 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006211/9.084, allocations: 4.465 MB / 3.742 GB, free: 23.37 MB / 0.7138 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008221/9.092, allocations: 6.435 MB / 3.749 GB, free: 16.76 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001779/9.094, allocations: 494.7 kB / 3.749 GB, free: 16.25 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006764/9.095, allocations: 15.98 kB / 3.749 GB, free: 16.24 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002427/9.097, allocations: 106.9 kB / 3.749 GB, free: 16.14 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/9.097, allocations: 136.5 kB / 3.749 GB, free: 16.02 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001949/9.097, allocations: 75.98 kB / 3.749 GB, free: 15.94 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.001254/9.099, allocations: 0.6643 MB / 3.75 GB, free: 15.27 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.004544/9.103, allocations: 1.121 MB / 3.751 GB, free: 14.15 MB / 0.7138 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.004047/9.107, allocations: 2.864 MB / 3.754 GB, free: 11.58 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.003434/9.111, allocations: 2.099 MB / 3.756 GB, free: 9.48 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/9.111, allocations: 0 / 3.756 GB, free: 9.48 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.001488/9.112, allocations: 1.129 MB / 3.757 GB, free: 8.355 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005387/9.118, allocations: 0.9223 MB / 3.758 GB, free: 7.465 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008562/9.126, allocations: 4.067 MB / 3.762 GB, free: 3.324 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002618/9.129, allocations: 1.93 MB / 3.764 GB, free: 1.355 MB / 0.7138 GB Notification: Performance of SimCode: time 1.243e-06/9.129, allocations: 0 / 3.764 GB, free: 1.355 MB / 0.7138 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1)