Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Sources_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.707/4.707, allocations: 404 MB / 410.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2442/4.951, allocations: 95.03 MB / 0.4941 GB, free: 7.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5696/5.521, allocations: 92.69 MB / 0.5846 GB, free: 3.402 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2796/5.8, allocations: 122.3 MB / 0.704 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004258/5.801, allocations: 95.91 kB / 0.7041 GB, free: 11.33 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.03008/5.831, allocations: 5.132 MB / 0.7091 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/5.831, allocations: 12 kB / 0.7091 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/5.831, allocations: 27.72 kB / 0.7092 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/5.832, allocations: 201.8 kB / 0.7094 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/5.832, allocations: 8 kB / 0.7094 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/5.832, allocations: 19.98 kB / 0.7094 GB, free: 5.82 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002714/5.832, allocations: 51.94 kB / 0.7094 GB, free: 5.77 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004606/5.833, allocations: 149.5 kB / 0.7096 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/5.833, allocations: 0 / 0.7096 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-05/5.833, allocations: 11.94 kB / 0.7096 GB, free: 5.605 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/5.833, allocations: 3.906 kB / 0.7096 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/5.834, allocations: 0.5165 MB / 0.7101 GB, free: 5.047 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/5.835, allocations: 118.6 kB / 0.7102 GB, free: 4.922 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/5.835, allocations: 56.84 kB / 0.7103 GB, free: 4.863 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/5.835, allocations: 7.938 kB / 0.7103 GB, free: 4.855 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005723/5.835, allocations: 160.2 kB / 0.7104 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 3.026e-06/5.835, allocations: 0 / 0.7104 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0007337/5.836, allocations: 172.1 kB / 0.7106 GB, free: 4.516 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/5.836, allocations: 59.41 kB / 0.7106 GB, free: 4.445 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003963/5.837, allocations: 216 kB / 0.7109 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/5.837, allocations: 41.7 kB / 0.7109 GB, free: 4.176 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/5.837, allocations: 96.81 kB / 0.711 GB, free: 4.078 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.485e-05/5.837, allocations: 43.53 kB / 0.711 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.814e-05/5.837, allocations: 4 kB / 0.711 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001619/5.837, allocations: 322.7 kB / 0.7113 GB, free: 3.707 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004485/5.838, allocations: 100.2 kB / 0.7114 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004814/5.838, allocations: 158.2 kB / 0.7116 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/5.839, allocations: 76.69 kB / 0.7117 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/5.839, allocations: 0 / 0.7117 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001118/5.84, allocations: 291.9 kB / 0.7119 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/5.84, allocations: 8 kB / 0.7119 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/5.84, allocations: 3.906 kB / 0.7119 GB, free: 3.055 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/5.84, allocations: 4 kB / 0.712 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/5.84, allocations: 27.91 kB / 0.712 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/5.84, allocations: 4 kB / 0.712 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008468/5.841, allocations: 55.84 kB / 0.712 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/5.841, allocations: 39.98 kB / 0.7121 GB, free: 2.926 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.0002597/5.841, allocations: 135.5 kB / 0.7122 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.512e-05/5.842, allocations: 19.72 kB / 0.7122 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/5.842, allocations: 29.89 kB / 0.7123 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/5.842, allocations: 4 kB / 0.7123 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/5.842, allocations: 0 / 0.7123 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/5.842, allocations: 0 / 0.7123 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/5.843, allocations: 498.7 kB / 0.7127 GB, free: 2.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/5.843, allocations: 4 kB / 0.7127 GB, free: 2.195 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.865e-05/5.843, allocations: 7.984 kB / 0.7127 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/5.843, allocations: 3.906 kB / 0.7127 GB, free: 2.184 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/5.843, allocations: 7.984 kB / 0.7128 GB, free: 2.176 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/5.843, allocations: 8 kB / 0.7128 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/5.843, allocations: 0 / 0.7128 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005986/5.844, allocations: 270.2 kB / 0.713 GB, free: 1.891 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008019/5.845, allocations: 0.644 MB / 0.7136 GB, free: 1.227 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/5.845, allocations: 152.7 kB / 0.7138 GB, free: 1.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/5.845, allocations: 19.98 kB / 0.7138 GB, free: 1.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/5.846, allocations: 8 kB / 0.7138 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/5.846, allocations: 15.97 kB / 0.7138 GB, free: 1.016 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.162e-05/5.846, allocations: 23.98 kB / 0.7139 GB, free: 0.9922 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0002925/5.846, allocations: 168.5 kB / 0.714 GB, free: 0.8242 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002273/5.848, allocations: 51.98 kB / 0.7141 GB, free: 0.7734 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.0004237/5.849, allocations: 133.6 kB / 0.7142 GB, free: 0.6367 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001014/5.85, allocations: 279.4 kB / 0.7145 GB, free: 360 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/5.85, allocations: 0 / 0.7145 GB, free: 360 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002355/5.85, allocations: 67.92 kB / 0.7145 GB, free: 292 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005348/5.851, allocations: 28.34 kB / 0.7146 GB, free: 264 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/5.852, allocations: 252.7 kB / 0.7148 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008366/5.853, allocations: 0.786 MB / 0.7156 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of SimCode: time 1.803e-06/5.853, allocations: 0 / 0.7156 GB, free: 15.18 MB / 0.6042 GB