Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_SmoothMin",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.369/4.369, allocations: 404 MB / 410.9 MB, free: 4.941 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2951/4.665, allocations: 94.99 MB / 0.4941 GB, free: 7.348 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5982/5.263, allocations: 92.67 MB / 0.5846 GB, free: 3.418 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2622/5.525, allocations: 119.5 MB / 0.7013 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/5.526, allocations: 71.95 kB / 0.7014 GB, free: 14.1 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.006946/5.533, allocations: 1.183 MB / 0.7025 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/5.533, allocations: 12 kB / 0.7025 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001966/5.535, allocations: 179.7 kB / 0.7027 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/5.535, allocations: 182.8 kB / 0.7029 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/5.535, allocations: 0 / 0.7029 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/5.535, allocations: 4 kB / 0.7029 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004768/5.535, allocations: 115.9 kB / 0.703 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/5.536, allocations: 113.6 kB / 0.7031 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/5.536, allocations: 0 / 0.7031 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/5.536, allocations: 0 / 0.7031 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/5.536, allocations: 8 kB / 0.7031 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/5.538, allocations: 449.6 kB / 0.7035 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009041/5.539, allocations: 166.5 kB / 0.7037 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/5.539, allocations: 48.98 kB / 0.7038 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.861e-05/5.539, allocations: 3.984 kB / 0.7038 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/5.539, allocations: 30.56 kB / 0.7038 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.735e-06/5.539, allocations: 0 / 0.7038 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0005036/5.54, allocations: 113.6 kB / 0.7039 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/5.54, allocations: 67.31 kB / 0.704 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/5.54, allocations: 93 kB / 0.704 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/5.54, allocations: 29.64 kB / 0.7041 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/5.54, allocations: 88.12 kB / 0.7042 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/5.54, allocations: 7.906 kB / 0.7042 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/5.54, allocations: 0 / 0.7042 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001537/5.54, allocations: 318.8 kB / 0.7045 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/5.54, allocations: 43.97 kB / 0.7045 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/5.541, allocations: 43.97 kB / 0.7046 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/5.541, allocations: 35.97 kB / 0.7046 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/5.541, allocations: 0 / 0.7046 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004464/5.541, allocations: 117.6 kB / 0.7047 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/5.541, allocations: 4 kB / 0.7047 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/5.541, allocations: 0 / 0.7047 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/5.541, allocations: 7.906 kB / 0.7047 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/5.542, allocations: 47.94 kB / 0.7048 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/5.542, allocations: 3.938 kB / 0.7048 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005243/5.543, allocations: 43.91 kB / 0.7048 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/5.543, allocations: 3.984 kB / 0.7048 GB, free: 10.39 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 (3): * Single equations (assignments): 3 * 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.0001269/5.543, allocations: 101 kB / 0.7049 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/5.543, allocations: 11.91 kB / 0.7049 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/5.543, allocations: 8 kB / 0.7049 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/5.543, allocations: 4 kB / 0.7049 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/5.543, allocations: 0 / 0.7049 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/5.543, allocations: 0 / 0.7049 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004619/5.543, allocations: 186.1 kB / 0.7051 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/5.544, allocations: 0 / 0.7051 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005915/5.544, allocations: 43.95 kB / 0.7051 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/5.544, allocations: 0 / 0.7051 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/5.544, allocations: 8 kB / 0.7052 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/5.544, allocations: 0 / 0.7052 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/5.544, allocations: 0 / 0.7052 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004978/5.545, allocations: 211.3 kB / 0.7054 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006656/5.545, allocations: 0.5702 MB / 0.7059 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.746e-05/5.545, allocations: 89.09 kB / 0.706 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/5.546, allocations: 0 / 0.706 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007821/5.546, allocations: 39.97 kB / 0.706 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/5.546, allocations: 7.891 kB / 0.706 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/5.546, allocations: 4 kB / 0.706 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.135e-05/5.547, allocations: 87.27 kB / 0.7061 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0015/5.548, allocations: 12 kB / 0.7061 GB, free: 8.914 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 (3): * Single equations (assignments): 3 * 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.0001955/5.548, allocations: 110.5 kB / 0.7062 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006191/5.549, allocations: 96.16 kB / 0.7063 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/5.549, allocations: 4 kB / 0.7063 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003033/5.549, allocations: 47.91 kB / 0.7064 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/5.55, allocations: 7.375 kB / 0.7064 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/5.552, allocations: 187.8 kB / 0.7066 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000762/5.553, allocations: 0.7149 MB / 0.7073 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of SimCode: time 1.773e-06/5.553, allocations: 0 / 0.7073 GB, free: 7.707 MB / 0.5886 GB