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.001395/0.001395, allocations: 104.2 kB / 16.36 MB, free: 6.301 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.001257/0.001257, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.453/1.453, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.874/1.874, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001457/0.001457, allocations: 63.91 kB / 0.6729 GB, free: 5.773 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.249, allocations: 114.6 MB / 0.7848 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.Plant): time 1.651/1.901, allocations: 0.5297 GB / 1.314 GB, free: 50.31 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1233/2.024, allocations: 81.19 MB / 1.394 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03118/2.055, allocations: 397.6 kB / 1.394 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0204/2.076, allocations: 5.258 MB / 1.399 GB, free: 4.852 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/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.04906/2.125, allocations: 12.28 MB / 1.411 GB, free: 8.531 MB / 0.9512 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.0393/2.164, allocations: 11.9 MB / 1.423 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.06808/2.232, allocations: 43.18 MB / 1.465 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03379/2.266, allocations: 18.65 MB / 1.483 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04292/2.309, allocations: 15.52 MB / 1.498 GB, free: 15.26 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02736/2.336, allocations: 11.9 MB / 1.51 GB, free: 3.312 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.009934/2.346, allocations: 2.301 MB / 1.512 GB, free: 1.012 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02783/2.374, allocations: 7.491 MB / 1.52 GB, free: 9.512 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.01341/2.388, allocations: 5.524 MB / 1.525 GB, free: 3.973 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.02742/2.415, allocations: 10.33 MB / 1.535 GB, free: 9.598 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 1.58/3.995, allocations: 36.46 MB / 1.571 GB, free: 94.01 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/3.995, allocations: 0 / 1.571 GB, free: 94.01 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.176e-06/3.995, allocations: 1.125 kB / 1.571 GB, free: 94.01 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.001686/3.997, allocations: 0 / 1.571 GB, free: 94.01 MB / 1.076 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.1083/4.105, allocations: 19.84 MB / 1.59 GB, free: 86.65 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.574e-05/4.105, allocations: 11.72 kB / 1.59 GB, free: 86.65 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02901/4.134, allocations: 3.962 MB / 1.594 GB, free: 85.73 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06356/4.198, allocations: 21.34 MB / 1.615 GB, free: 83.2 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001989/4.2, allocations: 0.9056 MB / 1.616 GB, free: 83.05 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008354/4.208, allocations: 0.9767 MB / 1.617 GB, free: 83.04 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06319/4.272, allocations: 14.72 MB / 1.631 GB, free: 81.86 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009584/4.273, allocations: 17.66 kB / 1.631 GB, free: 81.86 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00739/4.28, allocations: 379.8 kB / 1.631 GB, free: 81.86 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005414/4.281, allocations: 248.5 kB / 1.632 GB, free: 81.85 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05068/4.331, allocations: 14.44 MB / 1.646 GB, free: 81.55 MB / 1.076 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.1561/4.488, allocations: 60.74 MB / 1.705 GB, free: 52.13 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02787/4.516, allocations: 10.39 MB / 1.715 GB, free: 48.36 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01477/4.53, allocations: 5.773 MB / 1.721 GB, free: 45.31 MB / 1.076 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 0.06517/4.596, allocations: 23.89 MB / 1.744 GB, free: 21.07 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01685/4.612, allocations: 6.277 MB / 1.75 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01359/4.626, allocations: 1.296 MB / 1.752 GB, free: 13.46 MB / 1.076 GB Notification: Performance of pre-optimization done (n=665): time 4.64e-05/4.626, allocations: 3.984 kB / 1.752 GB, free: 13.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=665): time 0.07495/4.701, allocations: 21.63 MB / 1.773 GB, free: 7.672 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006205/4.702, allocations: 0.8723 MB / 1.774 GB, free: 6.609 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05386/4.756, allocations: 15.27 MB / 1.788 GB, free: 7.418 MB / 1.108 GB Notification: Performance of collectPreVariables (initialization): time 0.004324/4.76, allocations: 241 kB / 1.789 GB, free: 7.18 MB / 1.108 GB Notification: Performance of collectInitialEqns (initialization): time 0.01709/4.777, allocations: 6.888 MB / 1.795 GB, free: 316 kB / 1.108 GB Notification: Performance of collectInitialBindings (initialization): time 0.006299/4.784, allocations: 2.192 MB / 1.798 GB, free: 14.14 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01416/4.798, allocations: 2.07 MB / 1.8 GB, free: 12.06 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000132/4.798, allocations: 313.1 kB / 1.8 GB, free: 11.75 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01583/4.814, allocations: 6.029 MB / 1.806 GB, free: 5.703 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02064/4.834, allocations: 8.753 MB / 1.814 GB, free: 12.03 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0356/4.87, allocations: 13.27 MB / 1.827 GB, free: 14.27 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001003/4.87, allocations: 16 kB / 1.827 GB, free: 14.25 MB / 1.154 GB Notification: Performance of matching and sorting (n=1117) (initialization): time 0.05834/4.929, allocations: 17.31 MB / 1.844 GB, free: 13.2 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 9.426e-05/4.929, allocations: 28 kB / 1.844 GB, free: 13.17 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001732/4.929, allocations: 56.08 kB / 1.844 GB, free: 13.12 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671/7.6, allocations: 340.3 MB / 2.177 GB, free: 0.5129 GB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01146/7.611, allocations: 1.969 MB / 2.178 GB, free: 0.5112 GB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/7.621, allocations: 9.185 MB / 2.187 GB, free: 0.5032 GB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01867/7.64, allocations: 0.8225 MB / 2.188 GB, free: 0.5025 GB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004197/7.644, allocations: 0.4959 MB / 2.189 GB, free: 0.5021 GB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03026/7.675, allocations: 10.93 MB / 2.199 GB, free: 0.4957 GB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01721/7.692, allocations: 8.474 MB / 2.208 GB, free: 499.1 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02841/7.72, allocations: 12.75 MB / 2.22 GB, free: 485.9 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001256/7.721, allocations: 12 kB / 2.22 GB, free: 485.9 MB / 1.311 GB Notification: Performance of matching and sorting (n=1117) (initialization_lambda0): time 0.05667/7.777, allocations: 16.64 MB / 2.236 GB, free: 470.1 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 8.978e-05/7.777, allocations: 24.78 kB / 2.236 GB, free: 470.1 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001748/7.778, allocations: 67.97 kB / 2.236 GB, free: 470 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934/9.712, allocations: 340 MB / 2.568 GB, free: 129.5 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01091/9.723, allocations: 1.95 MB / 2.57 GB, free: 127.6 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009315/9.732, allocations: 9.565 MB / 2.58 GB, free: 117.7 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0179/9.75, allocations: 0.8888 MB / 2.581 GB, free: 116.8 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003819/9.754, allocations: 479.7 kB / 2.581 GB, free: 116.3 MB / 1.311 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.localCondition,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.localCondition,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.localCondition,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.localCondition,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.localCondition,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 (1011): * Single equations (assignments): 980 * Array equations: 14 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 7 * 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): 0 systems * 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.007156/9.761, allocations: 0.7991 MB / 2.582 GB, free: 115.6 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008107/9.769, allocations: 1.325 MB / 2.583 GB, free: 115 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04514/9.814, allocations: 13.95 MB / 2.597 GB, free: 101.1 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001241/9.815, allocations: 83.98 kB / 2.597 GB, free: 101 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.621e-05/9.815, allocations: 0 / 2.597 GB, free: 101 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02907/9.844, allocations: 10.93 MB / 2.608 GB, free: 90.01 MB / 1.311 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 postOpt removeSimpleEquations (simulation): time 0.09034/9.934, allocations: 28.27 MB / 2.635 GB, free: 61.85 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.84e-05/9.934, allocations: 4 kB / 2.635 GB, free: 61.85 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008617/9.943, allocations: 1.326 MB / 2.636 GB, free: 60.52 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.709/11.65, allocations: 147.8 MB / 2.781 GB, free: 0.5916 GB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00323/11.66, allocations: 230.5 kB / 2.781 GB, free: 0.5915 GB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008946/11.66, allocations: 7.82 MB / 2.789 GB, free: 0.5848 GB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/11.66, allocations: 1.031 kB / 2.789 GB, free: 0.5848 GB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05289/11.72, allocations: 19.55 MB / 2.808 GB, free: 0.5704 GB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01369/11.73, allocations: 2.779 MB / 2.81 GB, free: 0.5684 GB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009811/11.74, allocations: 191.9 kB / 2.811 GB, free: 0.5682 GB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01756/11.76, allocations: 0.6567 MB / 2.811 GB, free: 0.5676 GB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003864/11.76, allocations: 0.5676 MB / 2.812 GB, free: 0.567 GB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00363/11.77, allocations: 303.8 kB / 2.812 GB, free: 0.5667 GB / 1.311 GB Notification: Performance of sorting global known variables: time 0.03366/11.8, allocations: 10.7 MB / 2.823 GB, free: 0.5563 GB / 1.311 GB Notification: Performance of sort global known variables: time 1.072e-06/11.8, allocations: 0 / 2.823 GB, free: 0.5563 GB / 1.311 GB Notification: Performance of remove unused functions: time 0.04109/11.84, allocations: 6.605 MB / 2.829 GB, free: 0.5507 GB / 1.311 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.active,pla.chiStaCon.oneOn.active,pla.chiStaCon.off.localActive,pla.chiWatPumCon.pumStaCon.twoOn.active,pla.chiWatPumCon.pumStaCon.off.localActive,pla.chiWatPumCon.pumStaCon.oneOn.active,$cse58,$cse59,$cse60,$cse61,$cse62,$cse63,$cse64,$cse65,$cse66,$cse67,$cse68,$cse69,$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.localCondition,pla.chiWatPumCon.pumStaCon.con1.fire,pla.chiWatPumCon.pumStaCon.con1.t_start,pla.chiWatPumCon.pumStaCon.oneOn.localActive,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.off.active,pla.chiWatPumCon.pumStaCon.off.newActive,pla.chiWatPumCon.pumStaCon.off.oldActive,pla.chiWatPumCon.pumStaCon.twoOn.localActive,pla.chiWatPumCon.pumStaCon.twoOn.newActive,pla.chiWatPumCon.pumStaCon.twoOn.oldActive,pla.chiWatPumCon.pumStaCon.con2.localCondition,pla.chiWatPumCon.pumStaCon.con2.fire,pla.chiWatPumCon.pumStaCon.con2.t_start,pla.chiWatPumCon.pumStaCon.con3.localCondition,pla.chiWatPumCon.pumStaCon.con3.fire,pla.chiWatPumCon.pumStaCon.con3.t_start,pla.chiWatPumCon.pumStaCon.con4.localCondition,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.localActive,pla.chiStaCon.oneOn.inPort[2].occupied,pla.chiStaCon.oneOn.outPort[2].available,pla.chiStaCon.oneOn.newActive,pla.chiStaCon.oneOn.oldActive,pla.chiStaCon.twoOn.localActive,pla.chiStaCon.twoOn.newActive,pla.chiStaCon.twoOn.oldActive,pla.chiStaCon.offToOne.fire,pla.chiStaCon.offToOne.t_start,pla.chiStaCon.oneToTwo.fire,pla.chiStaCon.oneToTwo.t_start,pla.chiStaCon.twoToOne.localCondition,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 (709): * Single equations (assignments): 663 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 23 * When equations: 16 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 0 systems * 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.009553/11.85, allocations: 2.333 MB / 2.831 GB, free: 0.5491 GB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.05334/11.9, allocations: 21.46 MB / 2.852 GB, free: 0.5284 GB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 2.143e-05/11.9, allocations: 9.688 kB / 2.852 GB, free: 0.5284 GB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.01527/11.92, allocations: 6.064 MB / 2.858 GB, free: 0.5225 GB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05944/11.98, allocations: 7.592 MB / 2.866 GB, free: 0.5155 GB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08436/12.06, allocations: 31.92 MB / 2.897 GB, free: 496 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01867/12.08, allocations: 9.259 MB / 2.906 GB, free: 486.7 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009111/12.09, allocations: 1.19 MB / 2.907 GB, free: 485.5 MB / 1.311 GB Notification: Performance of SimCode: time 2.345e-06/12.09, allocations: 0 / 2.907 GB, free: 485.5 MB / 1.311 GB Notification: Performance of Templates: time 1.902/13.99, allocations: 0.9991 GB / 3.906 GB, free: 135.6 MB / 1.311 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++17 -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:11700:3: warning: expression result unused [-Wunused-value] tmp445; ^~~~~~ ./OMCppBuildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.PlantInitialize.cpp:11801:3: warning: expression result unused [-Wunused-value] tmp448; ^~~~~~ 2 warnings and 1 error generated. make: *** [: OMCppBuildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.PlantCalcHelperMain.o] Error 1