Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.187/4.187, allocations: 460.4 MB / 472.6 MB, free: 5.371 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.731e-05/3.737e-05, allocations: 4 kB / 0.5682 GB, free: 10.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.232, allocations: 106.2 MB / 0.6719 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9356/1.168, allocations: 133.6 MB / 0.8024 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/1.168, allocations: 77.06 kB / 0.8025 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02297/1.191, allocations: 5.2 MB / 0.8076 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.884e-06/1.191, allocations: 0 / 0.8076 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.622e-05/1.191, allocations: 3.969 kB / 0.8076 GB, free: 12.26 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/1.192, allocations: 0.615 MB / 0.8082 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.192, allocations: 7.75 kB / 0.8082 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.794e-05/1.192, allocations: 45.84 kB / 0.8082 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/1.193, allocations: 38.36 kB / 0.8083 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/1.193, allocations: 270.7 kB / 0.8085 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/1.193, allocations: 22.48 kB / 0.8085 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/1.193, allocations: 15.25 kB / 0.8086 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004399/1.194, allocations: 169.9 kB / 0.8087 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.194, allocations: 3.938 kB / 0.8087 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.102e-05/1.194, allocations: 6.844 kB / 0.8087 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/1.194, allocations: 0 / 0.8087 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/1.194, allocations: 58.91 kB / 0.8088 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/1.196, allocations: 0.5937 MB / 0.8094 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/1.196, allocations: 128.5 kB / 0.8095 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/1.196, allocations: 62.27 kB / 0.8095 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/1.196, allocations: 3.844 kB / 0.8096 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005499/1.197, allocations: 227.2 kB / 0.8098 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.735e-06/1.197, allocations: 0 / 0.8098 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0006777/1.198, allocations: 222.7 kB / 0.81 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/1.198, allocations: 66.7 kB / 0.81 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003817/1.198, allocations: 284.4 kB / 0.8103 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.25e-05/1.198, allocations: 44.06 kB / 0.8104 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.736e-05/1.198, allocations: 99.12 kB / 0.8105 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.49e-05/1.198, allocations: 44.91 kB / 0.8105 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/1.198, allocations: 7.25 kB / 0.8105 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.733e-05/1.198, allocations: 326.6 kB / 0.8108 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/1.199, allocations: 122.1 kB / 0.8109 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/1.199, allocations: 166.7 kB / 0.8111 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/1.199, allocations: 160.1 kB / 0.8112 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.199, allocations: 0 / 0.8112 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001046/1.201, allocations: 448.3 kB / 0.8117 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.635e-05/1.201, allocations: 76.48 kB / 0.8117 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.201, allocations: 3.875 kB / 0.8117 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/1.201, allocations: 0 / 0.8117 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/1.201, allocations: 32.12 kB / 0.8118 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/1.201, allocations: 3.984 kB / 0.8118 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006525/1.202, allocations: 58.66 kB / 0.8118 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/1.202, allocations: 54.41 kB / 0.8119 GB, free: 9.977 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.0001851/1.202, allocations: 130.7 kB / 0.812 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.183e-05/1.202, allocations: 29.97 kB / 0.812 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/1.202, allocations: 30.36 kB / 0.8121 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/1.202, allocations: 0 / 0.8121 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/1.202, allocations: 7.984 kB / 0.8121 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.202, allocations: 6.422 kB / 0.8121 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009689/1.203, allocations: 0.5889 MB / 0.8127 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.203, allocations: 0 / 0.8127 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.757e-05/1.203, allocations: 10.08 kB / 0.8127 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/1.203, allocations: 3.844 kB / 0.8127 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/1.203, allocations: 9.547 kB / 0.8127 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/1.203, allocations: 3.938 kB / 0.8127 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.203, allocations: 7.516 kB / 0.8127 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005258/1.204, allocations: 329.8 kB / 0.813 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002548/1.204, allocations: 186.8 kB / 0.8132 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.513e-05/1.204, allocations: 13.91 kB / 0.8132 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/1.205, allocations: 14.44 kB / 0.8132 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.556e-05/1.205, allocations: 20.77 kB / 0.8132 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.306e-05/1.205, allocations: 28.77 kB / 0.8133 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002748/1.205, allocations: 231.2 kB / 0.8135 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.72e-07/1.205, allocations: 0 / 0.8135 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005862/1.206, allocations: 56.44 kB / 0.8135 GB, free: 9.148 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.001311/1.207, allocations: 0.8788 MB / 0.8144 GB, free: 24.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008613/1.208, allocations: 374.8 kB / 0.8147 GB, free: 24.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.208, allocations: 0 / 0.8147 GB, free: 24.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001904/1.208, allocations: 76.52 kB / 0.8148 GB, free: 24.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/1.208, allocations: 24.83 kB / 0.8148 GB, free: 24.34 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/1.21, allocations: 375.3 kB / 0.8152 GB, free: 24.17 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/1.21, allocations: 0.7609 MB / 0.8159 GB, free: 23.47 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002247/1.21, allocations: 45.92 kB / 0.816 GB, free: 23.45 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/1.21, allocations: 51.73 kB / 0.816 GB, free: 23.44 MB / 0.6511 GB Notification: Performance of SimCode: time 9.31e-07/1.21, allocations: 3.938 kB / 0.816 GB, free: 23.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/1.237, allocations: 5.983 MB / 0.8219 GB, free: 22.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002501/1.238, allocations: 192.2 kB / 0.8221 GB, free: 22.26 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/3.552, allocations: 0 / 0.8221 GB, free: 22.26 MB / 0.6511 GB