Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") [: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.1.4-maint.8.1.x/package.mo): time 1.382/1.382, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.001131/0.001131, allocations: 181.3 kB / 366.3 MB, free: 2.012 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.215/1.215, allocations: 205.1 MB / 0.6256 GB, free: 5.852 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.001109/0.001109, allocations: 91.64 kB / 0.7396 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.572e-06/6.953e-06, allocations: 0 / 0.859 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5354/0.5355, allocations: 116.3 MB / 0.9725 GB, free: 68.34 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.384/3.92, allocations: 2.091 GB / 3.064 GB, free: 355.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001793/3.92, allocations: 86.69 kB / 3.064 GB, free: 355.7 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: Performance of FrontEnd: time 2.327/6.247, allocations: 1.021 GB / 4.086 GB, free: 33.86 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001056/6.247, allocations: 64.11 kB / 4.086 GB, free: 33.8 MB / 0.948 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.005543/6.252, allocations: 2.636 MB / 4.088 GB, free: 31.11 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/6.252, allocations: 8.031 kB / 4.088 GB, free: 31.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004011/6.257, allocations: 0.7033 MB / 4.089 GB, free: 30.39 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002541/6.259, allocations: 1.621 MB / 4.09 GB, free: 28.72 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/6.259, allocations: 60 kB / 4.09 GB, free: 28.66 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002204/6.259, allocations: 115.9 kB / 4.091 GB, free: 28.55 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002953/6.262, allocations: 2.288 MB / 4.093 GB, free: 26.26 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002594/6.265, allocations: 2.063 MB / 4.095 GB, free: 24.17 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.157e-05/6.265, allocations: 7.969 kB / 4.095 GB, free: 24.16 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/6.265, allocations: 8 kB / 4.095 GB, free: 24.15 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.933e-05/6.265, allocations: 92.19 kB / 4.095 GB, free: 24.06 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007794/6.273, allocations: 7.982 MB / 4.103 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/6.275, allocations: 2.187 MB / 4.105 GB, free: 13.39 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/6.276, allocations: 1.272 MB / 4.106 GB, free: 12.11 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009379/6.277, allocations: 1.564 MB / 4.108 GB, free: 10.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/6.277, allocations: 64.47 kB / 4.108 GB, free: 10.13 MB / 0.948 GB Notification: Performance of pre-optimization done (n=222): time 3.156e-06/6.277, allocations: 4 kB / 4.108 GB, free: 10.13 MB / 0.948 GB Notification: Performance of matching and sorting (n=226): time 0.009749/6.287, allocations: 5.98 MB / 4.114 GB, free: 4.031 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/6.287, allocations: 154.5 kB / 4.114 GB, free: 3.852 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008767/6.288, allocations: 0.8719 MB / 4.115 GB, free: 2.973 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/6.288, allocations: 25.7 kB / 4.115 GB, free: 2.941 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/6.288, allocations: 0.5449 MB / 4.115 GB, free: 2.387 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004044/6.289, allocations: 0.7428 MB / 4.116 GB, free: 1.633 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.88e-05/6.289, allocations: 0 / 4.116 GB, free: 1.633 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.279e-05/6.289, allocations: 381.9 kB / 4.116 GB, free: 1.254 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009645/6.29, allocations: 0.8201 MB / 4.117 GB, free: 444 kB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/6.291, allocations: 1.091 MB / 4.118 GB, free: 15.26 MB / 0.9636 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.01052/6.302, allocations: 3.643 MB / 4.122 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/6.302, allocations: 0 / 4.122 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003938/6.306, allocations: 2.38 MB / 4.124 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/6.306, allocations: 4 kB / 4.124 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/6.306, allocations: 4 kB / 4.124 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/6.306, allocations: 16.59 kB / 4.124 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/6.308, allocations: 431.4 kB / 4.124 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.333e-05/6.308, allocations: 12 kB / 4.124 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/6.309, allocations: 111.5 kB / 4.124 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/6.309, allocations: 75.98 kB / 4.125 GB, free: 8.551 MB / 0.9636 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.0002827/6.31, allocations: 159 kB / 4.125 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003288/6.31, allocations: 181.8 kB / 4.125 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004411/6.314, allocations: 2.525 MB / 4.127 GB, free: 5.668 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/6.315, allocations: 24 kB / 4.127 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/6.315, allocations: 0 / 4.127 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003318/6.318, allocations: 2.116 MB / 4.129 GB, free: 3.516 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008707/6.327, allocations: 5.121 MB / 4.134 GB, free: 14.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/6.327, allocations: 11.98 kB / 4.134 GB, free: 14.26 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002092/6.329, allocations: 472.2 kB / 4.135 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.62e-05/6.329, allocations: 16 kB / 4.135 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/6.329, allocations: 27.89 kB / 4.135 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.736e-05/6.329, allocations: 23.92 kB / 4.135 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/6.329, allocations: 11.94 kB / 4.135 GB, free: 13.72 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005876/6.335, allocations: 4.635 MB / 4.14 GB, free: 8.883 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009565/6.336, allocations: 498.7 kB / 4.14 GB, free: 8.375 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003127/6.336, allocations: 11.98 kB / 4.14 GB, free: 8.363 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/6.338, allocations: 111.7 kB / 4.14 GB, free: 8.254 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/6.338, allocations: 129.6 kB / 4.14 GB, free: 8.125 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/6.338, allocations: 83.97 kB / 4.14 GB, free: 8.043 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.000865/6.339, allocations: 0.6682 MB / 4.141 GB, free: 7.371 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002081/6.341, allocations: 0.789 MB / 4.142 GB, free: 6.582 MB / 0.9792 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.00358/6.345, allocations: 2.856 MB / 4.145 GB, free: 3.484 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002876/6.348, allocations: 2.094 MB / 4.147 GB, free: 1.387 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/6.348, allocations: 0 / 4.147 GB, free: 1.387 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001376/6.349, allocations: 1.134 MB / 4.148 GB, free: 260 kB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.279/6.628, allocations: 0.9352 MB / 4.149 GB, free: 231.6 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00536/6.633, allocations: 4.043 MB / 4.153 GB, free: 230.7 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/6.635, allocations: 1.901 MB / 4.154 GB, free: 229.9 MB / 0.9792 GB Notification: Performance of SimCode: time 6.01e-07/6.635, allocations: 0 / 4.154 GB, free: 229.9 MB / 0.9792 GB Notification: Performance of Templates: time 0.06171/6.697, allocations: 51.85 MB / 4.205 GB, free: 229.1 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & ./Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)