Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.331/4.331, allocations: 404 MB / 410.9 MB, free: 4.879 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3605/4.692, allocations: 95 MB / 0.4941 GB, free: 7.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6455/5.337, allocations: 92.67 MB / 0.5846 GB, free: 3.34 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2667/5.604, allocations: 121.2 MB / 0.703 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/5.605, allocations: 71.95 kB / 0.703 GB, free: 12.37 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.03569/5.64, allocations: 4.383 MB / 0.7073 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.471e-05/5.64, allocations: 16 kB / 0.7073 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/5.641, allocations: 27.72 kB / 0.7073 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/5.641, allocations: 199.6 kB / 0.7075 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.933e-05/5.641, allocations: 8 kB / 0.7075 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/5.641, allocations: 12 kB / 0.7076 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002867/5.641, allocations: 43.92 kB / 0.7076 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005968/5.642, allocations: 125.5 kB / 0.7077 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/5.642, allocations: 4 kB / 0.7077 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.805e-05/5.642, allocations: 0 / 0.7077 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/5.642, allocations: 7.906 kB / 0.7077 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008366/5.643, allocations: 274 kB / 0.708 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004899/5.644, allocations: 110.7 kB / 0.7081 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/5.644, allocations: 52.78 kB / 0.7081 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.827e-05/5.644, allocations: 4 kB / 0.7081 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008019/5.645, allocations: 162 kB / 0.7083 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 4.509e-06/5.645, allocations: 0 / 0.7083 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0009554/5.646, allocations: 161.3 kB / 0.7085 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/5.646, allocations: 71.22 kB / 0.7085 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004661/5.646, allocations: 195 kB / 0.7087 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001595/5.647, allocations: 29.7 kB / 0.7087 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/5.647, allocations: 88.92 kB / 0.7088 GB, free: 6.215 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/5.647, allocations: 47.44 kB / 0.7089 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.195e-05/5.647, allocations: 4 kB / 0.7089 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001886/5.647, allocations: 318.8 kB / 0.7092 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005443/5.648, allocations: 84.22 kB / 0.7093 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006668/5.648, allocations: 142.1 kB / 0.7094 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004601/5.649, allocations: 74.92 kB / 0.7095 GB, free: 5.527 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/5.649, allocations: 0 / 0.7095 GB, free: 5.527 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001594/5.651, allocations: 273.8 kB / 0.7097 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/5.651, allocations: 4 kB / 0.7097 GB, free: 5.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/5.651, allocations: 4 kB / 0.7097 GB, free: 5.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/5.651, allocations: 0 / 0.7097 GB, free: 5.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/5.651, allocations: 27.86 kB / 0.7098 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/5.651, allocations: 7.984 kB / 0.7098 GB, free: 5.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/5.652, allocations: 48.02 kB / 0.7098 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/5.653, allocations: 43.97 kB / 0.7099 GB, free: 5.125 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.000324/5.653, allocations: 138 kB / 0.71 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/5.653, allocations: 15.81 kB / 0.71 GB, free: 4.969 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/5.653, allocations: 25.58 kB / 0.71 GB, free: 4.934 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/5.653, allocations: 3.906 kB / 0.71 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/5.653, allocations: 0 / 0.71 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/5.653, allocations: 7.984 kB / 0.71 GB, free: 4.922 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/5.655, allocations: 465.6 kB / 0.7105 GB, free: 4.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/5.655, allocations: 4 kB / 0.7105 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/5.655, allocations: 8 kB / 0.7105 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.168e-06/5.655, allocations: 0 / 0.7105 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-05/5.655, allocations: 11.98 kB / 0.7105 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/5.655, allocations: 0 / 0.7105 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/5.655, allocations: 7.984 kB / 0.7105 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009089/5.656, allocations: 251 kB / 0.7108 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009999/5.657, allocations: 0.6362 MB / 0.7114 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004618/5.658, allocations: 136.8 kB / 0.7115 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/5.658, allocations: 8 kB / 0.7115 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005723/5.659, allocations: 7.984 kB / 0.7115 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/5.659, allocations: 19.89 kB / 0.7115 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.893e-05/5.659, allocations: 19.98 kB / 0.7116 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0003284/5.659, allocations: 157.9 kB / 0.7117 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003322/5.663, allocations: 52.36 kB / 0.7118 GB, free: 3.066 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.000366/5.663, allocations: 123 kB / 0.7119 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001284/5.664, allocations: 249.7 kB / 0.7121 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/5.664, allocations: 0 / 0.7121 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003406/5.665, allocations: 67.83 kB / 0.7122 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007324/5.665, allocations: 21.03 kB / 0.7122 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/5.667, allocations: 216.3 kB / 0.7124 GB, free: 2.363 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/5.668, allocations: 0.7668 MB / 0.7132 GB, free: 1.57 MB / 0.5886 GB Notification: Performance of SimCode: time 1.583e-06/5.668, allocations: 0 / 0.7132 GB, free: 1.57 MB / 0.5886 GB