Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.386/2.386, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.001612/0.001612, allocations: 177.2 kB / 360.3 MB, free: 7.539 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.66/1.66, allocations: 205.1 MB / 0.6187 GB, free: 13.18 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.001209/0.001208, allocations: 96.83 kB / 0.7317 GB, free: 45.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2534/0.2546, allocations: 121.4 MB / 0.8502 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5611/0.8158, allocations: 115.2 MB / 0.9627 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.279/5.095, allocations: 2.09 GB / 3.053 GB, free: 18.57 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/5.095, allocations: 80.2 kB / 3.053 GB, free: 18.54 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 4.592/9.687, allocations: 1.024 GB / 4.077 GB, free: 79.31 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/9.687, allocations: 8 kB / 4.077 GB, free: 79.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007242/9.694, allocations: 0.7103 MB / 4.078 GB, free: 78.59 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005648/9.7, allocations: 1.616 MB / 4.079 GB, free: 76.95 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-05/9.7, allocations: 60 kB / 4.08 GB, free: 76.89 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005697/9.701, allocations: 119.9 kB / 4.08 GB, free: 76.78 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007148/9.708, allocations: 2.288 MB / 4.082 GB, free: 74.49 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006484/9.715, allocations: 2.064 MB / 4.084 GB, free: 72.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-05/9.715, allocations: 7.922 kB / 4.084 GB, free: 72.39 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003013/9.715, allocations: 4 kB / 4.084 GB, free: 72.39 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/9.715, allocations: 80.28 kB / 4.084 GB, free: 72.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01843/9.734, allocations: 7.989 MB / 4.092 GB, free: 63.94 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005108/9.739, allocations: 2.188 MB / 4.094 GB, free: 61.74 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003203/9.742, allocations: 1.276 MB / 4.095 GB, free: 60.45 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001733/9.744, allocations: 1.565 MB / 4.097 GB, free: 58.56 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/9.744, allocations: 60.53 kB / 4.097 GB, free: 58.49 MB / 0.948 GB Notification: Performance of pre-optimization done (n=222): time 4.378e-06/9.744, allocations: 4 kB / 4.097 GB, free: 58.49 MB / 0.948 GB Notification: Performance of matching and sorting (n=226): time 0.02147/9.765, allocations: 5.971 MB / 4.103 GB, free: 52.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/9.765, allocations: 162.4 kB / 4.103 GB, free: 52.21 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/9.767, allocations: 0.8719 MB / 4.104 GB, free: 51.34 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005158/9.768, allocations: 29.77 kB / 4.104 GB, free: 51.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003145/9.768, allocations: 0.5411 MB / 4.104 GB, free: 50.75 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009679/9.769, allocations: 0.731 MB / 4.105 GB, free: 50.01 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/9.769, allocations: 4 kB / 4.105 GB, free: 50 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001725/9.77, allocations: 385.9 kB / 4.105 GB, free: 49.62 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002087/9.772, allocations: 0.8201 MB / 4.106 GB, free: 48.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002301/9.774, allocations: 1.091 MB / 4.107 GB, free: 47.62 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.02047/9.794, allocations: 3.643 MB / 4.111 GB, free: 43.95 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.434e-05/9.794, allocations: 4 kB / 4.111 GB, free: 43.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.00773/9.802, allocations: 2.385 MB / 4.113 GB, free: 41.55 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/9.802, allocations: 11.84 kB / 4.113 GB, free: 41.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/9.802, allocations: 4 kB / 4.113 GB, free: 41.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.418e-05/9.802, allocations: 16 kB / 4.113 GB, free: 41.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003621/9.806, allocations: 423.4 kB / 4.113 GB, free: 41.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-05/9.806, allocations: 15.94 kB / 4.113 GB, free: 41.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004078/9.81, allocations: 115.5 kB / 4.114 GB, free: 40.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004199/9.811, allocations: 75.98 kB / 4.114 GB, free: 40.91 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.000539/9.811, allocations: 144.5 kB / 4.114 GB, free: 40.76 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006439/9.812, allocations: 181.8 kB / 4.114 GB, free: 40.58 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008068/9.82, allocations: 2.525 MB / 4.116 GB, free: 38.04 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.77e-05/9.82, allocations: 24 kB / 4.116 GB, free: 38.02 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/9.82, allocations: 3.906 kB / 4.116 GB, free: 38.01 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006194/9.826, allocations: 2.124 MB / 4.119 GB, free: 35.87 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/9.842, allocations: 5.11 MB / 4.124 GB, free: 30.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/9.842, allocations: 16.11 kB / 4.124 GB, free: 30.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004422/9.846, allocations: 471.3 kB / 4.124 GB, free: 30.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.185e-05/9.846, allocations: 16 kB / 4.124 GB, free: 30.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002348/9.846, allocations: 27.98 kB / 4.124 GB, free: 30.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.88e-05/9.846, allocations: 19.98 kB / 4.124 GB, free: 30.16 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/9.846, allocations: 15.84 kB / 4.124 GB, free: 30.14 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009964/9.856, allocations: 4.643 MB / 4.129 GB, free: 25.29 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01428/9.871, allocations: 6.6 MB / 4.135 GB, free: 18.48 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002039/9.873, allocations: 494.7 kB / 4.135 GB, free: 17.98 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006618/9.874, allocations: 12 kB / 4.136 GB, free: 17.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003733/9.877, allocations: 115.6 kB / 4.136 GB, free: 17.85 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000528/9.878, allocations: 137.6 kB / 4.136 GB, free: 17.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002475/9.878, allocations: 75.97 kB / 4.136 GB, free: 17.64 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001394/9.879, allocations: 0.6682 MB / 4.136 GB, free: 16.97 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005306/9.885, allocations: 1.114 MB / 4.138 GB, free: 15.86 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.004519/9.889, allocations: 2.859 MB / 4.14 GB, free: 12.85 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0053/9.895, allocations: 2.091 MB / 4.142 GB, free: 10.76 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/9.895, allocations: 4.125 kB / 4.142 GB, free: 10.75 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002691/9.898, allocations: 1.139 MB / 4.144 GB, free: 9.617 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008885/9.906, allocations: 0.921 MB / 4.144 GB, free: 8.707 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/9.918, allocations: 4.069 MB / 4.148 GB, free: 4.504 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003182/9.921, allocations: 1.933 MB / 4.15 GB, free: 2.539 MB / 0.948 GB Notification: Performance of SimCode: time 1.452e-06/9.921, allocations: 0 / 4.15 GB, free: 2.539 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)