Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7411/0.7411, allocations: 141.8 MB / 149.1 MB, free: 13.99 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 177 kB / 182 MB, free: 10.54 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 221.4 MB / 436.1 MB, free: 3.09 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009818/0.0009818, allocations: 98.06 kB / 0.507 GB, free: 18.04 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001844/0.001844, allocations: 270.3 kB / 0.5885 GB, free: 4.562 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4562/0.4581, allocations: 89.63 MB / 0.676 GB, free: 137.3 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.636, allocations: 82.78 MB / 0.7568 GB, free: 84.56 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.516/5.152, allocations: 1.897 GB / 2.654 GB, free: 50.08 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/5.152, allocations: 92.23 kB / 2.654 GB, free: 50.04 MB / 0.6982 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 3.823/8.975, allocations: 1.038 GB / 3.691 GB, free: 72.17 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/8.975, allocations: 11.98 kB / 3.691 GB, free: 72.16 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006155/8.981, allocations: 0.7047 MB / 3.692 GB, free: 71.46 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005147/8.986, allocations: 1.624 MB / 3.694 GB, free: 69.82 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/8.986, allocations: 60 kB / 3.694 GB, free: 69.76 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009102/8.987, allocations: 119.9 kB / 3.694 GB, free: 69.64 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005705/8.993, allocations: 2.292 MB / 3.696 GB, free: 67.35 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00548/8.998, allocations: 2.052 MB / 3.698 GB, free: 65.27 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.061e-05/8.999, allocations: 10.72 kB / 3.698 GB, free: 65.27 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003798/8.999, allocations: 0 / 3.698 GB, free: 65.27 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.156e-05/8.999, allocations: 92.27 kB / 3.698 GB, free: 65.18 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01354/9.013, allocations: 7.987 MB / 3.706 GB, free: 56.9 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00355/9.016, allocations: 2.2 MB / 3.708 GB, free: 54.7 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001863/9.018, allocations: 1.268 MB / 3.709 GB, free: 53.43 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00137/9.019, allocations: 1.565 MB / 3.711 GB, free: 51.55 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/9.02, allocations: 64.44 kB / 3.711 GB, free: 51.48 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=222): time 5.129e-06/9.02, allocations: 3.188 kB / 3.711 GB, free: 51.48 MB / 0.7138 GB Notification: Performance of matching and sorting (n=226): time 0.01537/9.035, allocations: 5.971 MB / 3.717 GB, free: 45.4 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/9.035, allocations: 158.4 kB / 3.717 GB, free: 45.21 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/9.037, allocations: 0.8719 MB / 3.718 GB, free: 44.34 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.0002767/9.037, allocations: 33.39 kB / 3.718 GB, free: 44.3 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/9.037, allocations: 0.5411 MB / 3.718 GB, free: 43.75 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007234/9.038, allocations: 0.7349 MB / 3.719 GB, free: 43 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/9.038, allocations: 0 / 3.719 GB, free: 43 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0001443/9.038, allocations: 381.9 kB / 3.719 GB, free: 42.62 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/9.039, allocations: 0.8201 MB / 3.72 GB, free: 41.8 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/9.041, allocations: 1.093 MB / 3.721 GB, free: 40.63 MB / 0.7138 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.01142/9.052, allocations: 3.645 MB / 3.725 GB, free: 37.03 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/9.052, allocations: 0 / 3.725 GB, free: 37.03 MB / 0.7138 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004992/9.057, allocations: 2.387 MB / 3.727 GB, free: 34.64 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/9.057, allocations: 4 kB / 3.727 GB, free: 34.64 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/9.057, allocations: 6.844 kB / 3.727 GB, free: 34.63 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.725e-05/9.057, allocations: 16 kB / 3.727 GB, free: 34.62 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/9.059, allocations: 419.5 kB / 3.727 GB, free: 34.21 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.662e-05/9.059, allocations: 19.92 kB / 3.727 GB, free: 34.19 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00263/9.062, allocations: 115.9 kB / 3.728 GB, free: 34.09 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002846/9.062, allocations: 75.98 kB / 3.728 GB, free: 34.01 MB / 0.7138 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.0004288/9.063, allocations: 140.5 kB / 3.728 GB, free: 33.87 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006265/9.063, allocations: 189.8 kB / 3.728 GB, free: 33.68 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004896/9.068, allocations: 2.515 MB / 3.73 GB, free: 31.17 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/9.068, allocations: 27.89 kB / 3.73 GB, free: 31.15 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/9.068, allocations: 10.55 kB / 3.73 GB, free: 31.14 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003426/9.072, allocations: 2.116 MB / 3.733 GB, free: 29 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009785/9.082, allocations: 5.128 MB / 3.738 GB, free: 23.83 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/9.082, allocations: 4 kB / 3.738 GB, free: 23.83 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002138/9.084, allocations: 478.5 kB / 3.738 GB, free: 23.36 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.428e-05/9.084, allocations: 16 kB / 3.738 GB, free: 23.35 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/9.084, allocations: 27.98 kB / 3.738 GB, free: 23.32 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-05/9.084, allocations: 12 kB / 3.738 GB, free: 23.31 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/9.084, allocations: 11.94 kB / 3.738 GB, free: 23.3 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005842/9.09, allocations: 4.652 MB / 3.743 GB, free: 18.46 MB / 0.7138 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007916/9.098, allocations: 6.592 MB / 3.749 GB, free: 11.68 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/9.099, allocations: 0.4908 MB / 3.75 GB, free: 11.17 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006259/9.1, allocations: 15.98 kB / 3.75 GB, free: 11.16 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002348/9.102, allocations: 107.7 kB / 3.75 GB, free: 11.05 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/9.103, allocations: 133.6 kB / 3.75 GB, free: 10.92 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001854/9.103, allocations: 79.97 kB / 3.75 GB, free: 10.84 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.001125/9.104, allocations: 0.6682 MB / 3.751 GB, free: 10.17 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.004911/9.109, allocations: 1.109 MB / 3.752 GB, free: 9.059 MB / 0.7138 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.005103/9.114, allocations: 2.881 MB / 3.754 GB, free: 6.324 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.003627/9.118, allocations: 2.098 MB / 3.756 GB, free: 4.223 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/9.118, allocations: 4 kB / 3.756 GB, free: 4.219 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.001529/9.119, allocations: 1.126 MB / 3.758 GB, free: 3.094 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00522/9.124, allocations: 0.9317 MB / 3.758 GB, free: 2.188 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007681/9.132, allocations: 4.066 MB / 3.762 GB, free: 14.04 MB / 0.7294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002299/9.134, allocations: 1.92 MB / 3.764 GB, free: 12.07 MB / 0.7294 GB Notification: Performance of SimCode: time 1.192e-06/9.134, allocations: 0 / 3.764 GB, free: 12.07 MB / 0.7294 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)