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.489/2.489, allocations: 257 MB / 269.1 MB, free: 11.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.285e-05/4.296e-05, allocations: 4 kB / 332.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3943, allocations: 59.96 MB / 392.1 MB, free: 4.496 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.5435, allocations: 83.24 MB / 475.3 MB, free: 1.148 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.5439, allocations: 71.95 kB / 475.4 MB, free: 1.078 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/OpenHPL 1.1.1/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.01111/0.555, allocations: 2.384 MB / 477.8 MB, free: 14.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.555, allocations: 0 / 477.8 MB, free: 14.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.555, allocations: 4 kB / 477.8 MB, free: 14.68 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.0006352/0.5557, allocations: 406.2 kB / 478.2 MB, free: 14.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.5558, allocations: 8.031 kB / 478.2 MB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.307e-05/0.5558, allocations: 38.56 kB / 478.2 MB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.556, allocations: 19.8 kB / 478.2 MB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.5562, allocations: 183.4 kB / 478.4 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.5562, allocations: 12 kB / 478.4 MB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.5563, allocations: 11.94 kB / 478.4 MB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.5565, allocations: 77.67 kB / 478.5 MB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.5565, allocations: 0 / 478.5 MB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.5565, allocations: 4 kB / 478.5 MB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.5565, allocations: 3.984 kB / 478.5 MB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.5567, allocations: 43.98 kB / 478.6 MB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.5578, allocations: 406.3 kB / 479 MB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007792/0.5586, allocations: 78.53 kB / 479 MB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.5586, allocations: 21.05 kB / 479.1 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.5587, allocations: 4 kB / 479.1 MB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.5587, allocations: 30.56 kB / 479.1 MB, free: 13.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.693e-06/0.5587, allocations: 4 kB / 479.1 MB, free: 13.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002076/0.5589, allocations: 65.53 kB / 479.2 MB, free: 13.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.559, allocations: 55.36 kB / 479.2 MB, free: 13.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.5592, allocations: 146.4 kB / 479.4 MB, free: 12.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.5592, allocations: 25.7 kB / 479.4 MB, free: 12.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.5593, allocations: 111.9 kB / 479.5 MB, free: 12.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.5593, allocations: 27.66 kB / 479.5 MB, free: 12.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.5593, allocations: 0 / 479.5 MB, free: 12.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.5595, allocations: 326.8 kB / 479.8 MB, free: 12.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.088e-05/0.5595, allocations: 12 kB / 479.9 MB, free: 12.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.607e-05/0.5596, allocations: 66.8 kB / 479.9 MB, free: 12.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.065e-05/0.5597, allocations: 27.94 kB / 479.9 MB, free: 12.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.5598, allocations: 0 / 479.9 MB, free: 12.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002424/0.56, allocations: 105.5 kB / 480 MB, free: 12.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.56, allocations: 4 kB / 480.1 MB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.5601, allocations: 4 kB / 480.1 MB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.5601, allocations: 7.938 kB / 480.1 MB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.5603, allocations: 19.98 kB / 480.1 MB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.5603, allocations: 7.938 kB / 480.1 MB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.5604, allocations: 11.86 kB / 480.1 MB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.5605, allocations: 7.984 kB / 480.1 MB, free: 12.08 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.284e-05/0.5605, allocations: 117.4 kB / 480.2 MB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.5606, allocations: 11.91 kB / 480.2 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.5608, allocations: 78.61 kB / 480.3 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5608, allocations: 0 / 480.3 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5608, allocations: 0 / 480.3 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.5608, allocations: 0 / 480.3 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005736/0.5614, allocations: 343.3 kB / 480.6 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5614, allocations: 192 / 480.6 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000929/0.5624, allocations: 95.92 kB / 480.7 MB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.5624, allocations: 0 / 480.7 MB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.5624, allocations: 4 kB / 480.7 MB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.5636, allocations: 1.286 MB / 482 MB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.5636, allocations: 0 / 482 MB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.5638, allocations: 194.2 kB / 482.2 MB, free: 9.742 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.436e-05/0.5639, allocations: 88.91 kB / 482.3 MB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.564, allocations: 7.953 kB / 482.3 MB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.5641, allocations: 4 kB / 482.3 MB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.5641, allocations: 4 kB / 482.3 MB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.5642, allocations: 0 / 482.3 MB, free: 9.621 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001238/0.5643, allocations: 119.3 kB / 482.4 MB, free: 9.504 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5643, allocations: 0 / 482.4 MB, free: 9.504 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003974/0.5647, allocations: 24.06 kB / 482.5 MB, free: 9.48 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.0006106/0.5653, allocations: 0.814 MB / 483.3 MB, free: 8.641 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.5655, allocations: 43.92 kB / 483.3 MB, free: 8.598 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5655, allocations: 3.938 kB / 483.3 MB, free: 8.594 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.5658, allocations: 40.34 kB / 483.4 MB, free: 8.555 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.5662, allocations: 19.98 kB / 483.4 MB, free: 8.535 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008206/0.567, allocations: 240.3 kB / 483.6 MB, free: 8.262 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.5675, allocations: 0.716 MB / 484.3 MB, free: 7.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000127/0.5676, allocations: 16.55 kB / 484.3 MB, free: 7.504 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.5678, allocations: 39.42 kB / 484.4 MB, free: 7.465 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5678, allocations: 0 / 484.4 MB, free: 7.465 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.5898, allocations: 2.774 MB / 487.2 MB, free: 4.75 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003522/0.5902, allocations: 125 kB / 487.3 MB, free: 4.547 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/2.769, allocations: 0 / 487.3 MB, free: 4.547 MB / 410.7 MB