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.001057/0.001057, allocations: 111 kB / 15.99 MB, free: 6.344 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.001054/0.001054, allocations: 199.5 kB / 16.91 MB, free: 6.184 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 / 222.8 MB, free: 4.707 MB / 174.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.682/1.682, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001375/0.001376, allocations: 63.42 kB / 0.6716 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2662, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl): time 1.046/1.312, allocations: 469.8 MB / 1.242 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.8172/2.13, allocations: 73.22 MB / 1.314 GB, free: 26.91 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01787/2.147, allocations: 333.5 kB / 1.314 GB, free: 26.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01684/2.164, allocations: 4.419 MB / 1.318 GB, free: 26.89 MB / 0.9981 GB [/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.04068/2.205, allocations: 12.32 MB / 1.33 GB, free: 26.46 MB / 0.9981 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.02527/2.23, allocations: 8.461 MB / 1.339 GB, free: 26.21 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.05744/2.288, allocations: 34.42 MB / 1.372 GB, free: 26.12 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02729/2.315, allocations: 14.18 MB / 1.386 GB, free: 24.34 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03368/2.349, allocations: 13.67 MB / 1.4 GB, free: 23.2 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02287/2.372, allocations: 10.8 MB / 1.41 GB, free: 21.47 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00677/2.379, allocations: 1.467 MB / 1.412 GB, free: 21.47 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02929/2.408, allocations: 9.474 MB / 1.421 GB, free: 21.35 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.01094/2.419, allocations: 4.282 MB / 1.425 GB, free: 20.83 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.02185/2.441, allocations: 8.084 MB / 1.433 GB, free: 17.36 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0295/2.47, allocations: 19.93 MB / 1.452 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/2.47, allocations: 0 / 1.452 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.314e-06/2.47, allocations: 0 / 1.452 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.00082/2.471, allocations: 0 / 1.452 GB, free: 1.449 MB / 0.9981 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.04766/2.519, allocations: 15.57 MB / 1.468 GB, free: 1.941 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/2.519, allocations: 12.03 kB / 1.468 GB, free: 1.93 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02343/2.542, allocations: 3.472 MB / 1.471 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02801/2.57, allocations: 11.71 MB / 1.482 GB, free: 3.156 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001817/2.572, allocations: 0.9299 MB / 1.483 GB, free: 2.219 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003968/2.576, allocations: 0.9144 MB / 1.484 GB, free: 1.309 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03616/2.612, allocations: 11.99 MB / 1.496 GB, free: 5.051 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003348/2.613, allocations: 25.89 kB / 1.496 GB, free: 5.031 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003178/2.616, allocations: 367.3 kB / 1.496 GB, free: 4.68 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003849/2.616, allocations: 363.7 kB / 1.497 GB, free: 4.324 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03039/2.647, allocations: 11.1 MB / 1.507 GB, free: 9.262 MB / 1.061 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.1026/2.749, allocations: 51.01 MB / 1.557 GB, free: 4.164 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02155/2.771, allocations: 9.699 MB / 1.567 GB, free: 10.29 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01009/2.781, allocations: 4.33 MB / 1.571 GB, free: 5.938 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.03844/2.82, allocations: 16.15 MB / 1.587 GB, free: 5.066 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01126/2.831, allocations: 4.351 MB / 1.591 GB, free: 0.6367 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008826/2.84, allocations: 1.185 MB / 1.592 GB, free: 15.46 MB / 1.154 GB Notification: Performance of pre-optimization done (n=598): time 4.345e-05/2.84, allocations: 4 kB / 1.592 GB, free: 15.46 MB / 1.154 GB Notification: Performance of matching and sorting (n=602): time 0.07592/2.916, allocations: 22.9 MB / 1.615 GB, free: 8.223 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002106/2.916, allocations: 333.8 kB / 1.615 GB, free: 7.836 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02019/2.936, allocations: 9.565 MB / 1.624 GB, free: 14.33 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.001785/2.938, allocations: 176 kB / 1.624 GB, free: 14.16 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.00691/2.945, allocations: 5.5 MB / 1.63 GB, free: 8.648 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.003739/2.949, allocations: 2.04 MB / 1.632 GB, free: 6.629 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006484/2.955, allocations: 1.569 MB / 1.633 GB, free: 5.055 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001276/2.955, allocations: 305.1 kB / 1.634 GB, free: 4.754 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009743/2.965, allocations: 3.647 MB / 1.637 GB, free: 1.098 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01196/2.977, allocations: 5.823 MB / 1.643 GB, free: 10.47 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02153/2.999, allocations: 9.109 MB / 1.652 GB, free: 0.8555 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-05/2.999, allocations: 20 kB / 1.652 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03279/3.032, allocations: 10.88 MB / 1.662 GB, free: 6.176 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 8.641e-05/3.032, allocations: 26.5 kB / 1.662 GB, free: 6.152 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001091/3.032, allocations: 48 kB / 1.662 GB, free: 6.105 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003259/3.035, allocations: 0.6611 MB / 1.663 GB, free: 5.434 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009558/3.045, allocations: 1.807 MB / 1.665 GB, free: 3.727 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007721/3.052, allocations: 7.153 MB / 1.672 GB, free: 12.23 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01323/3.066, allocations: 1.081 MB / 1.673 GB, free: 11.14 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002088/3.068, allocations: 368.8 kB / 1.673 GB, free: 10.79 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01693/3.085, allocations: 6.403 MB / 1.679 GB, free: 4.375 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01184/3.097, allocations: 5.713 MB / 1.685 GB, free: 13.85 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01947/3.116, allocations: 8.934 MB / 1.694 GB, free: 4.414 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.182e-05/3.116, allocations: 12.23 kB / 1.694 GB, free: 4.402 MB / 1.248 GB Notification: Performance of matching and sorting (n=961) (initialization_lambda0): time 0.0304/3.147, allocations: 10.6 MB / 1.704 GB, free: 9.785 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 9.887e-05/3.147, allocations: 24.97 kB / 1.704 GB, free: 9.762 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001147/3.147, allocations: 50.7 kB / 1.704 GB, free: 9.715 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002804/3.15, allocations: 0.5845 MB / 1.705 GB, free: 9.117 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009934/3.16, allocations: 1.774 MB / 1.706 GB, free: 7.34 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009315/3.169, allocations: 8.86 MB / 1.715 GB, free: 13.89 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01239/3.181, allocations: 1.072 MB / 1.716 GB, free: 12.82 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00188/3.183, allocations: 363.8 kB / 1.717 GB, free: 12.46 MB / 1.279 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.condition,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.condition,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 (918): * Single equations (assignments): 903 * 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.003549/3.187, allocations: 0.6644 MB / 1.717 GB, free: 11.79 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004106/3.191, allocations: 1.038 MB / 1.718 GB, free: 10.74 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02798/3.219, allocations: 9.7 MB / 1.728 GB, free: 0.9648 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-05/3.219, allocations: 75.98 kB / 1.728 GB, free: 0.8906 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-05/3.219, allocations: 0 / 1.728 GB, free: 0.8906 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01996/3.239, allocations: 7.539 MB / 1.735 GB, free: 9.238 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0522/3.291, allocations: 19.62 MB / 1.754 GB, free: 5.652 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/3.291, allocations: 0 / 1.754 GB, free: 5.652 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007104/3.298, allocations: 1.412 MB / 1.756 GB, free: 4.238 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001769/3.3, allocations: 473.9 kB / 1.756 GB, free: 3.762 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001001/3.301, allocations: 183.9 kB / 1.756 GB, free: 3.582 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7433/4.045, allocations: 6.475 MB / 1.763 GB, free: 0.642 GB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/4.045, allocations: 2.938 kB / 1.763 GB, free: 0.642 GB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03249/4.077, allocations: 13.67 MB / 1.776 GB, free: 0.6414 GB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006838/4.084, allocations: 1.971 MB / 1.778 GB, free: 0.6411 GB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003665/4.088, allocations: 131.4 kB / 1.778 GB, free: 0.641 GB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01044/4.098, allocations: 0.8462 MB / 1.779 GB, free: 0.6409 GB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001907/4.1, allocations: 416.5 kB / 1.779 GB, free: 0.6409 GB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001682/4.102, allocations: 257.8 kB / 1.779 GB, free: 0.6408 GB / 1.311 GB Notification: Performance of sorting global known variables: time 0.01725/4.119, allocations: 6.462 MB / 1.786 GB, free: 0.6387 GB / 1.311 GB Notification: Performance of sort global known variables: time 8.21e-07/4.119, allocations: 1.188 kB / 1.786 GB, free: 0.6387 GB / 1.311 GB Notification: Performance of remove unused functions: time 0.02511/4.144, allocations: 5.239 MB / 1.791 GB, free: 0.6383 GB / 1.311 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.localActive,$cse68,$cse69,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,wseCon.off.newActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.active,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.condition,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 (640): * Single equations (assignments): 606 * 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.005694/4.15, allocations: 1.891 MB / 1.793 GB, free: 0.6381 GB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.08044/4.23, allocations: 26.97 MB / 1.819 GB, free: 0.6329 GB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-05/4.23, allocations: 9.75 kB / 1.819 GB, free: 0.6329 GB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0107/4.241, allocations: 4.449 MB / 1.823 GB, free: 0.6314 GB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03131/4.272, allocations: 5.9 MB / 1.829 GB, free: 0.6279 GB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05536/4.328, allocations: 29.02 MB / 1.858 GB, free: 0.6023 GB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009309/4.337, allocations: 6.641 MB / 1.864 GB, free: 0.5975 GB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004298/4.342, allocations: 0.9443 MB / 1.865 GB, free: 0.5967 GB / 1.311 GB Notification: Performance of SimCode: time 7.21e-07/4.342, allocations: 0 / 1.865 GB, free: 0.5967 GB / 1.311 GB Notification: Performance of Templates: time 0.951/5.293, allocations: 0.585 GB / 2.45 GB, free: 0.6153 GB / 1.311 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.makefile make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.makefile clang++ -std=c++14 -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:11020:3: warning: expression result unused [-Wunused-value] tmp363; ^~~~~~ 1 warning and 1 error generated. make: *** [: OMCppBuildings_8_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControlCalcHelperMain.o] Error 1