Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_SmoothExponential",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.436/4.436, allocations: 404 MB / 410.9 MB, free: 4.945 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3029/4.739, allocations: 95 MB / 0.4941 GB, free: 7.348 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5877/5.327, allocations: 92.67 MB / 0.5846 GB, free: 3.398 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2516/5.579, allocations: 119.4 MB / 0.7012 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003497/5.579, allocations: 67.97 kB / 0.7012 GB, free: 14.26 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.007672/5.587, allocations: 1.363 MB / 0.7026 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/5.587, allocations: 16 kB / 0.7026 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/5.587, allocations: 0 / 0.7026 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/5.587, allocations: 167 kB / 0.7028 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/5.587, allocations: 4 kB / 0.7028 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/5.587, allocations: 0 / 0.7028 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.378e-05/5.587, allocations: 4 kB / 0.7028 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/5.587, allocations: 41.69 kB / 0.7028 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/5.587, allocations: 0 / 0.7028 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/5.587, allocations: 7.938 kB / 0.7028 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/5.587, allocations: 3.906 kB / 0.7028 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006197/5.588, allocations: 249.4 kB / 0.7031 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.06e-05/5.588, allocations: 30.58 kB / 0.7031 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.62e-05/5.588, allocations: 16.91 kB / 0.7031 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/5.588, allocations: 77.11 kB / 0.7032 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/5.588, allocations: 30.56 kB / 0.7032 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.803e-06/5.588, allocations: 4 kB / 0.7032 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.000255/5.589, allocations: 45.59 kB / 0.7032 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/5.589, allocations: 55.44 kB / 0.7033 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.394e-05/5.589, allocations: 100.9 kB / 0.7034 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/5.589, allocations: 29.64 kB / 0.7034 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/5.589, allocations: 84.14 kB / 0.7035 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/5.589, allocations: 7.891 kB / 0.7035 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/5.589, allocations: 0 / 0.7035 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001428/5.589, allocations: 310.8 kB / 0.7038 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.159e-05/5.589, allocations: 8 kB / 0.7038 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.578e-05/5.589, allocations: 4 kB / 0.7038 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.552e-05/5.589, allocations: 8.062 kB / 0.7038 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/5.589, allocations: 4 kB / 0.7038 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001449/5.589, allocations: 45.59 kB / 0.7039 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/5.589, allocations: 4 kB / 0.7039 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/5.589, allocations: 4 kB / 0.7039 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/5.589, allocations: 0 / 0.7039 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/5.59, allocations: 12.03 kB / 0.7039 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/5.59, allocations: 3.984 kB / 0.7039 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/5.59, allocations: 8 kB / 0.7039 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/5.59, allocations: 0 / 0.7039 GB, free: 11.32 MB / 0.5886 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 (2): * Single equations (assignments): 2 * 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.304e-05/5.59, allocations: 104.9 kB / 0.704 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/5.59, allocations: 7.906 kB / 0.704 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/5.59, allocations: 52.98 kB / 0.7041 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/5.59, allocations: 0 / 0.7041 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/5.59, allocations: 0 / 0.7041 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/5.59, allocations: 3.984 kB / 0.7041 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/5.59, allocations: 142.1 kB / 0.7042 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/5.59, allocations: 3.938 kB / 0.7042 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/5.591, allocations: 11.98 kB / 0.7042 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.738e-06/5.591, allocations: 0 / 0.7042 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/5.591, allocations: 4.031 kB / 0.7042 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/5.591, allocations: 0 / 0.7042 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/5.591, allocations: 0 / 0.7042 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002022/5.591, allocations: 143.4 kB / 0.7044 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003978/5.591, allocations: 0.5078 MB / 0.7049 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/5.591, allocations: 85.09 kB / 0.7049 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/5.591, allocations: 0 / 0.7049 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/5.592, allocations: 4 kB / 0.7049 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/5.592, allocations: 7.984 kB / 0.7049 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/5.592, allocations: 0 / 0.7049 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.869e-05/5.592, allocations: 83.28 kB / 0.705 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001481/5.593, allocations: 23.84 kB / 0.705 GB, free: 10.04 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002786/5.594, allocations: 118.7 kB / 0.7052 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001482/5.594, allocations: 15.94 kB / 0.7052 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/5.594, allocations: 0 / 0.7052 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.483e-05/5.594, allocations: 15.94 kB / 0.7052 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/5.594, allocations: 7.5 kB / 0.7052 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/5.594, allocations: 60.05 kB / 0.7053 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004078/5.595, allocations: 0.688 MB / 0.7059 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of SimCode: time 1.253e-06/5.595, allocations: 0 / 0.7059 GB, free: 9.086 MB / 0.5886 GB