Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.328/4.328, allocations: 464.6 MB / 476.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.651e-05/5.654e-05, allocations: 4 kB / 0.5732 GB, free: 5.668 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2747, allocations: 107.1 MB / 0.6778 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.236/1.511, allocations: 359.6 MB / 1.029 GB, free: 9.926 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/1.511, allocations: 65.66 kB / 1.029 GB, free: 9.895 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04542/1.557, allocations: 12.67 MB / 1.041 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.713e-06/1.557, allocations: 0 / 1.041 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.182e-06/1.557, allocations: 0 / 1.041 GB, free: 15.95 MB / 0.8386 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.0003959/1.557, allocations: 340.8 kB / 1.042 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/1.557, allocations: 12.02 kB / 1.042 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.378e-05/1.557, allocations: 34.31 kB / 1.042 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/1.557, allocations: 4 kB / 1.042 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/1.558, allocations: 171 kB / 1.042 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/1.558, allocations: 4 kB / 1.042 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/1.558, allocations: 7.25 kB / 1.042 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/1.558, allocations: 57.47 kB / 1.042 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/1.558, allocations: 0 / 1.042 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/1.558, allocations: 3.188 kB / 1.042 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.558, allocations: 0 / 1.042 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.203e-05/1.558, allocations: 19.98 kB / 1.042 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/1.558, allocations: 175 kB / 1.042 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/1.558, allocations: 45.56 kB / 1.042 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.498e-05/1.558, allocations: 16.05 kB / 1.042 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/1.559, allocations: 0.615 MB / 1.043 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/1.559, allocations: 34.56 kB / 1.043 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 3.065e-06/1.559, allocations: 3.938 kB / 1.043 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0007222/1.56, allocations: 299.1 kB / 1.043 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/1.56, allocations: 51.41 kB / 1.043 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.444e-05/1.56, allocations: 92.98 kB / 1.043 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/1.56, allocations: 29.58 kB / 1.043 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/1.561, allocations: 88.08 kB / 1.043 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/1.561, allocations: 26.94 kB / 1.043 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/1.561, allocations: 3.375 kB / 1.043 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.561, allocations: 318.8 kB / 1.044 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.103e-05/1.561, allocations: 11.88 kB / 1.044 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.863e-05/1.561, allocations: 47.91 kB / 1.044 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.002e-05/1.561, allocations: 27.92 kB / 1.044 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.561, allocations: 0 / 1.044 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000225/1.561, allocations: 91.69 kB / 1.044 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/1.561, allocations: 8 kB / 1.044 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.561, allocations: 0 / 1.044 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/1.561, allocations: 4 kB / 1.044 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/1.561, allocations: 28.05 kB / 1.044 GB, free: 13.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/1.561, allocations: 3.953 kB / 1.044 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.467e-05/1.562, allocations: 4 kB / 1.044 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/1.562, allocations: 7.75 kB / 1.044 GB, free: 13.02 MB / 0.8386 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 9.574e-05/1.562, allocations: 104.5 kB / 1.044 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/1.562, allocations: 4 kB / 1.044 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.58e-05/1.562, allocations: 7.531 kB / 1.044 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/1.562, allocations: 3.938 kB / 1.044 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.562, allocations: 0 / 1.044 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/1.562, allocations: 11.95 kB / 1.044 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004165/1.562, allocations: 173.5 kB / 1.044 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.562, allocations: 0 / 1.044 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/1.563, allocations: 19.48 kB / 1.044 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/1.563, allocations: 0 / 1.044 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/1.563, allocations: 0 / 1.044 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/1.563, allocations: 0 / 1.044 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.563, allocations: 4.25 kB / 1.044 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/1.563, allocations: 173.3 kB / 1.044 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.172e-05/1.563, allocations: 81.11 kB / 1.045 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/1.563, allocations: 7.938 kB / 1.045 GB, free: 12.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/1.563, allocations: 11.41 kB / 1.045 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/1.563, allocations: 3.938 kB / 1.045 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/1.563, allocations: 7.938 kB / 1.045 GB, free: 12.35 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.109e-05/1.563, allocations: 78.72 kB / 1.045 GB, free: 12.28 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-07/1.563, allocations: 0 / 1.045 GB, free: 12.28 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003595/1.564, allocations: 12 kB / 1.045 GB, free: 12.27 MB / 0.8386 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.0006809/1.564, allocations: 0.7301 MB / 1.045 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001652/1.565, allocations: 42.3 kB / 1.045 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.565, allocations: 0 / 1.045 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.433e-05/1.565, allocations: 23.61 kB / 1.045 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/1.565, allocations: 7 kB / 1.045 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009971/1.566, allocations: 312.9 kB / 1.046 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/1.566, allocations: 0.6848 MB / 1.046 GB, free: 10.42 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.317e-05/1.566, allocations: 8 kB / 1.046 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/1.566, allocations: 15.19 kB / 1.046 GB, free: 10.4 MB / 0.8386 GB Notification: Performance of SimCode: time 9.82e-07/1.566, allocations: 0 / 1.046 GB, free: 10.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/1.59, allocations: 1.828 MB / 1.048 GB, free: 8.645 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003111/1.591, allocations: 156.1 kB / 1.048 GB, free: 8.414 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/4.059, allocations: 4 kB / 1.048 GB, free: 8.41 MB / 0.8386 GB