Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.264/4.264, allocations: 460.4 MB / 472.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.41e-05/4.417e-05, allocations: 11.98 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2463, allocations: 106.2 MB / 0.6719 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8614/1.108, allocations: 131.8 MB / 0.8007 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/1.108, allocations: 72.95 kB / 0.8007 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004002/1.112, allocations: 1.023 MB / 0.8017 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.994e-06/1.112, allocations: 0 / 0.8017 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.033e-06/1.112, allocations: 0 / 0.8017 GB, free: 12.41 MB / 0.6355 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.0003843/1.113, allocations: 347.3 kB / 0.8021 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/1.113, allocations: 7.812 kB / 0.8021 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.145e-05/1.113, allocations: 34.56 kB / 0.8021 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.472e-05/1.113, allocations: 7.828 kB / 0.8021 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.471e-05/1.113, allocations: 168.2 kB / 0.8023 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/1.113, allocations: 0 / 0.8023 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/1.113, allocations: 3.844 kB / 0.8023 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/1.113, allocations: 39.41 kB / 0.8023 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/1.113, allocations: 0 / 0.8023 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/1.113, allocations: 0 / 0.8023 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.113, allocations: 0.875 kB / 0.8023 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.738e-05/1.113, allocations: 12.81 kB / 0.8023 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/1.114, allocations: 271.4 kB / 0.8026 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.127e-05/1.114, allocations: 25.48 kB / 0.8026 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/1.114, allocations: 15.42 kB / 0.8026 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/1.114, allocations: 80.95 kB / 0.8027 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/1.114, allocations: 40.41 kB / 0.8027 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.724e-06/1.114, allocations: 0 / 0.8027 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001904/1.114, allocations: 44.61 kB / 0.8028 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/1.114, allocations: 59.3 kB / 0.8028 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.134e-05/1.114, allocations: 99.19 kB / 0.8029 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/1.114, allocations: 25.7 kB / 0.803 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/1.114, allocations: 84.05 kB / 0.803 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/1.114, allocations: 10.62 kB / 0.803 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/1.114, allocations: 0 / 0.803 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.808e-05/1.114, allocations: 314 kB / 0.8033 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/1.114, allocations: 6.844 kB / 0.8033 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.308e-05/1.114, allocations: 7.094 kB / 0.8034 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.898e-05/1.114, allocations: 7.781 kB / 0.8034 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/1.114, allocations: 0 / 0.8034 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.256e-05/1.115, allocations: 40.48 kB / 0.8034 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/1.115, allocations: 3.938 kB / 0.8034 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.115, allocations: 6.438 kB / 0.8034 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/1.115, allocations: 0 / 0.8034 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/1.115, allocations: 18.39 kB / 0.8034 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.115, allocations: 0 / 0.8034 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.744e-05/1.115, allocations: 14.81 kB / 0.8034 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/1.115, allocations: 3.312 kB / 0.8034 GB, free: 10.65 MB / 0.6355 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 5.33e-05/1.115, allocations: 108.8 kB / 0.8035 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/1.115, allocations: 0 / 0.8035 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/1.115, allocations: 56.91 kB / 0.8036 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/1.115, allocations: 0 / 0.8036 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/1.115, allocations: 0 / 0.8036 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.115, allocations: 2.438 kB / 0.8036 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/1.115, allocations: 161.8 kB / 0.8038 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.115, allocations: 0 / 0.8038 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/1.115, allocations: 14.52 kB / 0.8038 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/1.115, allocations: 4.031 kB / 0.8038 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/1.116, allocations: 0 / 0.8038 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.116, allocations: 0 / 0.8038 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.116, allocations: 0 / 0.8038 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/1.116, allocations: 144.1 kB / 0.8039 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/1.116, allocations: 77.11 kB / 0.804 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/1.116, allocations: 7.25 kB / 0.804 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/1.116, allocations: 11.02 kB / 0.804 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/1.116, allocations: 2.672 kB / 0.804 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/1.116, allocations: 3.844 kB / 0.804 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.949e-05/1.116, allocations: 83.28 kB / 0.8041 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/1.116, allocations: 0 / 0.8041 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003279/1.116, allocations: 6.906 kB / 0.8041 GB, free: 9.992 MB / 0.6355 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.0008008/1.117, allocations: 0.6823 MB / 0.8048 GB, free: 25.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001077/1.117, allocations: 16.33 kB / 0.8048 GB, free: 25.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.117, allocations: 0 / 0.8048 GB, free: 25.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.457e-05/1.117, allocations: 15.25 kB / 0.8048 GB, free: 25.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/1.118, allocations: 8.406 kB / 0.8048 GB, free: 25.32 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003895/1.118, allocations: 98.66 kB / 0.8049 GB, free: 25.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/1.118, allocations: 0.6775 MB / 0.8056 GB, free: 24.51 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.696e-05/1.118, allocations: 7.797 kB / 0.8056 GB, free: 24.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/1.118, allocations: 10.69 kB / 0.8056 GB, free: 24.5 MB / 0.6511 GB Notification: Performance of SimCode: time 8.51e-07/1.118, allocations: 0 / 0.8056 GB, free: 24.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/1.138, allocations: 1.13 MB / 0.8067 GB, free: 24.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/1.138, allocations: 153.8 kB / 0.8068 GB, free: 24.06 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.201/3.339, allocations: 3.938 kB / 0.8068 GB, free: 24.06 MB / 0.6511 GB