Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Sources_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.46/4.46, allocations: 403.9 MB / 410.9 MB, free: 4.926 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2515/4.712, allocations: 95.05 MB / 0.4941 GB, free: 7.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5207/5.233, allocations: 92.68 MB / 0.5846 GB, free: 3.438 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2675/5.5, allocations: 122.3 MB / 0.704 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005654/5.501, allocations: 99.91 kB / 0.7041 GB, free: 11.34 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.02947/5.53, allocations: 5.128 MB / 0.7091 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/5.53, allocations: 12 kB / 0.7091 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/5.531, allocations: 39.69 kB / 0.7092 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/5.531, allocations: 205.8 kB / 0.7094 GB, free: 5.852 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/5.531, allocations: 4 kB / 0.7094 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/5.531, allocations: 15.98 kB / 0.7094 GB, free: 5.832 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002516/5.531, allocations: 59.95 kB / 0.7094 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/5.532, allocations: 149.5 kB / 0.7096 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/5.532, allocations: 0 / 0.7096 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.771e-05/5.532, allocations: 0 / 0.7096 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/5.532, allocations: 7.844 kB / 0.7096 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/5.533, allocations: 0.5126 MB / 0.7101 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003855/5.534, allocations: 122.6 kB / 0.7102 GB, free: 4.934 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/5.534, allocations: 56.84 kB / 0.7103 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/5.534, allocations: 4 kB / 0.7103 GB, free: 4.871 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005565/5.535, allocations: 167.3 kB / 0.7104 GB, free: 4.695 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 2.334e-06/5.535, allocations: 0 / 0.7104 GB, free: 4.695 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0006585/5.535, allocations: 169.2 kB / 0.7106 GB, free: 4.523 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/5.535, allocations: 63.39 kB / 0.7107 GB, free: 4.449 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/5.536, allocations: 216 kB / 0.7109 GB, free: 4.227 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.861e-05/5.536, allocations: 33.7 kB / 0.7109 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/5.536, allocations: 96.81 kB / 0.711 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.726e-05/5.536, allocations: 39.55 kB / 0.711 GB, free: 4.051 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/5.536, allocations: 7.938 kB / 0.711 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001984/5.536, allocations: 330.7 kB / 0.7113 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000429/5.537, allocations: 100.2 kB / 0.7114 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/5.537, allocations: 146.2 kB / 0.7116 GB, free: 3.449 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/5.538, allocations: 80.7 kB / 0.7117 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/5.538, allocations: 0 / 0.7117 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001092/5.539, allocations: 292.9 kB / 0.7119 GB, free: 3.078 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/5.539, allocations: 4 kB / 0.7119 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/5.539, allocations: 3.906 kB / 0.7119 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/5.539, allocations: 4 kB / 0.7119 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/5.539, allocations: 36.09 kB / 0.712 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/5.539, allocations: 4 kB / 0.712 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008038/5.54, allocations: 51.75 kB / 0.712 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/5.54, allocations: 47.92 kB / 0.7121 GB, free: 2.93 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.0002003/5.54, allocations: 128 kB / 0.7122 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.642e-05/5.54, allocations: 27.7 kB / 0.7122 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.478e-05/5.541, allocations: 13.91 kB / 0.7122 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/5.541, allocations: 4 kB / 0.7122 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/5.541, allocations: 3.984 kB / 0.7123 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/5.541, allocations: 0 / 0.7123 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/5.542, allocations: 0.4977 MB / 0.7127 GB, free: 2.207 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/5.542, allocations: 0 / 0.7127 GB, free: 2.207 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.502e-05/5.542, allocations: 4 kB / 0.7127 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/5.542, allocations: 3.906 kB / 0.7127 GB, free: 2.199 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.011e-05/5.542, allocations: 19.97 kB / 0.7128 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/5.542, allocations: 0 / 0.7128 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/5.542, allocations: 0 / 0.7128 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005777/5.542, allocations: 275 kB / 0.713 GB, free: 1.895 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007552/5.543, allocations: 0.6307 MB / 0.7136 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/5.544, allocations: 156.7 kB / 0.7138 GB, free: 1.074 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/5.544, allocations: 8 kB / 0.7138 GB, free: 1.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/5.544, allocations: 19.98 kB / 0.7138 GB, free: 1.047 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/5.544, allocations: 19.97 kB / 0.7138 GB, free: 1.027 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.106e-05/5.544, allocations: 19.98 kB / 0.7139 GB, free: 1.008 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0003063/5.545, allocations: 176.5 kB / 0.714 GB, free: 0.832 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001736/5.546, allocations: 40 kB / 0.7141 GB, free: 0.793 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.0002794/5.547, allocations: 136.7 kB / 0.7142 GB, free: 0.6523 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0009115/5.548, allocations: 271.4 kB / 0.7145 GB, free: 384 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/5.548, allocations: 384 / 0.7145 GB, free: 384 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002353/5.548, allocations: 79.89 kB / 0.7145 GB, free: 304 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/5.548, allocations: 28.36 kB / 0.7146 GB, free: 276 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009641/5.549, allocations: 244.3 kB / 0.7148 GB, free: 12 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007389/5.55, allocations: 0.786 MB / 0.7156 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of SimCode: time 9.02e-07/5.55, allocations: 0 / 0.7156 GB, free: 15.2 MB / 0.6042 GB