Running command: "" <> buildModelFMU(IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.74/2.74, allocations: 288.1 MB / 300.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.772e-05/3.798e-05, allocations: 2.203 kB / 370.6 MB, free: 7.863 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1458, allocations: 66.99 MB / 437.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.285/1.431, allocations: 325.4 MB / 0.7452 GB, free: 166.3 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/1.431, allocations: 69.78 kB / 0.7452 GB, free: 166.3 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.04544/1.477, allocations: 12.67 MB / 0.7576 GB, free: 165.1 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.184e-06/1.477, allocations: 0 / 0.7576 GB, free: 165.1 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.023e-06/1.477, allocations: 0 / 0.7576 GB, free: 165.1 MB / 0.573 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.0003684/1.477, allocations: 344.8 kB / 0.7579 GB, free: 164.7 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.477, allocations: 11.84 kB / 0.758 GB, free: 164.7 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.487e-05/1.477, allocations: 30.56 kB / 0.758 GB, free: 164.7 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/1.477, allocations: 7.812 kB / 0.758 GB, free: 164.7 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.182e-05/1.478, allocations: 170.7 kB / 0.7582 GB, free: 164.5 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/1.478, allocations: 3.562 kB / 0.7582 GB, free: 164.5 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/1.478, allocations: 3.969 kB / 0.7582 GB, free: 164.5 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/1.478, allocations: 52.05 kB / 0.7582 GB, free: 164.5 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/1.478, allocations: 4 kB / 0.7582 GB, free: 164.4 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/1.478, allocations: 3.875 kB / 0.7582 GB, free: 164.4 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/1.478, allocations: 4 kB / 0.7582 GB, free: 164.4 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.048e-05/1.478, allocations: 23.2 kB / 0.7582 GB, free: 164.4 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/1.478, allocations: 163.1 kB / 0.7584 GB, free: 164.3 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/1.478, allocations: 44.53 kB / 0.7584 GB, free: 164.2 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.755e-05/1.478, allocations: 20.05 kB / 0.7585 GB, free: 164.2 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008548/1.479, allocations: 0.6217 MB / 0.7591 GB, free: 163.6 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/1.479, allocations: 30.56 kB / 0.7591 GB, free: 163.6 MB / 0.573 GB Notification: Performance of pre-optimization done (n=5): time 3.687e-06/1.479, allocations: 3.984 kB / 0.7591 GB, free: 163.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=7): time 0.0006354/1.48, allocations: 292.4 kB / 0.7594 GB, free: 163.3 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/1.48, allocations: 55.34 kB / 0.7594 GB, free: 163.2 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.351e-05/1.48, allocations: 92.88 kB / 0.7595 GB, free: 163.1 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/1.48, allocations: 29.39 kB / 0.7596 GB, free: 163.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/1.48, allocations: 87.98 kB / 0.7596 GB, free: 163 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/1.48, allocations: 30.38 kB / 0.7597 GB, free: 163 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/1.48, allocations: 7.125 kB / 0.7597 GB, free: 163 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.484e-05/1.48, allocations: 318.2 kB / 0.76 GB, free: 162.7 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.696e-05/1.48, allocations: 11 kB / 0.76 GB, free: 162.7 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.241e-05/1.48, allocations: 55.44 kB / 0.76 GB, free: 162.6 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.52e-05/1.48, allocations: 22.31 kB / 0.7601 GB, free: 162.6 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.48, allocations: 0 / 0.7601 GB, free: 162.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001682/1.48, allocations: 89.94 kB / 0.7601 GB, free: 162.6 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/1.481, allocations: 8.031 kB / 0.7602 GB, free: 162.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/1.481, allocations: 3.906 kB / 0.7602 GB, free: 162.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/1.481, allocations: 3.328 kB / 0.7602 GB, free: 162.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/1.481, allocations: 15.72 kB / 0.7602 GB, free: 162.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/1.481, allocations: 7.844 kB / 0.7602 GB, free: 162.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.82e-05/1.481, allocations: 3.625 kB / 0.7602 GB, free: 162.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/1.481, allocations: 3.906 kB / 0.7602 GB, free: 162.6 MB / 0.573 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 6.114e-05/1.481, allocations: 116 kB / 0.7603 GB, free: 162.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/1.481, allocations: 7.812 kB / 0.7603 GB, free: 162.5 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/1.481, allocations: 11.41 kB / 0.7603 GB, free: 162.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/1.481, allocations: 0 / 0.7603 GB, free: 162.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.481, allocations: 0 / 0.7603 GB, free: 162.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.481, allocations: 0 / 0.7603 GB, free: 162.4 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/1.481, allocations: 175.7 kB / 0.7605 GB, free: 162.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.481, allocations: 7.875 kB / 0.7605 GB, free: 162.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/1.482, allocations: 15 kB / 0.7605 GB, free: 162.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/1.482, allocations: 0 / 0.7605 GB, free: 162.2 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/1.482, allocations: 3.938 kB / 0.7605 GB, free: 162.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/1.482, allocations: 256 / 0.7605 GB, free: 162.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.482, allocations: 3.938 kB / 0.7605 GB, free: 162.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/1.482, allocations: 172.2 kB / 0.7607 GB, free: 162.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/1.482, allocations: 92.16 kB / 0.7608 GB, free: 162 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/1.482, allocations: 0 / 0.7608 GB, free: 162 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/1.482, allocations: 7.781 kB / 0.7608 GB, free: 162 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/1.482, allocations: 3.281 kB / 0.7608 GB, free: 162 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/1.482, allocations: 3.906 kB / 0.7608 GB, free: 162 MB / 0.573 GB Notification: Performance of sorting global known variables: time 3.122e-05/1.482, allocations: 83.55 kB / 0.7609 GB, free: 161.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.11e-07/1.482, allocations: 4 kB / 0.7609 GB, free: 161.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003536/1.483, allocations: 19.72 kB / 0.7609 GB, free: 161.9 MB / 0.573 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.0004454/1.483, allocations: 0.7293 MB / 0.7616 GB, free: 161.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001402/1.483, allocations: 38.23 kB / 0.7616 GB, free: 161.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.483, allocations: 0 / 0.7616 GB, free: 161.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.683e-05/1.483, allocations: 18.98 kB / 0.7617 GB, free: 161.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/1.484, allocations: 11.38 kB / 0.7617 GB, free: 161.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008743/1.484, allocations: 312.4 kB / 0.762 GB, free: 161 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/1.485, allocations: 0.6838 MB / 0.7626 GB, free: 160.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 9.171e-05/1.485, allocations: 11.42 kB / 0.7626 GB, free: 160.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/1.485, allocations: 14.72 kB / 0.7627 GB, free: 160.3 MB / 0.573 GB Notification: Performance of SimCode: time 2.455e-06/1.485, allocations: 0 / 0.7627 GB, free: 160.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/1.506, allocations: 1.809 MB / 0.7644 GB, free: 160 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/1.507, allocations: 143.2 kB / 0.7646 GB, free: 159.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.349/3.856, allocations: 4 kB / 0.7646 GB, free: 159.8 MB / 0.573 GB