Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.125/4.125, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.113e-05/4.126e-05, allocations: 8 kB / 0.4992 GB, free: 13.31 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6201/0.6201, allocations: 92.68 MB / 0.5897 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2623/0.8825, allocations: 122.9 MB / 0.7097 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003978/0.883, allocations: 99.91 kB / 0.7098 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02391/0.9069, allocations: 4.898 MB / 0.7145 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9069, allocations: 0 / 0.7145 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.907, allocations: 4 kB / 0.7145 GB, free: 14.4 MB / 0.6042 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.001254/0.9082, allocations: 0.5714 MB / 0.7151 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.9083, allocations: 12.03 kB / 0.7151 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.967e-05/0.9084, allocations: 38.55 kB / 0.7152 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.9086, allocations: 35.67 kB / 0.7152 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.9088, allocations: 197.8 kB / 0.7154 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/0.9089, allocations: 15.98 kB / 0.7154 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.987e-05/0.909, allocations: 20 kB / 0.7154 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000461/0.9095, allocations: 165.9 kB / 0.7156 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.9095, allocations: 0 / 0.7156 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.9095, allocations: 4 kB / 0.7156 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.9096, allocations: 7.938 kB / 0.7156 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/0.9098, allocations: 52.84 kB / 0.7156 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001822/0.9116, allocations: 0.5627 MB / 0.7162 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.9121, allocations: 122.7 kB / 0.7163 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.9123, allocations: 64.84 kB / 0.7164 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.9123, allocations: 4 kB / 0.7164 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005832/0.9129, allocations: 204.8 kB / 0.7166 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.875e-06/0.9129, allocations: 0 / 0.7166 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.000812/0.9138, allocations: 221.4 kB / 0.7168 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/0.9139, allocations: 67.39 kB / 0.7168 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/0.9143, allocations: 221 kB / 0.717 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.151e-05/0.9144, allocations: 41.64 kB / 0.7171 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.9145, allocations: 100.9 kB / 0.7172 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.397e-05/0.9146, allocations: 43.45 kB / 0.7172 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.9146, allocations: 11.98 kB / 0.7172 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.9148, allocations: 318.8 kB / 0.7175 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003945/0.9152, allocations: 112.2 kB / 0.7176 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004413/0.9157, allocations: 154.5 kB / 0.7178 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.9161, allocations: 160.2 kB / 0.7179 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.9161, allocations: 4 kB / 0.7179 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001204/0.9173, allocations: 431.5 kB / 0.7184 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.9175, allocations: 83.41 kB / 0.7184 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.9175, allocations: 0 / 0.7184 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.9175, allocations: 4 kB / 0.7184 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.9178, allocations: 27.88 kB / 0.7185 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.9178, allocations: 4 kB / 0.7185 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006358/0.9185, allocations: 51.75 kB / 0.7185 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.9186, allocations: 47.98 kB / 0.7186 GB, free: 9.977 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.000229/0.9189, allocations: 136 kB / 0.7187 GB, free: 9.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.791e-05/0.9189, allocations: 23.72 kB / 0.7187 GB, free: 9.816 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.632e-05/0.919, allocations: 25.95 kB / 0.7187 GB, free: 9.793 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.9191, allocations: 4 kB / 0.7187 GB, free: 9.789 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.9191, allocations: 3.953 kB / 0.7188 GB, free: 9.785 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.9191, allocations: 0 / 0.7188 GB, free: 9.785 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.9203, allocations: 0.5724 MB / 0.7193 GB, free: 9.156 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.9203, allocations: 0 / 0.7193 GB, free: 9.156 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.836e-05/0.9204, allocations: 7.984 kB / 0.7193 GB, free: 9.148 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.9204, allocations: 0 / 0.7193 GB, free: 9.148 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/0.9205, allocations: 19.94 kB / 0.7193 GB, free: 9.129 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.9205, allocations: 0 / 0.7193 GB, free: 9.129 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9205, allocations: 0 / 0.7193 GB, free: 9.129 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006283/0.9211, allocations: 320.9 kB / 0.7196 GB, free: 8.801 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002546/0.9214, allocations: 156.8 kB / 0.7198 GB, free: 8.629 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.578e-05/0.9215, allocations: 12 kB / 0.7198 GB, free: 8.617 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.9218, allocations: 15.94 kB / 0.7198 GB, free: 8.602 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/0.9219, allocations: 27.81 kB / 0.7198 GB, free: 8.574 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.88e-05/0.922, allocations: 23.92 kB / 0.7199 GB, free: 8.551 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002857/0.9223, allocations: 177.4 kB / 0.72 GB, free: 8.379 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9223, allocations: 0 / 0.72 GB, free: 8.379 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005755/0.9229, allocations: 52 kB / 0.7201 GB, free: 8.328 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.001197/0.9241, allocations: 0.8854 MB / 0.721 GB, free: 7.414 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.9251, allocations: 364.7 kB / 0.7213 GB, free: 7.035 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.9251, allocations: 0 / 0.7213 GB, free: 7.035 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.9253, allocations: 68.3 kB / 0.7214 GB, free: 6.969 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.9258, allocations: 40.3 kB / 0.7214 GB, free: 6.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.9269, allocations: 308.2 kB / 0.7217 GB, free: 6.594 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.9274, allocations: 0.7439 MB / 0.7224 GB, free: 5.824 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002092/0.9276, allocations: 33.2 kB / 0.7225 GB, free: 5.793 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.9278, allocations: 39.42 kB / 0.7225 GB, free: 5.754 MB / 0.6042 GB Notification: Performance of SimCode: time 1.373e-06/0.9278, allocations: 0 / 0.7225 GB, free: 5.754 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03691/0.9647, allocations: 5.567 MB / 0.7279 GB, free: 296 kB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003227/0.9651, allocations: 181.1 kB / 0.7281 GB, free: 72 kB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/3.407, allocations: 0 / 0.7281 GB, free: 72 kB / 0.6042 GB