Running command: "" <> buildModelFMU(OpenHPL.Tests.HPSTAirCushion,fileNamePrefix="OpenHPL_OpenHPL_Tests_HPSTAirCushion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHPL): time 2.544/2.544, allocations: 256.4 MB / 268.5 MB, free: 12.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.989e-05/3.994e-05, allocations: 8 kB / 331.3 MB, free: 13.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4162, allocations: 59.81 MB / 391.1 MB, free: 5.449 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1991/0.6154, allocations: 96.06 MB / 487.2 MB, free: 5.254 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00042/0.6158, allocations: 91.89 kB / 487.3 MB, free: 5.164 MB / 410.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 reservoir.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$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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/OpenHPL 1.0.2/Waterway/Pipe.mo:3:3-3:44:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data intake.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.Pipe$intake. 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/OpenHPL 1.0.2/Waterway/Pipe.mo:3:3-3:44:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data discharge.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.Pipe$discharge. 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. [/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 tail.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$tail. 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/OpenHPL 1.0.2/Waterway/Pipe.mo:3:3-3:44:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data penstock.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.Pipe$penstock. 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/OpenHPL 1.0.2/ElectroMech/Turbines/Turbine.mo:3:3-3:56:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data turbine.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.ElectroMech.Turbines.Turbine$turbine. 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/OpenHPL 1.0.2/Waterway/SurgeTank.mo:3:3-3:44:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data STAirCushion.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.SurgeTank$STAirCushion. 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.08649/0.7024, allocations: 15.72 MB / 0.4912 GB, free: 5.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.7024, allocations: 0 / 0.4912 GB, free: 5.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.526e-05/0.7025, allocations: 16 kB / 0.4912 GB, free: 5.395 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002952/0.7055, allocations: 1.012 MB / 0.4922 GB, free: 4.336 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.7055, allocations: 12.03 kB / 0.4922 GB, free: 4.324 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001853/0.7057, allocations: 98.39 kB / 0.4923 GB, free: 4.219 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004101/0.7062, allocations: 102.8 kB / 0.4924 GB, free: 4.117 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.7075, allocations: 0.4952 MB / 0.4929 GB, free: 3.582 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/0.7075, allocations: 37 kB / 0.4929 GB, free: 3.547 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/0.7077, allocations: 52 kB / 0.493 GB, free: 3.496 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.7091, allocations: 0.5021 MB / 0.4935 GB, free: 2.984 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.7092, allocations: 0 / 0.4935 GB, free: 2.984 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.36e-05/0.7093, allocations: 20 kB / 0.4935 GB, free: 2.965 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.7093, allocations: 12 kB / 0.4935 GB, free: 2.953 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.7107, allocations: 447.8 kB / 0.4939 GB, free: 2.512 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005657/0.7163, allocations: 1.759 MB / 0.4956 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002726/0.7191, allocations: 0.5165 MB / 0.4961 GB, free: 176 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00061/0.7198, allocations: 202.1 kB / 0.4963 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/0.7211, allocations: 0.8627 MB / 0.4972 GB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.7211, allocations: 38.94 kB / 0.4972 GB, free: 14.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=51): time 3.467e-06/0.7211, allocations: 4 kB / 0.4972 GB, free: 14.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=61): time 0.006143/0.7273, allocations: 1.639 MB / 0.4988 GB, free: 13.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.7274, allocations: 59.97 kB / 0.4989 GB, free: 13.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.7289, allocations: 0.6845 MB / 0.4995 GB, free: 12.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.729, allocations: 37.7 kB / 0.4996 GB, free: 12.37 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004686/0.7295, allocations: 423.9 kB / 0.5 GB, free: 11.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.7298, allocations: 216.8 kB / 0.5002 GB, free: 11.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/0.7299, allocations: 16 kB / 0.5002 GB, free: 11.72 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.7301, allocations: 341.9 kB / 0.5005 GB, free: 11.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006735/0.7307, allocations: 213.8 kB / 0.5007 GB, free: 11.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007895/0.7315, allocations: 336.5 kB / 0.501 GB, free: 10.8 MB / 442.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: STAirCushion.Vdot = $START.STAirCushion.Vdot (STAirCushion.Vdot_0 = $START.STAirCushion.Vdot) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: STAirCushion.h = $START.STAirCushion.h (STAirCushion.h_0 = $START.STAirCushion.h) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discharge.Vdot = discharge.Vdot_0 (penstock.Vdot_0 * penstock.data.rho / discharge.data.rho = discharge.Vdot_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: intake.Vdot = intake.Vdot_0 ((penstock.Vdot_0 * penstock.data.rho + STAirCushion.data.rho * STAirCushion.Vdot_0) / intake.data.rho = intake.Vdot_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.01375/0.7453, allocations: 2.459 MB / 0.5035 GB, free: 8.277 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.7453, allocations: 3.938 kB / 0.5035 GB, free: 8.273 MB / 442.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003278/0.7486, allocations: 0.902 MB / 0.5043 GB, free: 7.363 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.7487, allocations: 8 kB / 0.5043 GB, free: 7.355 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.7487, allocations: 0 / 0.5043 GB, free: 7.355 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.7499, allocations: 190.6 kB / 0.5045 GB, free: 7.168 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.7512, allocations: 151.8 kB / 0.5047 GB, free: 7.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005764/0.7569, allocations: 2.553 MB / 0.5072 GB, free: 4.328 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.7581, allocations: 27.98 kB / 0.5072 GB, free: 4.301 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.7583, allocations: 31.94 kB / 0.5072 GB, free: 4.27 MB / 442.7 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: STAirCushion.Vdot = $START.STAirCushion.Vdot STAirCushion.h = $START.STAirCushion.h discharge.Vdot = discharge.Vdot_0 intake.Vdot = intake.Vdot_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 18} Notification: Performance of prepare postOptimizeDAE: time 0.0002935/0.7586, allocations: 160.6 kB / 0.5074 GB, free: 4.105 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/0.7588, allocations: 90.83 kB / 0.5075 GB, free: 4.016 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00307/0.7619, allocations: 0.7582 MB / 0.5082 GB, free: 3.246 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.762, allocations: 4 kB / 0.5082 GB, free: 3.242 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.762, allocations: 0 / 0.5082 GB, free: 3.242 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.762, allocations: 3.984 kB / 0.5082 GB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004788/0.7668, allocations: 1.499 MB / 0.5097 GB, free: 1.672 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.7668, allocations: 0 / 0.5097 GB, free: 1.672 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002469/0.7693, allocations: 251.8 kB / 0.5099 GB, free: 1.426 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001275/0.7706, allocations: 206.4 kB / 0.5101 GB, free: 1.223 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.411e-05/0.7707, allocations: 12 kB / 0.5101 GB, free: 1.211 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007953/0.7786, allocations: 5.132 MB / 0.5151 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.7787, allocations: 3.984 kB / 0.5151 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00354/0.7822, allocations: 1.079 MB / 0.5162 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/0.7826, allocations: 164 kB / 0.5163 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.7828, allocations: 12 kB / 0.5164 GB, free: 10.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007114/0.7835, allocations: 19.98 kB / 0.5164 GB, free: 10.35 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/0.7837, allocations: 44.45 kB / 0.5164 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-05/0.7838, allocations: 19.98 kB / 0.5164 GB, free: 10.29 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001134/0.7849, allocations: 0.5304 MB / 0.517 GB, free: 9.762 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7849, allocations: 4 kB / 0.517 GB, free: 9.758 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001285/0.7862, allocations: 295.8 kB / 0.5172 GB, free: 9.469 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (reservoir.m,tail.m,penstock.Vdot,STAirCushion.m,STAirCushion.Vdot) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.005084/0.7913, allocations: 2.08 MB / 0.5193 GB, free: 7.43 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002326/0.7937, allocations: 0.7528 MB / 0.52 GB, free: 6.668 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.7937, allocations: 0 / 0.52 GB, free: 6.668 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001746/0.7955, allocations: 496.5 kB / 0.5205 GB, free: 6.172 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.7967, allocations: 159.1 kB / 0.5206 GB, free: 6.016 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004206/0.8009, allocations: 1.471 MB / 0.5221 GB, free: 4.496 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000765/0.8017, allocations: 0.9892 MB / 0.523 GB, free: 3.477 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006598/0.8024, allocations: 93.31 kB / 0.5231 GB, free: 3.383 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006702/0.803, allocations: 315.3 kB / 0.5234 GB, free: 3.074 MB / 458.7 MB Notification: Performance of SimCode: time 1.062e-06/0.8031, allocations: 0 / 0.5234 GB, free: 3.074 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3845/1.188, allocations: 20.41 MB / 0.5434 GB, free: 122.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/1.188, allocations: 188.7 kB / 0.5435 GB, free: 122.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.57/4.758, allocations: 1.781 kB / 0.5435 GB, free: 122.3 MB / 458.7 MB