Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart",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.398/4.398, allocations: 404 MB / 410.9 MB, free: 4.945 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2529/4.651, allocations: 95.04 MB / 0.4941 GB, free: 7.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5811/5.232, allocations: 92.67 MB / 0.5846 GB, free: 3.387 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2636/5.496, allocations: 120.9 MB / 0.7027 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/5.496, allocations: 87.94 kB / 0.7028 GB, free: 12.66 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.05125/5.547, allocations: 8.931 MB / 0.7115 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/5.547, allocations: 12 kB / 0.7115 GB, free: 3.656 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/5.547, allocations: 31.62 kB / 0.7115 GB, free: 3.625 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/5.548, allocations: 199.7 kB / 0.7117 GB, free: 3.387 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002886/5.548, allocations: 259.7 kB / 0.712 GB, free: 3.078 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-05/5.548, allocations: 23.84 kB / 0.712 GB, free: 3.055 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006117/5.549, allocations: 132.9 kB / 0.7121 GB, free: 2.926 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006492/5.549, allocations: 213 kB / 0.7123 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/5.549, allocations: 0 / 0.7123 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.09e-05/5.549, allocations: 8 kB / 0.7123 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/5.549, allocations: 4 kB / 0.7123 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/5.551, allocations: 0.7392 MB / 0.7131 GB, free: 1.902 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000632/5.552, allocations: 168.2 kB / 0.7132 GB, free: 1.711 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/5.552, allocations: 111.5 kB / 0.7133 GB, free: 1.594 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.037e-05/5.552, allocations: 8.188 kB / 0.7133 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006294/5.553, allocations: 246.7 kB / 0.7136 GB, free: 1.324 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=48): time 3.567e-06/5.553, allocations: 3.938 kB / 0.7136 GB, free: 1.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=48): time 0.0009845/5.554, allocations: 281.4 kB / 0.7139 GB, free: 1.039 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/5.554, allocations: 118.8 kB / 0.714 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/5.554, allocations: 158.6 kB / 0.7141 GB, free: 0.7344 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.601e-05/5.554, allocations: 25.7 kB / 0.7141 GB, free: 0.7031 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/5.555, allocations: 105.3 kB / 0.7142 GB, free: 0.5977 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/5.555, allocations: 141.9 kB / 0.7144 GB, free: 468 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/5.555, allocations: 4 kB / 0.7144 GB, free: 464 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001768/5.555, allocations: 338.8 kB / 0.7147 GB, free: 116 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/5.555, allocations: 117.3 kB / 0.7148 GB, free: 0 / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005917/5.556, allocations: 211.5 kB / 0.715 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005049/5.557, allocations: 151.7 kB / 0.7152 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/5.557, allocations: 0 / 0.7152 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001219/5.558, allocations: 393.6 kB / 0.7155 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/5.558, allocations: 4 kB / 0.7155 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/5.558, allocations: 4.078 kB / 0.7155 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/5.558, allocations: 8 kB / 0.7156 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000894/5.559, allocations: 103.8 kB / 0.7157 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/5.559, allocations: 7.984 kB / 0.7157 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006003/5.559, allocations: 59.66 kB / 0.7157 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/5.56, allocations: 20 kB / 0.7157 GB, free: 15.01 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.0001818/5.56, allocations: 131.4 kB / 0.7159 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.685e-05/5.56, allocations: 27.66 kB / 0.7159 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/5.56, allocations: 33.75 kB / 0.7159 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/5.56, allocations: 4 kB / 0.7159 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/5.56, allocations: 0 / 0.7159 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/5.56, allocations: 7.984 kB / 0.7159 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005538/5.561, allocations: 309.6 kB / 0.7162 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/5.561, allocations: 0 / 0.7162 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009983/5.562, allocations: 79.89 kB / 0.7163 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/5.562, allocations: 8 kB / 0.7163 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.007e-05/5.562, allocations: 11.98 kB / 0.7163 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/5.562, allocations: 0 / 0.7163 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/5.562, allocations: 4 kB / 0.7163 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001471/5.563, allocations: 0.5025 MB / 0.7168 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002127/5.565, allocations: 1.038 MB / 0.7178 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-05/5.565, allocations: 100.8 kB / 0.7179 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.069e-05/5.566, allocations: 4 kB / 0.7179 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005706/5.566, allocations: 47.95 kB / 0.718 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/5.566, allocations: 35.95 kB / 0.718 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.428e-05/5.566, allocations: 23.97 kB / 0.718 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001315/5.567, allocations: 112.1 kB / 0.7181 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001508/5.568, allocations: 67.94 kB / 0.7182 GB, free: 12.36 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.0002984/5.568, allocations: 135.3 kB / 0.7183 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001033/5.569, allocations: 326.7 kB / 0.7186 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/5.569, allocations: 0 / 0.7186 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005631/5.57, allocations: 151.9 kB / 0.7188 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/5.571, allocations: 32.25 kB / 0.7188 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/5.572, allocations: 489.9 kB / 0.7193 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007055/5.573, allocations: 0.8269 MB / 0.7201 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of SimCode: time 1.062e-06/5.573, allocations: 0 / 0.7201 GB, free: 10.36 MB / 0.6042 GB