Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.559/4.559, allocations: 464.6 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.858e-05/3.866e-05, allocations: 4 kB / 0.5732 GB, free: 5.605 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2477, allocations: 107.1 MB / 0.6779 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.889/1.137, allocations: 134 MB / 0.8087 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/1.137, allocations: 77.92 kB / 0.8088 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0237/1.161, allocations: 5.207 MB / 0.8139 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/1.161, allocations: 0 / 0.8139 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.61e-05/1.161, allocations: 3.844 kB / 0.8139 GB, free: 11.54 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.001135/1.162, allocations: 0.6031 MB / 0.8145 GB, free: 11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/1.162, allocations: 7.656 kB / 0.8145 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.445e-05/1.162, allocations: 43.73 kB / 0.8145 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/1.162, allocations: 37.92 kB / 0.8146 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/1.163, allocations: 273 kB / 0.8148 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/1.163, allocations: 15.31 kB / 0.8148 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/1.163, allocations: 21.88 kB / 0.8148 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004054/1.163, allocations: 164.3 kB / 0.815 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.163, allocations: 0 / 0.815 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/1.163, allocations: 0 / 0.815 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/1.163, allocations: 11.7 kB / 0.815 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/1.164, allocations: 64.92 kB / 0.8151 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/1.165, allocations: 0.583 MB / 0.8156 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003678/1.166, allocations: 132 kB / 0.8158 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/1.166, allocations: 63.34 kB / 0.8158 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/1.166, allocations: 3.844 kB / 0.8158 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005548/1.167, allocations: 226.5 kB / 0.8161 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.825e-06/1.167, allocations: 0 / 0.8161 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0007048/1.167, allocations: 230.5 kB / 0.8163 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/1.167, allocations: 59.19 kB / 0.8163 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/1.168, allocations: 282 kB / 0.8166 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.16e-05/1.168, allocations: 40.58 kB / 0.8166 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.938e-05/1.168, allocations: 99.2 kB / 0.8167 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.03e-05/1.168, allocations: 52.05 kB / 0.8168 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-05/1.168, allocations: 10.28 kB / 0.8168 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.636e-05/1.168, allocations: 329.2 kB / 0.8171 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/1.169, allocations: 118.1 kB / 0.8172 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/1.169, allocations: 170.1 kB / 0.8174 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/1.169, allocations: 166 kB / 0.8175 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/1.169, allocations: 0 / 0.8175 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00108/1.17, allocations: 432.9 kB / 0.818 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.674e-05/1.171, allocations: 80.48 kB / 0.818 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.171, allocations: 3.812 kB / 0.818 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/1.171, allocations: 192 / 0.818 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/1.171, allocations: 30.92 kB / 0.8181 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/1.171, allocations: 11.19 kB / 0.8181 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006557/1.172, allocations: 45.27 kB / 0.8181 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/1.172, allocations: 54.53 kB / 0.8182 GB, free: 9.273 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.0001885/1.172, allocations: 141 kB / 0.8183 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/1.172, allocations: 31.14 kB / 0.8183 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/1.172, allocations: 31.33 kB / 0.8184 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/1.172, allocations: 0 / 0.8184 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/1.172, allocations: 3.938 kB / 0.8184 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.172, allocations: 3.375 kB / 0.8184 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/1.173, allocations: 0.5885 MB / 0.8189 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.173, allocations: 0 / 0.8189 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.908e-05/1.173, allocations: 21.03 kB / 0.819 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/1.173, allocations: 4 kB / 0.819 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/1.173, allocations: 10.83 kB / 0.819 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/1.173, allocations: 2.906 kB / 0.819 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.173, allocations: 0 / 0.819 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005497/1.174, allocations: 320.1 kB / 0.8193 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/1.174, allocations: 192.2 kB / 0.8195 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.763e-05/1.174, allocations: 10.84 kB / 0.8195 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003077/1.175, allocations: 17.75 kB / 0.8195 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/1.175, allocations: 15.16 kB / 0.8195 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.682e-05/1.175, allocations: 31.5 kB / 0.8195 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006079/1.175, allocations: 225.9 kB / 0.8198 GB, free: 24.46 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.175, allocations: 0 / 0.8198 GB, free: 24.46 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006069/1.176, allocations: 55.58 kB / 0.8198 GB, free: 24.46 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 (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.001106/1.177, allocations: 0.8922 MB / 0.8207 GB, free: 23.78 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009311/1.178, allocations: 370 kB / 0.821 GB, free: 23.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.178, allocations: 0 / 0.821 GB, free: 23.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/1.178, allocations: 75.55 kB / 0.8211 GB, free: 23.64 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/1.179, allocations: 32.41 kB / 0.8211 GB, free: 23.63 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/1.18, allocations: 372.6 kB / 0.8215 GB, free: 23.46 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/1.18, allocations: 0.7665 MB / 0.8222 GB, free: 22.76 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000237/1.181, allocations: 43.3 kB / 0.8223 GB, free: 22.75 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/1.181, allocations: 55.52 kB / 0.8223 GB, free: 22.73 MB / 0.6511 GB Notification: Performance of SimCode: time 1.443e-06/1.181, allocations: 4 kB / 0.8223 GB, free: 22.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/1.21, allocations: 5.981 MB / 0.8282 GB, free: 20.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/1.21, allocations: 205.7 kB / 0.8284 GB, free: 20.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.384/3.595, allocations: 0 / 0.8284 GB, free: 20.6 MB / 0.6511 GB