Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.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.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.12/2.12, allocations: 284.9 MB / 292.2 MB, free: 10.74 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.001603/0.001603, allocations: 181.3 kB / 360.4 MB, free: 7.516 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.656/1.656, allocations: 205.1 MB / 0.6188 GB, free: 12.44 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.001244/0.001243, allocations: 93.05 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.458e-06/9.598e-06, allocations: 4 kB / 0.8503 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5575/0.5576, allocations: 115.2 MB / 0.9628 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9852/1.543, allocations: 457.9 MB / 1.41 GB, free: 106.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000368/1.543, allocations: 105.2 kB / 1.41 GB, free: 106.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.142/6.686, allocations: 1.267 GB / 2.677 GB, free: 9.34 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006049/6.686, allocations: 87.84 kB / 2.677 GB, free: 9.254 MB / 0.948 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.009363/6.696, allocations: 2.938 MB / 2.68 GB, free: 6.254 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/6.696, allocations: 12.53 kB / 2.68 GB, free: 6.242 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003877/6.7, allocations: 0.566 MB / 2.68 GB, free: 5.672 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01083/6.71, allocations: 3.394 MB / 2.684 GB, free: 2.211 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001276/6.712, allocations: 219 kB / 2.684 GB, free: 1.996 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005938/6.712, allocations: 108 kB / 2.684 GB, free: 1.891 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004831/6.717, allocations: 1.588 MB / 2.685 GB, free: 308 kB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00542/6.723, allocations: 1.789 MB / 2.687 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.585e-05/6.723, allocations: 4 kB / 2.687 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002546/6.723, allocations: 3.906 kB / 2.687 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.238e-05/6.723, allocations: 40 kB / 2.687 GB, free: 14.37 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02553/6.749, allocations: 11.11 MB / 2.698 GB, free: 2.535 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/6.751, allocations: 0.9172 MB / 2.699 GB, free: 1.605 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/6.753, allocations: 0.672 MB / 2.7 GB, free: 0.9297 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001889/6.755, allocations: 1.239 MB / 2.701 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001939/6.757, allocations: 0.6955 MB / 2.701 GB, free: 14.72 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=106): time 3.627e-06/6.757, allocations: 0 / 2.701 GB, free: 14.72 MB / 0.9792 GB Notification: Performance of matching and sorting (n=106): time 0.005696/6.763, allocations: 1.504 MB / 2.703 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/6.763, allocations: 295.7 kB / 2.703 GB, free: 12.84 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005323/6.768, allocations: 1.955 MB / 2.705 GB, free: 10.88 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.000486/6.769, allocations: 29.7 kB / 2.705 GB, free: 10.85 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001052/6.77, allocations: 0.7252 MB / 2.706 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006555/6.77, allocations: 354.8 kB / 2.706 GB, free: 9.754 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/6.771, allocations: 0 / 2.706 GB, free: 9.754 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001863/6.771, allocations: 365.9 kB / 2.707 GB, free: 9.391 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001951/6.773, allocations: 0.6638 MB / 2.707 GB, free: 8.727 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002402/6.775, allocations: 1.084 MB / 2.708 GB, free: 7.469 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00339/6.779, allocations: 0.8869 MB / 2.709 GB, free: 6.586 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/6.779, allocations: 0 / 2.709 GB, free: 6.586 MB / 0.9792 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.007466/6.786, allocations: 2.093 MB / 2.711 GB, free: 4.477 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001089/6.787, allocations: 2.833 MB / 2.714 GB, free: 1.406 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.262e-05/6.787, allocations: 11.98 kB / 2.714 GB, free: 1.395 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003709/6.788, allocations: 76.83 kB / 2.714 GB, free: 1.316 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003526/6.791, allocations: 371.5 kB / 2.714 GB, free: 0.9531 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008707/6.792, allocations: 0.6811 MB / 2.715 GB, free: 252 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3936/7.186, allocations: 295.4 kB / 2.715 GB, free: 204.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005984/7.186, allocations: 74.83 kB / 2.715 GB, free: 204.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/7.186, allocations: 3.906 kB / 2.715 GB, free: 204.9 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005954/7.192, allocations: 1.761 MB / 2.717 GB, free: 204.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.92e-05/7.193, allocations: 12.53 kB / 2.717 GB, free: 204.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004118/7.193, allocations: 85.67 kB / 2.717 GB, free: 204.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003159/7.196, allocations: 370.2 kB / 2.718 GB, free: 204.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/7.199, allocations: 1.694 MB / 2.719 GB, free: 203.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004/7.203, allocations: 253 kB / 2.719 GB, free: 203.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003484/7.203, allocations: 75.66 kB / 2.72 GB, free: 203.6 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.0005423/7.204, allocations: 185.5 kB / 2.72 GB, free: 203.4 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006412/7.204, allocations: 242.8 kB / 2.72 GB, free: 203.4 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006532/7.211, allocations: 1.849 MB / 2.722 GB, free: 203.3 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/7.211, allocations: 12.56 kB / 2.722 GB, free: 203.3 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/7.211, allocations: 3.312 kB / 2.722 GB, free: 203.3 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004158/7.215, allocations: 1.499 MB / 2.723 GB, free: 203.1 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/7.227, allocations: 4.166 MB / 2.727 GB, free: 202.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/7.227, allocations: 0 / 2.727 GB, free: 202.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002218/7.229, allocations: 243.1 kB / 2.728 GB, free: 202.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002355/7.229, allocations: 55.98 kB / 2.728 GB, free: 202.6 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001627/7.23, allocations: 30.92 kB / 2.728 GB, free: 202.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005732/7.23, allocations: 0.6505 MB / 2.728 GB, free: 202.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/7.23, allocations: 4.5 kB / 2.728 GB, free: 202.1 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006935/7.237, allocations: 2.771 MB / 2.731 GB, free: 201.5 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00198/7.239, allocations: 0.6004 MB / 2.732 GB, free: 201.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006166/7.24, allocations: 13.11 kB / 2.732 GB, free: 201.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003081/7.243, allocations: 176.9 kB / 2.732 GB, free: 201.3 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002255/7.243, allocations: 71.61 kB / 2.732 GB, free: 201.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001885/7.243, allocations: 57.67 kB / 2.732 GB, free: 201.3 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.00348/7.247, allocations: 1.474 MB / 2.733 GB, free: 201.1 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006705/7.254, allocations: 1.326 MB / 2.735 GB, free: 201.1 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.00281/7.256, allocations: 1.248 MB / 2.736 GB, free: 200.8 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.006838/7.263, allocations: 2.807 MB / 2.739 GB, free: 200.5 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/7.263, allocations: 3.875 kB / 2.739 GB, free: 200.5 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001804/7.265, allocations: 0.7418 MB / 2.739 GB, free: 200.5 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009401/7.275, allocations: 1.064 MB / 2.74 GB, free: 200.5 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/7.288, allocations: 3.864 MB / 2.744 GB, free: 199.5 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003129/7.291, allocations: 2.059 MB / 2.746 GB, free: 198.8 MB / 0.9792 GB Notification: Performance of SimCode: time 1.433e-06/7.291, allocations: 0 / 2.746 GB, free: 198.8 MB / 0.9792 GB Notification: Performance of Templates: time 0.1469/7.438, allocations: 59.56 MB / 2.804 GB, free: 197.1 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.makefile (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.sim & ./Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe 2>&1)