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={"dynamic"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 4.575/4.575, allocations: 404 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2871/4.862, allocations: 95.04 MB / 0.4941 GB, free: 7.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5251/5.388, allocations: 92.67 MB / 0.5846 GB, free: 3.391 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2678/5.655, allocations: 122.2 MB / 0.7039 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004287/5.656, allocations: 95.92 kB / 0.704 GB, free: 11.46 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.03037/5.686, allocations: 5.128 MB / 0.709 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/5.686, allocations: 12 kB / 0.709 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/5.686, allocations: 27.72 kB / 0.709 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/5.687, allocations: 201.7 kB / 0.7092 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/5.687, allocations: 4 kB / 0.7092 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/5.687, allocations: 16 kB / 0.7093 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002628/5.687, allocations: 55.94 kB / 0.7093 GB, free: 5.918 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/5.688, allocations: 152.5 kB / 0.7095 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/5.688, allocations: 0 / 0.7095 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.471e-05/5.688, allocations: 7.984 kB / 0.7095 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/5.688, allocations: 11.91 kB / 0.7095 GB, free: 5.746 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/5.689, allocations: 0.5126 MB / 0.71 GB, free: 5.195 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004693/5.69, allocations: 126.6 kB / 0.7101 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/5.69, allocations: 52.84 kB / 0.7101 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/5.69, allocations: 0 / 0.7101 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005835/5.691, allocations: 163.3 kB / 0.7103 GB, free: 4.836 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 2.675e-06/5.691, allocations: 0 / 0.7103 GB, free: 4.836 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0007498/5.692, allocations: 169.2 kB / 0.7105 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/5.692, allocations: 67.38 kB / 0.7105 GB, free: 4.586 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000435/5.692, allocations: 216 kB / 0.7107 GB, free: 4.363 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001461/5.692, allocations: 37.69 kB / 0.7108 GB, free: 4.32 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/5.692, allocations: 96.83 kB / 0.7109 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.178e-05/5.692, allocations: 35.55 kB / 0.7109 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-05/5.693, allocations: 7.984 kB / 0.7109 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001637/5.693, allocations: 334.7 kB / 0.7112 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004745/5.693, allocations: 96.22 kB / 0.7113 GB, free: 3.75 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004888/5.694, allocations: 146.2 kB / 0.7114 GB, free: 3.586 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/5.694, allocations: 86.56 kB / 0.7115 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/5.694, allocations: 0 / 0.7115 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001134/5.695, allocations: 291.8 kB / 0.7118 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/5.695, allocations: 8.188 kB / 0.7118 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/5.695, allocations: 7.906 kB / 0.7118 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/5.695, allocations: 4 kB / 0.7118 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/5.696, allocations: 23.92 kB / 0.7119 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/5.696, allocations: 3.984 kB / 0.7119 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008338/5.697, allocations: 47.83 kB / 0.7119 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/5.697, allocations: 43.97 kB / 0.7119 GB, free: 3.074 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.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.0002689/5.697, allocations: 131.5 kB / 0.7121 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/5.697, allocations: 23.72 kB / 0.7121 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/5.697, allocations: 25.89 kB / 0.7121 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/5.697, allocations: 7.875 kB / 0.7121 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/5.697, allocations: 4 kB / 0.7121 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/5.697, allocations: 7.984 kB / 0.7121 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/5.698, allocations: 0.4902 MB / 0.7126 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/5.698, allocations: 0 / 0.7126 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.059e-05/5.699, allocations: 8 kB / 0.7126 GB, free: 2.332 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/5.699, allocations: 3.906 kB / 0.7126 GB, free: 2.328 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.888e-05/5.699, allocations: 11.97 kB / 0.7126 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/5.699, allocations: 0 / 0.7126 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/5.699, allocations: 0 / 0.7126 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000595/5.699, allocations: 271 kB / 0.7129 GB, free: 2.035 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007611/5.7, allocations: 0.6284 MB / 0.7135 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003041/5.7, allocations: 156.7 kB / 0.7137 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/5.7, allocations: 16 kB / 0.7137 GB, free: 1.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/5.701, allocations: 11.98 kB / 0.7137 GB, free: 1.188 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/5.701, allocations: 11.98 kB / 0.7137 GB, free: 1.176 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.846e-05/5.701, allocations: 31.97 kB / 0.7137 GB, free: 1.145 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0003297/5.701, allocations: 168.5 kB / 0.7139 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001741/5.703, allocations: 43.94 kB / 0.7139 GB, free: 0.9336 MB / 0.5886 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.0002808/5.703, allocations: 136.7 kB / 0.7141 GB, free: 0.793 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0009894/5.704, allocations: 282 kB / 0.7143 GB, free: 0.5078 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/5.704, allocations: 0 / 0.7143 GB, free: 0.5078 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000362/5.705, allocations: 71.91 kB / 0.7144 GB, free: 448 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007799/5.706, allocations: 32.34 kB / 0.7144 GB, free: 416 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/5.707, allocations: 251.1 kB / 0.7147 GB, free: 148 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008084/5.708, allocations: 0.7782 MB / 0.7154 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of SimCode: time 1.483e-06/5.708, allocations: 0 / 0.7154 GB, free: 15.34 MB / 0.6042 GB