Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001473, allocations: 187.3 kB / 7.806 MB, free: 132 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4698/0.4698, allocations: 90.85 MB / 99.08 MB, free: 3.297 MB / 78.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 221.4 MB / 342.8 MB, free: 10.17 MB / 286.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 96.16 kB / 415.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1904/0.1916, allocations: 78.44 MB / 493.9 MB, free: 12.26 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.5989, allocations: 72.3 MB / 0.553 GB, free: 74.11 MB / 446.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.846/4.445, allocations: 1.888 GB / 2.441 GB, free: 221.6 MB / 0.6075 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/4.446, allocations: 86.83 kB / 2.441 GB, free: 221.5 MB / 0.6075 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 5.334/9.78, allocations: 1.678 GB / 4.119 GB, free: 56.66 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/9.78, allocations: 11.44 kB / 4.119 GB, free: 56.66 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006682/9.787, allocations: 0.8661 MB / 4.12 GB, free: 56.5 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004406/9.791, allocations: 1.735 MB / 4.122 GB, free: 56.18 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.236e-05/9.791, allocations: 77.19 kB / 4.122 GB, free: 56.18 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003643/9.792, allocations: 150.1 kB / 4.122 GB, free: 56.18 MB / 0.67 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003958/9.796, allocations: 2.463 MB / 4.125 GB, free: 56.16 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004019/9.8, allocations: 2.735 MB / 4.127 GB, free: 55.85 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-05/9.8, allocations: 5.469 kB / 4.127 GB, free: 55.85 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/9.8, allocations: 2.594 kB / 4.127 GB, free: 55.85 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.101e-05/9.8, allocations: 118.6 kB / 4.127 GB, free: 55.84 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.014/9.814, allocations: 13.55 MB / 4.141 GB, free: 47.86 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/9.817, allocations: 1.845 MB / 4.142 GB, free: 47.83 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/9.818, allocations: 1.277 MB / 4.144 GB, free: 47.81 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008858/9.819, allocations: 1.38 MB / 4.145 GB, free: 46.31 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/9.819, allocations: 56.69 kB / 4.145 GB, free: 46.27 MB / 0.67 GB Notification: Performance of pre-optimization done (n=197): time 3.757e-06/9.819, allocations: 0 / 4.145 GB, free: 46.27 MB / 0.67 GB Notification: Performance of matching and sorting (n=197): time 0.005063/9.824, allocations: 2.299 MB / 4.147 GB, free: 46.11 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/9.824, allocations: 71.91 kB / 4.147 GB, free: 46.04 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/9.825, allocations: 0.8753 MB / 4.148 GB, free: 45.91 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001637/9.826, allocations: 27.45 kB / 4.148 GB, free: 45.88 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/9.826, allocations: 0.73 MB / 4.149 GB, free: 45.45 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005509/9.827, allocations: 0.6473 MB / 4.15 GB, free: 45.01 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.905e-05/9.827, allocations: 2.781 kB / 4.15 GB, free: 45.01 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.844e-05/9.827, allocations: 374.2 kB / 4.15 GB, free: 44.71 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/9.828, allocations: 0.8311 MB / 4.151 GB, free: 44.7 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/9.829, allocations: 1.048 MB / 4.152 GB, free: 44.52 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/9.831, allocations: 1.048 MB / 4.153 GB, free: 44.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/9.831, allocations: 0 / 4.153 GB, free: 44.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003585/9.835, allocations: 2.287 MB / 4.155 GB, free: 44.34 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/9.835, allocations: 3.094 kB / 4.155 GB, free: 44.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/9.835, allocations: 3.094 kB / 4.155 GB, free: 44.34 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/9.835, allocations: 16.47 kB / 4.155 GB, free: 44.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/9.836, allocations: 394 kB / 4.155 GB, free: 44.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/9.836, allocations: 16.66 kB / 4.155 GB, free: 44.34 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002396/9.839, allocations: 278.9 kB / 4.156 GB, free: 44.27 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/9.839, allocations: 68.7 kB / 4.156 GB, free: 44.27 MB / 0.67 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.0002845/9.839, allocations: 129.2 kB / 4.156 GB, free: 44.16 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/9.84, allocations: 182.6 kB / 4.156 GB, free: 44.07 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003849/9.843, allocations: 2.363 MB / 4.158 GB, free: 43.96 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/9.843, allocations: 19 kB / 4.158 GB, free: 43.96 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/9.843, allocations: 0 / 4.158 GB, free: 43.96 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002666/9.846, allocations: 1.954 MB / 4.16 GB, free: 43.86 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00783/9.854, allocations: 5.055 MB / 4.165 GB, free: 43.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/9.854, allocations: 1.094 kB / 4.165 GB, free: 43.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/9.856, allocations: 449 kB / 4.166 GB, free: 43.23 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.546e-05/9.856, allocations: 10.12 kB / 4.166 GB, free: 43.23 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001491/9.856, allocations: 36.33 kB / 4.166 GB, free: 43.23 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.989e-06/9.856, allocations: 12.38 kB / 4.166 GB, free: 43.23 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/9.856, allocations: 3.469 kB / 4.166 GB, free: 43.23 MB / 0.67 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00439/9.861, allocations: 3.571 MB / 4.169 GB, free: 42.69 MB / 0.67 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006734/9.868, allocations: 5.578 MB / 4.175 GB, free: 41.76 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/9.869, allocations: 0.5036 MB / 4.175 GB, free: 41.55 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003317/9.869, allocations: 10.97 kB / 4.175 GB, free: 41.55 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/9.871, allocations: 181.2 kB / 4.175 GB, free: 41.53 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/9.871, allocations: 106.1 kB / 4.175 GB, free: 41.53 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/9.871, allocations: 76.61 kB / 4.175 GB, free: 41.53 MB / 0.67 GB Notification: Performance of sort global known variables: time 0.0008407/9.872, allocations: 0.6707 MB / 4.176 GB, free: 41.42 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003918/9.876, allocations: 1.631 MB / 4.178 GB, free: 41.29 MB / 0.67 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.00529/9.881, allocations: 4.613 MB / 4.182 GB, free: 39.39 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002808/9.884, allocations: 2.049 MB / 4.184 GB, free: 39.36 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/9.884, allocations: 0 / 4.184 GB, free: 39.36 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001236/9.886, allocations: 1.105 MB / 4.185 GB, free: 39.36 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0045/9.89, allocations: 0.9426 MB / 4.186 GB, free: 39.32 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007595/9.898, allocations: 4.569 MB / 4.191 GB, free: 38.38 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002079/9.9, allocations: 2.165 MB / 4.193 GB, free: 37.62 MB / 0.67 GB Notification: Performance of SimCode: time 7.42e-07/9.9, allocations: 6.594 kB / 4.193 GB, free: 37.62 MB / 0.67 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Validation_ThreeRoomsContam_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)