Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.DataCenterRenewables.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.Examples.ChillerPlant.DataCenterRenewables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.DataCenterRenewables") translateModel(Buildings.Examples.ChillerPlant.DataCenterRenewables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.DataCenterRenewables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 106 kB / 16.37 MB, free: 6.461 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.001084/0.001083, allocations: 184.1 kB / 17.3 MB, free: 5.824 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.426/1.426, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.765/1.765, allocations: 292.3 MB / 0.5496 GB, free: 17.4 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.001391/0.001391, allocations: 72.69 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2505, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterRenewables): time 1.694/1.945, allocations: 483.6 MB / 1.257 GB, free: 34.48 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1225/2.067, allocations: 80.05 MB / 1.335 GB, free: 13.32 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02924/2.097, allocations: 398.9 kB / 1.336 GB, free: 13.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.02348/2.12, allocations: 6.191 MB / 1.342 GB, free: 9.145 MB / 0.92 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.04895/2.169, allocations: 14.5 MB / 1.356 GB, free: 15.11 MB / 0.9356 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.03364/2.203, allocations: 11.25 MB / 1.367 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.06834/2.271, allocations: 39.95 MB / 1.406 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04857/2.32, allocations: 25.81 MB / 1.431 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03735/2.357, allocations: 15.24 MB / 1.446 GB, free: 6.07 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0252/2.383, allocations: 11.84 MB / 1.457 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.00911/2.392, allocations: 2.133 MB / 1.46 GB, free: 8.887 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0332/2.425, allocations: 10.51 MB / 1.47 GB, free: 15.12 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.01232/2.437, allocations: 5.325 MB / 1.475 GB, free: 9.871 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.02607/2.463, allocations: 9.894 MB / 1.485 GB, free: 28 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.06564/2.529, allocations: 33.16 MB / 1.517 GB, free: 15.75 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/2.529, allocations: 0 / 1.517 GB, free: 15.75 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.725e-06/2.529, allocations: 4 kB / 1.517 GB, free: 15.74 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.001153/2.53, allocations: 0 / 1.517 GB, free: 15.74 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.06805/2.598, allocations: 17.98 MB / 1.535 GB, free: 13.76 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/2.598, allocations: 12.03 kB / 1.535 GB, free: 13.75 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03298/2.631, allocations: 4.366 MB / 1.539 GB, free: 9.367 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04028/2.672, allocations: 15.09 MB / 1.554 GB, free: 10.45 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001144/2.673, allocations: 0.9211 MB / 1.555 GB, free: 9.523 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005017/2.678, allocations: 1.114 MB / 1.556 GB, free: 8.418 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.9253/3.603, allocations: 15.31 MB / 1.571 GB, free: 463 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006866/3.604, allocations: 23.5 kB / 1.571 GB, free: 463 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004219/3.608, allocations: 459.5 kB / 1.571 GB, free: 463 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005822/3.609, allocations: 499.7 kB / 1.572 GB, free: 462.9 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04951/3.658, allocations: 14.37 MB / 1.586 GB, free: 458.3 MB / 1.123 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.1397/3.798, allocations: 66.2 MB / 1.65 GB, free: 413.2 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03002/3.828, allocations: 12.22 MB / 1.662 GB, free: 405.9 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01323/3.841, allocations: 5.512 MB / 1.668 GB, free: 403.1 MB / 1.123 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.0547/3.896, allocations: 21.5 MB / 1.689 GB, free: 385.8 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01546/3.912, allocations: 5.501 MB / 1.694 GB, free: 382.6 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009327/3.921, allocations: 0.8988 MB / 1.695 GB, free: 382 MB / 1.123 GB Notification: Performance of pre-optimization done (n=724): time 6.018e-05/3.921, allocations: 1.156 kB / 1.695 GB, free: 382 MB / 1.123 GB Notification: Performance of matching and sorting (n=816): time 0.2406/4.162, allocations: 54.24 MB / 1.748 GB, free: 338.7 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001734/4.162, allocations: 333.7 kB / 1.748 GB, free: 338.4 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02713/4.189, allocations: 11.16 MB / 1.759 GB, free: 327.2 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.003066/4.192, allocations: 229.7 kB / 1.759 GB, free: 327 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.008702/4.201, allocations: 6.328 MB / 1.765 GB, free: 320.7 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.005335/4.206, allocations: 2.718 MB / 1.768 GB, free: 318 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01008/4.216, allocations: 2.059 MB / 1.77 GB, free: 315.9 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 5.341e-05/4.217, allocations: 301.1 kB / 1.77 GB, free: 315.6 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01849/4.235, allocations: 6.65 MB / 1.777 GB, free: 309 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02318/4.258, allocations: 9.253 MB / 1.786 GB, free: 298.7 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04103/4.299, allocations: 15.15 MB / 1.801 GB, free: 282.8 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001319/4.3, allocations: 16 kB / 1.801 GB, free: 282.8 MB / 1.123 GB Notification: Performance of matching and sorting (n=1242) (initialization): time 0.06064/4.36, allocations: 17.51 MB / 1.818 GB, free: 265.2 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/4.36, allocations: 32.62 kB / 1.818 GB, free: 265.2 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001377/4.361, allocations: 52.56 kB / 1.818 GB, free: 265.1 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003563/4.364, allocations: 0.8535 MB / 1.819 GB, free: 264.3 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01634/4.38, allocations: 2.734 MB / 1.821 GB, free: 261.5 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008276/4.389, allocations: 11.51 MB / 1.833 GB, free: 249.3 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01931/4.408, allocations: 1.169 MB / 1.834 GB, free: 248.1 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004893/4.413, allocations: 489 kB / 1.834 GB, free: 247.6 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03091/4.444, allocations: 10.31 MB / 1.844 GB, free: 237.3 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02338/4.467, allocations: 9.135 MB / 1.853 GB, free: 227.2 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03759/4.505, allocations: 14.92 MB / 1.868 GB, free: 211.5 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001251/4.505, allocations: 16 kB / 1.868 GB, free: 211.5 MB / 1.123 GB Notification: Performance of matching and sorting (n=1242) (initialization_lambda0): time 0.05556/4.561, allocations: 17.19 MB / 1.885 GB, free: 194.2 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 9.563e-05/4.561, allocations: 32.19 kB / 1.885 GB, free: 194.2 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001334/4.561, allocations: 56 kB / 1.885 GB, free: 194.1 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002965/4.564, allocations: 0.7832 MB / 1.885 GB, free: 193.3 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01566/4.58, allocations: 2.695 MB / 1.888 GB, free: 190.6 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009971/4.59, allocations: 13.31 MB / 1.901 GB, free: 176.4 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0209/4.611, allocations: 1.215 MB / 1.902 GB, free: 175.2 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003439/4.614, allocations: 482.9 kB / 1.903 GB, free: 174.7 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * 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,dataCenterContinuousTimeControl.weaData.conTim.canRepeatWeatherFile,dataCenterContinuousTimeControl.weaData.conTimMin.canRepeatWeatherFile,con.t4.enableFire,con.t4.localCondition,con.t3.enableFire,con.t3.localCondition,con.discharge.active,con.discharge.oldActive,$PRE.con.discharge.oldActive,con.discharge.newActive,$PRE.con.discharge.newActive,con.discharge.localActive,$PRE.con.discharge.localActive,con.charge.active,con.charge.oldActive,$PRE.con.charge.oldActive,con.charge.newActive,$PRE.con.charge.newActive,con.charge.localActive,$PRE.con.charge.localActive,con.t2.t_start,$PRE.con.t2.t_start,con.t2.fire,con.t2.enableFire,con.t2.localCondition,con.t1.t_start,$PRE.con.t1.t_start,con.t1.fire,con.t1.enableFire,con.t1.localCondition,con.alternative.split[2].available,con.stateGraphRoot.activeSteps,con.off.oldActive,$PRE.con.off.oldActive,con.off.newActive,$PRE.con.off.newActive,con.off.outPort[1].reset,con.off.inPort[1].set,con.off.localActive,$PRE.con.off.localActive,con.off.active,con.multiSwitch1.firstActiveIndex,con.multiSwitch1.u[2],con.multiSwitch1.u[1],con.greaterThreshold.y,con.not1.y,con.lessThreshold.y,bat.cha.overCharged,$PRE.bat.cha.overCharged,bat.cha.underCharged,$PRE.bat.cha.underCharged,dataCenterContinuousTimeControl.or1.y,dataCenterContinuousTimeControl.or1.u1,dataCenterContinuousTimeControl.weaData.conTim.tNext,$PRE.dataCenterContinuousTimeControl.weaData.conTim.tNext,dataCenterContinuousTimeControl.weaData.conTimMin.tNext,$PRE.dataCenterContinuousTimeControl.weaData.conTimMin.tNext,dataCenterContinuousTimeControl.chiSwi.hysteresis.y,$PRE.dataCenterContinuousTimeControl.chiSwi.hysteresis.y,dataCenterContinuousTimeControl.wseCon.stateGraphRoot.activeSteps,dataCenterContinuousTimeControl.wseCon.T2.t_start,$PRE.dataCenterContinuousTimeControl.wseCon.T2.t_start,dataCenterContinuousTimeControl.wseCon.T2.fire,dataCenterContinuousTimeControl.wseCon.T2.enableFire,dataCenterContinuousTimeControl.wseCon.T2.localCondition,dataCenterContinuousTimeControl.wseCon.on.oldActive,$PRE.dataCenterContinuousTimeControl.wseCon.on.oldActive,dataCenterContinuousTimeControl.wseCon.on.newActive,$PRE.dataCenterContinuousTimeControl.wseCon.on.newActive,dataCenterContinuousTimeControl.wseCon.on.localActive,$PRE.dataCenterContinuousTimeControl.wseCon.on.localActive,dataCenterContinuousTimeControl.wseCon.on.active,dataCenterContinuousTimeControl.wseCon.T1.t_start,$PRE.dataCenterContinuousTimeControl.wseCon.T1.t_start,dataCenterContinuousTimeControl.wseCon.T1.fire,dataCenterContinuousTimeControl.wseCon.T1.enableFire,dataCenterContinuousTimeControl.wseCon.T1.localCondition,dataCenterContinuousTimeControl.wseCon.off.active,dataCenterContinuousTimeControl.wseCon.off.oldActive,$PRE.dataCenterContinuousTimeControl.wseCon.off.oldActive,dataCenterContinuousTimeControl.wseCon.off.newActive,$PRE.dataCenterContinuousTimeControl.wseCon.off.newActive,dataCenterContinuousTimeControl.wseCon.off.localActive,$PRE.dataCenterContinuousTimeControl.wseCon.off.localActive,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,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 (1195): * Single equations (assignments): 1176 * 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.006551/4.621, allocations: 0.8161 MB / 1.903 GB, free: 173.9 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006255/4.627, allocations: 1.181 MB / 1.905 GB, free: 172.7 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05634/4.683, allocations: 16.29 MB / 1.921 GB, free: 156.4 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001266/4.684, allocations: 91.98 kB / 1.921 GB, free: 156.3 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.516e-05/4.684, allocations: 4 kB / 1.921 GB, free: 156.3 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04349/4.727, allocations: 13.44 MB / 1.934 GB, free: 142.8 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09199/4.819, allocations: 37.84 MB / 1.971 GB, free: 103.9 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.545e-05/4.819, allocations: 2.875 kB / 1.971 GB, free: 103.9 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01413/4.833, allocations: 2.271 MB / 1.973 GB, free: 101.6 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002496/4.836, allocations: 0.6355 MB / 1.974 GB, free: 101 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0031/4.839, allocations: 263.8 kB / 1.974 GB, free: 100.7 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01153/4.851, allocations: 10.83 MB / 1.984 GB, free: 89.2 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/4.851, allocations: 0 / 1.984 GB, free: 89.2 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07555/4.926, allocations: 23.88 MB / 2.008 GB, free: 65.2 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008995/4.935, allocations: 2.836 MB / 2.01 GB, free: 62.33 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005223/4.941, allocations: 180 kB / 2.011 GB, free: 62.15 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.015/4.956, allocations: 1.024 MB / 2.012 GB, free: 61.14 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00242/4.958, allocations: 0.584 MB / 2.012 GB, free: 60.55 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002469/4.961, allocations: 347.7 kB / 2.013 GB, free: 60.21 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.01719/4.978, allocations: 7.603 MB / 2.02 GB, free: 52.65 MB / 1.123 GB Notification: Performance of sort global known variables: time 6.91e-07/4.978, allocations: 0 / 2.02 GB, free: 52.65 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0268/5.005, allocations: 6.081 MB / 2.026 GB, free: 46.68 MB / 1.123 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.active,$cse39,$cse40,$cse41,$cse42,$cse43,$cse44,$cse91,$cse92,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,dataCenterContinuousTimeControl.wseCon.off.localActive,dataCenterContinuousTimeControl.wseCon.off.newActive,dataCenterContinuousTimeControl.wseCon.off.oldActive,dataCenterContinuousTimeControl.wseCon.T1.localCondition,dataCenterContinuousTimeControl.wseCon.T1.fire,dataCenterContinuousTimeControl.wseCon.T1.t_start,dataCenterContinuousTimeControl.wseCon.on.active,dataCenterContinuousTimeControl.wseCon.on.newActive,dataCenterContinuousTimeControl.wseCon.on.oldActive,dataCenterContinuousTimeControl.wseCon.T2.localCondition,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.localCondition,con.t1.fire,con.t1.t_start,con.t2.localCondition,con.t2.fire,con.t2.t_start,con.charge.newActive,con.charge.oldActive,con.discharge.newActive,con.discharge.oldActive,con.t3.localCondition,con.t3.enableFire,con.t4.localCondition,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 (863): * Single equations (assignments): 825 * 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,2), (1,3), (3,13), (1,2), (2,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006352/5.011, allocations: 2.169 MB / 2.028 GB, free: 44.98 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.06317/5.074, allocations: 25.11 MB / 2.053 GB, free: 19.77 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.688e-05/5.074, allocations: 6.562 kB / 2.053 GB, free: 19.76 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.02022/5.094, allocations: 8.029 MB / 2.06 GB, free: 11.68 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0322/5.127, allocations: 6.609 MB / 2.067 GB, free: 5.703 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8052/5.932, allocations: 30.94 MB / 2.097 GB, free: 427.3 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02113/5.953, allocations: 7.73 MB / 2.105 GB, free: 426.3 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009007/5.962, allocations: 1.192 MB / 2.106 GB, free: 426.3 MB / 1.123 GB Notification: Performance of SimCode: time 1.283e-06/5.962, allocations: 3.312 kB / 2.106 GB, free: 426.3 MB / 1.123 GB Notification: Performance of Templates: time 2.061/8.023, allocations: 1.082 GB / 3.188 GB, free: 235.5 MB / 1.123 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.DataCenterRenewables.makefile make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.DataCenterRenewables.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.Examples.ChillerPlant.DataCenterRenewablesCalcHelperMain.o OMCppBuildings_8_Buildings.Examples.ChillerPlant.DataCenterRenewablesCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Examples.ChillerPlant.DataCenterRenewablesCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Examples.ChillerPlant.DataCenterRenewablesFunctions.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.Examples.ChillerPlant.DataCenterRenewablesCalcHelperMain.cpp:29: ./OMCppBuildings_8_Buildings.Examples.ChillerPlant.DataCenterRenewablesInitialize.cpp:14496:3: warning: expression result unused [-Wunused-value] tmp495; ^~~~~~ 1 warning and 1 error generated. make: *** [: OMCppBuildings_8_Buildings.Examples.ChillerPlant.DataCenterRenewablesCalcHelperMain.o] Error 1