Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.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.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.372/1.372, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.001017/0.001017, allocations: 189.2 kB / 366.3 MB, free: 1.996 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.131/1.131, allocations: 205.1 MB / 0.6256 GB, free: 5.859 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.000817/0.0008171, allocations: 97.53 kB / 0.7396 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.911e-06/5.931e-06, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4594/0.4594, allocations: 116.3 MB / 0.9726 GB, free: 68.34 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6891/1.149, allocations: 459.1 MB / 1.421 GB, free: 30.87 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/1.149, allocations: 108.1 kB / 1.421 GB, free: 30.81 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.532/4.681, allocations: 1.267 GB / 2.688 GB, free: 117.6 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003657/4.681, allocations: 77.78 kB / 2.688 GB, free: 117.6 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.005509/4.687, allocations: 2.949 MB / 2.691 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/4.687, allocations: 7.562 kB / 2.691 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00184/4.689, allocations: 0.5697 MB / 2.691 GB, free: 116.6 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005309/4.694, allocations: 3.385 MB / 2.694 GB, free: 116.2 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005984/4.695, allocations: 221.1 kB / 2.695 GB, free: 116.2 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002215/4.695, allocations: 105.3 kB / 2.695 GB, free: 116.2 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002357/4.697, allocations: 1.598 MB / 2.696 GB, free: 116.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/4.7, allocations: 1.787 MB / 2.698 GB, free: 115.9 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/4.7, allocations: 3.906 kB / 2.698 GB, free: 115.9 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/4.7, allocations: 0 / 2.698 GB, free: 115.9 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-05/4.7, allocations: 47.31 kB / 2.698 GB, free: 115.9 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0114/4.711, allocations: 11.09 MB / 2.709 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/4.712, allocations: 0.9116 MB / 2.71 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008063/4.713, allocations: 0.6719 MB / 2.71 GB, free: 110.8 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009097/4.714, allocations: 1.242 MB / 2.712 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008596/4.715, allocations: 0.7023 MB / 2.712 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=106): time 2.895e-06/4.715, allocations: 0 / 2.712 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=106): time 0.002845/4.718, allocations: 1.496 MB / 2.714 GB, free: 109.2 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/4.718, allocations: 295 kB / 2.714 GB, free: 108.9 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/4.72, allocations: 1.962 MB / 2.716 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/4.72, allocations: 29.33 kB / 2.716 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005118/4.721, allocations: 0.734 MB / 2.717 GB, free: 108.4 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/4.721, allocations: 352 kB / 2.717 GB, free: 108.2 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.292e-05/4.721, allocations: 1.938 kB / 2.717 GB, free: 108.2 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.565e-05/4.721, allocations: 361.1 kB / 2.717 GB, free: 107.9 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008406/4.722, allocations: 0.667 MB / 2.718 GB, free: 107.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/4.723, allocations: 1.087 MB / 2.719 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/4.725, allocations: 0.888 MB / 2.72 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/4.725, allocations: 7 kB / 2.72 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.003397/4.728, allocations: 2.082 MB / 2.722 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004016/4.729, allocations: 2.831 MB / 2.725 GB, free: 104.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/4.729, allocations: 13.53 kB / 2.725 GB, free: 104.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002026/4.729, allocations: 75.52 kB / 2.725 GB, free: 104.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/4.73, allocations: 373 kB / 2.725 GB, free: 104.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004002/4.731, allocations: 0.6798 MB / 2.726 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/4.733, allocations: 297.8 kB / 2.726 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/4.733, allocations: 77.47 kB / 2.726 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 5.11e-06/4.733, allocations: 3.938 kB / 2.726 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00286/4.736, allocations: 1.76 MB / 2.728 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/4.736, allocations: 6.938 kB / 2.728 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/4.736, allocations: 89.86 kB / 2.728 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/4.738, allocations: 371 kB / 2.728 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/4.739, allocations: 1.7 MB / 2.73 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/4.741, allocations: 257.3 kB / 2.73 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/4.741, allocations: 75.86 kB / 2.73 GB, free: 102.3 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.0003166/4.741, allocations: 175.5 kB / 2.731 GB, free: 102.2 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/4.742, allocations: 248.2 kB / 2.731 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003662/4.745, allocations: 1.845 MB / 2.733 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/4.745, allocations: 14.56 kB / 2.733 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/4.745, allocations: 0 / 2.733 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002299/4.748, allocations: 1.504 MB / 2.734 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006589/4.754, allocations: 4.159 MB / 2.738 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/4.754, allocations: 0 / 2.738 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/4.755, allocations: 238.6 kB / 2.738 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001312/4.756, allocations: 61.7 kB / 2.738 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-05/4.756, allocations: 32.45 kB / 2.738 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003138/4.756, allocations: 0.6439 MB / 2.739 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/4.756, allocations: 3.906 kB / 2.739 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003367/4.759, allocations: 2.776 MB / 2.742 GB, free: 99.97 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009166/4.76, allocations: 0.5988 MB / 2.742 GB, free: 99.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003336/4.761, allocations: 15.19 kB / 2.742 GB, free: 99.72 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/4.762, allocations: 176.8 kB / 2.743 GB, free: 99.72 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/4.762, allocations: 66.53 kB / 2.743 GB, free: 99.72 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/4.762, allocations: 58.7 kB / 2.743 GB, free: 99.72 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.001712/4.764, allocations: 1.476 MB / 2.744 GB, free: 99.57 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003508/4.768, allocations: 1.326 MB / 2.745 GB, free: 99.37 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.001636/4.769, allocations: 1.244 MB / 2.747 GB, free: 99.04 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003527/4.773, allocations: 2.81 MB / 2.749 GB, free: 98.71 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/4.773, allocations: 3.781 kB / 2.749 GB, free: 98.71 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000854/4.774, allocations: 0.7412 MB / 2.75 GB, free: 98.68 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004377/4.778, allocations: 1.078 MB / 2.751 GB, free: 98.65 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007184/4.785, allocations: 3.861 MB / 2.755 GB, free: 97.69 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001843/4.787, allocations: 2.053 MB / 2.757 GB, free: 96.94 MB / 0.9792 GB Notification: Performance of SimCode: time 8.12e-07/4.787, allocations: 4.312 kB / 2.757 GB, free: 96.94 MB / 0.9792 GB Notification: Performance of Templates: time 0.0805/4.868, allocations: 59.54 MB / 2.815 GB, free: 94.68 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe 2>&1)