Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.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.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001157, allocations: 114.2 kB / 16.37 MB, free: 6.012 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.001073/0.001073, allocations: 192 kB / 17.31 MB, free: 5.609 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.377/1.377, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.836/1.836, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.002329/0.00233, allocations: 75.89 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2645, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl): time 1.532/1.796, allocations: 475 MB / 1.249 GB, free: 34.5 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.09634/1.893, allocations: 73.68 MB / 1.321 GB, free: 21.32 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01718/1.91, allocations: 360 kB / 1.321 GB, free: 21.32 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01641/1.926, allocations: 5.054 MB / 1.326 GB, free: 19.08 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.04008/1.967, allocations: 13.23 MB / 1.339 GB, free: 10.76 MB / 0.92 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.02268/1.989, allocations: 9.168 MB / 1.348 GB, free: 3.129 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.05312/2.042, allocations: 34.34 MB / 1.381 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02917/2.072, allocations: 14.29 MB / 1.395 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03594/2.108, allocations: 13.52 MB / 1.408 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02186/2.13, allocations: 10.38 MB / 1.419 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.006958/2.137, allocations: 1.469 MB / 1.42 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02709/2.164, allocations: 9.279 MB / 1.429 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.008549/2.172, allocations: 4.273 MB / 1.433 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01899/2.191, allocations: 8.065 MB / 1.441 GB, free: 7.23 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.05045/2.242, allocations: 25.16 MB / 1.466 GB, free: 14.89 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/2.242, allocations: 0 / 1.466 GB, free: 14.89 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.994e-06/2.242, allocations: 0 / 1.466 GB, free: 14.89 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0009368/2.243, allocations: 0 / 1.466 GB, free: 14.89 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2233 * Number of variables: 2233 Notification: Performance of Generate backend data structure: time 0.04593/2.289, allocations: 15.56 MB / 1.481 GB, free: 15.31 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/2.289, allocations: 8.031 kB / 1.481 GB, free: 15.3 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02225/2.311, allocations: 3.469 MB / 1.484 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02718/2.338, allocations: 11.72 MB / 1.496 GB, free: 256 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009758/2.339, allocations: 0.7626 MB / 1.497 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003324/2.343, allocations: 0.9187 MB / 1.497 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03233/2.375, allocations: 11.97 MB / 1.509 GB, free: 2.285 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000285/2.375, allocations: 19.78 kB / 1.509 GB, free: 2.266 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002278/2.378, allocations: 369 kB / 1.509 GB, free: 1.91 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000389/2.378, allocations: 372.6 kB / 1.51 GB, free: 1.543 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02934/2.407, allocations: 11.03 MB / 1.521 GB, free: 6.488 MB / 1.092 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 1.48/3.887, allocations: 51.37 MB / 1.571 GB, free: 149.5 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0244/3.911, allocations: 9.712 MB / 1.58 GB, free: 147.5 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01165/3.923, allocations: 4.294 MB / 1.584 GB, free: 147.4 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.0428/3.966, allocations: 16.35 MB / 1.6 GB, free: 142.3 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01252/3.979, allocations: 4.31 MB / 1.605 GB, free: 142.1 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007742/3.986, allocations: 0.762 MB / 1.605 GB, free: 142.1 MB / 1.123 GB Notification: Performance of pre-optimization done (n=593): time 5.173e-05/3.986, allocations: 0 / 1.605 GB, free: 142.1 MB / 1.123 GB Notification: Performance of matching and sorting (n=597): time 0.07986/4.066, allocations: 22.69 MB / 1.628 GB, free: 138.4 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001927/4.067, allocations: 331.7 kB / 1.628 GB, free: 138.1 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02549/4.092, allocations: 9.747 MB / 1.637 GB, free: 137.5 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.002318/4.094, allocations: 174.1 kB / 1.638 GB, free: 137.4 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.008301/4.103, allocations: 5.501 MB / 1.643 GB, free: 135.9 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.003709/4.106, allocations: 2.027 MB / 1.645 GB, free: 134.6 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003305/4.11, allocations: 1.558 MB / 1.646 GB, free: 134.5 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 6.938e-05/4.11, allocations: 301.1 kB / 1.647 GB, free: 134.2 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008239/4.118, allocations: 3.617 MB / 1.65 GB, free: 134.1 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01096/4.129, allocations: 5.782 MB / 1.656 GB, free: 131.8 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02017/4.149, allocations: 9.053 MB / 1.665 GB, free: 129.9 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001107/4.15, allocations: 11.09 kB / 1.665 GB, free: 129.9 MB / 1.123 GB Notification: Performance of matching and sorting (n=956) (initialization): time 0.03261/4.182, allocations: 10.81 MB / 1.675 GB, free: 129 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/4.182, allocations: 24.09 kB / 1.675 GB, free: 129 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001135/4.182, allocations: 50.66 kB / 1.675 GB, free: 129 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00304/4.185, allocations: 0.6557 MB / 1.676 GB, free: 129 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009363/4.195, allocations: 1.788 MB / 1.678 GB, free: 128.3 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006331/4.201, allocations: 7.131 MB / 1.685 GB, free: 121.8 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01224/4.214, allocations: 0.6217 MB / 1.685 GB, free: 121.4 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002177/4.216, allocations: 366.1 kB / 1.686 GB, free: 121.2 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01626/4.232, allocations: 6.375 MB / 1.692 GB, free: 117.9 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01082/4.243, allocations: 5.68 MB / 1.697 GB, free: 112.1 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0188/4.262, allocations: 8.855 MB / 1.706 GB, free: 103.5 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001013/4.262, allocations: 12 kB / 1.706 GB, free: 103.5 MB / 1.123 GB Notification: Performance of matching and sorting (n=956) (initialization_lambda0): time 0.03138/4.293, allocations: 10.53 MB / 1.716 GB, free: 94.39 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 8.083e-05/4.293, allocations: 34.19 kB / 1.716 GB, free: 94.36 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.616e-05/4.294, allocations: 44 kB / 1.716 GB, free: 94.32 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002506/4.296, allocations: 0.5904 MB / 1.717 GB, free: 93.72 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008852/4.305, allocations: 1.744 MB / 1.719 GB, free: 92.07 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007217/4.312, allocations: 8.855 MB / 1.727 GB, free: 82.7 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01346/4.326, allocations: 0.6534 MB / 1.728 GB, free: 82.05 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002267/4.328, allocations: 355.8 kB / 1.728 GB, free: 81.7 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 208 * Number of states: 0 () * Number of discrete variables: 61 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,triAndRes.firstTrigger,$PRE.triAndRes.firstTrigger,triAndRes.sampleTrigger,$whenCondition7,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.sam.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.sampleTrigger,$whenCondition5,triAndRes.uniDel1.sampleTrigger,$whenCondition6,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,weaData.conTim.canRepeatWeatherFile,weaData.conTimMin.canRepeatWeatherFile,triAndRes.uniDel1.y,$PRE.triAndRes.uniDel1.y,triAndRes.sam.y,triAndRes.incY.y,or1.y,or1.u1,weaData.conTim.tNext,$PRE.weaData.conTim.tNext,weaData.conTimMin.tNext,$PRE.weaData.conTimMin.tNext,chiSwi.hysteresis.y,$PRE.chiSwi.hysteresis.y,wseCon.stateGraphRoot.activeSteps,wseCon.T2.t_start,$PRE.wseCon.T2.t_start,wseCon.T2.fire,wseCon.T2.enableFire,wseCon.T2.localCondition,wseCon.on.oldActive,$PRE.wseCon.on.oldActive,wseCon.on.newActive,$PRE.wseCon.on.newActive,wseCon.on.localActive,$PRE.wseCon.on.localActive,wseCon.on.active,wseCon.T1.t_start,$PRE.wseCon.T1.t_start,wseCon.T1.fire,wseCon.T1.enableFire,wseCon.T1.localCondition,wseCon.off.active,wseCon.off.oldActive,$PRE.wseCon.off.oldActive,wseCon.off.newActive,$PRE.wseCon.off.newActive,wseCon.off.localActive,$PRE.wseCon.off.localActive,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,EIT.local_reset,EHVAC.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (913): * Single equations (assignments): 898 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,9), (1,2), (2,9), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.004254/4.332, allocations: 0.6525 MB / 1.729 GB, free: 81.15 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004914/4.337, allocations: 1.035 MB / 1.73 GB, free: 80.1 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02932/4.367, allocations: 9.556 MB / 1.739 GB, free: 70.54 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.77e-05/4.367, allocations: 68 kB / 1.739 GB, free: 70.47 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.442e-05/4.367, allocations: 11.67 kB / 1.739 GB, free: 70.46 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01998/4.387, allocations: 7.483 MB / 1.747 GB, free: 62.89 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05406/4.441, allocations: 19.64 MB / 1.766 GB, free: 43.35 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.578e-05/4.441, allocations: 0 / 1.766 GB, free: 43.35 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007634/4.449, allocations: 1.392 MB / 1.767 GB, free: 42.01 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001944/4.451, allocations: 486.1 kB / 1.768 GB, free: 41.53 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001685/4.452, allocations: 182.7 kB / 1.768 GB, free: 41.35 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004986/4.457, allocations: 6.47 MB / 1.774 GB, free: 34.54 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/4.457, allocations: 0 / 1.774 GB, free: 34.54 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03303/4.49, allocations: 13.56 MB / 1.787 GB, free: 20.88 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007114/4.497, allocations: 1.975 MB / 1.789 GB, free: 18.87 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004033/4.502, allocations: 135.9 kB / 1.789 GB, free: 18.73 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01054/4.512, allocations: 498.9 kB / 1.79 GB, free: 18.25 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001443/4.514, allocations: 419.3 kB / 1.79 GB, free: 17.84 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001368/4.515, allocations: 255.8 kB / 1.791 GB, free: 17.59 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.01504/4.53, allocations: 6.601 MB / 1.797 GB, free: 11.04 MB / 1.123 GB Notification: Performance of sort global known variables: time 6.11e-07/4.53, allocations: 0 / 1.797 GB, free: 11.04 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.025/4.555, allocations: 5.164 MB / 1.802 GB, free: 5.984 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 35 (cooCoi.ele[1].vol1.dynBal.U,cooCoi.ele[1].vol2.dynBal.U,cooCoi.ele[1].vol2.dynBal.mXi[1],cooCoi.ele[1].mas.T,cooCoi.ele[2].vol1.dynBal.U,cooCoi.ele[2].vol2.dynBal.U,cooCoi.ele[2].vol2.dynBal.mXi[1],cooCoi.ele[2].mas.T,cooCoi.ele[3].vol1.dynBal.U,cooCoi.ele[3].vol2.dynBal.U,cooCoi.ele[3].vol2.dynBal.mXi[1],cooCoi.ele[3].mas.T,cooCoi.ele[4].vol1.dynBal.U,cooCoi.ele[4].vol2.dynBal.U,cooCoi.ele[4].vol2.dynBal.m,cooCoi.ele[4].vol2.dynBal.mXi[1],cooCoi.ele[4].mas.T,roo.rooVol.dynBal.U,roo.rooVol.dynBal.m,roo.rooVol.dynBal.mXi[1],pumCHW.vol.dynBal.U,expVesCHW.m,expVesCHW.H,cooTow.vol.dynBal.U,pumCW.vol.dynBal.U,expVesChi.m,expVesChi.H,chi.vol1.dynBal.U,chi.vol2.dynBal.U,TAirSup.T,TCHWEntChi.T,TCWLeaTow.T,TCHWLeaCoi.T,EHVAC.y,EIT.y) * Number of discrete variables: 40 (wseCon.T1.enableFire,wseCon.T2.enableFire,triAndRes.uniDel1.sampleTrigger,triAndRes.sam.sampleTrigger,wseCon.on.localActive,wseCon.off.active,$cse68,$cse69,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,wseCon.off.localActive,wseCon.off.newActive,wseCon.off.oldActive,wseCon.T1.localCondition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.active,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.localCondition,wseCon.T2.fire,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps,chiSwi.hysteresis.y,weaData.conTimMin.tNext,weaData.conTim.tNext,or1.u1,or1.y,triAndRes.incY.y,triAndRes.sam.firstTrigger,triAndRes.sam.y,triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.y,triAndRes.sampleTrigger,$whenCondition7,triAndRes.firstTrigger) * Number of discrete states: 6 (wseCon.off.newActive,wseCon.on.newActive,weaData.conTim.tNext,weaData.conTimMin.tNext,triAndRes.uniDel1.u,chiSwi.hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (635): * Single equations (assignments): 601 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,13), (1,2), (2,9), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006125/4.561, allocations: 1.94 MB / 1.804 GB, free: 4.555 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.03792/4.599, allocations: 14.56 MB / 1.818 GB, free: 6.277 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.091e-05/4.599, allocations: 14.62 kB / 1.818 GB, free: 6.266 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.01225/4.612, allocations: 4.409 MB / 1.823 GB, free: 1.945 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03603/4.648, allocations: 5.881 MB / 1.828 GB, free: 12.29 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0634/4.711, allocations: 24.11 MB / 1.852 GB, free: 4.238 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01214/4.723, allocations: 6.636 MB / 1.858 GB, free: 13.56 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004753/4.728, allocations: 0.9468 MB / 1.859 GB, free: 12.62 MB / 1.186 GB Notification: Performance of SimCode: time 1.733e-06/4.728, allocations: 2.531 kB / 1.859 GB, free: 12.62 MB / 1.186 GB Notification: Performance of Templates: time 1.154/5.882, allocations: 0.5863 GB / 2.446 GB, free: 307.4 MB / 1.342 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.makefile make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.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.DataCenterDiscreteTimeControlCalcHelperMain.o OMCppBuildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControlCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControlCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControlFunctions.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.DataCenterDiscreteTimeControlCalcHelperMain.cpp:29: ./OMCppBuildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControlInitialize.cpp:10990:3: warning: expression result unused [-Wunused-value] tmp363; ^~~~~~ 1 warning and 1 error generated. make: *** [: OMCppBuildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControlCalcHelperMain.o] Error 1