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.001205/0.001205, allocations: 103.3 kB / 16.27 MB, free: 6.016 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.001127/0.001127, allocations: 189 kB / 17.19 MB, free: 5.652 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.443/1.443, allocations: 205.1 MB / 223.1 MB, free: 12.17 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.817/1.817, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001805/0.001805, allocations: 67.91 kB / 0.6722 GB, free: 6.582 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2939, allocations: 114.6 MB / 0.784 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.CentralPlants.Cooling.Examples.Plant): time 1.726/2.02, allocations: 0.5297 GB / 1.314 GB, free: 50.09 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1351/2.155, allocations: 81.19 MB / 1.393 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02485/2.18, allocations: 401.6 kB / 1.393 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01826/2.198, allocations: 5.258 MB / 1.399 GB, free: 5.027 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.04768/2.246, allocations: 12.28 MB / 1.411 GB, free: 8.711 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.03107/2.277, allocations: 11.86 MB / 1.422 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.06413/2.341, allocations: 43.08 MB / 1.464 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03876/2.38, allocations: 18.64 MB / 1.482 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04376/2.424, allocations: 15.46 MB / 1.497 GB, free: 15.67 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02457/2.449, allocations: 11.9 MB / 1.509 GB, free: 3.723 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.009465/2.458, allocations: 2.301 MB / 1.511 GB, free: 1.422 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02529/2.483, allocations: 7.417 MB / 1.519 GB, free: 9.996 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.01093/2.494, allocations: 5.524 MB / 1.524 GB, free: 4.457 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.02574/2.52, allocations: 10.33 MB / 1.534 GB, free: 10.08 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 1.492/4.012, allocations: 36.09 MB / 1.569 GB, free: 93.45 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/4.012, allocations: 0.9688 kB / 1.569 GB, free: 93.45 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.575e-06/4.012, allocations: 0 / 1.569 GB, free: 93.45 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.001679/4.014, allocations: 0 / 1.569 GB, free: 93.45 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.1011/4.115, allocations: 19.84 MB / 1.589 GB, free: 86.16 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 7.208e-05/4.115, allocations: 11.59 kB / 1.589 GB, free: 86.16 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03169/4.146, allocations: 3.958 MB / 1.593 GB, free: 85.25 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06855/4.215, allocations: 20.93 MB / 1.613 GB, free: 82.71 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001967/4.217, allocations: 0.9091 MB / 1.614 GB, free: 82.56 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008529/4.226, allocations: 0.975 MB / 1.615 GB, free: 82.55 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06541/4.291, allocations: 14.72 MB / 1.629 GB, free: 81.42 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001004/4.292, allocations: 15.44 kB / 1.629 GB, free: 81.42 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007931/4.3, allocations: 377.3 kB / 1.63 GB, free: 81.42 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006298/4.301, allocations: 244.3 kB / 1.63 GB, free: 81.42 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05294/4.354, allocations: 14.44 MB / 1.644 GB, free: 81.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 removeSimpleEquations (simulation): time 0.163/4.517, allocations: 61.21 MB / 1.704 GB, free: 51.89 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02628/4.543, allocations: 10.37 MB / 1.714 GB, free: 48.14 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01354/4.557, allocations: 5.789 MB / 1.719 GB, free: 45.09 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.06151/4.618, allocations: 23.89 MB / 1.743 GB, free: 20.91 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01841/4.637, allocations: 6.281 MB / 1.749 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01414/4.651, allocations: 1.294 MB / 1.75 GB, free: 13.29 MB / 1.076 GB Notification: Performance of pre-optimization done (n=665): time 4.471e-05/4.651, allocations: 0 / 1.75 GB, free: 13.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=665): time 0.07639/4.727, allocations: 21.62 MB / 1.771 GB, free: 7.512 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006543/4.728, allocations: 0.8691 MB / 1.772 GB, free: 6.449 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06185/4.79, allocations: 15.27 MB / 1.787 GB, free: 7.262 MB / 1.108 GB Notification: Performance of collectPreVariables (initialization): time 0.004055/4.794, allocations: 240.1 kB / 1.787 GB, free: 7.023 MB / 1.108 GB Notification: Performance of collectInitialEqns (initialization): time 0.01649/4.811, allocations: 6.944 MB / 1.794 GB, free: 128 kB / 1.108 GB Notification: Performance of collectInitialBindings (initialization): time 0.006322/4.817, allocations: 2.192 MB / 1.796 GB, free: 13.96 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01367/4.831, allocations: 2.077 MB / 1.798 GB, free: 11.87 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001167/4.831, allocations: 301.1 kB / 1.799 GB, free: 11.57 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01556/4.846, allocations: 6.036 MB / 1.804 GB, free: 5.516 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01918/4.866, allocations: 8.75 MB / 1.813 GB, free: 11.84 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0325/4.898, allocations: 13.28 MB / 1.826 GB, free: 14.08 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/4.898, allocations: 12 kB / 1.826 GB, free: 14.07 MB / 1.154 GB Notification: Performance of matching and sorting (n=1117) (initialization): time 0.05851/4.957, allocations: 17.31 MB / 1.843 GB, free: 13 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 9.554e-05/4.957, allocations: 24 kB / 1.843 GB, free: 12.98 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002076/4.957, allocations: 67.97 kB / 1.843 GB, free: 12.91 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.757/7.714, allocations: 340.3 MB / 2.175 GB, free: 0.5438 GB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01142/7.726, allocations: 1.972 MB / 2.177 GB, free: 0.5421 GB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009454/7.735, allocations: 9.188 MB / 2.186 GB, free: 0.5341 GB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01773/7.753, allocations: 0.8315 MB / 2.187 GB, free: 0.5335 GB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003954/7.757, allocations: 0.4901 MB / 2.187 GB, free: 0.533 GB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02971/7.787, allocations: 10.93 MB / 2.198 GB, free: 0.5266 GB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01786/7.805, allocations: 8.472 MB / 2.206 GB, free: 0.5184 GB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03357/7.838, allocations: 12.75 MB / 2.219 GB, free: 0.5055 GB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001434/7.839, allocations: 12 kB / 2.219 GB, free: 0.5055 GB / 1.326 GB Notification: Performance of matching and sorting (n=1117) (initialization_lambda0): time 0.05856/7.897, allocations: 16.64 MB / 2.235 GB, free: 0.4901 GB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/7.897, allocations: 28 kB / 2.235 GB, free: 0.4901 GB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002329/7.898, allocations: 55.98 kB / 2.235 GB, free: 0.49 GB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086/9.983, allocations: 340 MB / 2.567 GB, free: 161.3 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01212/9.996, allocations: 1.958 MB / 2.569 GB, free: 159.4 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01259/10.01, allocations: 9.581 MB / 2.578 GB, free: 149.5 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01899/10.03, allocations: 0.8931 MB / 2.579 GB, free: 148.6 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004151/10.03, allocations: 481.1 kB / 2.58 GB, free: 148.1 MB / 1.326 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.007615/10.04, allocations: 0.7853 MB / 2.581 GB, free: 147.4 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008802/10.05, allocations: 1.334 MB / 2.582 GB, free: 146.7 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05032/10.1, allocations: 13.95 MB / 2.595 GB, free: 132.9 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000156/10.1, allocations: 87.97 kB / 2.596 GB, free: 132.8 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.346e-05/10.1, allocations: 0 / 2.596 GB, free: 132.8 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03268/10.13, allocations: 10.93 MB / 2.606 GB, free: 121.8 MB / 1.326 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.09258/10.22, allocations: 28.4 MB / 2.634 GB, free: 93.45 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.071e-05/10.22, allocations: 0 / 2.634 GB, free: 93.45 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008475/10.23, allocations: 1.33 MB / 2.635 GB, free: 92.11 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944/12.18, allocations: 147.8 MB / 2.78 GB, free: 0.6329 GB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003197/12.18, allocations: 235.3 kB / 2.78 GB, free: 0.6329 GB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00885/12.19, allocations: 7.816 MB / 2.787 GB, free: 0.6277 GB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/12.19, allocations: 0 / 2.787 GB, free: 0.6277 GB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04231/12.23, allocations: 19.53 MB / 2.806 GB, free: 0.617 GB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01225/12.24, allocations: 2.781 MB / 2.809 GB, free: 0.615 GB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008486/12.25, allocations: 195.9 kB / 2.809 GB, free: 0.6148 GB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01477/12.27, allocations: 0.658 MB / 2.81 GB, free: 0.6142 GB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002923/12.27, allocations: 0.5656 MB / 2.811 GB, free: 0.6136 GB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002618/12.27, allocations: 307.8 kB / 2.811 GB, free: 0.6133 GB / 1.326 GB Notification: Performance of sorting global known variables: time 0.0301/12.3, allocations: 10.7 MB / 2.821 GB, free: 0.603 GB / 1.326 GB Notification: Performance of sort global known variables: time 9.01e-07/12.3, allocations: 0 / 2.821 GB, free: 0.603 GB / 1.326 GB Notification: Performance of remove unused functions: time 0.04017/12.34, allocations: 6.62 MB / 2.828 GB, free: 0.5973 GB / 1.326 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.008876/12.35, allocations: 2.327 MB / 2.83 GB, free: 0.5957 GB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.1193/12.47, allocations: 39.43 MB / 2.869 GB, free: 0.5574 GB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 2.409e-05/12.47, allocations: 9.562 kB / 2.869 GB, free: 0.5574 GB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.01912/12.49, allocations: 6.061 MB / 2.875 GB, free: 0.5515 GB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05477/12.54, allocations: 7.611 MB / 2.882 GB, free: 0.5446 GB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08384/12.63, allocations: 32.28 MB / 2.913 GB, free: 0.5131 GB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01543/12.64, allocations: 9.261 MB / 2.923 GB, free: 0.5041 GB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006794/12.65, allocations: 1.186 MB / 2.924 GB, free: 0.5029 GB / 1.326 GB Notification: Performance of SimCode: time 1.923e-06/12.65, allocations: 0 / 2.924 GB, free: 0.5029 GB / 1.326 GB Notification: Performance of Templates: time 1.819/14.47, allocations: 0.9992 GB / 3.923 GB, free: 183.2 MB / 1.326 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