Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.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.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer") [: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.34/1.34, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001025/0.001026, allocations: 181.2 kB / 361.1 MB, free: 7.102 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.04/1.04, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.000733/0.000733, allocations: 93.38 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.891e-06/5.981e-06, allocations: 0 / 0.8511 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.4374, allocations: 115.3 MB / 0.9637 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6441/1.082, allocations: 458.1 MB / 1.411 GB, free: 107.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/1.082, allocations: 101.4 kB / 1.411 GB, free: 107.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.146/4.228, allocations: 1.267 GB / 2.678 GB, free: 13.09 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004855/4.228, allocations: 87.86 kB / 2.678 GB, free: 13 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.007379/4.235, allocations: 2.945 MB / 2.681 GB, free: 9.992 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/4.236, allocations: 8.531 kB / 2.681 GB, free: 9.984 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002521/4.238, allocations: 0.5738 MB / 2.681 GB, free: 9.406 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007762/4.246, allocations: 3.382 MB / 2.685 GB, free: 5.957 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007104/4.247, allocations: 211 kB / 2.685 GB, free: 5.75 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005051/4.247, allocations: 111.9 kB / 2.685 GB, free: 5.641 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003522/4.251, allocations: 1.592 MB / 2.686 GB, free: 4.047 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003642/4.254, allocations: 1.798 MB / 2.688 GB, free: 2.156 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.248e-05/4.254, allocations: 4 kB / 2.688 GB, free: 2.152 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/4.255, allocations: 7.891 kB / 2.688 GB, free: 2.145 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.144e-05/4.255, allocations: 40 kB / 2.688 GB, free: 2.105 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2961/4.551, allocations: 11.09 MB / 2.699 GB, free: 201 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/4.552, allocations: 0.9142 MB / 2.7 GB, free: 200.9 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008421/4.553, allocations: 0.6701 MB / 2.701 GB, free: 200.9 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009268/4.554, allocations: 1.242 MB / 2.702 GB, free: 199.6 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008476/4.554, allocations: 0.7084 MB / 2.703 GB, free: 199.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=106): time 2.905e-06/4.554, allocations: 0 / 2.703 GB, free: 199.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=106): time 0.002802/4.557, allocations: 1.503 MB / 2.704 GB, free: 199.3 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/4.557, allocations: 294.4 kB / 2.704 GB, free: 199 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/4.56, allocations: 1.96 MB / 2.706 GB, free: 198.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/4.56, allocations: 29.48 kB / 2.706 GB, free: 198.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004455/4.56, allocations: 0.7287 MB / 2.707 GB, free: 198.5 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/4.56, allocations: 348.2 kB / 2.707 GB, free: 198.3 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.464e-05/4.56, allocations: 3.75 kB / 2.707 GB, free: 198.3 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.117e-05/4.561, allocations: 362.6 kB / 2.708 GB, free: 198 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008611/4.561, allocations: 0.6592 MB / 2.708 GB, free: 198 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/4.562, allocations: 1.094 MB / 2.709 GB, free: 197.5 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/4.564, allocations: 0.8869 MB / 2.71 GB, free: 197.5 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/4.564, allocations: 6.781 kB / 2.71 GB, free: 197.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.003279/4.567, allocations: 2.084 MB / 2.712 GB, free: 197.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003831/4.568, allocations: 2.821 MB / 2.715 GB, free: 194.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/4.568, allocations: 20.81 kB / 2.715 GB, free: 194.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000203/4.568, allocations: 80.83 kB / 2.715 GB, free: 194.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/4.57, allocations: 369.4 kB / 2.715 GB, free: 194.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003946/4.57, allocations: 0.6817 MB / 2.716 GB, free: 193.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/4.572, allocations: 296.9 kB / 2.716 GB, free: 193.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/4.572, allocations: 71.98 kB / 2.716 GB, free: 193.8 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 6.402e-06/4.572, allocations: 10.72 kB / 2.716 GB, free: 193.8 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002874/4.575, allocations: 1.754 MB / 2.718 GB, free: 193.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/4.575, allocations: 13.56 kB / 2.718 GB, free: 193.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002169/4.575, allocations: 83.19 kB / 2.718 GB, free: 193.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/4.577, allocations: 368.5 kB / 2.719 GB, free: 193.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/4.578, allocations: 1.701 MB / 2.72 GB, free: 192.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/4.58, allocations: 261.6 kB / 2.721 GB, free: 192.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/4.58, allocations: 74.33 kB / 2.721 GB, free: 192.4 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,WSE.on[1],TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,WSE.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 162 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002912/4.58, allocations: 176.7 kB / 2.721 GB, free: 192.3 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002771/4.58, allocations: 251.7 kB / 2.721 GB, free: 192.2 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003311/4.584, allocations: 1.838 MB / 2.723 GB, free: 192.1 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/4.584, allocations: 16.69 kB / 2.723 GB, free: 192.1 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/4.584, allocations: 2.562 kB / 2.723 GB, free: 192.1 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002142/4.586, allocations: 1.496 MB / 2.724 GB, free: 191.8 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006544/4.593, allocations: 4.157 MB / 2.728 GB, free: 191.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/4.593, allocations: 3.438 kB / 2.728 GB, free: 191.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/4.594, allocations: 240.9 kB / 2.729 GB, free: 191.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001378/4.594, allocations: 60.81 kB / 2.729 GB, free: 191.3 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.853e-05/4.594, allocations: 32.94 kB / 2.729 GB, free: 191.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003357/4.594, allocations: 0.6515 MB / 2.729 GB, free: 190.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/4.594, allocations: 3.812 kB / 2.729 GB, free: 190.7 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00362/4.598, allocations: 2.77 MB / 2.732 GB, free: 190.1 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/4.599, allocations: 0.597 MB / 2.733 GB, free: 189.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000446/4.599, allocations: 17.66 kB / 2.733 GB, free: 189.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001663/4.601, allocations: 171.2 kB / 2.733 GB, free: 189.9 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/4.601, allocations: 79.17 kB / 2.733 GB, free: 189.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/4.601, allocations: 52.22 kB / 2.733 GB, free: 189.9 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.001866/4.603, allocations: 1.471 MB / 2.734 GB, free: 189.7 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003924/4.607, allocations: 1.332 MB / 2.736 GB, free: 189.7 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (WSE.heaExc.thrWayVal.vol.dynBal.U,WSE.heaExc.thrWayVal.filter.x[1],WSE.heaExc.thrWayVal.filter.x[2],WSE.heaExc.con.I.y,WSE.filter[1].x[1],WSE.filter[1].x[2],TSup.T) * Number of discrete variables: 7 ($whenCondition1,WSE.on[1],TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001825/4.609, allocations: 1.237 MB / 2.737 GB, free: 189.4 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003722/4.613, allocations: 2.813 MB / 2.74 GB, free: 189.1 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/4.613, allocations: 0 / 2.74 GB, free: 189.1 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0008789/4.614, allocations: 0.7402 MB / 2.74 GB, free: 189.1 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004242/4.618, allocations: 1.081 MB / 2.741 GB, free: 189.1 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00728/4.625, allocations: 3.853 MB / 2.745 GB, free: 188.1 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001788/4.627, allocations: 2.058 MB / 2.747 GB, free: 187.4 MB / 0.9792 GB Notification: Performance of SimCode: time 5.01e-07/4.627, allocations: 0 / 2.747 GB, free: 187.4 MB / 0.9792 GB Notification: Performance of Templates: time 0.07846/4.705, allocations: 59.55 MB / 2.805 GB, free: 185.6 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe 2>&1)