Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Functions_Examples_RegStep",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.602/4.602, allocations: 404 MB / 410.9 MB, free: 9.129 MB / 338.9 MB Notification: Performance of FrontEnd - loaded program: time 0.5201/5.122, allocations: 95.01 MB / 0.4941 GB, free: 7.34 MB / 402.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/5.397, allocations: 92.68 MB / 0.5846 GB, free: 10.47 MB / 498.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6297/6.027, allocations: 119.7 MB / 0.7015 GB, free: 12.5 MB / 0.5654 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/6.027, allocations: 74.02 kB / 0.7016 GB, free: 12.46 MB / 0.5654 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.00245/6.03, allocations: 0.5397 MB / 0.7021 GB, free: 11.91 MB / 0.5654 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/6.03, allocations: 12 kB / 0.7021 GB, free: 11.89 MB / 0.5654 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003099/6.03, allocations: 15.97 kB / 0.7021 GB, free: 11.88 MB / 0.5654 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/6.031, allocations: 167 kB / 0.7023 GB, free: 11.68 MB / 0.5654 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/6.031, allocations: 2.312 kB / 0.7023 GB, free: 11.68 MB / 0.5654 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/6.031, allocations: 4 kB / 0.7023 GB, free: 11.67 MB / 0.5654 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.558e-05/6.031, allocations: 7.938 kB / 0.7023 GB, free: 11.66 MB / 0.5654 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.539e-05/6.031, allocations: 33.59 kB / 0.7023 GB, free: 11.62 MB / 0.5654 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/6.031, allocations: 7.984 kB / 0.7023 GB, free: 11.62 MB / 0.5654 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/6.031, allocations: 0 / 0.7023 GB, free: 11.62 MB / 0.5654 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/6.031, allocations: 0 / 0.7023 GB, free: 11.62 MB / 0.5654 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/6.031, allocations: 126.1 kB / 0.7024 GB, free: 11.46 MB / 0.5654 GB Notification: Performance of preOpt comSubExp (simulation): time 4.461e-05/6.031, allocations: 14.58 kB / 0.7025 GB, free: 11.44 MB / 0.5654 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/6.031, allocations: 12.95 kB / 0.7025 GB, free: 11.42 MB / 0.5654 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/6.031, allocations: 3.938 kB / 0.7025 GB, free: 11.42 MB / 0.5654 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/6.031, allocations: 30.56 kB / 0.7025 GB, free: 11.38 MB / 0.5654 GB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/6.031, allocations: 0 / 0.7025 GB, free: 11.38 MB / 0.5654 GB Notification: Performance of matching and sorting (n=1): time 0.0001616/6.031, allocations: 33.69 kB / 0.7025 GB, free: 11.34 MB / 0.5654 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/6.031, allocations: 51.41 kB / 0.7026 GB, free: 11.28 MB / 0.5654 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.301e-05/6.031, allocations: 85 kB / 0.7027 GB, free: 11.19 MB / 0.5654 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/6.031, allocations: 33.11 kB / 0.7027 GB, free: 11.15 MB / 0.5654 GB Notification: Performance of collectInitialEqns (initialization): time 3.56e-05/6.032, allocations: 84.14 kB / 0.7028 GB, free: 11.07 MB / 0.5654 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/6.032, allocations: 3.906 kB / 0.7028 GB, free: 11.06 MB / 0.5654 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-06/6.032, allocations: 0 / 0.7028 GB, free: 11.06 MB / 0.5654 GB Notification: Performance of setup shared object (initialization): time 0.0001411/6.032, allocations: 312.9 kB / 0.7031 GB, free: 10.75 MB / 0.5654 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.463e-05/6.032, allocations: 0 / 0.7031 GB, free: 10.75 MB / 0.5654 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.697e-05/6.032, allocations: 4 kB / 0.7031 GB, free: 10.75 MB / 0.5654 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.028e-05/6.032, allocations: 0 / 0.7031 GB, free: 10.75 MB / 0.5654 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/6.032, allocations: 64 / 0.7031 GB, free: 10.75 MB / 0.5654 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.518e-05/6.032, allocations: 41.62 kB / 0.7031 GB, free: 10.7 MB / 0.5654 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/6.032, allocations: 4 kB / 0.7031 GB, free: 10.7 MB / 0.5654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/6.032, allocations: 7.906 kB / 0.7031 GB, free: 10.69 MB / 0.5654 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/6.032, allocations: 0 / 0.7031 GB, free: 10.69 MB / 0.5654 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/6.032, allocations: 3.984 kB / 0.7031 GB, free: 10.68 MB / 0.5654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/6.032, allocations: 4 kB / 0.7031 GB, free: 10.68 MB / 0.5654 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.408e-05/6.032, allocations: 0 / 0.7031 GB, free: 10.68 MB / 0.5654 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/6.032, allocations: 0 / 0.7031 GB, free: 10.68 MB / 0.5654 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 9.107e-05/6.032, allocations: 105 kB / 0.7032 GB, free: 10.57 MB / 0.5654 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/6.032, allocations: 7.25 kB / 0.7032 GB, free: 10.57 MB / 0.5654 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.913e-05/6.032, allocations: 3 kB / 0.7032 GB, free: 10.56 MB / 0.5654 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/6.032, allocations: 3.906 kB / 0.7033 GB, free: 10.55 MB / 0.5654 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/6.032, allocations: 0 / 0.7033 GB, free: 10.55 MB / 0.5654 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/6.032, allocations: 0 / 0.7033 GB, free: 10.55 MB / 0.5654 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/6.033, allocations: 131.1 kB / 0.7034 GB, free: 10.39 MB / 0.5654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/6.033, allocations: 0 / 0.7034 GB, free: 10.39 MB / 0.5654 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.096e-05/6.033, allocations: 4 kB / 0.7034 GB, free: 10.39 MB / 0.5654 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/6.033, allocations: 4 kB / 0.7034 GB, free: 10.39 MB / 0.5654 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/6.033, allocations: 0 / 0.7034 GB, free: 10.39 MB / 0.5654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/6.033, allocations: 7.922 kB / 0.7034 GB, free: 10.38 MB / 0.5654 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/6.033, allocations: 4.625 kB / 0.7034 GB, free: 10.38 MB / 0.5654 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001124/6.033, allocations: 60.92 kB / 0.7035 GB, free: 10.3 MB / 0.5654 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002587/6.033, allocations: 441.1 kB / 0.7039 GB, free: 9.852 MB / 0.5654 GB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/6.033, allocations: 81.02 kB / 0.704 GB, free: 9.754 MB / 0.5654 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/6.033, allocations: 0 / 0.704 GB, free: 9.754 MB / 0.5654 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/6.033, allocations: 7.984 kB / 0.704 GB, free: 9.746 MB / 0.5654 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/6.033, allocations: 4 kB / 0.704 GB, free: 9.742 MB / 0.5654 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/6.033, allocations: 0 / 0.704 GB, free: 9.742 MB / 0.5654 GB Notification: Performance of sort global known variables: time 3.429e-05/6.033, allocations: 75.28 kB / 0.704 GB, free: 9.668 MB / 0.5654 GB Notification: Performance of remove unused functions: time 0.001249/6.035, allocations: 0 / 0.704 GB, free: 9.668 MB / 0.5654 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.000167/6.035, allocations: 107.1 kB / 0.7041 GB, free: 9.551 MB / 0.5654 GB Notification: Performance of simCode: created initialization part: time 8.809e-05/6.035, allocations: 7.938 kB / 0.7041 GB, free: 9.543 MB / 0.5654 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/6.035, allocations: 0 / 0.7041 GB, free: 9.543 MB / 0.5654 GB Notification: Performance of simCode: created simulation system equations: time 1.837e-05/6.035, allocations: 4 kB / 0.7041 GB, free: 9.539 MB / 0.5654 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/6.035, allocations: 3.906 kB / 0.7042 GB, free: 9.535 MB / 0.5654 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/6.036, allocations: 44.06 kB / 0.7042 GB, free: 9.469 MB / 0.5654 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/6.036, allocations: 0.6902 MB / 0.7049 GB, free: 8.754 MB / 0.5654 GB Notification: Performance of SimCode: time 9.32e-07/6.036, allocations: 0 / 0.7049 GB, free: 8.754 MB / 0.5654 GB