Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.557/4.557, allocations: 464.6 MB / 476.8 MB, free: 2.219 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.937e-05/3.942e-05, allocations: 4 kB / 0.5732 GB, free: 5.621 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.229, allocations: 107.2 MB / 0.6779 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9254/1.155, allocations: 133.9 MB / 0.8087 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004084/1.155, allocations: 77.45 kB / 0.8087 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03797/1.193, allocations: 5.183 MB / 0.8138 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.48e-06/1.193, allocations: 0 / 0.8138 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.612e-05/1.193, allocations: 7.812 kB / 0.8138 GB, free: 11.92 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001897/1.195, allocations: 0.608 MB / 0.8144 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.546e-05/1.195, allocations: 7.875 kB / 0.8144 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001247/1.195, allocations: 48.44 kB / 0.8145 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003104/1.196, allocations: 31.06 kB / 0.8145 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007534/1.196, allocations: 278.4 kB / 0.8148 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.516e-05/1.197, allocations: 14.03 kB / 0.8148 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/1.197, allocations: 19.22 kB / 0.8148 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006863/1.197, allocations: 165.6 kB / 0.8149 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/1.197, allocations: 7.938 kB / 0.8149 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.084e-05/1.198, allocations: 7 kB / 0.815 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/1.198, allocations: 3.953 kB / 0.815 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/1.198, allocations: 55.36 kB / 0.815 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00279/1.201, allocations: 0.5864 MB / 0.8156 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006152/1.201, allocations: 132.8 kB / 0.8157 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/1.202, allocations: 60.67 kB / 0.8158 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-05/1.202, allocations: 3.375 kB / 0.8158 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008783/1.203, allocations: 228.5 kB / 0.816 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 5.31e-06/1.203, allocations: 0 / 0.816 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.001138/1.204, allocations: 227.9 kB / 0.8162 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/1.204, allocations: 58.69 kB / 0.8163 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006346/1.205, allocations: 282.8 kB / 0.8165 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002357/1.205, allocations: 44.36 kB / 0.8166 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/1.205, allocations: 107.5 kB / 0.8167 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/1.205, allocations: 47.95 kB / 0.8167 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.594e-05/1.205, allocations: 7.531 kB / 0.8167 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.335e-05/1.205, allocations: 333.2 kB / 0.817 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005936/1.206, allocations: 117 kB / 0.8172 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006238/1.207, allocations: 167.8 kB / 0.8173 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005643/1.207, allocations: 160.5 kB / 0.8175 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/1.207, allocations: 0 / 0.8175 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001742/1.209, allocations: 443.3 kB / 0.8179 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/1.209, allocations: 79.09 kB / 0.818 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.209, allocations: 0 / 0.818 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/1.209, allocations: 3.969 kB / 0.818 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/1.21, allocations: 26.38 kB / 0.818 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/1.21, allocations: 3.812 kB / 0.818 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/1.211, allocations: 52.61 kB / 0.8181 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001867/1.211, allocations: 60.08 kB / 0.8181 GB, free: 9.645 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002796/1.211, allocations: 133.8 kB / 0.8182 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/1.211, allocations: 33.78 kB / 0.8183 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/1.212, allocations: 27.23 kB / 0.8183 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/1.212, allocations: 3.75 kB / 0.8183 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/1.212, allocations: 0 / 0.8183 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/1.212, allocations: 6.672 kB / 0.8183 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/1.213, allocations: 0.597 MB / 0.8189 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/1.213, allocations: 0 / 0.8189 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/1.214, allocations: 6.688 kB / 0.8189 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/1.214, allocations: 3.844 kB / 0.8189 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-05/1.214, allocations: 13.5 kB / 0.8189 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/1.214, allocations: 3.938 kB / 0.8189 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/1.214, allocations: 0 / 0.8189 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008802/1.215, allocations: 331.3 kB / 0.8192 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/1.215, allocations: 191.8 kB / 0.8194 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/1.215, allocations: 10 kB / 0.8194 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000475/1.216, allocations: 14.22 kB / 0.8194 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.216, allocations: 17.12 kB / 0.8195 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.65e-05/1.216, allocations: 29.72 kB / 0.8195 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000458/1.216, allocations: 230.4 kB / 0.8197 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.72e-07/1.217, allocations: 0 / 0.8197 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009824/1.218, allocations: 55.84 kB / 0.8198 GB, free: 8.832 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001822/1.219, allocations: 0.8823 MB / 0.8206 GB, free: 24.15 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001598/1.221, allocations: 370.5 kB / 0.821 GB, free: 24.02 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/1.221, allocations: 4.375 kB / 0.821 GB, free: 24.01 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003532/1.221, allocations: 76.19 kB / 0.821 GB, free: 24.01 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006539/1.222, allocations: 35.64 kB / 0.8211 GB, free: 24 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/1.224, allocations: 373.9 kB / 0.8214 GB, free: 23.83 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006039/1.225, allocations: 0.7698 MB / 0.8222 GB, free: 23.12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004279/1.225, allocations: 34.8 kB / 0.8222 GB, free: 23.12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/1.226, allocations: 53.31 kB / 0.8223 GB, free: 23.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.954e-06/1.226, allocations: 0 / 0.8223 GB, free: 23.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03849/1.264, allocations: 5.983 MB / 0.8281 GB, free: 21.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/1.264, allocations: 188.3 kB / 0.8283 GB, free: 20.97 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/3.837, allocations: 7.281 kB / 0.8283 GB, free: 20.96 MB / 0.6511 GB