Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",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.39/4.39, allocations: 403.9 MB / 410.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2803/4.671, allocations: 95.03 MB / 0.4941 GB, free: 7.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5806/5.251, allocations: 92.67 MB / 0.5846 GB, free: 3.422 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2632/5.515, allocations: 120.9 MB / 0.7027 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004765/5.515, allocations: 91.92 kB / 0.7028 GB, free: 12.68 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.05496/5.57, allocations: 8.931 MB / 0.7115 GB, free: 3.691 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/5.57, allocations: 16 kB / 0.7115 GB, free: 3.676 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/5.571, allocations: 31.62 kB / 0.7115 GB, free: 3.645 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/5.571, allocations: 199.6 kB / 0.7117 GB, free: 3.406 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002992/5.571, allocations: 255.7 kB / 0.712 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/5.571, allocations: 27.89 kB / 0.712 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006681/5.572, allocations: 128.9 kB / 0.7121 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006677/5.573, allocations: 217 kB / 0.7123 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/5.573, allocations: 0 / 0.7123 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.646e-05/5.573, allocations: 3.984 kB / 0.7123 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/5.573, allocations: 11.94 kB / 0.7124 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/5.575, allocations: 0.7316 MB / 0.7131 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006727/5.575, allocations: 180.2 kB / 0.7132 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003692/5.576, allocations: 107.3 kB / 0.7133 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.024e-05/5.576, allocations: 12.16 kB / 0.7134 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006507/5.576, allocations: 238.8 kB / 0.7136 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=48): time 3.246e-06/5.576, allocations: 4 kB / 0.7136 GB, free: 1.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=48): time 0.001051/5.578, allocations: 285.1 kB / 0.7139 GB, free: 1.059 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/5.578, allocations: 110.8 kB / 0.714 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/5.578, allocations: 158.6 kB / 0.7141 GB, free: 0.7617 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.971e-05/5.578, allocations: 29.7 kB / 0.7141 GB, free: 0.7266 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/5.578, allocations: 105.3 kB / 0.7142 GB, free: 0.6211 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/5.578, allocations: 145.9 kB / 0.7144 GB, free: 488 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/5.578, allocations: 0 / 0.7144 GB, free: 488 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001823/5.579, allocations: 346.8 kB / 0.7147 GB, free: 132 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004392/5.579, allocations: 117.3 kB / 0.7148 GB, free: 16 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007551/5.58, allocations: 211.5 kB / 0.715 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006591/5.58, allocations: 139.8 kB / 0.7152 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.449e-05/5.581, allocations: 4 kB / 0.7152 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0019/5.582, allocations: 397.2 kB / 0.7155 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/5.582, allocations: 6.969 kB / 0.7155 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/5.583, allocations: 4 kB / 0.7156 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.746e-05/5.583, allocations: 4 kB / 0.7156 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/5.584, allocations: 103.8 kB / 0.7157 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.078e-05/5.584, allocations: 7.984 kB / 0.7157 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008526/5.585, allocations: 59.66 kB / 0.7157 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.747e-05/5.585, allocations: 24.06 kB / 0.7157 GB, free: 15.03 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * 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.0002662/5.585, allocations: 134.8 kB / 0.7159 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/5.585, allocations: 27.7 kB / 0.7159 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/5.585, allocations: 25.84 kB / 0.7159 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/5.585, allocations: 7.984 kB / 0.7159 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/5.585, allocations: 7.938 kB / 0.7159 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/5.585, allocations: 3.984 kB / 0.7159 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007711/5.586, allocations: 309.7 kB / 0.7162 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/5.586, allocations: 0 / 0.7162 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/5.588, allocations: 79.89 kB / 0.7163 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/5.588, allocations: 0 / 0.7163 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/5.588, allocations: 7.984 kB / 0.7163 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.13e-05/5.588, allocations: 8 kB / 0.7163 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/5.588, allocations: 0 / 0.7163 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002083/5.59, allocations: 0.503 MB / 0.7168 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003022/5.593, allocations: 1.041 MB / 0.7178 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/5.593, allocations: 100.8 kB / 0.7179 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/5.593, allocations: 8 kB / 0.7179 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007905/5.594, allocations: 47.91 kB / 0.718 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/5.594, allocations: 39.84 kB / 0.718 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.809e-05/5.594, allocations: 15.98 kB / 0.718 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.000188/5.595, allocations: 116.1 kB / 0.7181 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002683/5.597, allocations: 63.94 kB / 0.7182 GB, free: 12.38 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0003729/5.598, allocations: 122.9 kB / 0.7183 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001517/5.599, allocations: 322.8 kB / 0.7186 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/5.599, allocations: 0 / 0.7186 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007576/5.6, allocations: 151.9 kB / 0.7188 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006721/5.601, allocations: 32.08 kB / 0.7188 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/5.603, allocations: 498.7 kB / 0.7193 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/5.604, allocations: 0.8308 MB / 0.7201 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of SimCode: time 1.413e-06/5.604, allocations: 0 / 0.7201 GB, free: 10.38 MB / 0.6042 GB