Running command: "" <> buildModelFMU(OpenHPL.Tests.TorpaHPPAirCushionTest2,fileNamePrefix="OpenHPL_OpenHPL_Tests_TorpaHPPAirCushionTest2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHPL): time 2.445/2.445, allocations: 258 MB / 271.8 MB, free: 13.64 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.931e-05/4.938e-05, allocations: 4 kB / 335.8 MB, free: 1.957 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1289, allocations: 60.25 MB / 396.1 MB, free: 5.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5002/0.6291, allocations: 96.26 MB / 492.3 MB, free: 3.652 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/0.6295, allocations: 93.45 kB / 492.4 MB, free: 3.605 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.07943/0.709, allocations: 15.77 MB / 0.4963 GB, free: 5.621 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.709, allocations: 0 / 0.4963 GB, free: 5.621 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.371e-05/0.7091, allocations: 16 kB / 0.4963 GB, free: 5.605 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.00307/0.7122, allocations: 1.004 MB / 0.4973 GB, free: 4.551 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.7123, allocations: 8.031 kB / 0.4973 GB, free: 4.543 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000262/0.7125, allocations: 86.52 kB / 0.4974 GB, free: 4.449 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005044/0.7131, allocations: 106.8 kB / 0.4975 GB, free: 4.344 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.7145, allocations: 0.4952 MB / 0.4979 GB, free: 3.809 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/0.7146, allocations: 37 kB / 0.498 GB, free: 3.773 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.7147, allocations: 51.94 kB / 0.498 GB, free: 3.723 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.7164, allocations: 0.5293 MB / 0.4985 GB, free: 3.184 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.7164, allocations: 3.938 kB / 0.4985 GB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-05/0.7165, allocations: 20 kB / 0.4986 GB, free: 3.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.7165, allocations: 12 kB / 0.4986 GB, free: 3.148 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/0.7182, allocations: 479.7 kB / 0.499 GB, free: 2.676 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006006/0.7243, allocations: 1.728 MB / 0.5007 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003058/0.7274, allocations: 0.5403 MB / 0.5012 GB, free: 340 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/0.7289, allocations: 0.8588 MB / 0.5021 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.7289, allocations: 38.94 kB / 0.5021 GB, free: 15.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 5.841e-06/0.729, allocations: 3.984 kB / 0.5021 GB, free: 15.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=60): time 0.008281/0.7372, allocations: 1.995 MB / 0.5041 GB, free: 13.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.7374, allocations: 59.97 kB / 0.5041 GB, free: 13.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.739, allocations: 0.6917 MB / 0.5048 GB, free: 12.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001381/0.7392, allocations: 41.7 kB / 0.5048 GB, free: 12.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004514/0.7397, allocations: 427.8 kB / 0.5053 GB, free: 11.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/0.74, allocations: 205 kB / 0.5055 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.23e-05/0.7401, allocations: 16 kB / 0.5055 GB, free: 11.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.7402, allocations: 333.9 kB / 0.5058 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008653/0.7411, allocations: 225.5 kB / 0.506 GB, free: 11.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009579/0.7421, allocations: 351.9 kB / 0.5063 GB, free: 10.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009487/0.7431, allocations: 270.1 kB / 0.5066 GB, free: 10.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.7431, allocations: 4 kB / 0.5066 GB, free: 10.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003609/0.7467, allocations: 0.9332 MB / 0.5075 GB, free: 9.566 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/0.7468, allocations: 13.98 kB / 0.5075 GB, free: 9.555 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.7468, allocations: 4 kB / 0.5075 GB, free: 9.551 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.7481, allocations: 191 kB / 0.5077 GB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.7494, allocations: 163.8 kB / 0.5079 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005948/0.7554, allocations: 2.619 MB / 0.5104 GB, free: 6.453 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.7566, allocations: 31.98 kB / 0.5105 GB, free: 6.422 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/0.7567, allocations: 24 kB / 0.5105 GB, free: 6.398 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 (79): * Single equations (assignments): 78 * 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.000603/0.7573, allocations: 229.5 kB / 0.5107 GB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.7575, allocations: 90.83 kB / 0.5108 GB, free: 6.074 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003164/0.7607, allocations: 0.7817 MB / 0.5115 GB, free: 5.277 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.7607, allocations: 4 kB / 0.5115 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.7607, allocations: 4 kB / 0.5116 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.7607, allocations: 3.984 kB / 0.5116 GB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00521/0.766, allocations: 1.534 MB / 0.5131 GB, free: 3.664 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.766, allocations: 0 / 0.5131 GB, free: 3.664 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002603/0.7686, allocations: 263.8 kB / 0.5133 GB, free: 3.406 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001264/0.7699, allocations: 188.7 kB / 0.5135 GB, free: 3.219 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.839e-05/0.7701, allocations: 12 kB / 0.5135 GB, free: 3.207 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008774/0.7788, allocations: 5.206 MB / 0.5186 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.7789, allocations: 7.969 kB / 0.5186 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004174/0.7831, allocations: 1.122 MB / 0.5197 GB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004262/0.7836, allocations: 168 kB / 0.5198 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/0.7838, allocations: 12 kB / 0.5199 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007824/0.7846, allocations: 19.98 kB / 0.5199 GB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/0.7848, allocations: 48.45 kB / 0.5199 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.566e-05/0.7849, allocations: 16 kB / 0.5199 GB, free: 12.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001271/0.7861, allocations: 0.5381 MB / 0.5205 GB, free: 11.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.51e-07/0.7862, allocations: 0 / 0.5205 GB, free: 11.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001709/0.7879, allocations: 295.9 kB / 0.5207 GB, free: 11.34 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 (42): * Single equations (assignments): 39 * 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.005873/0.7938, allocations: 2.137 MB / 0.5228 GB, free: 9.242 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002963/0.7968, allocations: 0.7752 MB / 0.5236 GB, free: 8.457 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.7969, allocations: 0 / 0.5236 GB, free: 8.457 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002155/0.7991, allocations: 0.5135 MB / 0.5241 GB, free: 7.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.8006, allocations: 147.1 kB / 0.5242 GB, free: 7.789 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/0.8158, allocations: 6.816 MB / 0.5309 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009208/0.8167, allocations: 0.9891 MB / 0.5319 GB, free: 15.74 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000795/0.8176, allocations: 101.3 kB / 0.5319 GB, free: 15.64 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007661/0.8184, allocations: 323.3 kB / 0.5323 GB, free: 15.32 MB / 458.7 MB Notification: Performance of SimCode: time 1.153e-06/0.8184, allocations: 0 / 0.5323 GB, free: 15.32 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07127/0.8897, allocations: 20.33 MB / 0.5521 GB, free: 11.04 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003172/0.89, allocations: 194.2 kB / 0.5523 GB, free: 10.82 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.576/4.466, allocations: 4 kB / 0.5523 GB, free: 10.82 MB / 474.7 MB