Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.366/4.366, allocations: 403.9 MB / 410.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2424/4.609, allocations: 95 MB / 0.4941 GB, free: 7.348 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5382/5.147, allocations: 92.68 MB / 0.5846 GB, free: 3.41 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2737/5.421, allocations: 121.2 MB / 0.703 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/5.421, allocations: 67.95 kB / 0.703 GB, free: 12.43 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.02909/5.45, allocations: 4.389 MB / 0.7073 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/5.45, allocations: 20 kB / 0.7073 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/5.451, allocations: 27.72 kB / 0.7074 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/5.451, allocations: 191.6 kB / 0.7075 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/5.451, allocations: 8 kB / 0.7075 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/5.451, allocations: 19.92 kB / 0.7076 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002069/5.451, allocations: 39.98 kB / 0.7076 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/5.452, allocations: 129.5 kB / 0.7077 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/5.452, allocations: 0 / 0.7077 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/5.452, allocations: 0 / 0.7077 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/5.452, allocations: 3.906 kB / 0.7077 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/5.452, allocations: 278 kB / 0.708 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000423/5.453, allocations: 114.7 kB / 0.7081 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/5.453, allocations: 44.86 kB / 0.7081 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/5.453, allocations: 7.984 kB / 0.7082 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000554/5.454, allocations: 163.2 kB / 0.7083 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 2.575e-06/5.454, allocations: 0 / 0.7083 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0007315/5.454, allocations: 157.3 kB / 0.7085 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/5.454, allocations: 63.31 kB / 0.7085 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005069/5.455, allocations: 195 kB / 0.7087 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001571/5.455, allocations: 37.62 kB / 0.7087 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/5.455, allocations: 84.92 kB / 0.7088 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.138e-05/5.455, allocations: 47.45 kB / 0.7089 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.39e-05/5.456, allocations: 4 kB / 0.7089 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001741/5.456, allocations: 326.8 kB / 0.7092 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/5.456, allocations: 80.2 kB / 0.7093 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00044/5.457, allocations: 149.7 kB / 0.7094 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/5.457, allocations: 72.03 kB / 0.7095 GB, free: 5.582 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/5.457, allocations: 4 kB / 0.7095 GB, free: 5.578 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001028/5.458, allocations: 267.7 kB / 0.7097 GB, free: 5.312 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/5.458, allocations: 4 kB / 0.7097 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/5.458, allocations: 4 kB / 0.7097 GB, free: 5.305 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/5.458, allocations: 7.938 kB / 0.7097 GB, free: 5.297 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/5.458, allocations: 27.92 kB / 0.7098 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/5.458, allocations: 0 / 0.7098 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008323/5.459, allocations: 52 kB / 0.7098 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/5.459, allocations: 39.98 kB / 0.7099 GB, free: 5.18 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,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.0002487/5.46, allocations: 135.4 kB / 0.71 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.596e-05/5.46, allocations: 15.81 kB / 0.71 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/5.46, allocations: 25.56 kB / 0.71 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/5.46, allocations: 7.906 kB / 0.71 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/5.46, allocations: 0 / 0.71 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/5.46, allocations: 0 / 0.71 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/5.461, allocations: 469.8 kB / 0.7105 GB, free: 4.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/5.461, allocations: 0 / 0.7105 GB, free: 4.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.974e-05/5.461, allocations: 15.98 kB / 0.7105 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/5.461, allocations: 0 / 0.7105 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.59e-05/5.461, allocations: 7.984 kB / 0.7105 GB, free: 4.457 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/5.461, allocations: 4 kB / 0.7105 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/5.461, allocations: 4 kB / 0.7105 GB, free: 4.449 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005463/5.462, allocations: 259 kB / 0.7108 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007251/5.463, allocations: 0.6323 MB / 0.7114 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002622/5.463, allocations: 132.8 kB / 0.7115 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/5.463, allocations: 11.98 kB / 0.7115 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/5.463, allocations: 4 kB / 0.7115 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.524e-05/5.464, allocations: 23.88 kB / 0.7115 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-05/5.464, allocations: 23.98 kB / 0.7116 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0002342/5.464, allocations: 149.9 kB / 0.7117 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001674/5.466, allocations: 52.38 kB / 0.7118 GB, free: 3.121 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,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.0002461/5.466, allocations: 125.4 kB / 0.7119 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0008895/5.467, allocations: 249.7 kB / 0.7121 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/5.467, allocations: 0 / 0.7121 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002324/5.467, allocations: 79.8 kB / 0.7122 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/5.467, allocations: 9.047 kB / 0.7122 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008883/5.468, allocations: 220.3 kB / 0.7124 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007369/5.469, allocations: 0.7707 MB / 0.7132 GB, free: 1.617 MB / 0.5886 GB Notification: Performance of SimCode: time 1.042e-06/5.469, allocations: 0 / 0.7132 GB, free: 1.617 MB / 0.5886 GB