Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.204/4.204, allocations: 464.6 MB / 476.8 MB, free: 2.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.933e-05/3.956e-05, allocations: 9.25 kB / 0.5732 GB, free: 5.645 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2333, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8622/1.096, allocations: 131.7 MB / 0.8064 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/1.096, allocations: 76.47 kB / 0.8065 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002765/1.099, allocations: 0.787 MB / 0.8073 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/1.099, allocations: 3.938 kB / 0.8073 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.16e-06/1.099, allocations: 0 / 0.8073 GB, free: 12.31 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.0002124/1.099, allocations: 320.1 kB / 0.8076 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/1.099, allocations: 11.53 kB / 0.8076 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.612e-05/1.099, allocations: 41.62 kB / 0.8076 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.057e-05/1.099, allocations: 0 / 0.8076 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.472e-05/1.099, allocations: 165.8 kB / 0.8078 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/1.099, allocations: 0 / 0.8078 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/1.099, allocations: 3.875 kB / 0.8078 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.617e-05/1.099, allocations: 35.84 kB / 0.8078 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/1.099, allocations: 0 / 0.8078 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/1.099, allocations: 3.938 kB / 0.8078 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.099, allocations: 2.406 kB / 0.8078 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.048e-05/1.099, allocations: 7.75 kB / 0.8079 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/1.1, allocations: 159.9 kB / 0.808 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/1.1, allocations: 28.89 kB / 0.808 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.361e-05/1.1, allocations: 12.55 kB / 0.808 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001624/1.1, allocations: 83.69 kB / 0.8081 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/1.1, allocations: 30.56 kB / 0.8082 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/1.1, allocations: 0 / 0.8082 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.004279/1.104, allocations: 353.9 kB / 0.8085 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/1.104, allocations: 58.81 kB / 0.8085 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.058e-05/1.104, allocations: 85 kB / 0.8086 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/1.104, allocations: 25.7 kB / 0.8087 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.604e-05/1.105, allocations: 80.14 kB / 0.8087 GB, free: 11 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/1.105, allocations: 15.53 kB / 0.8087 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.598e-05/1.105, allocations: 7.812 kB / 0.8087 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.609e-05/1.105, allocations: 313.7 kB / 0.809 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.323e-05/1.105, allocations: 3.906 kB / 0.8091 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.26e-05/1.105, allocations: 25.58 kB / 0.8091 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.263e-05/1.105, allocations: 17.92 kB / 0.8091 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/1.105, allocations: 0 / 0.8091 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002304/1.105, allocations: 65.78 kB / 0.8092 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.105, allocations: 3.938 kB / 0.8092 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.105, allocations: 8.453 kB / 0.8092 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/1.105, allocations: 0 / 0.8092 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006879/1.106, allocations: 51 kB / 0.8092 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/1.106, allocations: 0 / 0.8092 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005971/1.107, allocations: 40.62 kB / 0.8093 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/1.107, allocations: 7.672 kB / 0.8093 GB, free: 10.59 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.222e-05/1.107, allocations: 104.7 kB / 0.8094 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/1.107, allocations: 3.953 kB / 0.8094 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004083/1.107, allocations: 94.58 kB / 0.8095 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/1.107, allocations: 0 / 0.8095 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.107, allocations: 4.719 kB / 0.8095 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.107, allocations: 0 / 0.8095 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004558/1.108, allocations: 300.8 kB / 0.8097 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/1.108, allocations: 320 / 0.8097 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006689/1.108, allocations: 50.97 kB / 0.8098 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/1.108, allocations: 0 / 0.8098 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/1.108, allocations: 4 kB / 0.8098 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/1.108, allocations: 7.781 kB / 0.8098 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.108, allocations: 0 / 0.8098 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/1.109, allocations: 166 kB / 0.81 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/1.109, allocations: 77.11 kB / 0.81 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/1.109, allocations: 2.719 kB / 0.81 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006338/1.109, allocations: 40.22 kB / 0.8101 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/1.109, allocations: 3.875 kB / 0.8101 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/1.11, allocations: 3.438 kB / 0.8101 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.247e-05/1.11, allocations: 75.28 kB / 0.8102 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/1.11, allocations: 0 / 0.8102 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003499/1.11, allocations: 18.34 kB / 0.8102 GB, free: 9.793 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 (5): * Single equations (assignments): 5 * 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.000615/1.111, allocations: 0.7011 MB / 0.8109 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002385/1.111, allocations: 25.08 kB / 0.8109 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.111, allocations: 0 / 0.8109 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.356e-05/1.111, allocations: 21.3 kB / 0.8109 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/1.111, allocations: 0 / 0.8109 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/1.113, allocations: 137.8 kB / 0.811 GB, free: 25.02 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/1.113, allocations: 0.6821 MB / 0.8117 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003824/1.113, allocations: 27.53 kB / 0.8117 GB, free: 24.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/1.113, allocations: 10.39 kB / 0.8117 GB, free: 24.29 MB / 0.6511 GB Notification: Performance of SimCode: time 1.223e-06/1.113, allocations: 0 / 0.8117 GB, free: 24.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/1.134, allocations: 1.431 MB / 0.8131 GB, free: 24.06 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/1.134, allocations: 183.3 kB / 0.8133 GB, free: 23.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.222/3.356, allocations: 4 kB / 0.8133 GB, free: 23.83 MB / 0.6511 GB