Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewables.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterRenewables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewables") translateModel(Buildings.Examples.ChillerPlant.DataCenterRenewables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.481/1.481, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 171.1 kB / 327.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.4 MB / 0.5786 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000993/0.0009927, allocations: 75.81 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004294, allocations: 13.12 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2672, allocations: 106.3 MB / 0.9014 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterRenewables): time 1.123/1.39, allocations: 474 MB / 1.364 GB, free: 7.77 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.837/2.227, allocations: 80 MB / 1.442 GB, free: 30.36 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0218/2.249, allocations: 340.6 kB / 1.443 GB, free: 30.36 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.01833/2.267, allocations: 4.658 MB / 1.447 GB, free: 30.31 MB / 0.9167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.04488/2.312, allocations: 13.49 MB / 1.461 GB, free: 29.78 MB / 0.9167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.02916/2.341, allocations: 10.35 MB / 1.471 GB, free: 29.44 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.06978/2.411, allocations: 49.47 MB / 1.519 GB, free: 26.39 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04098/2.452, allocations: 18.46 MB / 1.537 GB, free: 20.52 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03187/2.484, allocations: 11.65 MB / 1.548 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02392/2.508, allocations: 10.78 MB / 1.559 GB, free: 4.438 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.00543/2.513, allocations: 0.6094 MB / 1.559 GB, free: 3.828 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02839/2.542, allocations: 9.279 MB / 1.569 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.009132/2.551, allocations: 3.695 MB / 1.572 GB, free: 7.715 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.02239/2.573, allocations: 8.049 MB / 1.58 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.04032/2.614, allocations: 26.42 MB / 1.606 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/2.614, allocations: 0 / 1.606 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.116e-06/2.614, allocations: 0 / 1.606 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.00111/2.615, allocations: 0 / 1.606 GB, free: 6.047 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2773 * Number of variables: 2773 Notification: Performance of Generate backend data structure: time 0.04281/2.658, allocations: 14.53 MB / 1.62 GB, free: 7.5 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/2.658, allocations: 8.031 kB / 1.62 GB, free: 7.492 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02908/2.687, allocations: 4.55 MB / 1.624 GB, free: 2.926 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03582/2.723, allocations: 15.06 MB / 1.639 GB, free: 4.059 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00223/2.725, allocations: 1.116 MB / 1.64 GB, free: 2.934 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004596/2.73, allocations: 1.123 MB / 1.641 GB, free: 1.82 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04938/2.779, allocations: 15.5 MB / 1.656 GB, free: 1.953 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000444/2.78, allocations: 21.94 kB / 1.657 GB, free: 1.934 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003495/2.783, allocations: 452.2 kB / 1.657 GB, free: 1.5 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005557/2.784, allocations: 0.4888 MB / 1.657 GB, free: 1.008 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04267/2.826, allocations: 14.75 MB / 1.672 GB, free: 2.234 MB / 1.026 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.1279/2.954, allocations: 66.85 MB / 1.737 GB, free: 12.65 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02863/2.983, allocations: 12.36 MB / 1.749 GB, free: 144 kB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0137/2.997, allocations: 5.657 MB / 1.755 GB, free: 10.47 MB / 1.12 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.05082/3.048, allocations: 21.54 MB / 1.776 GB, free: 4.195 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01458/3.062, allocations: 5.693 MB / 1.781 GB, free: 14.45 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01001/3.072, allocations: 1.701 MB / 1.783 GB, free: 12.75 MB / 1.151 GB Notification: Performance of pre-optimization done (n=730): time 4.928e-05/3.072, allocations: 0 / 1.783 GB, free: 12.75 MB / 1.151 GB Notification: Performance of matching and sorting (n=822): time 0.7415/3.814, allocations: 55.63 MB / 1.837 GB, free: 0.5524 GB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002008/3.814, allocations: 327.8 kB / 1.838 GB, free: 0.5521 GB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02266/3.837, allocations: 11.38 MB / 1.849 GB, free: 0.5483 GB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002437/3.839, allocations: 228.4 kB / 1.849 GB, free: 0.5482 GB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.006545/3.846, allocations: 6.301 MB / 1.855 GB, free: 0.5438 GB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00456/3.85, allocations: 2.745 MB / 1.858 GB, free: 0.5417 GB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001899/3.852, allocations: 186.8 kB / 1.858 GB, free: 0.5415 GB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000747/3.853, allocations: 0.6768 MB / 1.859 GB, free: 0.5411 GB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01881/3.872, allocations: 6.77 MB / 1.865 GB, free: 0.5389 GB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02109/3.893, allocations: 9.4 MB / 1.874 GB, free: 0.5339 GB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03732/3.93, allocations: 15.38 MB / 1.889 GB, free: 0.5267 GB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.087e-05/3.931, allocations: 17.84 kB / 1.889 GB, free: 0.5267 GB / 1.167 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.05251/3.983, allocations: 17.81 MB / 1.907 GB, free: 0.5121 GB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006684/3.984, allocations: 1.71 MB / 1.908 GB, free: 0.5098 GB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.327e-05/3.984, allocations: 52 kB / 1.909 GB, free: 0.5097 GB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003352/3.987, allocations: 0.8844 MB / 1.909 GB, free: 0.5088 GB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01503/4.002, allocations: 2.793 MB / 1.912 GB, free: 0.5061 GB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007265/4.01, allocations: 11.06 MB / 1.923 GB, free: 0.4946 GB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01822/4.028, allocations: 1.741 MB / 1.925 GB, free: 0.4929 GB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002666/4.031, allocations: 483.7 kB / 1.925 GB, free: 0.4925 GB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/4.031, allocations: 0 / 1.925 GB, free: 0.4925 GB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04602/4.077, allocations: 16.3 MB / 1.941 GB, free: 487.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001413/4.077, allocations: 52.22 kB / 1.941 GB, free: 487.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002905/4.08, allocations: 0.8064 MB / 1.942 GB, free: 487.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01539/4.095, allocations: 2.73 MB / 1.945 GB, free: 484.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008032/4.103, allocations: 9.899 MB / 1.954 GB, free: 473.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01901/4.122, allocations: 1.686 MB / 1.956 GB, free: 472.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003271/4.126, allocations: 470.7 kB / 1.956 GB, free: 471.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 236 * Number of states: 0 () * Number of discrete variables: 106 ($PRE.dataCenterContinuousTimeControl.wseCon.T1.enableFire,$PRE.dataCenterContinuousTimeControl.wseCon.T2.enableFire,$PRE.con.multiSwitch1.u[1],$PRE.con.multiSwitch1.u[2],$PRE.con.t1.enableFire,$PRE.con.t2.enableFire,$PRE.con.t3.enableFire,$PRE.con.t4.enableFire,con.stateGraphRoot.resume,con.stateGraphRoot.suspend,dataCenterContinuousTimeControl.wseCon.stateGraphRoot.resume,dataCenterContinuousTimeControl.wseCon.stateGraphRoot.suspend,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.dataCenterContinuousTimeControl.wseCon.off.localActive,dataCenterContinuousTimeControl.wseCon.off.localActive,$PRE.dataCenterContinuousTimeControl.wseCon.off.newActive,dataCenterContinuousTimeControl.wseCon.off.newActive,$PRE.dataCenterContinuousTimeControl.wseCon.off.oldActive,dataCenterContinuousTimeControl.wseCon.off.oldActive,dataCenterContinuousTimeControl.wseCon.off.active,dataCenterContinuousTimeControl.wseCon.T1.condition,dataCenterContinuousTimeControl.wseCon.T1.enableFire,dataCenterContinuousTimeControl.wseCon.T1.fire,$PRE.dataCenterContinuousTimeControl.wseCon.T1.t_start,dataCenterContinuousTimeControl.wseCon.T1.t_start,dataCenterContinuousTimeControl.wseCon.on.active,$PRE.dataCenterContinuousTimeControl.wseCon.on.localActive,dataCenterContinuousTimeControl.wseCon.on.localActive,$PRE.dataCenterContinuousTimeControl.wseCon.on.newActive,dataCenterContinuousTimeControl.wseCon.on.newActive,$PRE.dataCenterContinuousTimeControl.wseCon.on.oldActive,dataCenterContinuousTimeControl.wseCon.on.oldActive,dataCenterContinuousTimeControl.wseCon.T2.condition,dataCenterContinuousTimeControl.wseCon.T2.enableFire,dataCenterContinuousTimeControl.wseCon.T2.fire,$PRE.dataCenterContinuousTimeControl.wseCon.T2.t_start,dataCenterContinuousTimeControl.wseCon.T2.t_start,dataCenterContinuousTimeControl.wseCon.stateGraphRoot.activeSteps,$PRE.dataCenterContinuousTimeControl.chiSwi.hysteresis.y,dataCenterContinuousTimeControl.chiSwi.hysteresis.y,$PRE.dataCenterContinuousTimeControl.weaData.conTimMin.tNext,dataCenterContinuousTimeControl.weaData.conTimMin.tNext,$PRE.dataCenterContinuousTimeControl.weaData.conTim.tNext,dataCenterContinuousTimeControl.weaData.conTim.tNext,dataCenterContinuousTimeControl.or1.u1,dataCenterContinuousTimeControl.or1.y,$PRE.bat.cha.underCharged,bat.cha.underCharged,$PRE.bat.cha.overCharged,bat.cha.overCharged,con.lessThreshold.y,con.not1.y,con.greaterThreshold.y,con.multiSwitch1.u[1],con.multiSwitch1.u[2],con.multiSwitch1.firstActiveIndex,con.off.active,$PRE.con.off.localActive,con.off.localActive,con.off.inPort[1].set,con.off.outPort[1].reset,$PRE.con.off.newActive,con.off.newActive,$PRE.con.off.oldActive,con.off.oldActive,con.stateGraphRoot.activeSteps,con.alternative.split[2].available,con.t1.condition,con.t1.enableFire,con.t1.fire,$PRE.con.t1.t_start,con.t1.t_start,con.t2.condition,con.t2.enableFire,con.t2.fire,$PRE.con.t2.t_start,con.t2.t_start,$PRE.con.charge.localActive,con.charge.localActive,$PRE.con.charge.newActive,con.charge.newActive,$PRE.con.charge.oldActive,con.charge.oldActive,con.charge.active,$PRE.con.discharge.localActive,con.discharge.localActive,$PRE.con.discharge.newActive,con.discharge.newActive,$PRE.con.discharge.oldActive,con.discharge.oldActive,con.discharge.active,con.t3.condition,con.t3.enableFire,con.t4.condition,con.t4.enableFire,dataCenterContinuousTimeControl.weaData.conTimMin.canRepeatWeatherFile,dataCenterContinuousTimeControl.weaData.conTim.canRepeatWeatherFile,dataCenterContinuousTimeControl.triAndRes.conPID.I.trigger_internal,dataCenterContinuousTimeControl.EIT.local_reset,dataCenterContinuousTimeControl.EHVAC.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1188): * Single equations (assignments): 1169 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 9 * 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): 3 systems {(1,7,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(3,9), (1,2), (2,9), (1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0135/4.139, allocations: 4.387 MB / 1.961 GB, free: 467.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005227/4.144, allocations: 1.196 MB / 1.962 GB, free: 466.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05123/4.196, allocations: 16.73 MB / 1.978 GB, free: 449.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.369e-05/4.196, allocations: 95.92 kB / 1.978 GB, free: 449.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/4.196, allocations: 4 kB / 1.978 GB, free: 449.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03729/4.233, allocations: 13.77 MB / 1.992 GB, free: 435.4 MB / 1.167 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.07758/4.311, allocations: 38.63 MB / 2.029 GB, free: 395.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.747e-05/4.311, allocations: 4 kB / 2.029 GB, free: 395.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01418/4.325, allocations: 2.323 MB / 2.032 GB, free: 393.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00239/4.327, allocations: 0.6844 MB / 2.032 GB, free: 392.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002143/4.33, allocations: 259.8 kB / 2.033 GB, free: 392.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006534/4.336, allocations: 10.36 MB / 2.043 GB, free: 381.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/4.336, allocations: 0 / 2.043 GB, free: 381.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0609/4.397, allocations: 24.32 MB / 2.066 GB, free: 356.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008616/4.406, allocations: 3.043 MB / 2.069 GB, free: 353.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00378/4.41, allocations: 188 kB / 2.07 GB, free: 353.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01533/4.425, allocations: 1.53 MB / 2.071 GB, free: 352.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002122/4.427, allocations: 0.5919 MB / 2.072 GB, free: 351.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001559/4.429, allocations: 335.7 kB / 2.072 GB, free: 351.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01527/4.444, allocations: 7.765 MB / 2.08 GB, free: 343.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.002e-06/4.444, allocations: 0 / 2.08 GB, free: 343.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.03092/4.475, allocations: 6.244 MB / 2.086 GB, free: 337.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 37 (dataCenterContinuousTimeControl.cooCoi.ele[1].vol1.dynBal.U,dataCenterContinuousTimeControl.cooCoi.ele[1].vol2.dynBal.U,dataCenterContinuousTimeControl.cooCoi.ele[1].vol2.dynBal.mXi[1],dataCenterContinuousTimeControl.cooCoi.ele[1].mas.T,dataCenterContinuousTimeControl.cooCoi.ele[2].vol1.dynBal.U,dataCenterContinuousTimeControl.cooCoi.ele[2].vol2.dynBal.U,dataCenterContinuousTimeControl.cooCoi.ele[2].vol2.dynBal.mXi[1],dataCenterContinuousTimeControl.cooCoi.ele[2].mas.T,dataCenterContinuousTimeControl.cooCoi.ele[3].vol1.dynBal.U,dataCenterContinuousTimeControl.cooCoi.ele[3].vol2.dynBal.U,dataCenterContinuousTimeControl.cooCoi.ele[3].vol2.dynBal.mXi[1],dataCenterContinuousTimeControl.cooCoi.ele[3].mas.T,dataCenterContinuousTimeControl.cooCoi.ele[4].vol1.dynBal.U,dataCenterContinuousTimeControl.cooCoi.ele[4].vol2.dynBal.U,dataCenterContinuousTimeControl.cooCoi.ele[4].vol2.dynBal.m,dataCenterContinuousTimeControl.cooCoi.ele[4].vol2.dynBal.mXi[1],dataCenterContinuousTimeControl.cooCoi.ele[4].mas.T,dataCenterContinuousTimeControl.roo.rooVol.dynBal.U,dataCenterContinuousTimeControl.roo.rooVol.dynBal.m,dataCenterContinuousTimeControl.roo.rooVol.dynBal.mXi[1],dataCenterContinuousTimeControl.pumCHW.vol.dynBal.U,dataCenterContinuousTimeControl.expVesCHW.m,dataCenterContinuousTimeControl.expVesCHW.H,dataCenterContinuousTimeControl.cooTow.vol.dynBal.U,dataCenterContinuousTimeControl.pumCW.vol.dynBal.U,dataCenterContinuousTimeControl.expVesChi.m,dataCenterContinuousTimeControl.expVesChi.H,dataCenterContinuousTimeControl.chi.vol1.dynBal.U,dataCenterContinuousTimeControl.chi.vol2.dynBal.U,dataCenterContinuousTimeControl.TAirSup.T,dataCenterContinuousTimeControl.TCHWEntChi.T,dataCenterContinuousTimeControl.TCWLeaTow.T,dataCenterContinuousTimeControl.TCHWLeaCoi.T,dataCenterContinuousTimeControl.EHVAC.y,dataCenterContinuousTimeControl.EIT.y,dataCenterContinuousTimeControl.triAndRes.conPID.I.y,bat.cha.SOC) * Number of discrete variables: 73 (dataCenterContinuousTimeControl.wseCon.T1.enableFire,con.t2.enableFire,con.t1.enableFire,dataCenterContinuousTimeControl.wseCon.T2.enableFire,con.discharge.active,con.discharge.localActive,con.charge.active,con.charge.localActive,con.off.localActive,dataCenterContinuousTimeControl.wseCon.on.localActive,dataCenterContinuousTimeControl.wseCon.off.localActive,$cse39,$cse40,$cse41,$cse42,$cse43,$cse44,$cse91,$cse92,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,dataCenterContinuousTimeControl.wseCon.off.newActive,dataCenterContinuousTimeControl.wseCon.off.oldActive,dataCenterContinuousTimeControl.wseCon.off.active,dataCenterContinuousTimeControl.wseCon.T1.condition,dataCenterContinuousTimeControl.wseCon.T1.fire,dataCenterContinuousTimeControl.wseCon.T1.t_start,dataCenterContinuousTimeControl.wseCon.on.active,dataCenterContinuousTimeControl.wseCon.on.newActive,dataCenterContinuousTimeControl.wseCon.on.oldActive,dataCenterContinuousTimeControl.wseCon.T2.condition,dataCenterContinuousTimeControl.wseCon.T2.fire,dataCenterContinuousTimeControl.wseCon.T2.t_start,dataCenterContinuousTimeControl.wseCon.stateGraphRoot.activeSteps,dataCenterContinuousTimeControl.chiSwi.hysteresis.y,dataCenterContinuousTimeControl.weaData.conTimMin.tNext,dataCenterContinuousTimeControl.weaData.conTim.tNext,dataCenterContinuousTimeControl.or1.u1,dataCenterContinuousTimeControl.or1.y,bat.cha.underCharged,bat.cha.overCharged,con.lessThreshold.y,con.not1.y,con.greaterThreshold.y,con.multiSwitch1.u[1],con.multiSwitch1.u[2],con.multiSwitch1.firstActiveIndex,con.off.active,con.off.inPort[1].set,con.off.outPort[1].reset,con.off.newActive,con.off.oldActive,con.stateGraphRoot.activeSteps,con.alternative.split[2].available,con.t1.condition,con.t1.fire,con.t1.t_start,con.t2.condition,con.t2.fire,con.t2.t_start,con.charge.newActive,con.charge.oldActive,con.discharge.newActive,con.discharge.oldActive,con.t3.condition,con.t3.enableFire,con.t4.condition,con.t4.enableFire) * Number of discrete states: 10 (dataCenterContinuousTimeControl.weaData.conTim.tNext,dataCenterContinuousTimeControl.weaData.conTimMin.tNext,dataCenterContinuousTimeControl.wseCon.off.newActive,dataCenterContinuousTimeControl.wseCon.on.newActive,dataCenterContinuousTimeControl.chiSwi.hysteresis.y,bat.cha.underCharged,bat.cha.overCharged,con.off.newActive,con.charge.newActive,con.discharge.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (869): * Single equations (assignments): 831 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 9 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,2), (1,3), (1,2), (3,13), (1,2), (2,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00604/4.481, allocations: 2.151 MB / 2.088 GB, free: 335.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0645/4.546, allocations: 25.41 MB / 2.113 GB, free: 310.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.975e-05/4.546, allocations: 6.562 kB / 2.113 GB, free: 310.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.02026/4.566, allocations: 8.183 MB / 2.121 GB, free: 301.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04096/4.607, allocations: 6.469 MB / 2.127 GB, free: 295.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06727/4.674, allocations: 37.62 MB / 2.164 GB, free: 257.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01105/4.685, allocations: 7.771 MB / 2.171 GB, free: 250 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007664/4.693, allocations: 1.206 MB / 2.172 GB, free: 248.8 MB / 1.167 GB Notification: Performance of SimCode: time 8.62e-07/4.693, allocations: 3.938 kB / 2.172 GB, free: 248.8 MB / 1.167 GB Notification: Performance of Templates: time 1.868/6.561, allocations: 1.083 GB / 3.255 GB, free: 290.1 MB / 1.167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewables.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewables.makefile clang++ -std=c++14 -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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewablesCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewablesCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewablesCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewablesFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/getTimeSpan.c:23: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_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewablesCalcHelperMain.cpp:29: ./OMCppBuildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewablesInitialize.cpp:14501:3: warning: expression result unused [-Wunused-value] tmp504; ^~~~~~ 1 warning and 1 error generated. make: *** [: OMCppBuildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewablesCalcHelperMain.o] Error 1