Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.616/4.616, allocations: 404.2 MB / 411.3 MB, free: 416 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.643e-05/2.656e-05, allocations: 3.281 kB / 0.4945 GB, free: 1.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6672/0.6672, allocations: 92.68 MB / 0.585 GB, free: 2.312 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2533/0.9206, allocations: 121.3 MB / 0.7035 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003507/0.921, allocations: 71.95 kB / 0.7036 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02504/0.9461, allocations: 4.163 MB / 0.7076 GB, free: 4.625 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.993e-06/0.9461, allocations: 4 kB / 0.7076 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.9462, allocations: 0 / 0.7076 GB, free: 4.621 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001267/0.9474, allocations: 0.5478 MB / 0.7082 GB, free: 4.004 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.9475, allocations: 8.031 kB / 0.7082 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.9477, allocations: 35.61 kB / 0.7082 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.9479, allocations: 191.7 kB / 0.7084 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.647e-05/0.9479, allocations: 4 kB / 0.7084 GB, free: 3.727 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.9481, allocations: 15.94 kB / 0.7084 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000188/0.9483, allocations: 39.98 kB / 0.7084 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.9487, allocations: 141.5 kB / 0.7086 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.9487, allocations: 0 / 0.7086 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.9487, allocations: 0 / 0.7086 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.9488, allocations: 3.953 kB / 0.7086 GB, free: 3.523 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.9493, allocations: 281.9 kB / 0.7088 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.9496, allocations: 114.7 kB / 0.709 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.9498, allocations: 48.84 kB / 0.709 GB, free: 3.039 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.9499, allocations: 4 kB / 0.709 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005883/0.9505, allocations: 199.1 kB / 0.7092 GB, free: 2.828 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 2.855e-06/0.9505, allocations: 0 / 0.7092 GB, free: 2.828 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.000783/0.9513, allocations: 193.3 kB / 0.7094 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.9514, allocations: 59.39 kB / 0.7094 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.9517, allocations: 191 kB / 0.7096 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.291e-05/0.9518, allocations: 37.64 kB / 0.7097 GB, free: 2.324 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.9519, allocations: 100.8 kB / 0.7098 GB, free: 2.223 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.969e-05/0.952, allocations: 43.53 kB / 0.7098 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.9521, allocations: 0 / 0.7098 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.9522, allocations: 326.8 kB / 0.7101 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.9526, allocations: 84.22 kB / 0.7102 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.953, allocations: 134.7 kB / 0.7103 GB, free: 1.617 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.9533, allocations: 71.14 kB / 0.7104 GB, free: 1.547 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.9533, allocations: 3.938 kB / 0.7104 GB, free: 1.543 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001051/0.9543, allocations: 299.7 kB / 0.7107 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.9545, allocations: 79.56 kB / 0.7107 GB, free: 1.156 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.9545, allocations: 4 kB / 0.7108 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.9545, allocations: 0 / 0.7108 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.9549, allocations: 27.92 kB / 0.7108 GB, free: 1.125 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.9549, allocations: 4 kB / 0.7108 GB, free: 1.121 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000721/0.9556, allocations: 39.88 kB / 0.7108 GB, free: 1.082 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.9558, allocations: 47.97 kB / 0.7109 GB, free: 1.035 MB / 0.5886 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,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.0002367/0.956, allocations: 131.1 kB / 0.711 GB, free: 0.9023 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006252/0.9567, allocations: 196 kB / 0.7112 GB, free: 0.707 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.957e-05/0.9568, allocations: 27.64 kB / 0.7112 GB, free: 0.6797 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.973e-05/0.9569, allocations: 21.97 kB / 0.7112 GB, free: 0.6562 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.9569, allocations: 0 / 0.7112 GB, free: 0.6562 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.9569, allocations: 4 kB / 0.7112 GB, free: 0.6523 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.9569, allocations: 3.984 kB / 0.7112 GB, free: 0.6484 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.9581, allocations: 0.4948 MB / 0.7117 GB, free: 112 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.9581, allocations: 0 / 0.7117 GB, free: 112 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.592e-05/0.9582, allocations: 15.88 kB / 0.7117 GB, free: 96 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/0.9582, allocations: 7.984 kB / 0.7117 GB, free: 88 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.9583, allocations: 7.984 kB / 0.7117 GB, free: 80 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.9583, allocations: 0 / 0.7117 GB, free: 80 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.9583, allocations: 4 kB / 0.7117 GB, free: 76 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006503/0.959, allocations: 299.2 kB / 0.712 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002597/0.9593, allocations: 132.9 kB / 0.7122 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.631e-05/0.9594, allocations: 11.98 kB / 0.7122 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.9597, allocations: 8 kB / 0.7122 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/0.9598, allocations: 15.97 kB / 0.7122 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.866e-05/0.9599, allocations: 23.98 kB / 0.7122 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002134/0.9601, allocations: 149.9 kB / 0.7124 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9601, allocations: 4 kB / 0.7124 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006562/0.9608, allocations: 44.33 kB / 0.7124 GB, free: 15.37 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,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.001098/0.9619, allocations: 0.8548 MB / 0.7132 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008897/0.9628, allocations: 326.7 kB / 0.7136 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.9629, allocations: 0 / 0.7136 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.9631, allocations: 64.36 kB / 0.7136 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.9636, allocations: 18.27 kB / 0.7136 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.9648, allocations: 264.3 kB / 0.7139 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.9652, allocations: 0.7318 MB / 0.7146 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002308/0.9654, allocations: 33.2 kB / 0.7146 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.9657, allocations: 39.42 kB / 0.7147 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of SimCode: time 1.062e-06/0.9657, allocations: 0 / 0.7147 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05452/1.02, allocations: 4.51 MB / 0.7191 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004004/1.021, allocations: 149.5 kB / 0.7192 GB, free: 8.285 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.801/3.822, allocations: 0 / 0.7192 GB, free: 8.285 MB / 0.6042 GB