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: translateModel(IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam") translateModel(IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam") [: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.0009946/0.0009946, allocations: 185.6 kB / 7.804 MB, free: 2.234 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4352/0.4352, allocations: 90.86 MB / 99.08 MB, free: 14.98 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 221.4 MB / 342.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009831/0.0009831, allocations: 100 kB / 415.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.889e-06/9.999e-06, allocations: 0 / 493.9 MB, free: 8.105 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.4385, allocations: 72.3 MB / 0.5529 GB, free: 73.26 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.955/4.394, allocations: 1.888 GB / 2.441 GB, free: 188.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/4.394, allocations: 91.94 kB / 2.441 GB, free: 188.8 MB / 0.6042 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: Performance of FrontEnd: time 5.823/10.22, allocations: 1.675 GB / 4.116 GB, free: 52.82 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002062/10.22, allocations: 66.12 kB / 4.116 GB, free: 52.82 MB / 0.6667 GB 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 0.01363/10.23, allocations: 3.284 MB / 4.119 GB, free: 51.68 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/10.23, allocations: 9.125 kB / 4.119 GB, free: 51.68 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007419/10.24, allocations: 0.8604 MB / 4.12 GB, free: 51.53 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005129/10.24, allocations: 1.743 MB / 4.122 GB, free: 51.11 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/10.24, allocations: 78.44 kB / 4.122 GB, free: 51.11 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006125/10.24, allocations: 155.1 kB / 4.122 GB, free: 51.11 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004483/10.25, allocations: 2.462 MB / 4.124 GB, free: 51.09 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004265/10.25, allocations: 2.726 MB / 4.127 GB, free: 50.78 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.834e-05/10.25, allocations: 7.75 kB / 4.127 GB, free: 50.78 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002143/10.25, allocations: 3.656 kB / 4.127 GB, free: 50.78 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.497e-05/10.25, allocations: 120.7 kB / 4.127 GB, free: 50.77 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0164/10.27, allocations: 13.53 MB / 4.14 GB, free: 42.73 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00276/10.27, allocations: 1.856 MB / 4.142 GB, free: 42.69 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/10.27, allocations: 1.264 MB / 4.144 GB, free: 42.68 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/10.28, allocations: 1.383 MB / 4.145 GB, free: 41.18 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/10.28, allocations: 67.61 kB / 4.145 GB, free: 41.13 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=197): time 4.689e-06/10.28, allocations: 1.594 kB / 4.145 GB, free: 41.13 MB / 0.6667 GB Notification: Performance of matching and sorting (n=197): time 0.005826/10.28, allocations: 2.296 MB / 4.147 GB, free: 40.97 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/10.28, allocations: 70.38 kB / 4.147 GB, free: 40.91 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/10.28, allocations: 0.8742 MB / 4.148 GB, free: 40.77 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001888/10.28, allocations: 25.7 kB / 4.148 GB, free: 40.74 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000429/10.28, allocations: 0.7366 MB / 4.149 GB, free: 40.32 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007318/10.28, allocations: 0.6417 MB / 4.149 GB, free: 39.88 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.916e-05/10.28, allocations: 0 / 4.149 GB, free: 39.88 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001387/10.28, allocations: 377.4 kB / 4.15 GB, free: 39.57 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/10.29, allocations: 0.8295 MB / 4.151 GB, free: 39.57 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/10.29, allocations: 1.051 MB / 4.152 GB, free: 39.39 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/10.29, allocations: 1.042 MB / 4.153 GB, free: 39.37 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/10.29, allocations: 4.938 kB / 4.153 GB, free: 39.37 MB / 0.6667 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004045/10.29, allocations: 2.286 MB / 4.155 GB, free: 39.21 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/10.29, allocations: 5.219 kB / 4.155 GB, free: 39.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/10.29, allocations: 3.031 kB / 4.155 GB, free: 39.21 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.192e-05/10.29, allocations: 11.47 kB / 4.155 GB, free: 39.21 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/10.3, allocations: 397.1 kB / 4.155 GB, free: 39.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/10.3, allocations: 11.84 kB / 4.155 GB, free: 39.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003099/10.3, allocations: 279.2 kB / 4.156 GB, free: 39.14 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/10.3, allocations: 71.31 kB / 4.156 GB, free: 39.14 MB / 0.6667 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.0004322/10.3, allocations: 131.5 kB / 4.156 GB, free: 39.03 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005652/10.3, allocations: 180.4 kB / 4.156 GB, free: 38.94 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004523/10.3, allocations: 2.36 MB / 4.158 GB, free: 38.83 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/10.3, allocations: 19.84 kB / 4.158 GB, free: 38.83 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/10.3, allocations: 2.094 kB / 4.158 GB, free: 38.83 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002913/10.31, allocations: 1.95 MB / 4.16 GB, free: 38.72 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008833/10.32, allocations: 5.045 MB / 4.165 GB, free: 38.11 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/10.32, allocations: 0 / 4.165 GB, free: 38.11 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002272/10.32, allocations: 456.5 kB / 4.166 GB, free: 38.11 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-05/10.32, allocations: 8.5 kB / 4.166 GB, free: 38.11 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/10.32, allocations: 36.88 kB / 4.166 GB, free: 38.11 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/10.32, allocations: 12.69 kB / 4.166 GB, free: 38.11 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/10.32, allocations: 2.969 kB / 4.166 GB, free: 38.11 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004917/10.32, allocations: 3.585 MB / 4.169 GB, free: 37.55 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/10.32, allocations: 0.4937 MB / 4.17 GB, free: 37.35 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003267/10.33, allocations: 12.38 kB / 4.17 GB, free: 37.35 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001943/10.33, allocations: 181.9 kB / 4.17 GB, free: 37.33 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/10.33, allocations: 103.7 kB / 4.17 GB, free: 37.33 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/10.33, allocations: 72.7 kB / 4.17 GB, free: 37.33 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0009939/10.33, allocations: 0.6729 MB / 4.171 GB, free: 37.22 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003256/10.33, allocations: 1.09 MB / 4.172 GB, free: 37.08 MB / 0.6667 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.007145/10.34, allocations: 4.61 MB / 4.176 GB, free: 35.19 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003521/10.34, allocations: 2.056 MB / 4.178 GB, free: 35.15 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/10.34, allocations: 7.625 kB / 4.178 GB, free: 35.15 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001441/10.34, allocations: 1.097 MB / 4.179 GB, free: 35.15 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005083/10.35, allocations: 0.9374 MB / 4.18 GB, free: 35.12 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009399/10.36, allocations: 4.562 MB / 4.185 GB, free: 34.18 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002341/10.36, allocations: 2.107 MB / 4.187 GB, free: 33.42 MB / 0.6667 GB Notification: Performance of SimCode: time 1.553e-06/10.36, allocations: 0 / 4.187 GB, free: 33.42 MB / 0.6667 GB Notification: Performance of Templates: time 0.1057/10.47, allocations: 61.77 MB / 4.247 GB, free: 26.68 MB / 0.6667 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam.makefile (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 & ./IBPSA_latest_IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)