Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.762/4.762, allocations: 404.2 MB / 411.3 MB, free: 380 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.113e-05/3.117e-05, allocations: 4 kB / 0.4945 GB, free: 1.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6519/0.652, allocations: 92.7 MB / 0.585 GB, free: 2.309 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2871/0.9391, allocations: 119.5 MB / 0.7017 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.9395, allocations: 79.89 kB / 0.7018 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004483/0.944, allocations: 0.909 MB / 0.7027 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.851e-06/0.9441, allocations: 4 kB / 0.7027 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.9441, allocations: 0 / 0.7027 GB, free: 9.691 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.0004737/0.9446, allocations: 334.5 kB / 0.703 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.882e-05/0.9446, allocations: 12.03 kB / 0.703 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.9447, allocations: 7.953 kB / 0.703 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.9448, allocations: 170.9 kB / 0.7032 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.9449, allocations: 4 kB / 0.7032 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.9449, allocations: 3.938 kB / 0.7032 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.552e-05/0.945, allocations: 8 kB / 0.7032 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.715e-05/0.9451, allocations: 37.69 kB / 0.7032 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.9451, allocations: 0 / 0.7032 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.9452, allocations: 0 / 0.7032 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.9452, allocations: 7.953 kB / 0.7032 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.9457, allocations: 237.5 kB / 0.7035 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.6e-05/0.9458, allocations: 22.58 kB / 0.7035 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.209e-05/0.9459, allocations: 16.86 kB / 0.7035 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005947/0.9465, allocations: 206.2 kB / 0.7037 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.9466, allocations: 34.5 kB / 0.7037 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.915e-06/0.9466, allocations: 0 / 0.7037 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003257/0.9469, allocations: 45.69 kB / 0.7038 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.947, allocations: 67.38 kB / 0.7038 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.537e-05/0.9471, allocations: 93 kB / 0.7039 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.9471, allocations: 25.7 kB / 0.704 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.9472, allocations: 80.14 kB / 0.704 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.9472, allocations: 7.906 kB / 0.704 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.9472, allocations: 4 kB / 0.704 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.9474, allocations: 310.8 kB / 0.7043 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.918e-05/0.9474, allocations: 4 kB / 0.7043 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.927e-05/0.9475, allocations: 11.98 kB / 0.7044 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.9476, allocations: 15.92 kB / 0.7044 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9477, allocations: 0 / 0.7044 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002306/0.9479, allocations: 49.69 kB / 0.7044 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.9479, allocations: 4 kB / 0.7044 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.9479, allocations: 4.188 kB / 0.7044 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.948, allocations: 4 kB / 0.7044 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.9482, allocations: 15.98 kB / 0.7044 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.9483, allocations: 4.094 kB / 0.7045 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.9484, allocations: 15.94 kB / 0.7045 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.9485, allocations: 4 kB / 0.7045 GB, free: 7.625 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 0.0001703/0.9487, allocations: 101 kB / 0.7046 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004686/0.9492, allocations: 57.53 kB / 0.7046 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.964e-05/0.9492, allocations: 0 / 0.7046 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000381/0.9496, allocations: 57.45 kB / 0.7047 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.9497, allocations: 4 kB / 0.7047 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.9497, allocations: 7.938 kB / 0.7047 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.9497, allocations: 3.984 kB / 0.7047 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.9499, allocations: 134.2 kB / 0.7048 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.95, allocations: 0 / 0.7048 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.9501, allocations: 11.98 kB / 0.7048 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.9501, allocations: 0 / 0.7048 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.9501, allocations: 0 / 0.7048 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.9502, allocations: 4 kB / 0.7048 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.9502, allocations: 4.031 kB / 0.7048 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.9505, allocations: 155.4 kB / 0.705 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/0.9505, allocations: 81.02 kB / 0.7051 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.9506, allocations: 0 / 0.7051 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.9507, allocations: 11.98 kB / 0.7051 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.9508, allocations: 0 / 0.7051 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.9508, allocations: 4.031 kB / 0.7051 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.534e-05/0.9509, allocations: 83.22 kB / 0.7052 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.01e-07/0.9509, allocations: 0 / 0.7052 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004209/0.9513, allocations: 11.94 kB / 0.7052 GB, free: 6.816 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.0006919/0.952, allocations: 0.6967 MB / 0.7059 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.9522, allocations: 15.94 kB / 0.7059 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.9522, allocations: 0 / 0.7059 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.556e-05/0.9522, allocations: 11.98 kB / 0.7059 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.9525, allocations: 1.891 kB / 0.7059 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005103/0.953, allocations: 93.53 kB / 0.706 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.9534, allocations: 0.6807 MB / 0.7066 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.194e-05/0.9534, allocations: 4.125 kB / 0.7066 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.9535, allocations: 7.438 kB / 0.7066 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of SimCode: time 1.022e-06/0.9535, allocations: 4 kB / 0.7066 GB, free: 5.215 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04776/1.001, allocations: 0.8928 MB / 0.7075 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003433/1.002, allocations: 144.3 kB / 0.7077 GB, free: 4.141 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.761/3.763, allocations: 0 / 0.7077 GB, free: 4.141 MB / 0.5886 GB