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: translateModel(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic") translateModel(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic") [: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.7408/0.7408, allocations: 141.8 MB / 149.1 MB, free: 12.33 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 181.4 kB / 182 MB, free: 9.133 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.269/1.269, allocations: 221.3 MB / 436 MB, free: 1.574 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.001014/0.001014, allocations: 97.34 kB / 0.507 GB, free: 17.61 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001887/0.001887, allocations: 274.1 kB / 0.5885 GB, free: 3.184 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 6.782e-06/6.822e-06, allocations: 0 / 0.6759 GB, free: 135.9 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1642, allocations: 82.78 MB / 0.7567 GB, free: 82 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.671/3.835, allocations: 1.897 GB / 2.653 GB, free: 95.16 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/3.835, allocations: 87.95 kB / 2.653 GB, free: 95.08 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: Performance of FrontEnd: time 3.218/7.054, allocations: 1.036 GB / 3.689 GB, free: 86.91 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0001269/7.054, allocations: 58.16 kB / 3.689 GB, free: 86.9 MB / 0.7138 GB 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 0.00607/7.06, allocations: 2.632 MB / 3.692 GB, free: 85.66 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/7.06, allocations: 14.78 kB / 3.692 GB, free: 85.66 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004818/7.065, allocations: 0.7109 MB / 3.692 GB, free: 85.53 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003541/7.068, allocations: 1.619 MB / 3.694 GB, free: 85.06 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.531e-05/7.068, allocations: 60.91 kB / 3.694 GB, free: 85.06 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002982/7.069, allocations: 118.8 kB / 3.694 GB, free: 85.05 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003687/7.072, allocations: 2.29 MB / 3.696 GB, free: 85.05 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003155/7.076, allocations: 2.052 MB / 3.698 GB, free: 84.94 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.753e-05/7.076, allocations: 2.5 kB / 3.698 GB, free: 84.94 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/7.076, allocations: 0 / 3.698 GB, free: 84.94 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-05/7.076, allocations: 96.73 kB / 3.698 GB, free: 84.93 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/7.087, allocations: 7.937 MB / 3.706 GB, free: 81.64 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002882/7.09, allocations: 2.166 MB / 3.708 GB, free: 80.87 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00194/7.092, allocations: 1.269 MB / 3.71 GB, free: 80.4 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/7.093, allocations: 1.557 MB / 3.711 GB, free: 78.7 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/7.093, allocations: 66.06 kB / 3.711 GB, free: 78.64 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=222): time 3.777e-06/7.093, allocations: 0 / 3.711 GB, free: 78.64 MB / 0.7138 GB Notification: Performance of matching and sorting (n=226): time 0.01272/7.106, allocations: 5.499 MB / 3.717 GB, free: 75.05 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/7.106, allocations: 103.1 kB / 3.717 GB, free: 74.93 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/7.107, allocations: 0.8719 MB / 3.717 GB, free: 74.05 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.000145/7.107, allocations: 25.7 kB / 3.717 GB, free: 74.02 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/7.107, allocations: 0.552 MB / 3.718 GB, free: 73.46 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005302/7.108, allocations: 0.7272 MB / 3.719 GB, free: 72.72 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.417e-05/7.108, allocations: 0 / 3.719 GB, free: 72.72 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0001054/7.108, allocations: 385.9 kB / 3.719 GB, free: 72.34 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/7.109, allocations: 0.8201 MB / 3.72 GB, free: 71.52 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/7.11, allocations: 1.082 MB / 3.721 GB, free: 70.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.01041/7.121, allocations: 3.655 MB / 3.725 GB, free: 66.75 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.689e-06/7.121, allocations: 0 / 3.725 GB, free: 66.75 MB / 0.7138 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004299/7.125, allocations: 2.385 MB / 3.727 GB, free: 64.37 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/7.125, allocations: 4 kB / 3.727 GB, free: 64.36 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/7.125, allocations: 4 kB / 3.727 GB, free: 64.36 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.437e-05/7.125, allocations: 16 kB / 3.727 GB, free: 64.34 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/7.127, allocations: 425.4 kB / 3.727 GB, free: 63.93 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.113e-05/7.127, allocations: 15.98 kB / 3.727 GB, free: 63.91 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002769/7.13, allocations: 110.8 kB / 3.727 GB, free: 63.82 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002731/7.13, allocations: 79.83 kB / 3.727 GB, free: 63.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.0004511/7.131, allocations: 136.5 kB / 3.728 GB, free: 63.6 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007098/7.131, allocations: 185.8 kB / 3.728 GB, free: 63.41 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005015/7.136, allocations: 2.537 MB / 3.73 GB, free: 60.89 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/7.136, allocations: 20 kB / 3.73 GB, free: 60.87 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/7.136, allocations: 7.906 kB / 3.73 GB, free: 60.86 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00336/7.14, allocations: 2.124 MB / 3.732 GB, free: 58.73 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009055/7.149, allocations: 5.103 MB / 3.737 GB, free: 53.57 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/7.149, allocations: 8 kB / 3.737 GB, free: 53.56 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00216/7.151, allocations: 470.4 kB / 3.738 GB, free: 53.1 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.575e-05/7.151, allocations: 12 kB / 3.738 GB, free: 53.09 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001918/7.151, allocations: 31.92 kB / 3.738 GB, free: 53.06 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-05/7.151, allocations: 23.83 kB / 3.738 GB, free: 53.04 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/7.151, allocations: 11.94 kB / 3.738 GB, free: 53.03 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005679/7.157, allocations: 4.46 MB / 3.742 GB, free: 48.4 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/7.158, allocations: 0.4947 MB / 3.743 GB, free: 47.88 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005403/7.159, allocations: 8 kB / 3.743 GB, free: 47.88 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00223/7.161, allocations: 106.6 kB / 3.743 GB, free: 47.78 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/7.161, allocations: 135.3 kB / 3.743 GB, free: 47.65 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001865/7.162, allocations: 79.97 kB / 3.743 GB, free: 47.57 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.001082/7.163, allocations: 0.6682 MB / 3.744 GB, free: 46.9 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.003066/7.166, allocations: 0.7889 MB / 3.744 GB, free: 46.11 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.003965/7.17, allocations: 2.859 MB / 3.747 GB, free: 43.66 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.003137/7.173, allocations: 2.094 MB / 3.749 GB, free: 41.56 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/7.173, allocations: 2.531 kB / 3.749 GB, free: 41.56 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.001435/7.174, allocations: 1.134 MB / 3.75 GB, free: 40.43 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005076/7.179, allocations: 0.9259 MB / 3.751 GB, free: 39.56 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007372/7.187, allocations: 4.069 MB / 3.755 GB, free: 35.48 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002185/7.189, allocations: 1.894 MB / 3.757 GB, free: 33.55 MB / 0.7138 GB Notification: Performance of SimCode: time 1.473e-06/7.189, allocations: 3.844 kB / 3.757 GB, free: 33.55 MB / 0.7138 GB Notification: Performance of Templates: time 0.4049/7.594, allocations: 51.95 MB / 3.808 GB, free: 149.5 MB / 0.7294 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1)