Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.867/3.867, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.627e-05/4.638e-05, allocations: 11.88 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6458/0.6459, allocations: 92.68 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2288/0.8747, allocations: 120.1 MB / 0.7069 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.875, allocations: 71.95 kB / 0.707 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003895/0.8789, allocations: 0.9206 MB / 0.7079 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.563e-06/0.879, allocations: 0 / 0.7079 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.879, allocations: 4 kB / 0.7079 GB, free: 5.094 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.000425/0.8794, allocations: 338.5 kB / 0.7082 GB, free: 4.719 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.8795, allocations: 8.031 kB / 0.7082 GB, free: 4.711 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/0.8795, allocations: 34.56 kB / 0.7083 GB, free: 4.668 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.433e-05/0.8796, allocations: 3.953 kB / 0.7083 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.8797, allocations: 170.9 kB / 0.7084 GB, free: 4.457 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.8797, allocations: 4 kB / 0.7084 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.8798, allocations: 0 / 0.7084 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.8799, allocations: 33.7 kB / 0.7085 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.8799, allocations: 7.938 kB / 0.7085 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.8799, allocations: 3.984 kB / 0.7085 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.445e-06/0.88, allocations: 4 kB / 0.7085 GB, free: 4.398 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.187e-05/0.88, allocations: 15.89 kB / 0.7085 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.8805, allocations: 260.9 kB / 0.7087 GB, free: 4.078 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.626e-05/0.8806, allocations: 34.61 kB / 0.7088 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.822e-05/0.8807, allocations: 12.91 kB / 0.7088 GB, free: 4.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000506/0.8812, allocations: 198.2 kB / 0.709 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.8812, allocations: 42.5 kB / 0.709 GB, free: 3.738 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.325e-06/0.8813, allocations: 0 / 0.709 GB, free: 3.738 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001808/0.8814, allocations: 45.64 kB / 0.7091 GB, free: 3.688 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.8815, allocations: 55.34 kB / 0.7091 GB, free: 3.621 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/0.8816, allocations: 93 kB / 0.7092 GB, free: 3.523 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.8816, allocations: 25.7 kB / 0.7092 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.8817, allocations: 84.14 kB / 0.7093 GB, free: 3.406 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.8817, allocations: 7.906 kB / 0.7093 GB, free: 3.398 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/0.8817, allocations: 0 / 0.7093 GB, free: 3.398 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.8819, allocations: 318.9 kB / 0.7096 GB, free: 3.078 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.967e-05/0.8819, allocations: 8 kB / 0.7096 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.379e-05/0.8819, allocations: 4 kB / 0.7096 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.903e-05/0.882, allocations: 4 kB / 0.7096 GB, free: 3.062 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.882, allocations: 3.938 kB / 0.7096 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001097/0.8821, allocations: 41.7 kB / 0.7097 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.8821, allocations: 4 kB / 0.7097 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.8821, allocations: 3.984 kB / 0.7097 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.8822, allocations: 8.344 kB / 0.7097 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.8823, allocations: 8 kB / 0.7097 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.8823, allocations: 11.94 kB / 0.7097 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.451e-05/0.8824, allocations: 7.984 kB / 0.7097 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.8825, allocations: 4 kB / 0.7097 GB, free: 2.965 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 6.948e-05/0.8825, allocations: 101 kB / 0.7098 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.8826, allocations: 3.906 kB / 0.7098 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.8827, allocations: 60.75 kB / 0.7099 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.8827, allocations: 0 / 0.7099 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.8828, allocations: 0 / 0.7099 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.8828, allocations: 3.953 kB / 0.7099 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.883, allocations: 157.7 kB / 0.71 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.883, allocations: 0 / 0.71 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.8831, allocations: 19.92 kB / 0.7101 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.8831, allocations: 0 / 0.7101 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.8831, allocations: 4.031 kB / 0.7101 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.8832, allocations: 0 / 0.7101 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.8832, allocations: 0 / 0.7101 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.8833, allocations: 143.5 kB / 0.7102 GB, free: 2.402 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.8834, allocations: 81.09 kB / 0.7103 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.8834, allocations: 0 / 0.7103 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.8835, allocations: 8.031 kB / 0.7103 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.8836, allocations: 7.984 kB / 0.7103 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.8836, allocations: 0 / 0.7103 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.351e-05/0.8837, allocations: 83.28 kB / 0.7104 GB, free: 2.207 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.4e-07/0.8837, allocations: 0 / 0.7104 GB, free: 2.207 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003134/0.884, allocations: 15.94 kB / 0.7104 GB, free: 2.191 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.0005739/0.8846, allocations: 0.6888 MB / 0.7111 GB, free: 1.477 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.8847, allocations: 19.88 kB / 0.7111 GB, free: 1.457 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8847, allocations: 4 kB / 0.7111 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.172e-05/0.8848, allocations: 8 kB / 0.7111 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.885, allocations: 6.016 kB / 0.7111 GB, free: 1.441 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.8854, allocations: 90.58 kB / 0.7112 GB, free: 1.316 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.8857, allocations: 0.685 MB / 0.7118 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.494e-05/0.8858, allocations: 0 / 0.7118 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.8858, allocations: 11.44 kB / 0.7119 GB, free: 0.5938 MB / 0.5886 GB Notification: Performance of SimCode: time 7.32e-07/0.8859, allocations: 4 kB / 0.7119 GB, free: 0.5898 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.9084, allocations: 1.198 MB / 0.713 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/0.9087, allocations: 157.8 kB / 0.7132 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.178/3.087, allocations: 3.938 kB / 0.7132 GB, free: 15.23 MB / 0.6042 GB