Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.441/4.441, allocations: 404.2 MB / 411.3 MB, free: 424 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.264e-05, allocations: 4 kB / 0.4946 GB, free: 1.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7027/0.7028, allocations: 92.69 MB / 0.5851 GB, free: 2.375 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2584/0.9612, allocations: 122.3 MB / 0.7046 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004274/0.9617, allocations: 99.91 kB / 0.7047 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02835/0.9901, allocations: 4.881 MB / 0.7094 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.168e-06/0.9901, allocations: 3.984 kB / 0.7094 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.9901, allocations: 4.219 kB / 0.7094 GB, free: 2.879 MB / 0.5886 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.001315/0.9915, allocations: 0.5637 MB / 0.71 GB, free: 2.246 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.374e-05/0.9915, allocations: 20 kB / 0.71 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.9917, allocations: 35.61 kB / 0.71 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.9919, allocations: 197.8 kB / 0.7102 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.992, allocations: 4 kB / 0.7102 GB, free: 1.957 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.9921, allocations: 19.98 kB / 0.7102 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002247/0.9924, allocations: 55.92 kB / 0.7103 GB, free: 1.883 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004332/0.9928, allocations: 153.5 kB / 0.7104 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.9928, allocations: 0 / 0.7104 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.9929, allocations: 0 / 0.7104 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.9929, allocations: 4 kB / 0.7104 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.9948, allocations: 0.5245 MB / 0.711 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003683/0.9952, allocations: 122.7 kB / 0.7111 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.9954, allocations: 56.78 kB / 0.7111 GB, free: 0.9727 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.9955, allocations: 4 kB / 0.7111 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000602/0.9961, allocations: 199.7 kB / 0.7113 GB, free: 0.7617 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 2.896e-06/0.9961, allocations: 4 kB / 0.7113 GB, free: 0.7578 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0007514/0.9969, allocations: 209.2 kB / 0.7115 GB, free: 0.5469 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.9969, allocations: 67.33 kB / 0.7116 GB, free: 480 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/0.9973, allocations: 208.4 kB / 0.7118 GB, free: 268 kB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.9974, allocations: 41.69 kB / 0.7118 GB, free: 220 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.9976, allocations: 100.7 kB / 0.7119 GB, free: 112 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.463e-05/0.9976, allocations: 39.59 kB / 0.712 GB, free: 72 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/0.9977, allocations: 4 kB / 0.712 GB, free: 68 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.9979, allocations: 330.8 kB / 0.7123 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.9983, allocations: 100.2 kB / 0.7124 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/0.9988, allocations: 146.2 kB / 0.7125 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.9991, allocations: 82 kB / 0.7126 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.9991, allocations: 4 kB / 0.7126 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001161/1, allocations: 325 kB / 0.7129 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/1, allocations: 78.2 kB / 0.713 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/1, allocations: 0 / 0.713 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/1, allocations: 7.984 kB / 0.713 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/1.001, allocations: 27.92 kB / 0.713 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/1.001, allocations: 8 kB / 0.713 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007547/1.002, allocations: 51.94 kB / 0.7131 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/1.002, allocations: 43.98 kB / 0.7131 GB, free: 14.84 MB / 0.6042 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.0002384/1.002, allocations: 132 kB / 0.7132 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006554/1.003, allocations: 205.3 kB / 0.7134 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.207e-05/1.003, allocations: 23.72 kB / 0.7135 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/1.003, allocations: 25.95 kB / 0.7135 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/1.003, allocations: 4 kB / 0.7135 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/1.003, allocations: 0 / 0.7135 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/1.003, allocations: 0 / 0.7135 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/1.004, allocations: 0.5261 MB / 0.714 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.004, allocations: 0 / 0.714 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.283e-05/1.004, allocations: 11.94 kB / 0.714 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/1.004, allocations: 0 / 0.714 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.115e-05/1.004, allocations: 19.97 kB / 0.714 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.311e-06/1.004, allocations: 4 kB / 0.714 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/1.004, allocations: 3.953 kB / 0.714 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006893/1.005, allocations: 297.7 kB / 0.7143 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/1.005, allocations: 160.7 kB / 0.7145 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/1.006, allocations: 11.98 kB / 0.7145 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/1.006, allocations: 8 kB / 0.7145 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.185e-05/1.006, allocations: 19.97 kB / 0.7145 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.334e-05/1.006, allocations: 27.94 kB / 0.7145 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000261/1.006, allocations: 172.5 kB / 0.7147 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.91e-07/1.006, allocations: 0 / 0.7147 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000689/1.007, allocations: 47.98 kB / 0.7148 GB, free: 13.07 MB / 0.6042 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.001146/1.008, allocations: 0.8697 MB / 0.7156 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009461/1.009, allocations: 350.8 kB / 0.7159 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/1.009, allocations: 4 kB / 0.7159 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00021/1.009, allocations: 68.8 kB / 0.716 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/1.01, allocations: 30.17 kB / 0.716 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/1.011, allocations: 295.6 kB / 0.7163 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/1.012, allocations: 0.7397 MB / 0.717 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002347/1.012, allocations: 33.2 kB / 0.7171 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/1.012, allocations: 51.41 kB / 0.7171 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of SimCode: time 9.02e-07/1.012, allocations: 0 / 0.7171 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05872/1.071, allocations: 5.036 MB / 0.722 GB, free: 5.531 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003996/1.071, allocations: 182.6 kB / 0.7222 GB, free: 5.336 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.77/3.841, allocations: 0 / 0.7222 GB, free: 5.336 MB / 0.6042 GB