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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.47/1.47, allocations: 289.8 MB / 297.1 MB, free: 9.035 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.0009847/0.0009846, allocations: 177.2 kB / 366.3 MB, free: 11.32 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.202/1.202, allocations: 205.1 MB / 0.6256 GB, free: 11.37 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008993/0.0008994, allocations: 82.56 kB / 0.7396 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.4426/0.4436, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.6192, allocations: 116.3 MB / 0.9726 GB, free: 31.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.645/4.264, allocations: 2.091 GB / 3.064 GB, free: 229.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/4.264, allocations: 98.31 kB / 3.064 GB, free: 229.5 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 2.991/7.256, allocations: 1.024 GB / 4.088 GB, free: 143.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/7.256, allocations: 15.12 kB / 4.088 GB, free: 143.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005109/7.261, allocations: 0.7077 MB / 4.089 GB, free: 143.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0038/7.265, allocations: 1.614 MB / 4.09 GB, free: 143.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.57e-05/7.265, allocations: 59.81 kB / 4.091 GB, free: 143.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005963/7.265, allocations: 120.2 kB / 4.091 GB, free: 143.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004167/7.27, allocations: 2.285 MB / 4.093 GB, free: 143.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003786/7.273, allocations: 2.064 MB / 4.095 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-05/7.273, allocations: 0 / 4.095 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002312/7.274, allocations: 6.938 kB / 4.095 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.562e-05/7.274, allocations: 89.56 kB / 4.095 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01114/7.285, allocations: 7.999 MB / 4.103 GB, free: 140.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002841/7.288, allocations: 2.173 MB / 4.105 GB, free: 140 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/7.289, allocations: 1.275 MB / 4.106 GB, free: 139.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/7.291, allocations: 1.564 MB / 4.108 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/7.291, allocations: 68.53 kB / 4.108 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=222): time 4.108e-06/7.291, allocations: 0 / 4.108 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=226): time 0.01257/7.303, allocations: 5.975 MB / 4.114 GB, free: 136.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/7.303, allocations: 154.3 kB / 4.114 GB, free: 136.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/7.305, allocations: 0.8614 MB / 4.115 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001399/7.305, allocations: 31.67 kB / 4.115 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/7.305, allocations: 0.5428 MB / 4.115 GB, free: 136.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000506/7.305, allocations: 0.7368 MB / 4.116 GB, free: 135.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.473e-05/7.306, allocations: 0 / 4.116 GB, free: 135.6 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001036/7.306, allocations: 390.7 kB / 4.116 GB, free: 135.3 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/7.307, allocations: 0.8234 MB / 4.117 GB, free: 135.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/7.308, allocations: 1.084 MB / 4.118 GB, free: 135.1 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.01034/7.318, allocations: 3.656 MB / 4.122 GB, free: 134.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/7.318, allocations: 0 / 4.122 GB, free: 134.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003915/7.322, allocations: 2.383 MB / 4.124 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/7.322, allocations: 5.125 kB / 4.124 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/7.322, allocations: 7.219 kB / 4.124 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.218e-05/7.322, allocations: 13.47 kB / 4.124 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/7.324, allocations: 425.4 kB / 4.124 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.175e-05/7.324, allocations: 21.27 kB / 4.124 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/7.326, allocations: 115.5 kB / 4.125 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/7.327, allocations: 72.67 kB / 4.125 GB, free: 134.7 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.0003417/7.327, allocations: 152.1 kB / 4.125 GB, free: 134.6 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005064/7.327, allocations: 183.4 kB / 4.125 GB, free: 134.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004452/7.332, allocations: 2.523 MB / 4.127 GB, free: 134.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/7.332, allocations: 22.72 kB / 4.127 GB, free: 134.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/7.332, allocations: 5.594 kB / 4.127 GB, free: 134.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003084/7.335, allocations: 2.122 MB / 4.13 GB, free: 134.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00847/7.343, allocations: 5.122 MB / 4.135 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/7.344, allocations: 9.719 kB / 4.135 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002122/7.346, allocations: 464.1 kB / 4.135 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-05/7.346, allocations: 20.97 kB / 4.135 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001467/7.346, allocations: 29.47 kB / 4.135 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.587e-05/7.346, allocations: 15 kB / 4.135 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/7.346, allocations: 15.22 kB / 4.135 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005332/7.351, allocations: 4.637 MB / 4.14 GB, free: 132.4 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007301/7.359, allocations: 6.611 MB / 4.146 GB, free: 130.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/7.36, allocations: 495.7 kB / 4.147 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004591/7.36, allocations: 11.47 kB / 4.147 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002069/7.362, allocations: 113.1 kB / 4.147 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/7.362, allocations: 131.3 kB / 4.147 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/7.363, allocations: 74.39 kB / 4.147 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0009378/7.364, allocations: 0.6727 MB / 4.147 GB, free: 130.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003873/7.367, allocations: 1.113 MB / 4.149 GB, free: 130.5 MB / 0.9636 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.003098/7.371, allocations: 2.863 MB / 4.151 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002717/7.373, allocations: 2.095 MB / 4.153 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/7.373, allocations: 3.781 kB / 4.153 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001202/7.374, allocations: 1.132 MB / 4.155 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004363/7.379, allocations: 0.9189 MB / 4.155 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006576/7.385, allocations: 4.08 MB / 4.159 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001761/7.387, allocations: 1.929 MB / 4.161 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of SimCode: time 9.31e-07/7.387, allocations: 0 / 4.161 GB, free: 127.8 MB / 0.9636 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)