Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.Plant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.Plant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.Plant") translateModel(Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.Plant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.Plant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 106.5 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 191.3 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.1 MB / 222.8 MB, free: 4.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.65/1.65, allocations: 292.3 MB / 0.5492 GB, free: 13.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 64.92 kB / 0.6717 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2641, allocations: 114.5 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.Plant): time 1.59/1.854, allocations: 0.5239 GB / 1.307 GB, free: 72.02 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1142/1.968, allocations: 80.6 MB / 1.386 GB, free: 71.18 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01927/1.988, allocations: 369.1 kB / 1.387 GB, free: 71.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0158/2.003, allocations: 4.591 MB / 1.391 GB, free: 70.71 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.04108/2.045, allocations: 11.4 MB / 1.402 GB, free: 67.6 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Chillers/BaseClasses/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.Chillers.BaseClasses.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.02846/2.073, allocations: 11.04 MB / 1.413 GB, free: 62.08 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.04901/2.122, allocations: 43.63 MB / 1.456 GB, free: 35.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02639/2.148, allocations: 18.55 MB / 1.474 GB, free: 17.14 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03211/2.181, allocations: 15.67 MB / 1.489 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02117/2.202, allocations: 12.27 MB / 1.501 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.01054/2.212, allocations: 2.293 MB / 1.503 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02653/2.239, allocations: 7.49 MB / 1.51 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.009985/2.249, allocations: 5.541 MB / 1.516 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.02407/2.273, allocations: 10.34 MB / 1.526 GB, free: 13.5 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.04084/2.314, allocations: 30.58 MB / 1.556 GB, free: 15.64 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/2.314, allocations: 3.938 kB / 1.556 GB, free: 15.64 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.434e-06/2.314, allocations: 4 kB / 1.556 GB, free: 15.63 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.001086/2.315, allocations: 0 / 1.556 GB, free: 15.63 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2283 * Number of variables: 2283 Notification: Performance of Generate backend data structure: time 0.05983/2.375, allocations: 19.85 MB / 1.575 GB, free: 11.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/2.375, allocations: 11.89 kB / 1.575 GB, free: 11.72 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02398/2.399, allocations: 3.967 MB / 1.579 GB, free: 7.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04911/2.448, allocations: 21.78 MB / 1.6 GB, free: 2.227 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001053/2.449, allocations: 0.9077 MB / 1.601 GB, free: 1.293 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004302/2.454, allocations: 0.9754 MB / 1.602 GB, free: 328 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04472/2.498, allocations: 14.74 MB / 1.617 GB, free: 1.246 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002847/2.499, allocations: 15.92 kB / 1.617 GB, free: 1.23 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003614/2.502, allocations: 373.5 kB / 1.617 GB, free: 0.8672 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002336/2.503, allocations: 251.9 kB / 1.617 GB, free: 0.6211 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03705/2.54, allocations: 14.52 MB / 1.631 GB, free: 2.082 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1229/2.663, allocations: 60.56 MB / 1.691 GB, free: 3.496 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02355/2.686, allocations: 10.46 MB / 1.701 GB, free: 9.086 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01238/2.699, allocations: 5.812 MB / 1.706 GB, free: 3.262 MB / 1.186 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 1.22/3.919, allocations: 23.46 MB / 1.729 GB, free: 405 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01449/3.934, allocations: 6.325 MB / 1.736 GB, free: 404.8 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01221/3.946, allocations: 1.834 MB / 1.737 GB, free: 404.8 MB / 1.201 GB Notification: Performance of pre-optimization done (n=669): time 7.546e-05/3.946, allocations: 1.859 kB / 1.737 GB, free: 404.8 MB / 1.201 GB Notification: Performance of matching and sorting (n=669): time 0.06869/4.015, allocations: 21.91 MB / 1.759 GB, free: 403.9 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003212/4.015, allocations: 0.8618 MB / 1.76 GB, free: 402.9 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03255/4.048, allocations: 14.81 MB / 1.774 GB, free: 402.2 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.003234/4.051, allocations: 243.4 kB / 1.774 GB, free: 402.2 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.009345/4.06, allocations: 6.87 MB / 1.781 GB, free: 401.7 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.004089/4.064, allocations: 2.203 MB / 1.783 GB, free: 400.2 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004048/4.068, allocations: 2.085 MB / 1.785 GB, free: 399.4 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 5.782e-05/4.068, allocations: 302.2 kB / 1.785 GB, free: 399.1 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01068/4.079, allocations: 6.059 MB / 1.791 GB, free: 396.8 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0135/4.093, allocations: 8.774 MB / 1.8 GB, free: 391.8 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02294/4.116, allocations: 13.36 MB / 1.813 GB, free: 385.3 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.756e-05/4.116, allocations: 11.47 kB / 1.813 GB, free: 385.3 MB / 1.201 GB Notification: Performance of matching and sorting (n=1121) (initialization): time 0.03948/4.155, allocations: 18.02 MB / 1.831 GB, free: 373 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.833e-05/4.155, allocations: 28.38 kB / 1.831 GB, free: 373 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001259/4.155, allocations: 59.98 kB / 1.831 GB, free: 372.9 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858/6.013, allocations: 340.4 MB / 2.163 GB, free: 32.19 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01094/6.024, allocations: 1.97 MB / 2.165 GB, free: 30.33 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/6.035, allocations: 10.99 MB / 2.176 GB, free: 18.91 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01816/6.053, allocations: 1.113 MB / 2.177 GB, free: 17.8 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003781/6.057, allocations: 0.4991 MB / 2.177 GB, free: 17.31 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 1.131/7.188, allocations: 10.95 MB / 2.188 GB, free: 0.5311 GB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0217/7.21, allocations: 8.499 MB / 2.196 GB, free: 0.5271 GB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03714/7.247, allocations: 12.83 MB / 2.209 GB, free: 0.5208 GB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001626/7.247, allocations: 16.97 kB / 2.209 GB, free: 0.5208 GB / 1.201 GB Notification: Performance of matching and sorting (n=1121) (initialization_lambda0): time 0.0487/7.296, allocations: 17.35 MB / 2.226 GB, free: 0.5154 GB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.532e-05/7.296, allocations: 23.66 kB / 2.226 GB, free: 0.5154 GB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/7.296, allocations: 55.97 kB / 2.226 GB, free: 0.5154 GB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907/9.204, allocations: 340.1 MB / 2.558 GB, free: 209.8 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0102/9.214, allocations: 1.962 MB / 2.56 GB, free: 207.9 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/9.225, allocations: 11.39 MB / 2.571 GB, free: 196 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01654/9.241, allocations: 1.147 MB / 2.572 GB, free: 194.9 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002983/9.244, allocations: 483.7 kB / 2.573 GB, free: 194.4 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * Number of states: 0 () * Number of discrete variables: 137 ($PRE.pla.chiWatPumCon.pumStaCon.con1.enableFire,$PRE.pla.chiWatPumCon.pumStaCon.con2.enableFire,$PRE.pla.chiWatPumCon.pumStaCon.con3.enableFire,$PRE.pla.chiWatPumCon.pumStaCon.con4.enableFire,$PRE.pla.chiStaCon.offToOne.enableFire,$PRE.pla.chiStaCon.oneToTwo.enableFire,$PRE.pla.chiStaCon.twoToOne.enableFire,$PRE.pla.chiStaCon.oneToOff.enableFire,pla.chiStaCon.stateGraphRoot.resume,pla.chiStaCon.stateGraphRoot.suspend,pla.chiWatPumCon.pumStaCon.stateGraphRoot.resume,pla.chiWatPumCon.pumStaCon.stateGraphRoot.suspend,pla.chiWatPumCon.conPID.con1.y,pla.cooTowWitByp.cooTowSpeCon.con1.y,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,pla.chiBypCon.numChiOn.y,pla.chiBypCon.intGreThr.y,pla.chiBypCon.booToInt[2].y,pla.chiBypCon.booToInt[1].y,pla.chiStaCon.thrOneToTwo.y,$PRE.pla.chiStaCon.thrOneToTwo.y,pla.chiStaCon.oneToOff.t_start,$PRE.pla.chiStaCon.oneToOff.t_start,pla.chiStaCon.oneToOff.fire,pla.chiStaCon.oneToOff.enableFire,pla.chiStaCon.twoToOne.t_start,$PRE.pla.chiStaCon.twoToOne.t_start,pla.chiStaCon.twoToOne.fire,pla.chiStaCon.twoToOne.enableFire,pla.chiStaCon.twoToOne.condition,pla.chiStaCon.oneToTwo.t_start,$PRE.pla.chiStaCon.oneToTwo.t_start,pla.chiStaCon.oneToTwo.fire,pla.chiStaCon.oneToTwo.enableFire,pla.chiStaCon.offToOne.t_start,$PRE.pla.chiStaCon.offToOne.t_start,pla.chiStaCon.offToOne.fire,pla.chiStaCon.offToOne.enableFire,pla.chiStaCon.twoOn.active,pla.chiStaCon.twoOn.oldActive,$PRE.pla.chiStaCon.twoOn.oldActive,pla.chiStaCon.twoOn.newActive,$PRE.pla.chiStaCon.twoOn.newActive,pla.chiStaCon.twoOn.localActive,$PRE.pla.chiStaCon.twoOn.localActive,pla.chiStaCon.oneOn.active,pla.chiStaCon.oneOn.oldActive,$PRE.pla.chiStaCon.oneOn.oldActive,pla.chiStaCon.oneOn.newActive,$PRE.pla.chiStaCon.oneOn.newActive,pla.chiStaCon.oneOn.outPort[2].available,pla.chiStaCon.oneOn.inPort[2].occupied,pla.chiStaCon.oneOn.localActive,$PRE.pla.chiStaCon.oneOn.localActive,pla.chiStaCon.off.oldActive,$PRE.pla.chiStaCon.off.oldActive,pla.chiStaCon.off.newActive,$PRE.pla.chiStaCon.off.newActive,pla.chiStaCon.off.localActive,$PRE.pla.chiStaCon.off.localActive,pla.chiStaCon.off.active,pla.chiStaCon.y[1],pla.chiStaCon.stateGraphRoot.activeSteps,pla.chiWatPumCon.pumStaCon.addInt.y,pla.chiWatPumCon.pumStaCon.booToInt1.y,pla.chiWatPumCon.pumStaCon.booToInt.y,pla.chiWatPumCon.pumStaCon.stateGraphRoot.activeSteps,pla.chiWatPumCon.pumStaCon.con4.t_start,$PRE.pla.chiWatPumCon.pumStaCon.con4.t_start,pla.chiWatPumCon.pumStaCon.con4.fire,pla.chiWatPumCon.pumStaCon.con4.enableFire,pla.chiWatPumCon.pumStaCon.con4.condition,pla.chiWatPumCon.pumStaCon.con3.t_start,$PRE.pla.chiWatPumCon.pumStaCon.con3.t_start,pla.chiWatPumCon.pumStaCon.con3.fire,pla.chiWatPumCon.pumStaCon.con3.enableFire,pla.chiWatPumCon.pumStaCon.con3.condition,pla.chiWatPumCon.pumStaCon.con2.t_start,$PRE.pla.chiWatPumCon.pumStaCon.con2.t_start,pla.chiWatPumCon.pumStaCon.con2.fire,pla.chiWatPumCon.pumStaCon.con2.enableFire,pla.chiWatPumCon.pumStaCon.con2.condition,pla.chiWatPumCon.pumStaCon.twoOn.active,pla.chiWatPumCon.pumStaCon.twoOn.oldActive,$PRE.pla.chiWatPumCon.pumStaCon.twoOn.oldActive,pla.chiWatPumCon.pumStaCon.twoOn.newActive,$PRE.pla.chiWatPumCon.pumStaCon.twoOn.newActive,pla.chiWatPumCon.pumStaCon.twoOn.localActive,$PRE.pla.chiWatPumCon.pumStaCon.twoOn.localActive,pla.chiWatPumCon.pumStaCon.off.oldActive,$PRE.pla.chiWatPumCon.pumStaCon.off.oldActive,pla.chiWatPumCon.pumStaCon.off.newActive,$PRE.pla.chiWatPumCon.pumStaCon.off.newActive,pla.chiWatPumCon.pumStaCon.off.localActive,$PRE.pla.chiWatPumCon.pumStaCon.off.localActive,pla.chiWatPumCon.pumStaCon.off.active,pla.chiWatPumCon.pumStaCon.oneOn.active,pla.chiWatPumCon.pumStaCon.oneOn.oldActive,$PRE.pla.chiWatPumCon.pumStaCon.oneOn.oldActive,pla.chiWatPumCon.pumStaCon.oneOn.newActive,$PRE.pla.chiWatPumCon.pumStaCon.oneOn.newActive,pla.chiWatPumCon.pumStaCon.oneOn.outPort[2].available,pla.chiWatPumCon.pumStaCon.oneOn.inPort[2].occupied,pla.chiWatPumCon.pumStaCon.oneOn.localActive,$PRE.pla.chiWatPumCon.pumStaCon.oneOn.localActive,pla.chiWatPumCon.pumStaCon.con1.t_start,$PRE.pla.chiWatPumCon.pumStaCon.con1.t_start,pla.chiWatPumCon.pumStaCon.con1.fire,pla.chiWatPumCon.pumStaCon.con1.enableFire,pla.chiWatPumCon.pumStaCon.con1.condition,pla.pumCW.hys[2].y,$PRE.pla.pumCW.hys[2].y,pla.pumCW.hys[1].y,$PRE.pla.pumCW.hys[1].y,pla.pumCHW.hys[2].y,$PRE.pla.pumCHW.hys[2].y,pla.pumCHW.hys[1].y,$PRE.pla.pumCHW.hys[1].y,pla.cooTowWitByp.hys.y,$PRE.pla.cooTowWitByp.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1013): * Single equations (assignments): 981 * Array equations: 14 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(5,34), (1,6), (1,6), (4,11), (1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003911/9.248, allocations: 0.7898 MB / 2.573 GB, free: 193.7 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004856/9.253, allocations: 1.33 MB / 2.575 GB, free: 193 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03294/9.286, allocations: 14.2 MB / 2.589 GB, free: 178.9 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-05/9.286, allocations: 79.98 kB / 2.589 GB, free: 178.9 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/9.286, allocations: 3.938 kB / 2.589 GB, free: 178.9 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02178/9.308, allocations: 11.08 MB / 2.599 GB, free: 167.7 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06679/9.375, allocations: 29.03 MB / 2.628 GB, free: 138.8 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.422e-05/9.375, allocations: 0 / 2.628 GB, free: 138.8 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007523/9.382, allocations: 1.334 MB / 2.629 GB, free: 137.4 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.616/11, allocations: 147.8 MB / 2.774 GB, free: 0.5248 GB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002304/11, allocations: 231.8 kB / 2.774 GB, free: 0.5248 GB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008854/11.01, allocations: 9.343 MB / 2.783 GB, free: 0.519 GB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/11.01, allocations: 8.078 kB / 2.783 GB, free: 0.519 GB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03977/11.05, allocations: 19.8 MB / 2.802 GB, free: 0.5125 GB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01006/11.06, allocations: 2.732 MB / 2.805 GB, free: 0.5112 GB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005195/11.06, allocations: 192.4 kB / 2.805 GB, free: 0.5111 GB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0135/11.08, allocations: 0.9009 MB / 2.806 GB, free: 0.5107 GB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002539/11.08, allocations: 0.5735 MB / 2.807 GB, free: 0.5105 GB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001269/11.08, allocations: 316 kB / 2.807 GB, free: 0.5103 GB / 1.201 GB Notification: Performance of sorting global known variables: time 0.02488/11.11, allocations: 10.36 MB / 2.817 GB, free: 0.505 GB / 1.201 GB Notification: Performance of sort global known variables: time 4.61e-07/11.11, allocations: 0 / 2.817 GB, free: 0.505 GB / 1.201 GB Notification: Performance of remove unused functions: time 0.0334/11.14, allocations: 6.594 MB / 2.823 GB, free: 0.5042 GB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 35 (pla.mulChiSys.chi[1].vol1.dynBal.U,pla.mulChiSys.chi[1].vol2.dynBal.U,pla.mulChiSys.chi[2].vol1.dynBal.U,pla.mulChiSys.chi[2].vol2.dynBal.U,pla.cooTowWitByp.cooTowSys.cooTow[1].vol.dynBal.U,pla.cooTowWitByp.cooTowSys.cooTow[2].vol.dynBal.U,pla.cooTowWitByp.cooTowSys.val[1].filter.x[1],pla.cooTowWitByp.cooTowSys.val[1].filter.x[2],pla.cooTowWitByp.cooTowSys.val[2].filter.x[1],pla.cooTowWitByp.cooTowSys.val[2].filter.x[2],pla.cooTowWitByp.cooTowSys.senTem.T,pla.cooTowWitByp.valByp.filter.x[1],pla.cooTowWitByp.valByp.filter.x[2],pla.cooTowWitByp.senTCWSup.T,pla.cooTowWitByp.bypValCon.I.y,pla.cooTowWitByp.cooTowSpeCon.I.y,pla.pumCHW.pum[1].vol.dynBal.U,pla.pumCHW.pum[2].vol.dynBal.U,pla.pumCW.pum[1].vol.dynBal.U,pla.pumCW.pum[1].filter.x[1],pla.pumCW.pum[1].filter.x[2],pla.pumCW.pum[2].vol.dynBal.U,pla.pumCW.pum[2].filter.x[1],pla.pumCW.pum[2].filter.x[2],pla.pumCW.val[1].filter.x[1],pla.pumCW.val[1].filter.x[2],pla.pumCW.val[2].filter.x[1],pla.pumCW.val[2].filter.x[2],pla.valByp.filter.x[1],pla.valByp.filter.x[2],pla.senTCHWSup.T,pla.chiWatPumCon.conPID.I.y,pla.senTCHWRet.T,pla.chiBypCon.bypValCon.I.y,vol.dynBal.U) * Number of discrete variables: 99 (pla.chiWatPumCon.pumStaCon.con3.enableFire,pla.chiWatPumCon.pumStaCon.con4.enableFire,pla.chiStaCon.twoToOne.enableFire,pla.chiStaCon.oneToOff.enableFire,pla.chiWatPumCon.pumStaCon.con2.enableFire,pla.chiWatPumCon.pumStaCon.con1.enableFire,pla.chiStaCon.oneToTwo.enableFire,pla.chiBypCon.intGreThr.y,pla.chiStaCon.y[1],pla.chiStaCon.offToOne.enableFire,pla.chiStaCon.twoOn.localActive,pla.chiStaCon.oneOn.localActive,pla.chiStaCon.off.localActive,pla.chiWatPumCon.pumStaCon.twoOn.localActive,pla.chiWatPumCon.pumStaCon.off.localActive,pla.chiWatPumCon.pumStaCon.oneOn.localActive,$cse66,$cse67,$cse68,$cse69,$cse70,$cse71,$cse72,$cse73,$cse74,$cse75,$cse76,$cse77,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pla.cooTowWitByp.hys.y,pla.pumCHW.hys[1].y,pla.pumCHW.hys[2].y,pla.pumCW.hys[1].y,pla.pumCW.hys[2].y,pla.chiWatPumCon.pumStaCon.con1.condition,pla.chiWatPumCon.pumStaCon.con1.fire,pla.chiWatPumCon.pumStaCon.con1.t_start,pla.chiWatPumCon.pumStaCon.oneOn.inPort[2].occupied,pla.chiWatPumCon.pumStaCon.oneOn.outPort[2].available,pla.chiWatPumCon.pumStaCon.oneOn.newActive,pla.chiWatPumCon.pumStaCon.oneOn.oldActive,pla.chiWatPumCon.pumStaCon.oneOn.active,pla.chiWatPumCon.pumStaCon.off.active,pla.chiWatPumCon.pumStaCon.off.newActive,pla.chiWatPumCon.pumStaCon.off.oldActive,pla.chiWatPumCon.pumStaCon.twoOn.newActive,pla.chiWatPumCon.pumStaCon.twoOn.oldActive,pla.chiWatPumCon.pumStaCon.twoOn.active,pla.chiWatPumCon.pumStaCon.con2.condition,pla.chiWatPumCon.pumStaCon.con2.fire,pla.chiWatPumCon.pumStaCon.con2.t_start,pla.chiWatPumCon.pumStaCon.con3.condition,pla.chiWatPumCon.pumStaCon.con3.fire,pla.chiWatPumCon.pumStaCon.con3.t_start,pla.chiWatPumCon.pumStaCon.con4.condition,pla.chiWatPumCon.pumStaCon.con4.fire,pla.chiWatPumCon.pumStaCon.con4.t_start,pla.chiWatPumCon.pumStaCon.stateGraphRoot.activeSteps,pla.chiWatPumCon.pumStaCon.booToInt.y,pla.chiWatPumCon.pumStaCon.booToInt1.y,pla.chiWatPumCon.pumStaCon.addInt.y,pla.chiStaCon.stateGraphRoot.activeSteps,pla.chiStaCon.off.active,pla.chiStaCon.off.newActive,pla.chiStaCon.off.oldActive,pla.chiStaCon.oneOn.inPort[2].occupied,pla.chiStaCon.oneOn.outPort[2].available,pla.chiStaCon.oneOn.newActive,pla.chiStaCon.oneOn.oldActive,pla.chiStaCon.oneOn.active,pla.chiStaCon.twoOn.newActive,pla.chiStaCon.twoOn.oldActive,pla.chiStaCon.twoOn.active,pla.chiStaCon.offToOne.fire,pla.chiStaCon.offToOne.t_start,pla.chiStaCon.oneToTwo.fire,pla.chiStaCon.oneToTwo.t_start,pla.chiStaCon.twoToOne.condition,pla.chiStaCon.twoToOne.fire,pla.chiStaCon.twoToOne.t_start,pla.chiStaCon.oneToOff.fire,pla.chiStaCon.oneToOff.t_start,pla.chiStaCon.thrOneToTwo.y,pla.chiBypCon.booToInt[1].y,pla.chiBypCon.booToInt[2].y,pla.chiBypCon.numChiOn.y,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 14 (pla.chiWatPumCon.pumStaCon.oneOn.newActive,pla.chiWatPumCon.pumStaCon.off.newActive,pla.chiWatPumCon.pumStaCon.twoOn.newActive,pla.chiStaCon.off.newActive,pla.chiStaCon.oneOn.newActive,pla.chiStaCon.twoOn.newActive,pla.pumCW.hys[1].y,pla.pumCW.hys[2].y,weaDat.conTim.tNext,weaDat.conTimMin.tNext,pla.pumCHW.hys[1].y,pla.pumCHW.hys[2].y,pla.chiStaCon.thrOneToTwo.y,pla.cooTowWitByp.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (713): * Single equations (assignments): 666 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 23 * When equations: 16 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,6), (1,6), (4,11), (6,35), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006967/11.15, allocations: 2.246 MB / 2.826 GB, free: 0.5037 GB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.1151/11.26, allocations: 40.13 MB / 2.865 GB, free: 478.1 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.768e-05/11.26, allocations: 9.562 kB / 2.865 GB, free: 478.1 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01354/11.28, allocations: 6.255 MB / 2.871 GB, free: 471.8 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04101/11.32, allocations: 7.604 MB / 2.878 GB, free: 464.9 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06788/11.38, allocations: 37.38 MB / 2.915 GB, free: 427.6 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01506/11.4, allocations: 9.271 MB / 2.924 GB, free: 418.2 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008063/11.41, allocations: 1.182 MB / 2.925 GB, free: 417.1 MB / 1.201 GB Notification: Performance of SimCode: time 1.283e-06/11.41, allocations: 0 / 2.925 GB, free: 417.1 MB / 1.201 GB Notification: Performance of Templates: time 2.341/13.75, allocations: 1.087 GB / 4.012 GB, free: 422.4 MB / 1.201 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.Plant.makefile make -j1 -f Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.Plant.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.PlantCalcHelperMain.o OMCppBuildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.PlantCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.PlantCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.PlantFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:27:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char *result = malloc(len1 + len2 + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppBuildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.PlantCalcHelperMain.cpp:29: ./OMCppBuildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.PlantInitialize.cpp:11741:3: warning: expression result unused [-Wunused-value] tmp441; ^~~~~~ ./OMCppBuildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.PlantInitialize.cpp:11842:3: warning: expression result unused [-Wunused-value] tmp444; ^~~~~~ 2 warnings and 1 error generated. make: *** [: OMCppBuildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.PlantCalcHelperMain.o] Error 1