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.575/2.575, allocations: 258 MB / 271.8 MB, free: 13.64 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.642e-05/3.646e-05, allocations: 4 kB / 335.8 MB, free: 1.945 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1245, allocations: 60.24 MB / 396 MB, free: 5.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4666/0.5912, allocations: 83.39 MB / 479.4 MB, free: 392 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.5916, allocations: 75.98 kB / 479.5 MB, free: 352 kB / 378.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.01116/0.6028, allocations: 2.414 MB / 481.9 MB, free: 14.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.6028, allocations: 0 / 481.9 MB, free: 14.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.6028, allocations: 4 kB / 481.9 MB, free: 14.29 MB / 394.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.000678/0.6035, allocations: 402 kB / 482.3 MB, free: 13.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.6036, allocations: 8.031 kB / 482.3 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.556e-05/0.6036, allocations: 38.5 kB / 482.4 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.6038, allocations: 15.81 kB / 482.4 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.604, allocations: 195.1 kB / 482.6 MB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.6041, allocations: 4 kB / 482.6 MB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.6041, allocations: 11.14 kB / 482.6 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.6043, allocations: 67.47 kB / 482.7 MB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.6044, allocations: 4 kB / 482.7 MB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.6044, allocations: 0 / 482.7 MB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.6044, allocations: 0 / 482.7 MB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.6046, allocations: 54.95 kB / 482.7 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.6057, allocations: 401 kB / 483.1 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007656/0.6065, allocations: 84.33 kB / 483.2 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.6065, allocations: 4 kB / 483.2 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.6065, allocations: 30.56 kB / 483.2 MB, free: 12.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.595e-06/0.6066, allocations: 0 / 483.2 MB, free: 12.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002764/0.6068, allocations: 78.84 kB / 483.3 MB, free: 12.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.6069, allocations: 51.41 kB / 483.3 MB, free: 12.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.6071, allocations: 152.2 kB / 483.5 MB, free: 12.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.6071, allocations: 25.7 kB / 483.5 MB, free: 12.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.107e-05/0.6072, allocations: 122.1 kB / 483.6 MB, free: 12.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.6073, allocations: 23.67 kB / 483.7 MB, free: 12.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.6073, allocations: 3.75 kB / 483.7 MB, free: 12.46 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6074, allocations: 322.6 kB / 484 MB, free: 12.14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.003e-05/0.6075, allocations: 15.36 kB / 484 MB, free: 12.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.6077, allocations: 66.36 kB / 484.1 MB, free: 12.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.6078, allocations: 27.19 kB / 484.1 MB, free: 12.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.6078, allocations: 4 kB / 484.1 MB, free: 12.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004673/0.6083, allocations: 112.5 kB / 484.2 MB, free: 11.92 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.6084, allocations: 8.031 kB / 484.2 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.6084, allocations: 0 / 484.2 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.6084, allocations: 4.062 kB / 484.2 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.6087, allocations: 27.98 kB / 484.2 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.6088, allocations: 4 kB / 484.2 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.6089, allocations: 11.86 kB / 484.3 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.6089, allocations: 7.5 kB / 484.3 MB, free: 11.86 MB / 394.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 0.0001202/0.6091, allocations: 125.2 kB / 484.4 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.6091, allocations: 7.906 kB / 484.4 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.6093, allocations: 77.86 kB / 484.5 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.6094, allocations: 0 / 484.5 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6094, allocations: 0 / 484.5 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.6094, allocations: 3.984 kB / 484.5 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006048/0.61, allocations: 346 kB / 484.8 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.61, allocations: 48 / 484.8 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009063/0.6109, allocations: 91.97 kB / 484.9 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.611, allocations: 0 / 484.9 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.611, allocations: 2.938 kB / 484.9 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/0.6124, allocations: 1.289 MB / 486.2 MB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.6124, allocations: 0 / 486.2 MB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.6127, allocations: 196.8 kB / 486.4 MB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.6128, allocations: 89.08 kB / 486.5 MB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.6128, allocations: 11.95 kB / 486.5 MB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.613, allocations: 0 / 486.5 MB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.613, allocations: 3.75 kB / 486.5 MB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.613, allocations: 4 kB / 486.5 MB, free: 9.465 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001332/0.6132, allocations: 117.4 kB / 486.6 MB, free: 9.359 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6132, allocations: 0 / 486.6 MB, free: 9.359 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004059/0.6136, allocations: 20 kB / 486.6 MB, free: 9.34 MB / 394.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.0007112/0.6143, allocations: 0.8169 MB / 487.4 MB, free: 8.512 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001754/0.6145, allocations: 50.98 kB / 487.5 MB, free: 8.473 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6145, allocations: 0 / 487.5 MB, free: 8.473 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003334/0.6149, allocations: 47.45 kB / 487.5 MB, free: 8.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.6152, allocations: 20.25 kB / 487.6 MB, free: 8.414 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.6171, allocations: 1.751 MB / 489.3 MB, free: 6.656 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.6175, allocations: 0.7157 MB / 490 MB, free: 5.914 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001344/0.6176, allocations: 20.48 kB / 490 MB, free: 5.891 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.6177, allocations: 36.42 kB / 490.1 MB, free: 5.875 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6178, allocations: 0 / 490.1 MB, free: 5.875 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.6455, allocations: 2.775 MB / 492.9 MB, free: 3.164 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002806/0.6458, allocations: 123.4 kB / 493 MB, free: 2.961 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/2.837, allocations: 0 / 493 MB, free: 2.961 MB / 394.7 MB