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 4.197/4.197, allocations: 403.3 MB / 415.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.9e-05/3.898e-05, allocations: 4 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6202/0.6202, allocations: 92.68 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2685/0.8888, allocations: 120.1 MB / 0.707 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.8892, allocations: 67.97 kB / 0.707 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003958/0.8931, allocations: 0.9207 MB / 0.7079 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8932, allocations: 0 / 0.7079 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.8932, allocations: 0 / 0.7079 GB, free: 5.09 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.0004791/0.8937, allocations: 338.5 kB / 0.7083 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.8937, allocations: 12.03 kB / 0.7083 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.8938, allocations: 30.56 kB / 0.7083 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.8938, allocations: 3.953 kB / 0.7083 GB, free: 4.66 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.894, allocations: 178.8 kB / 0.7085 GB, free: 4.445 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.894, allocations: 3.938 kB / 0.7085 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.894, allocations: 0 / 0.7085 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.8942, allocations: 45.67 kB / 0.7085 GB, free: 4.391 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.8942, allocations: 3.938 kB / 0.7085 GB, free: 4.387 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.8942, allocations: 0 / 0.7085 GB, free: 4.387 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.8942, allocations: 0 / 0.7085 GB, free: 4.387 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.296e-05/0.8943, allocations: 19.95 kB / 0.7085 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.8948, allocations: 261 kB / 0.7088 GB, free: 4.062 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.058e-05/0.8949, allocations: 26.52 kB / 0.7088 GB, free: 4.027 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.895, allocations: 12.92 kB / 0.7088 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005304/0.8955, allocations: 206.2 kB / 0.709 GB, free: 3.773 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.8955, allocations: 30.56 kB / 0.7091 GB, free: 3.734 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.8956, allocations: 0 / 0.7091 GB, free: 3.734 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001812/0.8957, allocations: 45.66 kB / 0.7091 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.8958, allocations: 55.41 kB / 0.7091 GB, free: 3.617 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.913e-05/0.8959, allocations: 96.98 kB / 0.7092 GB, free: 3.516 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.8959, allocations: 25.7 kB / 0.7093 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/0.896, allocations: 88.14 kB / 0.7093 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.896, allocations: 3.906 kB / 0.7094 GB, free: 3.391 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.896, allocations: 0 / 0.7094 GB, free: 3.391 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.8962, allocations: 310.8 kB / 0.7096 GB, free: 3.078 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.313e-05/0.8962, allocations: 12.03 kB / 0.7097 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.641e-05/0.8963, allocations: 7.938 kB / 0.7097 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.043e-05/0.8963, allocations: 7.984 kB / 0.7097 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.8963, allocations: 0 / 0.7097 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001018/0.8964, allocations: 37.7 kB / 0.7097 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.8965, allocations: 8 kB / 0.7097 GB, free: 3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.8965, allocations: 0 / 0.7097 GB, free: 3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.8965, allocations: 0 / 0.7097 GB, free: 3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.8966, allocations: 16.08 kB / 0.7097 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.8967, allocations: 3.953 kB / 0.7097 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.654e-05/0.8968, allocations: 15.98 kB / 0.7098 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.8968, allocations: 256 / 0.7098 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 7.471e-05/0.8969, allocations: 104.5 kB / 0.7099 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.8969, allocations: 3.906 kB / 0.7099 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.8971, allocations: 56.73 kB / 0.7099 GB, free: 2.793 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.8971, allocations: 8.031 kB / 0.7099 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.8971, allocations: 0 / 0.7099 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.8971, allocations: 7.891 kB / 0.7099 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.8973, allocations: 153.7 kB / 0.7101 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.8974, allocations: 7.984 kB / 0.7101 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.8975, allocations: 11.94 kB / 0.7101 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.8975, allocations: 0 / 0.7101 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.8975, allocations: 4 kB / 0.7101 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.8975, allocations: 0 / 0.7101 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.8975, allocations: 0 / 0.7101 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.8977, allocations: 143.5 kB / 0.7102 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.8978, allocations: 77.11 kB / 0.7103 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.8978, allocations: 4 kB / 0.7103 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.8979, allocations: 7.984 kB / 0.7103 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.898, allocations: 3.938 kB / 0.7103 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.898, allocations: 4 kB / 0.7103 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.888e-05/0.8981, allocations: 91.3 kB / 0.7104 GB, free: 2.195 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.11e-07/0.8981, allocations: 0 / 0.7104 GB, free: 2.195 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005236/0.8986, allocations: 11.94 kB / 0.7104 GB, free: 2.184 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.0005318/0.8991, allocations: 0.6848 MB / 0.7111 GB, free: 1.473 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.69e-05/0.8993, allocations: 16.03 kB / 0.7111 GB, free: 1.457 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8993, allocations: 4 kB / 0.7111 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.398e-05/0.8993, allocations: 7.938 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.0002135/0.8995, allocations: 4 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.0004019/0.9, 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.0003046/0.9003, allocations: 0.6848 MB / 0.7119 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.188e-05/0.9003, allocations: 128 / 0.7119 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.9004, allocations: 11.44 kB / 0.7119 GB, free: 0.5938 MB / 0.5886 GB Notification: Performance of SimCode: time 7.91e-07/0.9004, allocations: 3.938 kB / 0.7119 GB, free: 0.5898 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.9195, allocations: 1.192 MB / 0.7131 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/0.9198, allocations: 155.5 kB / 0.7132 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.23/3.149, allocations: 0 / 0.7132 GB, free: 15.23 MB / 0.6042 GB