Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.301/1.301, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.000965/0.000965, allocations: 173.3 kB / 361.1 MB, free: 7.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.992/0.992, allocations: 205.1 MB / 0.6195 GB, free: 10.25 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.0008084/0.0008084, allocations: 97.69 kB / 0.7326 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.362e-06/6.382e-06, allocations: 4 kB / 0.8511 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4069, allocations: 115.3 MB / 0.9637 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6649/1.072, allocations: 479 MB / 1.431 GB, free: 86.25 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/1.072, allocations: 121.2 kB / 1.432 GB, free: 86.18 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.892/7.964, allocations: 2.544 GB / 3.975 GB, free: 59.52 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0007218/7.964, allocations: 166.6 kB / 3.975 GB, free: 59.49 MB / 1.042 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.01207/7.977, allocations: 5.781 MB / 3.981 GB, free: 57.01 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/7.977, allocations: 12.06 kB / 3.981 GB, free: 57.01 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00674/7.983, allocations: 1.401 MB / 3.982 GB, free: 56.63 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02893/8.012, allocations: 14.46 MB / 3.997 GB, free: 55.37 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002509/8.013, allocations: 239.2 kB / 3.997 GB, free: 55.29 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007335/8.013, allocations: 239.8 kB / 3.997 GB, free: 55.29 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005682/8.019, allocations: 3.263 MB / 4 GB, free: 55.28 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005645/8.025, allocations: 3.776 MB / 4.004 GB, free: 54.8 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.074e-05/8.025, allocations: 9.562 kB / 4.004 GB, free: 54.8 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003226/8.025, allocations: 6.438 kB / 4.004 GB, free: 54.8 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.69e-05/8.025, allocations: 104.5 kB / 4.004 GB, free: 54.8 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02674/8.052, allocations: 24.18 MB / 4.028 GB, free: 43.09 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/8.054, allocations: 1.553 MB / 4.029 GB, free: 43.06 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001736/8.056, allocations: 1.366 MB / 4.03 GB, free: 43.04 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01017/8.066, allocations: 8.009 MB / 4.038 GB, free: 39.07 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001907/8.068, allocations: 1.391 MB / 4.04 GB, free: 38.93 MB / 1.042 GB Notification: Performance of pre-optimization done (n=219): time 3.747e-06/8.068, allocations: 0.6562 kB / 4.04 GB, free: 38.93 MB / 1.042 GB Notification: Performance of matching and sorting (n=219): time 0.007969/8.076, allocations: 3.339 MB / 4.043 GB, free: 38.55 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/8.076, allocations: 179.6 kB / 4.043 GB, free: 38.36 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007036/8.083, allocations: 3.939 MB / 4.047 GB, free: 37.98 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002844/8.083, allocations: 33.05 kB / 4.047 GB, free: 37.95 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001389/8.085, allocations: 1.638 MB / 4.049 GB, free: 37.15 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001025/8.086, allocations: 0.7023 MB / 4.049 GB, free: 36.68 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/8.086, allocations: 0.8438 kB / 4.049 GB, free: 36.68 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001385/8.086, allocations: 414.1 kB / 4.05 GB, free: 36.38 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/8.088, allocations: 1.106 MB / 4.051 GB, free: 36.37 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002105/8.09, allocations: 2.143 MB / 4.053 GB, free: 35.16 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004348/8.094, allocations: 1.716 MB / 4.054 GB, free: 35.11 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.05e-05/8.094, allocations: 9.406 kB / 4.054 GB, free: 35.11 MB / 1.042 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.009475/8.103, allocations: 4.1 MB / 4.058 GB, free: 34.7 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001652/8.105, allocations: 10.58 MB / 4.069 GB, free: 39.81 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.043e-05/8.105, allocations: 25.03 kB / 4.069 GB, free: 39.8 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009936/8.106, allocations: 275.7 kB / 4.069 GB, free: 39.77 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002821/8.109, allocations: 0.6909 MB / 4.07 GB, free: 39.77 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0046/8.114, allocations: 4.22 MB / 4.074 GB, free: 36.29 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004738/8.118, allocations: 0.516 MB / 4.074 GB, free: 36.14 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003819/8.119, allocations: 169.7 kB / 4.075 GB, free: 36.14 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/8.119, allocations: 5.438 kB / 4.075 GB, free: 36.14 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007712/8.127, allocations: 3.387 MB / 4.078 GB, free: 36.02 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.717e-05/8.127, allocations: 23.38 kB / 4.078 GB, free: 36.02 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009559/8.128, allocations: 261.9 kB / 4.078 GB, free: 35.99 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002674/8.13, allocations: 0.6737 MB / 4.079 GB, free: 35.99 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006654/8.137, allocations: 5.945 MB / 4.085 GB, free: 31 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004686/8.142, allocations: 470.1 kB / 4.085 GB, free: 30.89 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004309/8.142, allocations: 160.8 kB / 4.085 GB, free: 30.89 MB / 1.057 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.0009014/8.143, allocations: 262.4 kB / 4.085 GB, free: 30.7 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001333/8.144, allocations: 0.5155 MB / 4.086 GB, free: 30.43 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00928/8.154, allocations: 4.079 MB / 4.09 GB, free: 30.2 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-05/8.154, allocations: 27.17 kB / 4.09 GB, free: 30.2 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/8.154, allocations: 3.906 kB / 4.09 GB, free: 30.19 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005454/8.159, allocations: 2.828 MB / 4.093 GB, free: 30.01 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01898/8.178, allocations: 8.239 MB / 4.101 GB, free: 29.3 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/8.178, allocations: 2.156 kB / 4.101 GB, free: 29.3 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002343/8.181, allocations: 487.8 kB / 4.101 GB, free: 29.3 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005322/8.181, allocations: 159.3 kB / 4.101 GB, free: 29.27 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002034/8.181, allocations: 52 kB / 4.101 GB, free: 29.27 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002876/8.184, allocations: 3.761 MB / 4.105 GB, free: 25.83 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/8.184, allocations: 0 / 4.105 GB, free: 25.83 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009064/8.193, allocations: 5.363 MB / 4.11 GB, free: 25.02 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003037/8.196, allocations: 1.339 MB / 4.112 GB, free: 24.31 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001494/8.198, allocations: 18.09 kB / 4.112 GB, free: 24.3 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004003/8.202, allocations: 323.9 kB / 4.112 GB, free: 24.29 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/8.202, allocations: 131.3 kB / 4.112 GB, free: 24.29 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002948/8.202, allocations: 126.6 kB / 4.112 GB, free: 24.29 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.005751/8.208, allocations: 2.935 MB / 4.115 GB, free: 24.07 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.01359/8.222, allocations: 3.186 MB / 4.118 GB, free: 23.61 MB / 1.057 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.004385/8.226, allocations: 3.381 MB / 4.122 GB, free: 22.38 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.007235/8.233, allocations: 5.356 MB / 4.127 GB, free: 21.44 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/8.233, allocations: 2.406 kB / 4.127 GB, free: 21.44 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.00212/8.236, allocations: 1.682 MB / 4.128 GB, free: 21.13 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008605/8.244, allocations: 2.271 MB / 4.131 GB, free: 21.08 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02776/8.272, allocations: 10.27 MB / 4.141 GB, free: 18.68 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003265/8.275, allocations: 3.58 MB / 4.144 GB, free: 17.79 MB / 1.057 GB Notification: Performance of SimCode: time 4.61e-07/8.275, allocations: 0 / 4.144 GB, free: 17.79 MB / 1.057 GB Notification: Performance of Templates: time 0.5155/8.791, allocations: 126.6 MB / 4.268 GB, free: 186.8 MB / 1.089 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.makefile (rm -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.sim & ./Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.Chiller.pipe 2>&1)