Running command: "" <> buildModelFMU(OpenHPL.Tests.TorpaHPPAirCushionTest,fileNamePrefix="OpenHPL_OpenHPL_Tests_TorpaHPPAirCushionTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHPL): time 2.373/2.373, allocations: 258 MB / 271.8 MB, free: 13.64 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.184e-05/5.192e-05, allocations: 8 kB / 335.8 MB, free: 1.957 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1296, allocations: 60.24 MB / 396.1 MB, free: 5.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.516/0.6456, allocations: 96.3 MB / 492.3 MB, free: 3.586 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/0.6459, allocations: 94.89 kB / 492.4 MB, free: 3.539 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 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.1.1/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.1.1/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.1.1/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.1.1/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.1.1/Waterway/SurgeTank.mo:3:3-3:44:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data surgeTank.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$surgeTank. 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.1.1/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. Notification: Performance of FrontEnd - DAE generated: time 0.07912/0.7251, allocations: 15.87 MB / 0.4964 GB, free: 5.492 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.7251, allocations: 0 / 0.4964 GB, free: 5.492 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.085e-05/0.7252, allocations: 19.94 kB / 0.4964 GB, free: 5.473 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00336/0.7286, allocations: 1.008 MB / 0.4974 GB, free: 4.414 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.7287, allocations: 8.031 kB / 0.4974 GB, free: 4.406 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002712/0.729, allocations: 90.52 kB / 0.4975 GB, free: 4.309 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004728/0.7294, allocations: 110.8 kB / 0.4976 GB, free: 4.199 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.7309, allocations: 0.4913 MB / 0.4981 GB, free: 3.668 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.235e-05/0.731, allocations: 33 kB / 0.4981 GB, free: 3.637 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.7311, allocations: 55.98 kB / 0.4982 GB, free: 3.582 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.7329, allocations: 0.5215 MB / 0.4987 GB, free: 3.051 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/0.733, allocations: 7.938 kB / 0.4987 GB, free: 3.043 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.913e-05/0.733, allocations: 19.94 kB / 0.4987 GB, free: 3.023 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.7331, allocations: 12 kB / 0.4987 GB, free: 3.012 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.7349, allocations: 491.7 kB / 0.4992 GB, free: 2.527 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005881/0.7409, allocations: 1.736 MB / 0.5009 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/0.7439, allocations: 0.5549 MB / 0.5014 GB, free: 172 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001318/0.7452, allocations: 0.8549 MB / 0.5022 GB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.7453, allocations: 39 kB / 0.5023 GB, free: 15.08 MB / 426.7 MB Notification: Performance of pre-optimization done (n=51): time 3.978e-06/0.7453, allocations: 0 / 0.5023 GB, free: 15.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=61): time 0.007858/0.7532, allocations: 2.015 MB / 0.5043 GB, free: 12.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.7533, allocations: 59.97 kB / 0.5043 GB, free: 12.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.7548, allocations: 0.68 MB / 0.505 GB, free: 12.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.108e-05/0.7549, allocations: 37.7 kB / 0.505 GB, free: 12.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004642/0.7553, allocations: 427.8 kB / 0.5054 GB, free: 11.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/0.7556, allocations: 209 kB / 0.5056 GB, free: 11.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.592e-05/0.7557, allocations: 16 kB / 0.5056 GB, free: 11.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.7559, allocations: 330 kB / 0.5059 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008361/0.7567, allocations: 233.5 kB / 0.5062 GB, free: 10.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009201/0.7577, allocations: 359.9 kB / 0.5065 GB, free: 10.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009287/0.7586, allocations: 278.1 kB / 0.5068 GB, free: 10.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.7586, allocations: 0 / 0.5068 GB, free: 10.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003618/0.7623, allocations: 0.941 MB / 0.5077 GB, free: 9.375 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.7623, allocations: 7.953 kB / 0.5077 GB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.7624, allocations: 4 kB / 0.5077 GB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.7636, allocations: 192.8 kB / 0.5079 GB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.765, allocations: 167.8 kB / 0.5081 GB, free: 9.008 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005972/0.771, allocations: 2.617 MB / 0.5106 GB, free: 6.262 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.7723, allocations: 32 kB / 0.5106 GB, free: 6.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.352e-05/0.7724, allocations: 27.98 kB / 0.5107 GB, free: 6.203 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: penstock.M:VARIABLE(unit = "kg.m/s" fixed = true ) "Water momentum" type: Real intake.M:VARIABLE(unit = "kg.m/s" fixed = true ) "Water momentum" type: Real 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.0006908/0.7731, allocations: 232.1 kB / 0.5109 GB, free: 5.969 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/0.7734, allocations: 86.92 kB / 0.511 GB, free: 5.883 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003305/0.7767, allocations: 0.7934 MB / 0.5117 GB, free: 5.074 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.7767, allocations: 8 kB / 0.5118 GB, free: 5.066 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.7768, allocations: 0 / 0.5118 GB, free: 5.066 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.7768, allocations: 0 / 0.5118 GB, free: 5.066 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005155/0.782, allocations: 1.546 MB / 0.5133 GB, free: 3.453 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.782, allocations: 3.953 kB / 0.5133 GB, free: 3.449 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002536/0.7846, allocations: 263.8 kB / 0.5135 GB, free: 3.191 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/0.7858, allocations: 188.7 kB / 0.5137 GB, free: 3.004 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.689e-05/0.7859, allocations: 12 kB / 0.5137 GB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008192/0.7941, allocations: 5.2 MB / 0.5188 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/0.7941, allocations: 7.969 kB / 0.5188 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004059/0.7982, allocations: 1.137 MB / 0.5199 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004155/0.7987, allocations: 164 kB / 0.5201 GB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/0.7989, allocations: 12 kB / 0.5201 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007175/0.7996, allocations: 23.92 kB / 0.5201 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/0.7998, allocations: 52.45 kB / 0.5201 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.739e-05/0.7999, allocations: 16 kB / 0.5202 GB, free: 11.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00115/0.8011, allocations: 0.5341 MB / 0.5207 GB, free: 11.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.8011, allocations: 4 kB / 0.5207 GB, free: 11.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001484/0.8026, allocations: 287.9 kB / 0.521 GB, free: 11.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (reservoir.m,intake.M,tail.m,penstock.M,surgeTank.m) * 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.00571/0.8083, allocations: 2.153 MB / 0.5231 GB, free: 9.004 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002784/0.8111, allocations: 0.7907 MB / 0.5238 GB, free: 8.203 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.8112, allocations: 0 / 0.5238 GB, free: 8.203 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00199/0.8132, allocations: 0.5054 MB / 0.5243 GB, free: 7.684 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.8145, allocations: 151.2 kB / 0.5245 GB, free: 7.539 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/0.829, allocations: 6.83 MB / 0.5311 GB, free: 496 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008076/0.8299, allocations: 0.9969 MB / 0.5321 GB, free: 15.46 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007614/0.8307, allocations: 89.33 kB / 0.5322 GB, free: 15.37 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000698/0.8314, allocations: 323.3 kB / 0.5325 GB, free: 15.05 MB / 458.7 MB Notification: Performance of SimCode: time 1.032e-06/0.8314, allocations: 4 kB / 0.5325 GB, free: 15.05 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1322/0.9636, allocations: 20.37 MB / 0.5524 GB, free: 10.73 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003536/0.964, allocations: 197.1 kB / 0.5526 GB, free: 10.51 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.377/4.341, allocations: 0 / 0.5526 GB, free: 10.51 MB / 474.7 MB