Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.354/4.354, allocations: 432.7 MB / 444.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.907e-05/3.889e-05, allocations: 5.891 kB / 0.5338 GB, free: 12.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2388, allocations: 98.73 MB / 0.6302 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2321/0.471, allocations: 126.6 MB / 0.7538 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.4714, allocations: 75.94 kB / 0.7539 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02382/0.4952, allocations: 4.884 MB / 0.7587 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4953, allocations: 0 / 0.7587 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.4953, allocations: 4 kB / 0.7587 GB, free: 2.344 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.00121/0.4965, allocations: 0.5675 MB / 0.7592 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.4966, allocations: 12.03 kB / 0.7593 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.344e-05/0.4966, allocations: 34.56 kB / 0.7593 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.4968, allocations: 35.75 kB / 0.7593 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.497, allocations: 205.8 kB / 0.7595 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.13e-05/0.4971, allocations: 8 kB / 0.7595 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.4972, allocations: 23.98 kB / 0.7596 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004529/0.4976, allocations: 159.7 kB / 0.7597 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.4977, allocations: 0 / 0.7597 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.54e-05/0.4977, allocations: 4 kB / 0.7597 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.4977, allocations: 4 kB / 0.7597 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.498, allocations: 55.92 kB / 0.7598 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.4999, allocations: 0.5668 MB / 0.7603 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004153/0.5003, allocations: 126.7 kB / 0.7604 GB, free: 380 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.5005, allocations: 60.84 kB / 0.7605 GB, free: 316 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.5006, allocations: 4 kB / 0.7605 GB, free: 312 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005792/0.5012, allocations: 205.8 kB / 0.7607 GB, free: 96 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 3.056e-06/0.5012, allocations: 0 / 0.7607 GB, free: 96 kB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0008157/0.502, allocations: 217.2 kB / 0.7609 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.5021, allocations: 75.31 kB / 0.761 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000366/0.5025, allocations: 224.9 kB / 0.7612 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.808e-05/0.5026, allocations: 37.7 kB / 0.7612 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.5027, allocations: 100.8 kB / 0.7613 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.953e-05/0.5028, allocations: 39.5 kB / 0.7614 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/0.5029, allocations: 8 kB / 0.7614 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.503, allocations: 327 kB / 0.7617 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003966/0.5035, allocations: 112.2 kB / 0.7618 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/0.5039, allocations: 174.2 kB / 0.762 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.5043, allocations: 162.3 kB / 0.7621 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/0.5043, allocations: 4 kB / 0.7621 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001185/0.5055, allocations: 427.1 kB / 0.7625 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.5056, allocations: 83.38 kB / 0.7626 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.5057, allocations: 0 / 0.7626 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.5057, allocations: 4 kB / 0.7626 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.506, allocations: 23.98 kB / 0.7626 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/0.506, allocations: 7.938 kB / 0.7626 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006439/0.5067, allocations: 43.94 kB / 0.7627 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.5068, allocations: 55.92 kB / 0.7627 GB, free: 13.91 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.0002166/0.507, allocations: 136 kB / 0.7629 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.495e-05/0.5071, allocations: 19.81 kB / 0.7629 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.592e-05/0.5072, allocations: 25.95 kB / 0.7629 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5072, allocations: 0 / 0.7629 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.5073, allocations: 0 / 0.7629 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.5073, allocations: 0 / 0.7629 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.5084, allocations: 0.5824 MB / 0.7635 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5084, allocations: 0 / 0.7635 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.432e-05/0.5085, allocations: 7.938 kB / 0.7635 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.5085, allocations: 0 / 0.7635 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.787e-05/0.5086, allocations: 15.97 kB / 0.7635 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.5086, allocations: 0 / 0.7635 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.5086, allocations: 3.953 kB / 0.7635 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006124/0.5092, allocations: 311.1 kB / 0.7638 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.5095, allocations: 152.8 kB / 0.7639 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.495e-05/0.5096, allocations: 15.98 kB / 0.764 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.5099, allocations: 8 kB / 0.764 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.51, allocations: 15.97 kB / 0.764 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.879e-05/0.5101, allocations: 31.94 kB / 0.764 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002475/0.5103, allocations: 177.4 kB / 0.7642 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.31e-07/0.5103, allocations: 0 / 0.7642 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005713/0.5109, allocations: 60.14 kB / 0.7642 GB, free: 12.27 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.001102/0.512, allocations: 0.8761 MB / 0.7651 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009566/0.513, allocations: 366.7 kB / 0.7654 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.513, allocations: 0 / 0.7654 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.5132, allocations: 68.34 kB / 0.7655 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.5137, allocations: 34.61 kB / 0.7655 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.5148, allocations: 307.8 kB / 0.7658 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.5152, allocations: 0.7477 MB / 0.7666 GB, free: 9.777 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001964/0.5154, allocations: 33.2 kB / 0.7666 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.5156, allocations: 47.41 kB / 0.7666 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of SimCode: time 1.082e-06/0.5156, allocations: 0 / 0.7666 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03384/0.5495, allocations: 5.561 MB / 0.7721 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004555/0.55, allocations: 180.1 kB / 0.7722 GB, free: 4.008 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/2.935, allocations: 3.938 kB / 0.7722 GB, free: 4.004 MB / 0.6511 GB