Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.205/4.205, allocations: 464.6 MB / 476.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.179e-05/4.185e-05, allocations: 5.406 kB / 0.5732 GB, free: 5.637 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2345, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.847/1.082, allocations: 132.2 MB / 0.807 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/1.082, allocations: 74.19 kB / 0.807 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003991/1.086, allocations: 1.02 MB / 0.808 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.924e-06/1.086, allocations: 3.844 kB / 0.808 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.248e-05/1.086, allocations: 0 / 0.808 GB, free: 11.74 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.0004553/1.086, allocations: 345.1 kB / 0.8084 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/1.087, allocations: 15.5 kB / 0.8084 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/1.087, allocations: 34.72 kB / 0.8084 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.033e-05/1.087, allocations: 0 / 0.8084 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.626e-05/1.087, allocations: 170.2 kB / 0.8086 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/1.087, allocations: 0 / 0.8086 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/1.087, allocations: 0 / 0.8086 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/1.087, allocations: 39.84 kB / 0.8086 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/1.087, allocations: 0 / 0.8086 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/1.087, allocations: 2.297 kB / 0.8086 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/1.087, allocations: 0 / 0.8086 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.073e-05/1.087, allocations: 11.25 kB / 0.8086 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/1.087, allocations: 283.1 kB / 0.8089 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.229e-05/1.088, allocations: 25.52 kB / 0.8089 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/1.088, allocations: 12.17 kB / 0.8089 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/1.088, allocations: 83.91 kB / 0.809 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/1.088, allocations: 34.56 kB / 0.809 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.013e-06/1.088, allocations: 0 / 0.809 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001649/1.088, allocations: 36.64 kB / 0.8091 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/1.088, allocations: 59.25 kB / 0.8091 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.516e-05/1.088, allocations: 96.06 kB / 0.8092 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/1.088, allocations: 25.7 kB / 0.8092 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/1.088, allocations: 87.02 kB / 0.8093 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/1.088, allocations: 7.938 kB / 0.8093 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/1.088, allocations: 0 / 0.8093 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.878e-05/1.088, allocations: 317.8 kB / 0.8096 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.712e-05/1.088, allocations: 7.312 kB / 0.8096 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.221e-05/1.088, allocations: 3.844 kB / 0.8096 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.872e-05/1.088, allocations: 7.25 kB / 0.8097 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.088, allocations: 0.6562 kB / 0.8097 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.882e-05/1.088, allocations: 39.58 kB / 0.8097 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.088, allocations: 18.84 kB / 0.8097 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.088, allocations: 0 / 0.8097 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/1.089, allocations: 0 / 0.8097 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/1.089, allocations: 10.62 kB / 0.8097 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/1.089, allocations: 3.938 kB / 0.8097 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.63e-05/1.089, allocations: 14.45 kB / 0.8097 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/1.089, allocations: 4.812 kB / 0.8097 GB, free: 9.996 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.404e-05/1.089, allocations: 111.6 kB / 0.8099 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/1.089, allocations: 3.844 kB / 0.8099 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/1.089, allocations: 53.19 kB / 0.8099 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/1.089, allocations: 3.844 kB / 0.8099 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.089, allocations: 0 / 0.8099 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.089, allocations: 0 / 0.8099 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/1.089, allocations: 157.8 kB / 0.8101 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.089, allocations: 256 / 0.8101 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/1.089, allocations: 14.48 kB / 0.8101 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/1.089, allocations: 4 kB / 0.8101 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/1.089, allocations: 3.844 kB / 0.8101 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/1.089, allocations: 0 / 0.8101 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.089, allocations: 2.812 kB / 0.8101 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/1.09, allocations: 141.5 kB / 0.8102 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.417e-05/1.09, allocations: 79.78 kB / 0.8103 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/1.09, allocations: 0 / 0.8103 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/1.09, allocations: 14.62 kB / 0.8103 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/1.09, allocations: 0 / 0.8103 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/1.09, allocations: 0 / 0.8103 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.23e-05/1.09, allocations: 89.06 kB / 0.8104 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/1.09, allocations: 0 / 0.8104 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002882/1.09, allocations: 7.844 kB / 0.8104 GB, free: 9.332 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.000758/1.091, allocations: 0.6819 MB / 0.8111 GB, free: 24.67 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.949e-05/1.091, allocations: 15.22 kB / 0.8111 GB, free: 24.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.091, allocations: 0 / 0.8111 GB, free: 24.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.521e-05/1.091, allocations: 11.25 kB / 0.8111 GB, free: 24.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/1.091, allocations: 2.578 kB / 0.8111 GB, free: 24.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/1.092, allocations: 107.9 kB / 0.8112 GB, free: 24.55 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/1.092, allocations: 0.6759 MB / 0.8119 GB, free: 23.85 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.655e-05/1.092, allocations: 0 / 0.8119 GB, free: 23.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/1.092, allocations: 21.45 kB / 0.8119 GB, free: 23.84 MB / 0.6511 GB Notification: Performance of SimCode: time 7.32e-07/1.092, allocations: 0 / 0.8119 GB, free: 23.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/1.11, allocations: 1.131 MB / 0.813 GB, free: 23.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/1.11, allocations: 166 kB / 0.8131 GB, free: 23.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/3.313, allocations: 0 / 0.8131 GB, free: 23.39 MB / 0.6511 GB