Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.194/4.194, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.642e-05/4.631e-05, allocations: 5.781 kB / 0.5338 GB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2206, allocations: 98.72 MB / 0.6302 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.231/0.4516, allocations: 124.5 MB / 0.7518 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.4519, allocations: 71.95 kB / 0.7518 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003972/0.4559, allocations: 0.9144 MB / 0.7527 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/0.456, allocations: 0 / 0.7527 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.456, allocations: 0 / 0.7527 GB, free: 8.48 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.000494/0.4565, allocations: 346.4 kB / 0.7531 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.4565, allocations: 8.031 kB / 0.7531 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.4566, allocations: 34.56 kB / 0.7531 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.4566, allocations: 0 / 0.7531 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.4568, allocations: 171 kB / 0.7533 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-06/0.4568, allocations: 0 / 0.7533 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.4568, allocations: 0 / 0.7533 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.4569, allocations: 37.7 kB / 0.7533 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.457, allocations: 3.984 kB / 0.7533 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.457, allocations: 3.938 kB / 0.7533 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.457, allocations: 0 / 0.7533 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.567e-05/0.4571, allocations: 15.98 kB / 0.7533 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.4576, allocations: 268.8 kB / 0.7536 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.285e-05/0.4577, allocations: 22.58 kB / 0.7536 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.581e-05/0.4577, allocations: 12.92 kB / 0.7536 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005357/0.4583, allocations: 206.2 kB / 0.7538 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.4583, allocations: 30.56 kB / 0.7538 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 4.528e-06/0.4583, allocations: 0 / 0.7538 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001859/0.4585, allocations: 49.62 kB / 0.7539 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.4586, allocations: 55.36 kB / 0.7539 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.275e-05/0.4587, allocations: 97.03 kB / 0.754 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.4587, allocations: 29.64 kB / 0.7541 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.4588, allocations: 88.14 kB / 0.7541 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.4588, allocations: 7.844 kB / 0.7541 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.4588, allocations: 3.938 kB / 0.7542 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.459, allocations: 314.8 kB / 0.7545 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.904e-05/0.459, allocations: 8 kB / 0.7545 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.342e-05/0.459, allocations: 4 kB / 0.7545 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.997e-05/0.4591, allocations: 8.062 kB / 0.7545 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4591, allocations: 0 / 0.7545 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001041/0.4592, allocations: 41.64 kB / 0.7545 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.4592, allocations: 8 kB / 0.7545 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4593, allocations: 0 / 0.7545 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.4593, allocations: 0 / 0.7545 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.4594, allocations: 11.98 kB / 0.7545 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.4595, allocations: 0 / 0.7545 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.373e-05/0.4596, allocations: 23.97 kB / 0.7546 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.4596, allocations: 0 / 0.7546 GB, free: 6.352 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 6.958e-05/0.4597, allocations: 101 kB / 0.7547 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.4597, allocations: 4 kB / 0.7547 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.4599, allocations: 52.7 kB / 0.7547 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4599, allocations: 0 / 0.7547 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4599, allocations: 256 / 0.7547 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.4599, allocations: 32 / 0.7547 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.4601, allocations: 177.6 kB / 0.7549 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4601, allocations: 0 / 0.7549 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.4603, allocations: 11.94 kB / 0.7549 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.4603, allocations: 3.984 kB / 0.7549 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.4603, allocations: 4 kB / 0.7549 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4603, allocations: 0 / 0.7549 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4604, allocations: 0 / 0.7549 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.4605, allocations: 139.5 kB / 0.755 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.337e-05/0.4606, allocations: 81.09 kB / 0.7551 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.4606, allocations: 4 kB / 0.7551 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.4607, allocations: 4 kB / 0.7551 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.4608, allocations: 3.984 kB / 0.7551 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.4608, allocations: 4 kB / 0.7551 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.435e-05/0.4609, allocations: 83.28 kB / 0.7552 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4609, allocations: 32 / 0.7552 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003228/0.4612, allocations: 16 kB / 0.7552 GB, free: 5.582 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.0006003/0.4618, allocations: 0.685 MB / 0.7559 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.462, allocations: 16 kB / 0.7559 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.462, allocations: 96 / 0.7559 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.636e-05/0.462, allocations: 11.94 kB / 0.7559 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.4623, allocations: 8 kB / 0.7559 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/0.4627, allocations: 102.5 kB / 0.756 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.463, allocations: 0.677 MB / 0.7567 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.386e-05/0.463, allocations: 0 / 0.7567 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.4631, allocations: 11.44 kB / 0.7567 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of SimCode: time 9.61e-07/0.4631, allocations: 0 / 0.7567 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.4817, allocations: 1.191 MB / 0.7578 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/0.482, allocations: 151.6 kB / 0.758 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.265/2.747, allocations: 0 / 0.758 GB, free: 2.633 MB / 0.6355 GB