Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Time_Examples_CalendarTime",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.559/4.559, allocations: 403.9 MB / 410.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2506/4.809, allocations: 95 MB / 0.4941 GB, free: 7.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5651/5.374, allocations: 92.68 MB / 0.5846 GB, free: 3.383 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2979/5.672, allocations: 121.2 MB / 0.7029 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003849/5.673, allocations: 71.95 kB / 0.703 GB, free: 12.48 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.02912/5.702, allocations: 4.382 MB / 0.7072 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/5.702, allocations: 12 kB / 0.7073 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/5.702, allocations: 31.72 kB / 0.7073 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/5.702, allocations: 199.6 kB / 0.7075 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/5.703, allocations: 4 kB / 0.7075 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/5.703, allocations: 12 kB / 0.7075 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002153/5.703, allocations: 39.98 kB / 0.7075 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/5.703, allocations: 133.5 kB / 0.7077 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/5.703, allocations: 3.984 kB / 0.7077 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.626e-05/5.703, allocations: 4 kB / 0.7077 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/5.703, allocations: 3.906 kB / 0.7077 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006597/5.704, allocations: 281.9 kB / 0.7079 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/5.704, allocations: 106.7 kB / 0.708 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/5.705, allocations: 52.84 kB / 0.7081 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/5.705, allocations: 0 / 0.7081 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005585/5.705, allocations: 163.2 kB / 0.7082 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 3.006e-06/5.705, allocations: 0 / 0.7082 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0007028/5.706, allocations: 161.3 kB / 0.7084 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/5.706, allocations: 71.3 kB / 0.7085 GB, free: 6.641 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/5.706, allocations: 191 kB / 0.7086 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.681e-05/5.707, allocations: 33.7 kB / 0.7087 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/5.707, allocations: 84.92 kB / 0.7088 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.709e-05/5.707, allocations: 47.44 kB / 0.7088 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-05/5.707, allocations: 4 kB / 0.7088 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001397/5.707, allocations: 318.8 kB / 0.7091 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003906/5.707, allocations: 84.22 kB / 0.7092 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004613/5.708, allocations: 138.2 kB / 0.7093 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/5.708, allocations: 74.67 kB / 0.7094 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/5.708, allocations: 0 / 0.7094 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001088/5.709, allocations: 281.9 kB / 0.7097 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/5.709, allocations: 4 kB / 0.7097 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/5.709, allocations: 0 / 0.7097 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/5.709, allocations: 7.938 kB / 0.7097 GB, free: 5.352 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/5.71, allocations: 23.92 kB / 0.7097 GB, free: 5.328 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.148e-05/5.71, allocations: 7.984 kB / 0.7097 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/5.711, allocations: 40.08 kB / 0.7097 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000248/5.712, allocations: 47.97 kB / 0.7098 GB, free: 5.234 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.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.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.0003983/5.712, allocations: 135.5 kB / 0.7099 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/5.712, allocations: 19.81 kB / 0.7099 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/5.712, allocations: 25.58 kB / 0.71 GB, free: 5.043 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/5.712, allocations: 3.906 kB / 0.71 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/5.712, allocations: 0 / 0.71 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/5.712, allocations: 3.984 kB / 0.71 GB, free: 5.035 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/5.714, allocations: 473.6 kB / 0.7104 GB, free: 4.531 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/5.714, allocations: 0 / 0.7104 GB, free: 4.531 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/5.714, allocations: 11.94 kB / 0.7104 GB, free: 4.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.017e-05/5.714, allocations: 8 kB / 0.7104 GB, free: 4.512 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.993e-05/5.715, allocations: 7.984 kB / 0.7104 GB, free: 4.504 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/5.715, allocations: 0 / 0.7104 GB, free: 4.504 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.325e-05/5.715, allocations: 3.984 kB / 0.7105 GB, free: 4.5 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001071/5.716, allocations: 255.1 kB / 0.7107 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001122/5.717, allocations: 0.6284 MB / 0.7113 GB, free: 3.586 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004712/5.717, allocations: 136.8 kB / 0.7114 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/5.718, allocations: 4 kB / 0.7114 GB, free: 3.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000695/5.718, allocations: 15.98 kB / 0.7115 GB, free: 3.414 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/5.719, allocations: 15.89 kB / 0.7115 GB, free: 3.398 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/5.719, allocations: 19.98 kB / 0.7115 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0004178/5.719, allocations: 157.9 kB / 0.7116 GB, free: 3.227 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002882/5.722, allocations: 48.36 kB / 0.7117 GB, free: 3.18 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.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.0004188/5.723, allocations: 124.8 kB / 0.7118 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001416/5.724, allocations: 258.1 kB / 0.7121 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/5.724, allocations: 0 / 0.7121 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003357/5.724, allocations: 67.83 kB / 0.7121 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006513/5.725, allocations: 16.66 kB / 0.7121 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/5.726, allocations: 216.7 kB / 0.7123 GB, free: 2.473 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009273/5.727, allocations: 0.7707 MB / 0.7131 GB, free: 1.676 MB / 0.5886 GB Notification: Performance of SimCode: time 1.944e-06/5.727, allocations: 3.938 kB / 0.7131 GB, free: 1.672 MB / 0.5886 GB