Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.383/4.383, allocations: 464.6 MB / 476.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.043e-05/5.051e-05, allocations: 4 kB / 0.5732 GB, free: 5.613 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2496, allocations: 107.2 MB / 0.6779 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8941/1.144, allocations: 134 MB / 0.8087 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/1.144, allocations: 75.16 kB / 0.8088 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02415/1.168, allocations: 5.196 MB / 0.8139 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.194e-06/1.168, allocations: 0 / 0.8139 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.936e-05/1.168, allocations: 3.875 kB / 0.8139 GB, free: 11.81 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.001251/1.17, allocations: 0.6057 MB / 0.8145 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/1.17, allocations: 11.69 kB / 0.8145 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.035e-05/1.17, allocations: 40.83 kB / 0.8145 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/1.17, allocations: 31.12 kB / 0.8145 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/1.171, allocations: 277.4 kB / 0.8148 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.834e-05/1.171, allocations: 13.92 kB / 0.8148 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/1.171, allocations: 19.19 kB / 0.8148 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/1.171, allocations: 164.2 kB / 0.815 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/1.171, allocations: 0 / 0.815 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.27e-05/1.171, allocations: 14.45 kB / 0.815 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/1.171, allocations: 7.891 kB / 0.815 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/1.171, allocations: 55.2 kB / 0.8151 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/1.173, allocations: 0.5865 MB / 0.8156 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/1.174, allocations: 138.7 kB / 0.8158 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/1.174, allocations: 59.41 kB / 0.8158 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/1.174, allocations: 0 / 0.8158 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005889/1.175, allocations: 230.7 kB / 0.8161 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.955e-06/1.175, allocations: 0 / 0.8161 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0007762/1.175, allocations: 228.6 kB / 0.8163 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/1.175, allocations: 61.53 kB / 0.8163 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004356/1.176, allocations: 278.2 kB / 0.8166 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001381/1.176, allocations: 42.86 kB / 0.8166 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.681e-05/1.176, allocations: 104.1 kB / 0.8167 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.317e-05/1.176, allocations: 55.5 kB / 0.8168 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/1.176, allocations: 7.281 kB / 0.8168 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.543e-05/1.176, allocations: 327.6 kB / 0.8171 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/1.177, allocations: 118.2 kB / 0.8172 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/1.177, allocations: 166.6 kB / 0.8174 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/1.178, allocations: 164.6 kB / 0.8175 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/1.178, allocations: 7.75 kB / 0.8175 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001114/1.179, allocations: 429.9 kB / 0.818 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.168e-05/1.179, allocations: 82.36 kB / 0.818 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.179, allocations: 0 / 0.818 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/1.179, allocations: 3.906 kB / 0.818 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/1.179, allocations: 24.94 kB / 0.8181 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/1.179, allocations: 3.906 kB / 0.8181 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006719/1.18, allocations: 55.19 kB / 0.8181 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/1.18, allocations: 56.86 kB / 0.8182 GB, free: 9.531 MB / 0.6355 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.0002061/1.18, allocations: 137.5 kB / 0.8183 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/1.18, allocations: 27.12 kB / 0.8183 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/1.18, allocations: 34.8 kB / 0.8184 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/1.18, allocations: 0 / 0.8184 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/1.18, allocations: 0 / 0.8184 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/1.18, allocations: 0 / 0.8184 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/1.182, allocations: 0.6001 MB / 0.8189 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.182, allocations: 3.469 kB / 0.819 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.696e-05/1.182, allocations: 7.812 kB / 0.819 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/1.182, allocations: 0 / 0.819 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/1.182, allocations: 13.06 kB / 0.819 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/1.182, allocations: 7.906 kB / 0.819 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.182, allocations: 0 / 0.819 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/1.182, allocations: 322.9 kB / 0.8193 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003069/1.183, allocations: 194.5 kB / 0.8195 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-05/1.183, allocations: 9.344 kB / 0.8195 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003071/1.183, allocations: 13.78 kB / 0.8195 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.463e-05/1.183, allocations: 13.22 kB / 0.8195 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.887e-05/1.183, allocations: 30.95 kB / 0.8195 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002942/1.184, allocations: 227.1 kB / 0.8198 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-07/1.184, allocations: 0 / 0.8198 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006178/1.184, allocations: 56.3 kB / 0.8198 GB, free: 8.73 MB / 0.6355 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.001352/1.186, allocations: 0.8928 MB / 0.8207 GB, free: 24.04 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000998/1.187, allocations: 370.7 kB / 0.821 GB, free: 23.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.187, allocations: 384 / 0.821 GB, free: 23.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/1.187, allocations: 75.02 kB / 0.8211 GB, free: 23.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/1.187, allocations: 41.33 kB / 0.8211 GB, free: 23.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/1.189, allocations: 369.3 kB / 0.8215 GB, free: 23.72 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/1.189, allocations: 0.7669 MB / 0.8222 GB, free: 23.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002391/1.189, allocations: 34.72 kB / 0.8223 GB, free: 23.01 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/1.189, allocations: 64.5 kB / 0.8223 GB, free: 22.98 MB / 0.6511 GB Notification: Performance of SimCode: time 1.453e-06/1.189, allocations: 0 / 0.8223 GB, free: 22.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03174/1.221, allocations: 5.973 MB / 0.8282 GB, free: 21.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002795/1.222, allocations: 197.5 kB / 0.8284 GB, free: 20.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.424/3.645, allocations: 3.938 kB / 0.8284 GB, free: 20.86 MB / 0.6511 GB