Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.853/1.853, allocations: 390.4 MB / 397.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 182.1 kB / 490.8 MB, free: 1.941 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.159/1.159, allocations: 221.3 MB / 0.7863 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009157/0.0009152, allocations: 84.7 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4469/0.4479, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.6446, allocations: 143 MB / 1.212 GB, free: 40 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.024/3.668, allocations: 1.937 GB / 3.149 GB, free: 399.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001626/3.668, allocations: 87.95 kB / 3.149 GB, free: 399.1 MB / 1.151 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: 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.544/6.212, allocations: 1.044 GB / 4.193 GB, free: 182.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/6.212, allocations: 9.469 kB / 4.193 GB, free: 182.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004115/6.216, allocations: 0.716 MB / 4.194 GB, free: 182 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002829/6.219, allocations: 1.655 MB / 4.196 GB, free: 180.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.147e-05/6.219, allocations: 61.59 kB / 4.196 GB, free: 180.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000267/6.22, allocations: 116.2 kB / 4.196 GB, free: 180.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003418/6.223, allocations: 2.304 MB / 4.198 GB, free: 179.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00324/6.226, allocations: 2.071 MB / 4.2 GB, free: 178.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.283e-05/6.226, allocations: 1.062 kB / 4.2 GB, free: 178.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/6.226, allocations: 3.688 kB / 4.2 GB, free: 178.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.139e-05/6.227, allocations: 90.67 kB / 4.2 GB, free: 178.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009867/6.236, allocations: 8.389 MB / 4.209 GB, free: 172.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002654/6.239, allocations: 2.184 MB / 4.211 GB, free: 170.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/6.24, allocations: 1.283 MB / 4.212 GB, free: 169.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009887/6.241, allocations: 1.569 MB / 4.213 GB, free: 167.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/6.241, allocations: 60.53 kB / 4.214 GB, free: 167.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 3.336e-06/6.242, allocations: 0 / 4.214 GB, free: 167.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=226): time 0.01062/6.252, allocations: 5.989 MB / 4.219 GB, free: 161.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/6.252, allocations: 157.4 kB / 4.22 GB, free: 161.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009574/6.253, allocations: 0.8888 MB / 4.22 GB, free: 160.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/6.253, allocations: 29.7 kB / 4.22 GB, free: 160.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/6.253, allocations: 0.5412 MB / 4.221 GB, free: 159.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004442/6.254, allocations: 0.7427 MB / 4.222 GB, free: 158.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.16e-05/6.254, allocations: 0 / 4.222 GB, free: 158.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001076/6.254, allocations: 388.7 kB / 4.222 GB, free: 158.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/6.255, allocations: 0.8162 MB / 4.223 GB, free: 157.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/6.256, allocations: 1.074 MB / 4.224 GB, free: 156.6 MB / 1.151 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.01014/6.267, allocations: 3.68 MB / 4.227 GB, free: 152.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/6.267, allocations: 0 / 4.227 GB, free: 152.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003544/6.27, allocations: 2.385 MB / 4.23 GB, free: 150.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/6.27, allocations: 12.62 kB / 4.23 GB, free: 150.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/6.27, allocations: 4 kB / 4.23 GB, free: 150.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/6.27, allocations: 18.72 kB / 4.23 GB, free: 150.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/6.272, allocations: 423.4 kB / 4.23 GB, free: 150.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/6.272, allocations: 12 kB / 4.23 GB, free: 150.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/6.274, allocations: 145.8 kB / 4.23 GB, free: 150 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/6.274, allocations: 79.64 kB / 4.23 GB, free: 149.9 MB / 1.151 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.0002931/6.274, allocations: 148.5 kB / 4.231 GB, free: 149.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/6.275, allocations: 185.8 kB / 4.231 GB, free: 149.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00402/6.279, allocations: 2.526 MB / 4.233 GB, free: 147 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/6.279, allocations: 27.06 kB / 4.233 GB, free: 147 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/6.279, allocations: 2.594 kB / 4.233 GB, free: 147 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002957/6.282, allocations: 2.116 MB / 4.235 GB, free: 144.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007388/6.289, allocations: 5.141 MB / 4.24 GB, free: 139.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/6.289, allocations: 4 kB / 4.24 GB, free: 139.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001958/6.291, allocations: 465.4 kB / 4.241 GB, free: 139.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.749e-05/6.291, allocations: 12 kB / 4.241 GB, free: 139.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/6.291, allocations: 27.98 kB / 4.241 GB, free: 139.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.174e-05/6.291, allocations: 19.94 kB / 4.241 GB, free: 139.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/6.291, allocations: 7.938 kB / 4.241 GB, free: 139.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004648/6.296, allocations: 4.439 MB / 4.245 GB, free: 134.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006424/6.302, allocations: 6.382 MB / 4.251 GB, free: 128 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009784/6.303, allocations: 494.7 kB / 4.252 GB, free: 127.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/6.304, allocations: 23.83 kB / 4.252 GB, free: 127.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/6.305, allocations: 105.7 kB / 4.252 GB, free: 127.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/6.305, allocations: 137.1 kB / 4.252 GB, free: 127.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/6.306, allocations: 79.97 kB / 4.252 GB, free: 127.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007416/6.306, allocations: 0.6799 MB / 4.253 GB, free: 126.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002976/6.309, allocations: 1.121 MB / 4.254 GB, free: 125.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (bouADis.dynBal.medium.Xi[1],bouADis.dynBal.U,bouBDis.dynBal.medium.Xi[1],bouBDis.dynBal.U,bouBDis.dynBal.m,bouA.dynBal.medium.Xi[1],bouA.dynBal.U,bouB.dynBal.medium.Xi[1],bouB.dynBal.U,bouB.dynBal.m,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.002551/6.312, allocations: 2.848 MB / 4.257 GB, free: 122.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002367/6.314, allocations: 2.097 MB / 4.259 GB, free: 120.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/6.314, allocations: 4 kB / 4.259 GB, free: 120.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/6.315, allocations: 1.127 MB / 4.26 GB, free: 119.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003929/6.319, allocations: 0.9251 MB / 4.261 GB, free: 118.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005715/6.325, allocations: 4.103 MB / 4.265 GB, free: 115 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001639/6.327, allocations: 1.938 MB / 4.267 GB, free: 113.1 MB / 1.151 GB Notification: Performance of SimCode: time 5.71e-07/6.327, allocations: 3.938 kB / 4.267 GB, free: 113.1 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)