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: translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.356/1.356, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.000955/0.0009551, allocations: 181.2 kB / 361.1 MB, free: 7.066 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.108/1.108, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0008074/0.0008072, allocations: 87.52 kB / 0.7325 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.392e-06/6.422e-06, allocations: 0 / 0.8511 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4587/0.4587, allocations: 115.3 MB / 0.9636 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.921/3.38, allocations: 2.09 GB / 3.054 GB, free: 16.02 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/3.38, allocations: 88.52 kB / 3.054 GB, free: 15.93 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.71/6.09, allocations: 1.021 GB / 4.076 GB, free: 78.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001698/6.09, allocations: 59.48 kB / 4.076 GB, free: 78.7 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.006563/6.096, allocations: 2.631 MB / 4.078 GB, free: 76.02 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/6.096, allocations: 8.531 kB / 4.078 GB, free: 76.02 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004377/6.101, allocations: 0.7137 MB / 4.079 GB, free: 75.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/6.104, allocations: 1.613 MB / 4.081 GB, free: 73.64 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/6.104, allocations: 60 kB / 4.081 GB, free: 73.59 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002306/6.104, allocations: 123.9 kB / 4.081 GB, free: 73.46 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003149/6.107, allocations: 2.292 MB / 4.083 GB, free: 71.17 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002747/6.11, allocations: 2.067 MB / 4.085 GB, free: 69.08 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.297e-05/6.11, allocations: 0 / 4.085 GB, free: 69.08 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/6.11, allocations: 0 / 4.085 GB, free: 69.08 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.381e-05/6.11, allocations: 92.27 kB / 4.085 GB, free: 68.98 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008613/6.119, allocations: 7.986 MB / 4.093 GB, free: 60.53 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/6.121, allocations: 2.174 MB / 4.095 GB, free: 58.33 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/6.122, allocations: 1.281 MB / 4.096 GB, free: 57.04 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009885/6.123, allocations: 1.56 MB / 4.098 GB, free: 55.14 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/6.124, allocations: 64.47 kB / 4.098 GB, free: 55.07 MB / 0.948 GB Notification: Performance of pre-optimization done (n=222): time 3.907e-06/6.124, allocations: 7.984 kB / 4.098 GB, free: 55.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=226): time 0.01039/6.134, allocations: 5.968 MB / 4.104 GB, free: 48.98 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/6.134, allocations: 158.5 kB / 4.104 GB, free: 48.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009471/6.135, allocations: 0.8681 MB / 4.105 GB, free: 47.92 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/6.135, allocations: 33.7 kB / 4.105 GB, free: 47.88 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/6.135, allocations: 0.5411 MB / 4.105 GB, free: 47.33 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003859/6.136, allocations: 0.7388 MB / 4.106 GB, free: 46.58 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.628e-05/6.136, allocations: 0 / 4.106 GB, free: 46.58 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.865e-05/6.136, allocations: 387.6 kB / 4.106 GB, free: 46.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009752/6.137, allocations: 0.8201 MB / 4.107 GB, free: 45.38 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/6.138, allocations: 1.091 MB / 4.108 GB, free: 44.2 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.009767/6.148, allocations: 3.645 MB / 4.112 GB, free: 40.52 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/6.148, allocations: 8 kB / 4.112 GB, free: 40.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003416/6.151, allocations: 2.373 MB / 4.114 GB, free: 38.14 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/6.151, allocations: 8.094 kB / 4.114 GB, free: 38.13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/6.151, allocations: 8 kB / 4.114 GB, free: 38.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/6.151, allocations: 12 kB / 4.114 GB, free: 38.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/6.153, allocations: 431.4 kB / 4.115 GB, free: 37.69 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/6.153, allocations: 16 kB / 4.115 GB, free: 37.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/6.155, allocations: 115.5 kB / 4.115 GB, free: 37.56 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/6.155, allocations: 75.98 kB / 4.115 GB, free: 37.48 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.0002705/6.155, allocations: 144.5 kB / 4.115 GB, free: 37.34 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002937/6.155, allocations: 181.8 kB / 4.115 GB, free: 37.16 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003903/6.159, allocations: 2.525 MB / 4.118 GB, free: 34.62 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/6.159, allocations: 25.78 kB / 4.118 GB, free: 34.59 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/6.159, allocations: 3.906 kB / 4.118 GB, free: 34.59 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002879/6.162, allocations: 2.116 MB / 4.12 GB, free: 32.45 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007179/6.169, allocations: 5.12 MB / 4.125 GB, free: 27.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/6.169, allocations: 16.09 kB / 4.125 GB, free: 27.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001981/6.171, allocations: 467.4 kB / 4.125 GB, free: 26.74 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.645e-05/6.171, allocations: 12 kB / 4.125 GB, free: 26.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/6.172, allocations: 31.98 kB / 4.125 GB, free: 26.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/6.172, allocations: 23.92 kB / 4.125 GB, free: 26.68 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/6.172, allocations: 11.84 kB / 4.125 GB, free: 26.66 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004737/6.176, allocations: 4.646 MB / 4.13 GB, free: 21.81 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008956/6.177, allocations: 490.7 kB / 4.13 GB, free: 21.31 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/6.178, allocations: 16 kB / 4.13 GB, free: 21.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/6.179, allocations: 111.6 kB / 4.13 GB, free: 21.18 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/6.179, allocations: 133.6 kB / 4.13 GB, free: 21.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/6.18, allocations: 75.97 kB / 4.13 GB, free: 20.98 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008788/6.181, allocations: 0.6682 MB / 4.131 GB, free: 20.31 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002425/6.183, allocations: 0.7928 MB / 4.132 GB, free: 19.52 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.003086/6.186, allocations: 2.863 MB / 4.135 GB, free: 16.43 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002543/6.189, allocations: 2.099 MB / 4.137 GB, free: 14.34 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/6.189, allocations: 8.188 kB / 4.137 GB, free: 14.33 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/6.19, allocations: 1.132 MB / 4.138 GB, free: 13.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004061/6.194, allocations: 0.9199 MB / 4.139 GB, free: 12.29 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005523/6.199, allocations: 4.049 MB / 4.143 GB, free: 8.109 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/6.201, allocations: 1.901 MB / 4.145 GB, free: 6.172 MB / 0.948 GB Notification: Performance of SimCode: time 8.41e-07/6.201, allocations: 0 / 4.145 GB, free: 6.172 MB / 0.948 GB Notification: Performance of Templates: time 0.3447/6.546, allocations: 51.85 MB / 4.195 GB, free: 229 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)