Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.348/3.348, allocations: 343.8 MB / 355.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.606e-05/3.612e-05, allocations: 4 kB / 436.6 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1764, allocations: 77.73 MB / 0.5023 GB, free: 4.508 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.385/1.562, allocations: 332.6 MB / 0.8271 GB, free: 186.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/1.562, allocations: 73.17 kB / 0.8272 GB, free: 186.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04194/1.604, allocations: 12.55 MB / 0.8394 GB, free: 181.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.703e-06/1.604, allocations: 0 / 0.8394 GB, free: 181.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.271e-06/1.604, allocations: 0 / 0.8394 GB, free: 181.3 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003392/1.605, allocations: 350.1 kB / 0.8398 GB, free: 180.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.605, allocations: 9.594 kB / 0.8398 GB, free: 180.9 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/1.605, allocations: 34.12 kB / 0.8398 GB, free: 180.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.849e-05/1.605, allocations: 11.17 kB / 0.8398 GB, free: 180.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.718e-05/1.605, allocations: 170.5 kB / 0.84 GB, free: 180.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/1.605, allocations: 0 / 0.84 GB, free: 180.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/1.605, allocations: 14.36 kB / 0.84 GB, free: 180.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/1.605, allocations: 49.69 kB / 0.84 GB, free: 180.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/1.605, allocations: 0 / 0.84 GB, free: 180.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/1.605, allocations: 0 / 0.84 GB, free: 180.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/1.605, allocations: 3.188 kB / 0.84 GB, free: 180.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.585e-05/1.605, allocations: 17.58 kB / 0.8401 GB, free: 180.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/1.605, allocations: 174.8 kB / 0.8402 GB, free: 180.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/1.606, allocations: 48.12 kB / 0.8403 GB, free: 180.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/1.606, allocations: 14.8 kB / 0.8403 GB, free: 180.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000823/1.606, allocations: 0.6122 MB / 0.8409 GB, free: 179.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/1.606, allocations: 38.31 kB / 0.8409 GB, free: 179.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 1.904e-06/1.606, allocations: 0 / 0.8409 GB, free: 179.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0006171/1.607, allocations: 295.3 kB / 0.8412 GB, free: 179.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/1.607, allocations: 55.39 kB / 0.8413 GB, free: 179.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.672e-05/1.607, allocations: 91.94 kB / 0.8413 GB, free: 179.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/1.607, allocations: 28.92 kB / 0.8414 GB, free: 179.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/1.607, allocations: 91.98 kB / 0.8415 GB, free: 179.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/1.607, allocations: 26.39 kB / 0.8415 GB, free: 179.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/1.607, allocations: 3.5 kB / 0.8415 GB, free: 179.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.093e-05/1.607, allocations: 314.1 kB / 0.8418 GB, free: 178.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.959e-05/1.607, allocations: 16.38 kB / 0.8418 GB, free: 178.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-05/1.608, allocations: 53.52 kB / 0.8419 GB, free: 178.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.56e-05/1.608, allocations: 20.16 kB / 0.8419 GB, free: 178.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.608, allocations: 0 / 0.8419 GB, free: 178.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001698/1.608, allocations: 91.64 kB / 0.842 GB, free: 178.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.608, allocations: 10.33 kB / 0.842 GB, free: 178.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.608, allocations: 3.219 kB / 0.842 GB, free: 178.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/1.608, allocations: 4.125 kB / 0.842 GB, free: 178.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/1.608, allocations: 20.2 kB / 0.842 GB, free: 178.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/1.608, allocations: 7.281 kB / 0.842 GB, free: 178.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.932e-05/1.608, allocations: 10.72 kB / 0.842 GB, free: 178.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/1.608, allocations: 3.281 kB / 0.842 GB, free: 178.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.913e-05/1.608, allocations: 107.9 kB / 0.8421 GB, free: 178.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/1.608, allocations: 0 / 0.8421 GB, free: 178.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.988e-05/1.608, allocations: 23.48 kB / 0.8421 GB, free: 178.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/1.608, allocations: 0 / 0.8421 GB, free: 178.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/1.608, allocations: 4 kB / 0.8421 GB, free: 178.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/1.608, allocations: 0 / 0.8421 GB, free: 178.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/1.609, allocations: 175.3 kB / 0.8423 GB, free: 178.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.609, allocations: 0 / 0.8423 GB, free: 178.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/1.609, allocations: 14.84 kB / 0.8423 GB, free: 178.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/1.609, allocations: 0 / 0.8423 GB, free: 178.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/1.609, allocations: 0 / 0.8423 GB, free: 178.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/1.609, allocations: 7.828 kB / 0.8423 GB, free: 178.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.609, allocations: 4.188 kB / 0.8423 GB, free: 178.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/1.609, allocations: 172.3 kB / 0.8425 GB, free: 178.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/1.609, allocations: 77.11 kB / 0.8426 GB, free: 178.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/1.609, allocations: 14.84 kB / 0.8426 GB, free: 178.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/1.609, allocations: 0 / 0.8426 GB, free: 178.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/1.609, allocations: 7.766 kB / 0.8426 GB, free: 178.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/1.609, allocations: 3.688 kB / 0.8426 GB, free: 178.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.664e-05/1.609, allocations: 79.03 kB / 0.8427 GB, free: 178 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.623e-06/1.609, allocations: 0 / 0.8427 GB, free: 178 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003351/1.61, allocations: 21.67 kB / 0.8427 GB, free: 178 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0004303/1.61, allocations: 0.7364 MB / 0.8434 GB, free: 177.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001382/1.61, allocations: 40.3 kB / 0.8435 GB, free: 177.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/1.61, allocations: 0 / 0.8435 GB, free: 177.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.444e-05/1.61, allocations: 12.84 kB / 0.8435 GB, free: 177.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/1.611, allocations: 11.02 kB / 0.8435 GB, free: 177.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000832/1.612, allocations: 313.3 kB / 0.8438 GB, free: 177 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/1.612, allocations: 0.6903 MB / 0.8444 GB, free: 176.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.786e-05/1.612, allocations: 3.219 kB / 0.8445 GB, free: 176.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/1.612, allocations: 20.77 kB / 0.8445 GB, free: 176.3 MB / 0.6511 GB Notification: Performance of SimCode: time 7.32e-07/1.612, allocations: 4 kB / 0.8445 GB, free: 176.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/1.632, allocations: 1.815 MB / 0.8462 GB, free: 175.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/1.632, allocations: 170.8 kB / 0.8464 GB, free: 175.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/3.923, allocations: 0 / 0.8464 GB, free: 175.2 MB / 0.6511 GB