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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008047/0.0008046, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009634/0.0009635, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.4 MB / 222.1 MB, free: 5.402 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.785/1.785, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.000546/0.0005462, allocations: 11.22 kB / 0.6738 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2979, allocations: 116.3 MB / 0.7874 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl): time 1.084/1.382, allocations: 435.9 MB / 1.213 GB, free: 8.172 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1245/1.507, allocations: 69.26 MB / 1.281 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01937/1.526, allocations: 305.9 kB / 1.281 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.7557/2.282, allocations: 3.453 MB / 1.284 GB, free: 44.12 MB / 0.9825 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.03711/2.319, allocations: 10.18 MB / 1.294 GB, free: 44.01 MB / 0.9825 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.02542/2.344, allocations: 6.555 MB / 1.301 GB, free: 43.86 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0616/2.406, allocations: 37.7 MB / 1.337 GB, free: 43.81 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02909/2.435, allocations: 10.33 MB / 1.348 GB, free: 42.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03919/2.474, allocations: 10.41 MB / 1.358 GB, free: 42.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02573/2.5, allocations: 9.318 MB / 1.367 GB, free: 42.36 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.006923/2.507, allocations: 0.5258 MB / 1.367 GB, free: 42.36 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0276/2.535, allocations: 5.412 MB / 1.373 GB, free: 42.24 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.009759/2.544, allocations: 3.129 MB / 1.376 GB, free: 42.24 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.01054/2.555, allocations: 2.847 MB / 1.378 GB, free: 42.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.03314/2.588, allocations: 18.93 MB / 1.397 GB, free: 32.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/2.588, allocations: 0 / 1.397 GB, free: 32.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.406e-06/2.588, allocations: 0 / 1.397 GB, free: 32.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.001069/2.589, allocations: 1.422 kB / 1.397 GB, free: 32.68 MB / 0.9825 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.04739/2.637, allocations: 12.97 MB / 1.41 GB, free: 25.29 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/2.637, allocations: 13.55 kB / 1.41 GB, free: 25.29 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007446/2.644, allocations: 1.155 MB / 1.411 GB, free: 24.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02331/2.668, allocations: 3.614 MB / 1.414 GB, free: 22.2 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03049/2.698, allocations: 11.31 MB / 1.425 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001948/2.7, allocations: 0.9654 MB / 1.426 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006341/2.707, allocations: 0.9181 MB / 1.427 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04274/2.749, allocations: 12.04 MB / 1.439 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007459/2.75, allocations: 19.81 kB / 1.439 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00493/2.755, allocations: 369.5 kB / 1.439 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004646/2.756, allocations: 361.2 kB / 1.44 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03504/2.791, allocations: 11.26 MB / 1.451 GB, free: 12.74 MB / 0.9981 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.1186/2.909, allocations: 51.68 MB / 1.501 GB, free: 2.379 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02338/2.933, allocations: 9.936 MB / 1.511 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01199/2.945, allocations: 4.423 MB / 1.515 GB, free: 8.172 MB / 1.045 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.0437/2.989, allocations: 16.41 MB / 1.531 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01187/3, allocations: 4.455 MB / 1.536 GB, free: 8.488 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009058/3.01, allocations: 1.572 MB / 1.537 GB, free: 7.051 MB / 1.061 GB Notification: Performance of pre-optimization done (n=598): time 3.186e-05/3.01, allocations: 0 / 1.537 GB, free: 7.051 MB / 1.061 GB Notification: Performance of matching and sorting (n=602): time 0.0828/3.092, allocations: 23.41 MB / 1.56 GB, free: 5.047 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003291/3.093, allocations: 328.5 kB / 1.56 GB, free: 4.668 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02941/3.122, allocations: 9.801 MB / 1.57 GB, free: 13.61 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.002394/3.125, allocations: 174.6 kB / 1.57 GB, free: 13.54 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.00871/3.133, allocations: 5.475 MB / 1.575 GB, free: 10.76 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.004216/3.138, allocations: 2.038 MB / 1.577 GB, free: 9.016 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001813/3.14, allocations: 146.2 kB / 1.577 GB, free: 8.984 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0009113/3.14, allocations: 0.5905 MB / 1.578 GB, free: 8.508 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01057/3.151, allocations: 3.61 MB / 1.582 GB, free: 6.062 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01296/3.164, allocations: 5.795 MB / 1.587 GB, free: 0.8398 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/3.176, allocations: 4.324 MB / 1.591 GB, free: 14.05 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001088/3.176, allocations: 19.94 kB / 1.591 GB, free: 14.04 MB / 1.107 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.03346/3.209, allocations: 10.8 MB / 1.602 GB, free: 6.047 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 0.001275/3.211, allocations: 1.416 MB / 1.603 GB, free: 4.176 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/3.211, allocations: 51.94 kB / 1.603 GB, free: 4.125 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003065/3.214, allocations: 0.6842 MB / 1.604 GB, free: 3.516 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009495/3.223, allocations: 1.814 MB / 1.606 GB, free: 1.754 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006973/3.23, allocations: 6.876 MB / 1.613 GB, free: 11.18 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0137/3.244, allocations: 1.169 MB / 1.614 GB, free: 10.14 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002346/3.246, allocations: 361.7 kB / 1.614 GB, free: 9.848 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/3.247, allocations: 4 kB / 1.614 GB, free: 9.844 MB / 1.123 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02878/3.275, allocations: 9.555 MB / 1.623 GB, free: 292 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001756/3.276, allocations: 49.95 kB / 1.623 GB, free: 244 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002629/3.278, allocations: 0.6193 MB / 1.624 GB, free: 15.61 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00922/3.287, allocations: 1.755 MB / 1.626 GB, free: 13.85 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009982/3.297, allocations: 8.389 MB / 1.634 GB, free: 4.898 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01325/3.311, allocations: 1.108 MB / 1.635 GB, free: 3.793 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00222/3.313, allocations: 348.2 kB / 1.635 GB, free: 3.453 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 194 * Number of states: 0 () * Number of discrete variables: 59 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,$PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition7,triAndRes.sampleTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$whenCondition5,triAndRes.sam.sampleTrigger,$whenCondition6,triAndRes.uniDel1.sampleTrigger,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.on.active,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps,$PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y,$PRE.weaData.conTimMin.tNext,weaData.conTimMin.tNext,$PRE.weaData.conTim.tNext,weaData.conTim.tNext,or1.u1,or1.y,triAndRes.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,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 (897): * Single equations (assignments): 882 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 4 {3 9,1 2,2 9,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01151/3.325, allocations: 3.302 MB / 1.639 GB, free: 144 kB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004646/3.329, allocations: 1.049 MB / 1.64 GB, free: 15.07 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03341/3.363, allocations: 9.89 MB / 1.649 GB, free: 5.113 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.903e-05/3.363, allocations: 75.92 kB / 1.649 GB, free: 5.039 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.519e-05/3.363, allocations: 0 / 1.649 GB, free: 5.039 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02149/3.384, allocations: 7.715 MB / 1.657 GB, free: 13.21 MB / 1.17 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.05752/3.442, allocations: 20.18 MB / 1.677 GB, free: 9.02 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.023e-05/3.442, allocations: 1.094 kB / 1.677 GB, free: 9.02 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008083/3.45, allocations: 1.455 MB / 1.678 GB, free: 7.562 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002161/3.452, allocations: 0.5034 MB / 1.679 GB, free: 7.051 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001528/3.454, allocations: 183.9 kB / 1.679 GB, free: 6.871 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006083/3.46, allocations: 6.199 MB / 1.685 GB, free: 320 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/3.46, allocations: 0 / 1.685 GB, free: 320 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03512/3.495, allocations: 13.89 MB / 1.698 GB, free: 2.309 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007455/3.503, allocations: 2.112 MB / 1.7 GB, free: 168 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004154/3.507, allocations: 140 kB / 1.7 GB, free: 28 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01161/3.518, allocations: 0.9735 MB / 1.701 GB, free: 15.06 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001587/3.52, allocations: 416.7 kB / 1.702 GB, free: 14.65 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001654/3.522, allocations: 255.8 kB / 1.702 GB, free: 14.4 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.01753/3.539, allocations: 6.634 MB / 1.709 GB, free: 7.82 MB / 1.217 GB Notification: Performance of sort global known variables: time 8.11e-07/3.539, allocations: 0 / 1.709 GB, free: 7.82 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.02874/3.568, allocations: 5.321 MB / 1.714 GB, free: 2.504 MB / 1.217 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 (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 4 {3 13,1 2,2 9,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.643/4.211, allocations: 16.18 MB / 1.73 GB, free: 0.5475 GB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.04216/4.253, allocations: 14.63 MB / 1.744 GB, free: 0.5443 GB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.909e-05/4.253, allocations: 6.688 kB / 1.744 GB, free: 0.5443 GB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.01191/4.265, allocations: 4.516 MB / 1.748 GB, free: 0.5428 GB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03727/4.303, allocations: 5.848 MB / 1.754 GB, free: 0.5417 GB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3549/4.657, allocations: 114.1 MB / 1.865 GB, free: 466.4 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008395/4.666, allocations: 6.756 MB / 1.872 GB, free: 459.6 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.01894/4.685, allocations: 4.005 MB / 1.876 GB, free: 455.7 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01172/4.697, allocations: 5.599 MB / 1.881 GB, free: 450.1 MB / 1.217 GB Notification: Performance of SimCode: time 1.252e-06/4.697, allocations: 0 / 1.881 GB, free: 450.1 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3965/5.093, allocations: 318.6 MB / 2.192 GB, free: 133.2 MB / 1.217 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002698/5.093, allocations: 286.7 kB / 2.193 GB, free: 132.9 MB / 1.217 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.o Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c In file included from Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c:1: In file included from ./Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part1.o Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part1.c In file included from Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part1.c:1: In file included from ./Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl.o Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl.c In file included from Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl.c:7: In file included from ./Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_functions.o Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_functions.c In file included from Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_functions.c:2: In file included from ./Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_functions.c:7: In file included from ./Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_functions.o] Error 1