Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller") translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.238/2.238, allocations: 284.9 MB / 292.2 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001605/0.001605, allocations: 185.2 kB / 360.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.2 MB / 0.6188 GB, free: 12.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00126/0.00126, allocations: 93.31 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.596e-06/8.767e-06, allocations: 0 / 0.8503 GB, free: 3.812 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5673/0.5674, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.589, allocations: 478.7 MB / 1.43 GB, free: 88.11 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003953/1.59, allocations: 117.4 kB / 1.43 GB, free: 88.04 MB / 0.8542 GB Notification: Performance of FrontEnd: time 11.08/12.67, allocations: 2.544 GB / 3.974 GB, free: 56.95 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.001289/12.67, allocations: 170 kB / 3.974 GB, free: 56.93 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 946 * Number of variables: 946 Notification: Performance of Generate backend data structure: time 0.0182/12.69, allocations: 5.777 MB / 3.98 GB, free: 54.66 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/12.69, allocations: 9.875 kB / 3.98 GB, free: 54.66 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01099/12.7, allocations: 1.407 MB / 3.981 GB, free: 54.28 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04748/12.75, allocations: 14.45 MB / 3.995 GB, free: 53.02 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000346/12.75, allocations: 233.5 kB / 3.996 GB, free: 52.95 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001023/12.75, allocations: 252.2 kB / 3.996 GB, free: 52.94 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01033/12.76, allocations: 3.263 MB / 3.999 GB, free: 52.93 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/12.77, allocations: 3.77 MB / 4.003 GB, free: 52.46 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/12.77, allocations: 8.938 kB / 4.003 GB, free: 52.46 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005826/12.77, allocations: 6.688 kB / 4.003 GB, free: 52.46 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/12.77, allocations: 102.8 kB / 4.003 GB, free: 52.46 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04508/12.82, allocations: 24.18 MB / 4.026 GB, free: 40.75 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003783/12.82, allocations: 1.559 MB / 4.028 GB, free: 40.73 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003224/12.82, allocations: 1.361 MB / 4.029 GB, free: 40.71 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01725/12.84, allocations: 8.012 MB / 4.037 GB, free: 36.74 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003146/12.84, allocations: 1.39 MB / 4.038 GB, free: 36.6 MB / 1.073 GB Notification: Performance of pre-optimization done (n=219): time 6.822e-06/12.84, allocations: 0 / 4.038 GB, free: 36.6 MB / 1.073 GB Notification: Performance of matching and sorting (n=219): time 0.013/12.86, allocations: 3.332 MB / 4.042 GB, free: 36.21 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/12.86, allocations: 186.6 kB / 4.042 GB, free: 36.03 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009029/12.87, allocations: 3.927 MB / 4.046 GB, free: 35.66 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0008398/12.87, allocations: 31.52 kB / 4.046 GB, free: 35.63 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002157/12.87, allocations: 1.642 MB / 4.047 GB, free: 34.82 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001783/12.87, allocations: 0.7052 MB / 4.048 GB, free: 34.35 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/12.87, allocations: 3.828 kB / 4.048 GB, free: 34.35 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001885/12.87, allocations: 417 kB / 4.048 GB, free: 34.04 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002864/12.87, allocations: 1.109 MB / 4.05 GB, free: 34.04 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00352/12.88, allocations: 2.139 MB / 4.052 GB, free: 32.83 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006915/12.88, allocations: 1.724 MB / 4.053 GB, free: 32.79 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.982e-05/12.88, allocations: 6.156 kB / 4.053 GB, free: 32.79 MB / 1.073 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.01516/12.9, allocations: 4.11 MB / 4.057 GB, free: 32.36 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001868/12.9, allocations: 10.57 MB / 4.068 GB, free: 21.48 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.401e-05/12.9, allocations: 22.56 kB / 4.068 GB, free: 21.48 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/12.9, allocations: 276.6 kB / 4.068 GB, free: 21.45 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005888/12.91, allocations: 0.6897 MB / 4.069 GB, free: 21.45 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006996/12.92, allocations: 4.214 MB / 4.073 GB, free: 33.96 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007719/12.92, allocations: 0.5169 MB / 4.073 GB, free: 33.81 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005947/12.93, allocations: 171 kB / 4.073 GB, free: 33.81 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/12.93, allocations: 3.531 kB / 4.073 GB, free: 33.81 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0128/12.94, allocations: 3.388 MB / 4.077 GB, free: 33.69 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.125e-05/12.94, allocations: 21.47 kB / 4.077 GB, free: 33.69 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0017/12.94, allocations: 267.2 kB / 4.077 GB, free: 33.66 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005349/12.95, allocations: 0.6754 MB / 4.078 GB, free: 33.66 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/12.96, allocations: 5.951 MB / 4.083 GB, free: 28.66 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007545/12.96, allocations: 462.2 kB / 4.084 GB, free: 28.55 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008151/12.96, allocations: 163.6 kB / 4.084 GB, free: 28.55 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition1,$whenCondition2,chi.uHea,chi.uCoo,chi.booToRea.u,THeaWatRet.a,THeaWatRet.b,THeaWatRet.last,$PRE.THeaWatRet.nextEvent,THeaWatRet.nextEvent,THeaWatRet.nextEventScaled,TChiWatRet.a,TChiWatRet.b,TChiWatRet.last,$PRE.TChiWatRet.nextEvent,TChiWatRet.nextEvent,TChiWatRet.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (342): * Single equations (assignments): 334 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001087/12.97, allocations: 263.4 kB / 4.084 GB, free: 28.37 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00162/12.97, allocations: 0.519 MB / 4.085 GB, free: 28.09 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01548/12.98, allocations: 4.071 MB / 4.089 GB, free: 27.86 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-05/12.98, allocations: 34.11 kB / 4.089 GB, free: 27.86 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/12.98, allocations: 0 / 4.089 GB, free: 27.86 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00968/12.99, allocations: 2.825 MB / 4.092 GB, free: 27.68 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02763/13.02, allocations: 8.226 MB / 4.1 GB, free: 26.96 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/13.02, allocations: 2.719 kB / 4.1 GB, free: 26.96 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004681/13.02, allocations: 493.5 kB / 4.1 GB, free: 26.96 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008544/13.03, allocations: 160.5 kB / 4.1 GB, free: 26.93 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004411/13.03, allocations: 51.64 kB / 4.1 GB, free: 26.93 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004439/13.03, allocations: 3.743 MB / 4.104 GB, free: 23.51 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/13.03, allocations: 7.562 kB / 4.104 GB, free: 23.5 MB / 1.089 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01615/13.05, allocations: 5.37 MB / 4.109 GB, free: 22.69 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00424/13.05, allocations: 1.338 MB / 4.11 GB, free: 21.98 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001457/13.05, allocations: 14.53 kB / 4.11 GB, free: 21.98 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005754/13.06, allocations: 328.4 kB / 4.111 GB, free: 21.96 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003501/13.06, allocations: 135.6 kB / 4.111 GB, free: 21.96 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004522/13.06, allocations: 123.5 kB / 4.111 GB, free: 21.96 MB / 1.089 GB Notification: Performance of sort global known variables: time 0.009593/13.07, allocations: 2.938 MB / 4.114 GB, free: 21.75 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.02709/13.1, allocations: 3.186 MB / 4.117 GB, free: 21.28 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (chi.chi.vol1.dynBal.U,chi.chi.vol2.dynBal.U,chi.con.conValEva.conPID.I.y,chi.con.conValCon.conPID.I.y,chi.senTConLvg.T,chi.senTConEnt.T,chi.senTEvaEnt.T,chi.senTEvaLvg.T,chi.valEva.vol.dynBal.U,chi.valCon.vol.dynBal.U,senTHeaWatSup.T,senTChiWatSup.T,senTHeaWatRet.T,senTChiWatRet.T) * Number of discrete variables: 16 (chi.booToRea.u,$whenCondition3,$whenCondition1,$whenCondition2,chi.uHea,chi.uCoo,THeaWatRet.a,THeaWatRet.b,THeaWatRet.last,THeaWatRet.nextEvent,THeaWatRet.nextEventScaled,TChiWatRet.a,TChiWatRet.b,TChiWatRet.last,TChiWatRet.nextEvent,TChiWatRet.nextEventScaled) * Number of discrete states: 12 (THeaWatRet.nextEvent,THeaWatRet.last,THeaWatRet.nextEventScaled,THeaWatRet.b,THeaWatRet.a,$whenCondition2,TChiWatRet.nextEvent,TChiWatRet.last,TChiWatRet.nextEventScaled,TChiWatRet.b,TChiWatRet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.009191/13.1, allocations: 3.38 MB / 4.12 GB, free: 20.09 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.01791/13.12, allocations: 5.354 MB / 4.126 GB, free: 19.28 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.494e-05/13.12, allocations: 5 kB / 4.126 GB, free: 19.28 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.005148/13.13, allocations: 1.684 MB / 4.127 GB, free: 19 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02204/13.15, allocations: 2.278 MB / 4.129 GB, free: 18.96 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05599/13.21, allocations: 10.26 MB / 4.139 GB, free: 17.09 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006894/13.21, allocations: 3.576 MB / 4.143 GB, free: 16.28 MB / 1.089 GB Notification: Performance of SimCode: time 1.172e-06/13.21, allocations: 0 / 4.143 GB, free: 16.28 MB / 1.089 GB Notification: Performance of Templates: time 0.3079/13.52, allocations: 126.6 MB / 4.267 GB, free: 5.93 MB / 1.089 GB make -j1 -f Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.makefile (rm -f Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; mkfifo Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe >> ../files/Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.sim & ./Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe 2>&1)