Running command: "" <> buildModelFMU(OpenHPL.Waterway.Reservoir,fileNamePrefix="OpenHPL_OpenHPL_Waterway_Reservoir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHPL): time 2.57/2.57, allocations: 256.4 MB / 268.5 MB, free: 12.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.569e-05/3.577e-05, allocations: 4 kB / 331.3 MB, free: 13.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.404, allocations: 59.79 MB / 391.1 MB, free: 5.355 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1549/0.559, allocations: 83.17 MB / 474.3 MB, free: 2.074 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.5593, allocations: 71.95 kB / 474.3 MB, free: 2.004 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/OpenHPL 1.0.2/Waterway/Reservoir.mo:3:3-3:56:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data data declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: OpenHPL.Waterway.Reservoir. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.01107/0.5704, allocations: 2.388 MB / 476.7 MB, free: 15.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5704, allocations: 0 / 476.7 MB, free: 15.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.5705, allocations: 0 / 476.7 MB, free: 15.61 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006491/0.5711, allocations: 402.2 kB / 477.1 MB, free: 15.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.5712, allocations: 8.031 kB / 477.1 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.859e-05/0.5713, allocations: 46.5 kB / 477.2 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.5714, allocations: 19.75 kB / 477.2 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.5716, allocations: 194.4 kB / 477.4 MB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.5717, allocations: 8 kB / 477.4 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.5717, allocations: 11.95 kB / 477.4 MB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.5719, allocations: 73.67 kB / 477.5 MB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.572, allocations: 0 / 477.5 MB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.572, allocations: 4 kB / 477.5 MB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.572, allocations: 0 / 477.5 MB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.5722, allocations: 55.91 kB / 477.5 MB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.5733, allocations: 394.4 kB / 477.9 MB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007592/0.5741, allocations: 86.52 kB / 478 MB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.622e-05/0.5741, allocations: 17.05 kB / 478 MB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.5742, allocations: 4 kB / 478 MB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.5742, allocations: 42.48 kB / 478.1 MB, free: 14.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.294e-06/0.5742, allocations: 0 / 478.1 MB, free: 14.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002273/0.5744, allocations: 57.61 kB / 478.1 MB, free: 14.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.5745, allocations: 59.34 kB / 478.2 MB, free: 13.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.5747, allocations: 146.4 kB / 478.3 MB, free: 13.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.5748, allocations: 25.7 kB / 478.3 MB, free: 13.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.731e-05/0.5749, allocations: 115.9 kB / 478.5 MB, free: 13.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.5749, allocations: 27.64 kB / 478.5 MB, free: 13.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.5749, allocations: 0 / 478.5 MB, free: 13.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5751, allocations: 322.8 kB / 478.8 MB, free: 13.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.065e-05/0.5751, allocations: 12 kB / 478.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.5752, allocations: 70.75 kB / 478.9 MB, free: 13.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.486e-05/0.5753, allocations: 23.98 kB / 478.9 MB, free: 13.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5753, allocations: 0 / 478.9 MB, free: 13.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002505/0.5756, allocations: 113.5 kB / 479 MB, free: 13.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.5756, allocations: 8 kB / 479 MB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.5756, allocations: 0 / 479 MB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.5757, allocations: 4 kB / 479 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/0.576, allocations: 23.98 kB / 479 MB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.576, allocations: 7.938 kB / 479.1 MB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.5761, allocations: 12.42 kB / 479.1 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.5762, allocations: 4 kB / 479.1 MB, free: 13 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 8.505e-05/0.5762, allocations: 112.7 kB / 479.2 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.5763, allocations: 12 kB / 479.2 MB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.5765, allocations: 78.61 kB / 479.3 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.5765, allocations: 4 kB / 479.3 MB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5766, allocations: 192 / 479.3 MB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.5766, allocations: 4 kB / 479.3 MB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006288/0.5772, allocations: 339.3 kB / 479.6 MB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.5772, allocations: 3.938 kB / 479.6 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008967/0.5781, allocations: 91.91 kB / 479.7 MB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/0.5782, allocations: 4 kB / 479.7 MB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.5782, allocations: 4 kB / 479.7 MB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.5794, allocations: 1.286 MB / 481 MB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5794, allocations: 3.938 kB / 481 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.5797, allocations: 186.2 kB / 481.2 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.74e-05/0.5798, allocations: 88.92 kB / 481.3 MB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.5798, allocations: 11.95 kB / 481.3 MB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.5799, allocations: 0 / 481.3 MB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.58, allocations: 8.016 kB / 481.3 MB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.58, allocations: 4 kB / 481.3 MB, free: 10.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.5801, allocations: 119.3 kB / 481.4 MB, free: 10.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5801, allocations: 0 / 481.4 MB, free: 10.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003596/0.5805, allocations: 24.06 kB / 481.4 MB, free: 10.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007256/0.5813, allocations: 0.8109 MB / 482.2 MB, free: 9.547 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.5815, allocations: 52 kB / 482.3 MB, free: 9.496 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5815, allocations: 3.938 kB / 482.3 MB, free: 9.492 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.5818, allocations: 44.33 kB / 482.3 MB, free: 9.449 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.5821, allocations: 16 kB / 482.4 MB, free: 9.434 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008087/0.5829, allocations: 232.1 kB / 482.6 MB, free: 9.168 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.5833, allocations: 0.7237 MB / 483.3 MB, free: 8.418 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.5835, allocations: 8.562 kB / 483.3 MB, free: 8.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.5836, allocations: 43.41 kB / 483.4 MB, free: 8.367 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5836, allocations: 0 / 483.4 MB, free: 8.367 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02769/0.6113, allocations: 2.772 MB / 486.1 MB, free: 5.66 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003214/0.6117, allocations: 121.7 kB / 486.2 MB, free: 5.461 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/2.79, allocations: 4 kB / 486.3 MB, free: 5.457 MB / 410.7 MB