Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam") translateModel(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.345/1.345, allocations: 289.8 MB / 297.1 MB, free: 6.621 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 177.3 kB / 366.3 MB, free: 1.949 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.056/1.056, allocations: 205.1 MB / 0.6256 GB, free: 5.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000756/0.000756, allocations: 89.36 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.803e-06/6.823e-06, allocations: 4 kB / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4607/0.4607, allocations: 116.3 MB / 0.9725 GB, free: 68.33 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.575/4.036, allocations: 2.089 GB / 3.062 GB, free: 355 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/4.036, allocations: 92.05 kB / 3.062 GB, free: 355 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4975:5-4976:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4977:5-4978:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4981:5-4982:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4983:5-4984:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd: time 4.54/8.576, allocations: 1.647 GB / 4.709 GB, free: 113.2 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001877/8.576, allocations: 74.84 kB / 4.709 GB, free: 113.2 MB / 0.9948 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.01023/8.586, allocations: 3.271 MB / 4.712 GB, free: 111.9 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/8.586, allocations: 8.344 kB / 4.712 GB, free: 111.9 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005659/8.592, allocations: 0.862 MB / 4.713 GB, free: 111.7 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003426/8.596, allocations: 1.712 MB / 4.715 GB, free: 111.2 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.186e-05/8.596, allocations: 74.69 kB / 4.715 GB, free: 111.2 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004661/8.596, allocations: 154.3 kB / 4.715 GB, free: 111.2 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003525/8.6, allocations: 2.466 MB / 4.717 GB, free: 111.2 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003628/8.603, allocations: 2.721 MB / 4.72 GB, free: 110.9 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.389e-05/8.603, allocations: 5.031 kB / 4.72 GB, free: 110.9 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002081/8.604, allocations: 3.344 kB / 4.72 GB, free: 110.9 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.342e-05/8.604, allocations: 119.5 kB / 4.72 GB, free: 110.9 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01099/8.615, allocations: 12.75 MB / 4.732 GB, free: 103.3 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/8.617, allocations: 1.867 MB / 4.734 GB, free: 103.3 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/8.618, allocations: 1.278 MB / 4.736 GB, free: 103.3 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007785/8.619, allocations: 1.38 MB / 4.737 GB, free: 101.8 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/8.619, allocations: 52.84 kB / 4.737 GB, free: 101.7 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=197): time 3.697e-06/8.619, allocations: 0 / 4.737 GB, free: 101.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=197): time 0.004477/8.624, allocations: 2.295 MB / 4.739 GB, free: 101.6 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/8.624, allocations: 72.75 kB / 4.739 GB, free: 101.5 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/8.625, allocations: 0.86 MB / 4.74 GB, free: 101.4 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001315/8.625, allocations: 29.58 kB / 4.74 GB, free: 101.3 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/8.625, allocations: 0.7313 MB / 4.741 GB, free: 100.9 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005128/8.626, allocations: 0.6544 MB / 4.741 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.867e-05/8.626, allocations: 0 / 4.741 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001093/8.626, allocations: 373.6 kB / 4.742 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/8.627, allocations: 0.8241 MB / 4.743 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/8.628, allocations: 1.069 MB / 4.744 GB, free: 99.94 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/8.63, allocations: 1.049 MB / 4.745 GB, free: 99.92 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/8.63, allocations: 0 / 4.745 GB, free: 99.92 MB / 0.9948 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003884/8.634, allocations: 2.274 MB / 4.747 GB, free: 99.75 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/8.634, allocations: 7.781 kB / 4.747 GB, free: 99.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/8.634, allocations: 2.062 kB / 4.747 GB, free: 99.75 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/8.634, allocations: 11.47 kB / 4.747 GB, free: 99.75 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/8.636, allocations: 398.4 kB / 4.747 GB, free: 99.72 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/8.636, allocations: 14.03 kB / 4.747 GB, free: 99.72 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/8.638, allocations: 237.9 kB / 4.748 GB, free: 99.66 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/8.638, allocations: 73.5 kB / 4.748 GB, free: 99.65 MB / 0.9948 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.0002511/8.638, allocations: 129.6 kB / 4.748 GB, free: 99.53 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/8.638, allocations: 174.8 kB / 4.748 GB, free: 99.44 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003597/8.642, allocations: 2.354 MB / 4.75 GB, free: 99.32 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/8.642, allocations: 18.34 kB / 4.75 GB, free: 99.32 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/8.642, allocations: 0 / 4.75 GB, free: 99.32 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002542/8.645, allocations: 1.944 MB / 4.752 GB, free: 99.21 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007207/8.652, allocations: 5.052 MB / 4.757 GB, free: 97.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/8.652, allocations: 6.688 kB / 4.757 GB, free: 97.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002076/8.654, allocations: 451.3 kB / 4.758 GB, free: 97.49 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.379e-05/8.654, allocations: 10.91 kB / 4.758 GB, free: 97.49 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/8.654, allocations: 36.2 kB / 4.758 GB, free: 97.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/8.654, allocations: 12.62 kB / 4.758 GB, free: 97.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/8.654, allocations: 5.438 kB / 4.758 GB, free: 97.48 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004396/8.659, allocations: 3.891 MB / 4.761 GB, free: 95.71 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009692/8.66, allocations: 0.5027 MB / 4.762 GB, free: 95.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003011/8.66, allocations: 7.781 kB / 4.762 GB, free: 95.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/8.662, allocations: 182.8 kB / 4.762 GB, free: 95.38 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/8.662, allocations: 104.9 kB / 4.762 GB, free: 95.36 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/8.662, allocations: 74.33 kB / 4.762 GB, free: 95.35 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.0007486/8.663, allocations: 0.668 MB / 4.763 GB, free: 95.04 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00241/8.665, allocations: 1.081 MB / 4.764 GB, free: 94.71 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],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.004692/8.67, allocations: 4.621 MB / 4.768 GB, free: 92.66 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002604/8.672, allocations: 2.051 MB / 4.77 GB, free: 91.93 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/8.672, allocations: 0 / 4.77 GB, free: 91.93 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/8.674, allocations: 1.113 MB / 4.772 GB, free: 91.51 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003808/8.677, allocations: 0.9363 MB / 4.772 GB, free: 90.86 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006462/8.684, allocations: 4.513 MB / 4.777 GB, free: 87.38 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001815/8.686, allocations: 2.101 MB / 4.779 GB, free: 85.71 MB / 0.9948 GB Notification: Performance of SimCode: time 4.11e-07/8.686, allocations: 0 / 4.779 GB, free: 85.71 MB / 0.9948 GB Notification: Performance of Templates: time 0.0737/8.76, allocations: 61.7 MB / 4.839 GB, free: 30.07 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.sim & ./Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)