Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.157/4.157, allocations: 432.7 MB / 444.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.061e-05/5.075e-05, allocations: 4.766 kB / 0.5338 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2654, allocations: 98.72 MB / 0.6302 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2334/0.4989, allocations: 126.6 MB / 0.7539 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/0.4993, allocations: 75.95 kB / 0.754 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0251/0.5244, allocations: 4.897 MB / 0.7587 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5244, allocations: 0 / 0.7587 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.633e-05/0.5245, allocations: 4 kB / 0.7587 GB, free: 2.289 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.001262/0.5257, allocations: 0.5722 MB / 0.7593 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.5258, allocations: 12.03 kB / 0.7593 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.528e-05/0.5259, allocations: 46.55 kB / 0.7594 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.526, allocations: 31.77 kB / 0.7594 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.5263, allocations: 193.8 kB / 0.7596 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/0.5263, allocations: 15.98 kB / 0.7596 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.5264, allocations: 20 kB / 0.7596 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/0.5269, allocations: 165.4 kB / 0.7598 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.5269, allocations: 0 / 0.7598 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/0.527, allocations: 4 kB / 0.7598 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.527, allocations: 4 kB / 0.7598 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.5272, allocations: 51.98 kB / 0.7598 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.5291, allocations: 0.5551 MB / 0.7604 GB, free: 464 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004111/0.5295, allocations: 138.7 kB / 0.7605 GB, free: 316 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.5297, allocations: 56.84 kB / 0.7606 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.5298, allocations: 7.984 kB / 0.7606 GB, free: 248 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005577/0.5303, allocations: 203.6 kB / 0.7608 GB, free: 32 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.816e-06/0.5304, allocations: 0 / 0.7608 GB, free: 32 kB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.000792/0.5312, allocations: 223.9 kB / 0.761 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.5312, allocations: 63.41 kB / 0.761 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.5316, allocations: 232.9 kB / 0.7613 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.946e-05/0.5317, allocations: 37.7 kB / 0.7613 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.5318, allocations: 100.8 kB / 0.7614 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.639e-05/0.5319, allocations: 39.5 kB / 0.7614 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.935e-05/0.532, allocations: 8 kB / 0.7614 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5321, allocations: 327 kB / 0.7617 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.5326, allocations: 112.2 kB / 0.7619 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004823/0.533, allocations: 170.2 kB / 0.762 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.5335, allocations: 154 kB / 0.7622 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.5335, allocations: 0 / 0.7622 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001214/0.5347, allocations: 437.2 kB / 0.7626 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.5348, allocations: 75.39 kB / 0.7626 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.5349, allocations: 4 kB / 0.7627 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.5349, allocations: 4 kB / 0.7627 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.5352, allocations: 31.91 kB / 0.7627 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.5352, allocations: 0 / 0.7627 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006579/0.5359, allocations: 52.06 kB / 0.7627 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.536, allocations: 43.94 kB / 0.7628 GB, free: 13.86 MB / 0.6511 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.0002317/0.5362, allocations: 138.2 kB / 0.7629 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/0.5363, allocations: 19.81 kB / 0.7629 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.688e-05/0.5364, allocations: 25.95 kB / 0.763 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.5365, allocations: 4 kB / 0.763 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5365, allocations: 4 kB / 0.763 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.5365, allocations: 0 / 0.763 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.5377, allocations: 0.5684 MB / 0.7635 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.5377, allocations: 4 kB / 0.7635 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.121e-05/0.5378, allocations: 11.98 kB / 0.7635 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.5378, allocations: 0 / 0.7635 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.139e-05/0.5379, allocations: 11.98 kB / 0.7635 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.5379, allocations: 0 / 0.7635 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.5379, allocations: 3.953 kB / 0.7635 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006358/0.5385, allocations: 321 kB / 0.7639 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002801/0.5388, allocations: 156.8 kB / 0.764 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.75e-05/0.5389, allocations: 12 kB / 0.764 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003006/0.5392, allocations: 11.98 kB / 0.764 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.909e-05/0.5393, allocations: 11.98 kB / 0.764 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/0.5394, allocations: 35.92 kB / 0.7641 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000249/0.5397, allocations: 177.3 kB / 0.7642 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5397, allocations: 8 kB / 0.7642 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000607/0.5403, allocations: 56.16 kB / 0.7643 GB, free: 12.21 MB / 0.6511 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.001117/0.5414, allocations: 0.8623 MB / 0.7651 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009764/0.5424, allocations: 376.9 kB / 0.7655 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5425, allocations: 0 / 0.7655 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.5427, allocations: 67.92 kB / 0.7656 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.5431, allocations: 28.41 kB / 0.7656 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.5443, allocations: 303.9 kB / 0.7659 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.5448, allocations: 0.7478 MB / 0.7666 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002158/0.5451, allocations: 29.22 kB / 0.7666 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.5453, allocations: 47.41 kB / 0.7667 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of SimCode: time 1.423e-06/0.5453, allocations: 3.938 kB / 0.7667 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03576/0.5811, allocations: 5.574 MB / 0.7721 GB, free: 4.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003015/0.5814, allocations: 192.3 kB / 0.7723 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.323/2.904, allocations: 6.516 kB / 0.7723 GB, free: 3.949 MB / 0.6511 GB