Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_SmoothHeaviside",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.385/4.385, allocations: 404 MB / 410.9 MB, free: 4.879 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2691/4.655, allocations: 95 MB / 0.4941 GB, free: 7.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6076/5.262, allocations: 92.67 MB / 0.5846 GB, free: 3.406 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2954/5.558, allocations: 119.4 MB / 0.7012 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/5.558, allocations: 71.95 kB / 0.7012 GB, free: 14.22 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.005079/5.563, allocations: 0.9458 MB / 0.7022 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/5.563, allocations: 15.94 kB / 0.7022 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/5.563, allocations: 0 / 0.7022 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/5.563, allocations: 174.9 kB / 0.7023 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/5.563, allocations: 0 / 0.7023 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/5.563, allocations: 0 / 0.7023 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.268e-05/5.563, allocations: 12 kB / 0.7024 GB, free: 13 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.736e-05/5.564, allocations: 41.69 kB / 0.7024 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/5.564, allocations: 0 / 0.7024 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/5.564, allocations: 0 / 0.7024 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/5.564, allocations: 3.906 kB / 0.7024 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005871/5.564, allocations: 249.5 kB / 0.7026 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.162e-05/5.564, allocations: 26.52 kB / 0.7027 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.217e-05/5.564, allocations: 8.922 kB / 0.7027 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006865/5.565, allocations: 210.2 kB / 0.7029 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/5.565, allocations: 34.5 kB / 0.7029 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.913e-06/5.565, allocations: 0 / 0.7029 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003572/5.566, allocations: 61.58 kB / 0.703 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/5.566, allocations: 51.41 kB / 0.703 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.758e-05/5.566, allocations: 93 kB / 0.7031 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/5.566, allocations: 25.7 kB / 0.7031 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/5.566, allocations: 84.12 kB / 0.7032 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/5.566, allocations: 11.84 kB / 0.7032 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/5.566, allocations: 0 / 0.7032 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001763/5.566, allocations: 310.8 kB / 0.7035 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.075e-05/5.566, allocations: 12.03 kB / 0.7035 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.757e-05/5.566, allocations: 4 kB / 0.7035 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/5.566, allocations: 15.97 kB / 0.7035 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/5.566, allocations: 4 kB / 0.7036 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002365/5.567, allocations: 53.58 kB / 0.7036 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/5.567, allocations: 8 kB / 0.7036 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/5.567, allocations: 0 / 0.7036 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/5.567, allocations: 0 / 0.7036 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/5.567, allocations: 16.08 kB / 0.7036 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/5.567, allocations: 0 / 0.7036 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/5.567, allocations: 12.23 kB / 0.7036 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/5.567, allocations: 4 kB / 0.7036 GB, free: 11.53 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 8.754e-05/5.567, allocations: 107.3 kB / 0.7037 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/5.567, allocations: 11.91 kB / 0.7038 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/5.567, allocations: 64.91 kB / 0.7038 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/5.568, allocations: 3.984 kB / 0.7038 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/5.568, allocations: 4 kB / 0.7038 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/5.568, allocations: 0 / 0.7038 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/5.568, allocations: 138.1 kB / 0.704 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/5.568, allocations: 0 / 0.704 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/5.568, allocations: 20.02 kB / 0.704 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/5.568, allocations: 0 / 0.704 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/5.568, allocations: 0 / 0.704 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/5.568, allocations: 0 / 0.704 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/5.568, allocations: 4 kB / 0.704 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002979/5.568, allocations: 155.3 kB / 0.7041 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004397/5.569, allocations: 0.5233 MB / 0.7046 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/5.569, allocations: 77.11 kB / 0.7047 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/5.569, allocations: 0 / 0.7047 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/5.569, allocations: 11.98 kB / 0.7047 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/5.569, allocations: 0 / 0.7047 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/5.569, allocations: 0 / 0.7047 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.844e-05/5.569, allocations: 87.31 kB / 0.7048 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001381/5.571, allocations: 15.84 kB / 0.7048 GB, free: 10.22 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.0002473/5.571, allocations: 118.5 kB / 0.7049 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001315/5.571, allocations: 15.94 kB / 0.7049 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/5.571, allocations: 0 / 0.7049 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.669e-05/5.571, allocations: 4 kB / 0.705 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/5.571, allocations: 12.06 kB / 0.705 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/5.572, allocations: 55.92 kB / 0.705 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004454/5.572, allocations: 0.6958 MB / 0.7057 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of SimCode: time 1.292e-06/5.572, allocations: 0 / 0.7057 GB, free: 9.262 MB / 0.5886 GB