Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",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 9.1.1-maint.9.1.x/package.mo): time 1.819/1.819, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.0009717/0.0009717, allocations: 177.3 kB / 487 MB, free: 5.355 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.168/1.168, allocations: 221.3 MB / 0.7819 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008949/0.000895, allocations: 100.3 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4504/0.4513, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.6539, allocations: 142.4 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.464/4.118, allocations: 1.935 GB / 3.14 GB, free: 371.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/4.118, allocations: 83.95 kB / 3.14 GB, free: 371.7 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: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 4.17/8.287, allocations: 1.678 GB / 4.819 GB, free: 120 kB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/8.288, allocations: 13 kB / 4.819 GB, free: 108 kB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4006/8.688, allocations: 0.8585 MB / 4.819 GB, free: 257.2 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003521/8.692, allocations: 1.734 MB / 4.821 GB, free: 256.9 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.755e-05/8.692, allocations: 83.81 kB / 4.821 GB, free: 256.9 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003137/8.692, allocations: 148.8 kB / 4.821 GB, free: 256.8 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003725/8.696, allocations: 2.47 MB / 4.824 GB, free: 256.8 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003583/8.699, allocations: 2.72 MB / 4.826 GB, free: 256.5 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.183e-05/8.699, allocations: 1.688 kB / 4.826 GB, free: 256.5 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002015/8.7, allocations: 6.406 kB / 4.826 GB, free: 256.5 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.951e-05/8.7, allocations: 120.8 kB / 4.826 GB, free: 256.5 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01267/8.712, allocations: 13.54 MB / 4.84 GB, free: 248.6 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002201/8.715, allocations: 1.848 MB / 4.842 GB, free: 248.6 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/8.716, allocations: 1.277 MB / 4.843 GB, free: 248.6 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008115/8.717, allocations: 1.381 MB / 4.844 GB, free: 247 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/8.717, allocations: 54.42 kB / 4.844 GB, free: 247 MB / 1.198 GB Notification: Performance of pre-optimization done (n=197): time 3.607e-06/8.717, allocations: 0 / 4.844 GB, free: 247 MB / 1.198 GB Notification: Performance of matching and sorting (n=197): time 0.004723/8.722, allocations: 2.302 MB / 4.846 GB, free: 246.8 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/8.722, allocations: 74.34 kB / 4.846 GB, free: 246.8 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/8.723, allocations: 0.8746 MB / 4.847 GB, free: 246.6 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001312/8.723, allocations: 25.7 kB / 4.847 GB, free: 246.6 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/8.723, allocations: 0.7293 MB / 4.848 GB, free: 246.3 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004483/8.724, allocations: 0.6493 MB / 4.849 GB, free: 246 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.451e-05/8.724, allocations: 0 / 4.849 GB, free: 246 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 8.281e-05/8.724, allocations: 379.1 kB / 4.849 GB, free: 245.7 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009798/8.725, allocations: 0.824 MB / 4.85 GB, free: 245.7 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/8.726, allocations: 1.057 MB / 4.851 GB, free: 245.5 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/8.728, allocations: 1.036 MB / 4.852 GB, free: 245.5 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/8.728, allocations: 3.469 kB / 4.852 GB, free: 245.5 MB / 1.198 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003272/8.731, allocations: 2.286 MB / 4.854 GB, free: 245.3 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/8.731, allocations: 6 kB / 4.854 GB, free: 245.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/8.731, allocations: 3.781 kB / 4.854 GB, free: 245.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/8.731, allocations: 9.125 kB / 4.854 GB, free: 245.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/8.733, allocations: 389.1 kB / 4.855 GB, free: 245.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/8.733, allocations: 22.81 kB / 4.855 GB, free: 245.3 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/8.735, allocations: 277 kB / 4.855 GB, free: 245.3 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/8.735, allocations: 68.58 kB / 4.855 GB, free: 245.3 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 219 * 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.0002629/8.735, allocations: 135.6 kB / 4.855 GB, free: 245.1 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000261/8.736, allocations: 181.1 kB / 4.855 GB, free: 245.1 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003605/8.739, allocations: 2.36 MB / 4.857 GB, free: 245 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/8.739, allocations: 19.94 kB / 4.858 GB, free: 245 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/8.739, allocations: 0 / 4.858 GB, free: 245 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002482/8.742, allocations: 1.948 MB / 4.859 GB, free: 244.9 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006996/8.749, allocations: 5.048 MB / 4.864 GB, free: 244.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/8.749, allocations: 6.531 kB / 4.864 GB, free: 244.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/8.751, allocations: 449.1 kB / 4.865 GB, free: 244.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.64e-05/8.751, allocations: 11.81 kB / 4.865 GB, free: 244.3 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/8.751, allocations: 36.08 kB / 4.865 GB, free: 244.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/8.751, allocations: 11.94 kB / 4.865 GB, free: 244.3 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/8.751, allocations: 3.969 kB / 4.865 GB, free: 244.3 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004047/8.755, allocations: 3.579 MB / 4.868 GB, free: 243.7 MB / 1.198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006188/8.761, allocations: 5.583 MB / 4.874 GB, free: 242.8 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/8.763, allocations: 0.5004 MB / 4.874 GB, free: 242.6 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003045/8.763, allocations: 15.42 kB / 4.874 GB, free: 242.6 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/8.765, allocations: 177.4 kB / 4.874 GB, free: 242.6 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/8.765, allocations: 103.7 kB / 4.875 GB, free: 242.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/8.765, allocations: 71.06 kB / 4.875 GB, free: 242.6 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.000841/8.766, allocations: 0.6811 MB / 4.875 GB, free: 242.5 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.003732/8.769, allocations: 1.632 MB / 4.877 GB, free: 242.4 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (201): * Single equations (assignments): 201 * 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.004443/8.774, allocations: 4.615 MB / 4.881 GB, free: 240.6 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.002566/8.777, allocations: 2.051 MB / 4.883 GB, free: 240.5 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/8.777, allocations: 0 / 4.883 GB, free: 240.5 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/8.778, allocations: 1.106 MB / 4.884 GB, free: 240.5 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003941/8.782, allocations: 0.939 MB / 4.885 GB, free: 240.5 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007084/8.789, allocations: 4.573 MB / 4.89 GB, free: 239.6 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001934/8.791, allocations: 2.162 MB / 4.892 GB, free: 238.8 MB / 1.198 GB Notification: Performance of SimCode: time 4.71e-07/8.791, allocations: 0 / 4.892 GB, free: 238.8 MB / 1.198 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)