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.321/2.321, allocations: 258 MB / 265.1 MB, free: 5.473 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.418e-05/2.416e-05, allocations: 4 kB / 327.7 MB, free: 9.922 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1275, allocations: 60.24 MB / 388 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4939/0.6214, allocations: 82.69 MB / 470.7 MB, free: 8.152 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.6218, allocations: 72.11 kB / 470.7 MB, free: 8.148 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.009802/0.6316, allocations: 2.351 MB / 473.1 MB, free: 7.703 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.487e-06/0.6316, allocations: 0 / 473.1 MB, free: 7.703 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.6317, allocations: 15.75 kB / 473.1 MB, free: 7.691 MB / 378.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.0005581/0.6322, allocations: 395.2 kB / 473.5 MB, free: 7.324 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.6323, allocations: 7.656 kB / 473.5 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.6324, allocations: 15.53 kB / 473.5 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.6327, allocations: 196.4 kB / 473.7 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.6327, allocations: 4 kB / 473.7 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.6327, allocations: 7.797 kB / 473.7 MB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001686/0.6329, allocations: 51.81 kB / 473.8 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.6331, allocations: 68.12 kB / 473.8 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.6331, allocations: 0 / 473.8 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.6331, allocations: 0 / 473.8 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.6331, allocations: 0 / 473.8 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009579/0.6341, allocations: 373 kB / 474.2 MB, free: 6.789 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007387/0.6348, allocations: 81.98 kB / 474.3 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.999e-05/0.6349, allocations: 19.58 kB / 474.3 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.635, allocations: 7.984 kB / 474.3 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.635, allocations: 30.56 kB / 474.3 MB, free: 6.707 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.765e-06/0.635, allocations: 0 / 474.3 MB, free: 6.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002291/0.6352, allocations: 62.09 kB / 474.4 MB, free: 6.672 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.6353, allocations: 51.41 kB / 474.5 MB, free: 6.609 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.6354, allocations: 143.6 kB / 474.6 MB, free: 6.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.6354, allocations: 29.64 kB / 474.6 MB, free: 6.465 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.6355, allocations: 115 kB / 474.7 MB, free: 6.371 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.6355, allocations: 23.62 kB / 474.8 MB, free: 6.352 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-06/0.6356, allocations: 0 / 474.8 MB, free: 6.352 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.381e-05/0.6356, allocations: 330.9 kB / 475.1 MB, free: 6.035 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.696e-05/0.6357, allocations: 11.16 kB / 475.1 MB, free: 6.035 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.527e-05/0.6357, allocations: 68.45 kB / 475.2 MB, free: 5.965 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.792e-05/0.6358, allocations: 17.64 kB / 475.2 MB, free: 5.961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.6358, allocations: 0 / 475.2 MB, free: 5.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001866/0.636, allocations: 96.22 kB / 475.3 MB, free: 5.918 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.6361, allocations: 8.094 kB / 475.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.6361, allocations: 3.844 kB / 475.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.6361, allocations: 3.844 kB / 475.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.6363, allocations: 28.94 kB / 475.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.6363, allocations: 0.875 kB / 475.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.6364, allocations: 7.75 kB / 475.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.6365, allocations: 3.844 kB / 475.3 MB, free: 5.906 MB / 378.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 6.164e-05/0.6365, allocations: 119.8 kB / 475.4 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001207/0.6367, allocations: 61.55 kB / 475.5 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.6367, allocations: 15.66 kB / 475.5 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.6369, allocations: 73.14 kB / 475.6 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.6369, allocations: 0 / 475.6 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6369, allocations: 0 / 475.6 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.6369, allocations: 3.953 kB / 475.6 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.6374, allocations: 310.4 kB / 475.9 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.6374, allocations: 0 / 475.9 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008493/0.6383, allocations: 89.09 kB / 476 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.6383, allocations: 0 / 476 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.6383, allocations: 6.25 kB / 476 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/0.6396, allocations: 1.235 MB / 477.2 MB, free: 20.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.6396, allocations: 7.797 kB / 477.2 MB, free: 20.15 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.6399, allocations: 188.2 kB / 477.4 MB, free: 19.99 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.049e-05/0.6399, allocations: 84.86 kB / 477.5 MB, free: 19.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.64, allocations: 0 / 477.5 MB, free: 19.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.6401, allocations: 3.953 kB / 477.5 MB, free: 19.89 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.6401, allocations: 10.97 kB / 477.5 MB, free: 19.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.6402, allocations: 128 / 477.5 MB, free: 19.89 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.803e-05/0.6403, allocations: 112.5 kB / 477.6 MB, free: 19.81 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6403, allocations: 3.844 kB / 477.6 MB, free: 19.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004109/0.6407, allocations: 19.44 kB / 477.6 MB, free: 19.8 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.00057/0.6413, allocations: 0.8078 MB / 478.5 MB, free: 19.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.6414, allocations: 51.95 kB / 478.5 MB, free: 19.03 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.6415, allocations: 3.938 kB / 478.5 MB, free: 19.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.6418, allocations: 38.55 kB / 478.5 MB, free: 19.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.6421, allocations: 18.58 kB / 478.6 MB, free: 19.01 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007441/0.6429, allocations: 224.4 kB / 478.8 MB, free: 18.83 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.6432, allocations: 0.713 MB / 479.5 MB, free: 18.13 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.6433, allocations: 15.02 kB / 479.5 MB, free: 18.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.6434, allocations: 47.73 kB / 479.6 MB, free: 18.11 MB / 394.7 MB Notification: Performance of SimCode: time 9.81e-07/0.6434, allocations: 0 / 479.6 MB, free: 18.11 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0412/0.6846, allocations: 2.295 MB / 481.9 MB, free: 17.98 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/0.6849, allocations: 106 kB / 482 MB, free: 17.81 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.221/2.906, allocations: 0 / 482 MB, free: 17.81 MB / 394.7 MB