Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.972/3.972, allocations: 432.7 MB / 444.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.625e-05, allocations: 3.719 kB / 0.5338 GB, free: 12.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2487, allocations: 98.73 MB / 0.6302 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2402/0.4889, allocations: 126.2 MB / 0.7535 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.4892, allocations: 71.95 kB / 0.7535 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02211/0.5114, allocations: 4.18 MB / 0.7576 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5114, allocations: 0 / 0.7576 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.5115, allocations: 0 / 0.7576 GB, free: 3.477 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001145/0.5126, allocations: 0.5554 MB / 0.7582 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.5127, allocations: 15.97 kB / 0.7582 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.551e-05/0.5128, allocations: 38.55 kB / 0.7582 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.5129, allocations: 27.72 kB / 0.7583 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.5131, allocations: 188 kB / 0.7584 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.5131, allocations: 4 kB / 0.7584 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.144e-05/0.5132, allocations: 23.98 kB / 0.7585 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.5136, allocations: 133.5 kB / 0.7586 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.5137, allocations: 0 / 0.7586 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.5137, allocations: 11.94 kB / 0.7586 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.5137, allocations: 0 / 0.7586 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.5139, allocations: 43.92 kB / 0.7586 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005061/0.5144, allocations: 317.2 kB / 0.7589 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.5148, allocations: 122.7 kB / 0.7591 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.515, allocations: 56.83 kB / 0.7591 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.5151, allocations: 4 kB / 0.7591 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005372/0.5156, allocations: 195.6 kB / 0.7593 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 3.616e-06/0.5156, allocations: 0 / 0.7593 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0007055/0.5164, allocations: 213.2 kB / 0.7595 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.5164, allocations: 55.41 kB / 0.7596 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.5168, allocations: 200.2 kB / 0.7597 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.219e-05/0.5169, allocations: 41.69 kB / 0.7598 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.164e-05/0.517, allocations: 92.91 kB / 0.7599 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.207e-05/0.517, allocations: 43.52 kB / 0.7599 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/0.5171, allocations: 11.94 kB / 0.7599 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5173, allocations: 322.8 kB / 0.7602 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.5176, allocations: 96.14 kB / 0.7603 GB, free: 476 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/0.518, allocations: 142.2 kB / 0.7605 GB, free: 312 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003561/0.5184, allocations: 150.5 kB / 0.7606 GB, free: 148 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.5184, allocations: 0 / 0.7606 GB, free: 148 kB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001124/0.5195, allocations: 398 kB / 0.761 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-05/0.5197, allocations: 71.58 kB / 0.7611 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.5197, allocations: 8 kB / 0.7611 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.5197, allocations: 0 / 0.7611 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.52, allocations: 31.91 kB / 0.7611 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.52, allocations: 4 kB / 0.7611 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006377/0.5207, allocations: 51.81 kB / 0.7611 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.5208, allocations: 35.98 kB / 0.7612 GB, free: 15.53 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.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.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.0001973/0.521, allocations: 143.3 kB / 0.7613 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-05/0.5211, allocations: 23.8 kB / 0.7613 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.462e-05/0.5212, allocations: 17.66 kB / 0.7614 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.5212, allocations: 4 kB / 0.7614 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5212, allocations: 3.938 kB / 0.7614 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.5212, allocations: 3.984 kB / 0.7614 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.5224, allocations: 0.5333 MB / 0.7619 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5224, allocations: 0 / 0.7619 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.718e-05/0.5225, allocations: 16 kB / 0.7619 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-06/0.5225, allocations: 0 / 0.7619 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.5226, allocations: 11.97 kB / 0.7619 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.5226, allocations: 0 / 0.7619 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5226, allocations: 4 kB / 0.7619 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006311/0.5232, allocations: 307.1 kB / 0.7622 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/0.5235, allocations: 132.8 kB / 0.7623 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.27e-05/0.5236, allocations: 15.92 kB / 0.7624 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.5239, allocations: 16 kB / 0.7624 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.932e-05/0.524, allocations: 11.97 kB / 0.7624 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.299e-05/0.5241, allocations: 27.98 kB / 0.7624 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002118/0.5243, allocations: 160.5 kB / 0.7626 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5e-07/0.5243, allocations: 0 / 0.7626 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005894/0.5249, allocations: 51.98 kB / 0.7626 GB, free: 13.97 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.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.001083/0.526, allocations: 0.8685 MB / 0.7635 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009245/0.5269, allocations: 334.8 kB / 0.7638 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.527, allocations: 3.938 kB / 0.7638 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.5272, allocations: 67.92 kB / 0.7638 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.5276, allocations: 22 kB / 0.7639 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009967/0.5286, allocations: 280.8 kB / 0.7641 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.529, allocations: 0.7282 MB / 0.7648 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001927/0.5292, allocations: 25.22 kB / 0.7649 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.5294, allocations: 47.41 kB / 0.7649 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.102e-06/0.5294, allocations: 0 / 0.7649 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.558, allocations: 5.011 MB / 0.7698 GB, free: 6.562 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002897/0.5583, allocations: 149.8 kB / 0.77 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/2.9, allocations: 0 / 0.77 GB, free: 6.34 MB / 0.6511 GB