Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Time_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.387/4.387, allocations: 403.9 MB / 410.9 MB, free: 4.852 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2759/4.663, allocations: 95.01 MB / 0.4941 GB, free: 7.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5572/5.22, allocations: 92.67 MB / 0.5846 GB, free: 3.348 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2968/5.517, allocations: 121.2 MB / 0.7029 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/5.517, allocations: 71.95 kB / 0.703 GB, free: 12.4 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.03219/5.55, allocations: 4.378 MB / 0.7072 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 7.063e-05/5.55, allocations: 16 kB / 0.7073 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002963/5.55, allocations: 23.72 kB / 0.7073 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/5.55, allocations: 203.6 kB / 0.7075 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-05/5.551, allocations: 4 kB / 0.7075 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/5.551, allocations: 19.98 kB / 0.7075 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003323/5.551, allocations: 39.98 kB / 0.7075 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006303/5.552, allocations: 137.5 kB / 0.7077 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/5.552, allocations: 4 kB / 0.7077 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.976e-05/5.552, allocations: 0 / 0.7077 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/5.552, allocations: 3.906 kB / 0.7077 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/5.552, allocations: 274 kB / 0.7079 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/5.553, allocations: 114.7 kB / 0.708 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/5.553, allocations: 48.84 kB / 0.7081 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/5.553, allocations: 8 kB / 0.7081 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005295/5.554, allocations: 159.2 kB / 0.7082 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 2.905e-06/5.554, allocations: 0 / 0.7082 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0007033/5.554, allocations: 165.3 kB / 0.7084 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/5.554, allocations: 59.31 kB / 0.7085 GB, free: 6.566 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/5.555, allocations: 191 kB / 0.7086 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/5.555, allocations: 41.62 kB / 0.7087 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/5.555, allocations: 84.92 kB / 0.7088 GB, free: 6.242 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/5.555, allocations: 47.44 kB / 0.7088 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/5.555, allocations: 12 kB / 0.7088 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001674/5.555, allocations: 318.8 kB / 0.7091 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/5.556, allocations: 84.2 kB / 0.7092 GB, free: 5.781 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/5.556, allocations: 134.2 kB / 0.7093 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/5.557, allocations: 80.97 kB / 0.7094 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/5.557, allocations: 0 / 0.7094 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001143/5.558, allocations: 263.7 kB / 0.7097 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/5.558, allocations: 4 kB / 0.7097 GB, free: 5.285 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/5.558, allocations: 4 kB / 0.7097 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/5.558, allocations: 4.188 kB / 0.7097 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/5.558, allocations: 35.84 kB / 0.7097 GB, free: 5.242 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/5.558, allocations: 7.984 kB / 0.7097 GB, free: 5.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007875/5.559, allocations: 51.81 kB / 0.7098 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/5.559, allocations: 39.98 kB / 0.7098 GB, free: 5.145 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.000249/5.56, allocations: 127.4 kB / 0.7099 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/5.56, allocations: 15.81 kB / 0.7099 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/5.56, allocations: 25.58 kB / 0.71 GB, free: 4.961 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/5.56, allocations: 3.906 kB / 0.71 GB, free: 4.957 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/5.56, allocations: 0 / 0.71 GB, free: 4.957 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/5.56, allocations: 8 kB / 0.71 GB, free: 4.949 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/5.561, allocations: 470 kB / 0.7104 GB, free: 4.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/5.561, allocations: 0 / 0.7104 GB, free: 4.449 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/5.561, allocations: 11.98 kB / 0.7104 GB, free: 4.438 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/5.561, allocations: 0 / 0.7104 GB, free: 4.438 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.363e-05/5.561, allocations: 7.984 kB / 0.7104 GB, free: 4.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/5.561, allocations: 0 / 0.7104 GB, free: 4.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/5.561, allocations: 4 kB / 0.7104 GB, free: 4.426 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005776/5.562, allocations: 263 kB / 0.7107 GB, free: 4.152 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007102/5.563, allocations: 0.6245 MB / 0.7113 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/5.563, allocations: 136.8 kB / 0.7114 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/5.563, allocations: 15.98 kB / 0.7115 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/5.564, allocations: 7.984 kB / 0.7115 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/5.564, allocations: 23.88 kB / 0.7115 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.348e-05/5.564, allocations: 27.98 kB / 0.7115 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0002449/5.564, allocations: 149.9 kB / 0.7117 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001729/5.566, allocations: 48.38 kB / 0.7117 GB, free: 3.09 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.000269/5.566, allocations: 123 kB / 0.7118 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0008862/5.567, allocations: 250.1 kB / 0.7121 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/5.567, allocations: 4.125 kB / 0.7121 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002473/5.567, allocations: 67.83 kB / 0.7121 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/5.568, allocations: 16.66 kB / 0.7121 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009094/5.569, allocations: 220.2 kB / 0.7123 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007246/5.57, allocations: 0.7707 MB / 0.7131 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of SimCode: time 1.412e-06/5.57, allocations: 0 / 0.7131 GB, free: 1.586 MB / 0.5886 GB