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.404/2.404, allocations: 258 MB / 265.1 MB, free: 5.473 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.499e-05/2.504e-05, allocations: 10.11 kB / 327.7 MB, free: 9.918 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1287, allocations: 60.24 MB / 388 MB, free: 13.58 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5172/0.646, allocations: 95.6 MB / 483.6 MB, free: 7.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.6464, allocations: 87.05 kB / 483.7 MB, free: 7.469 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 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/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/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/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/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/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/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.0687/0.7151, allocations: 15.53 MB / 499.2 MB, free: 2.098 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.7151, allocations: 0 / 499.2 MB, free: 2.098 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.05e-05/0.7152, allocations: 23.08 kB / 499.2 MB, free: 2.094 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002743/0.718, allocations: 1.005 MB / 0.4885 GB, free: 1.375 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.718, allocations: 11.59 kB / 0.4885 GB, free: 1.371 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004683/0.7185, allocations: 108.4 kB / 0.4886 GB, free: 1.312 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.7196, allocations: 0.4944 MB / 0.4891 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.7197, allocations: 19.16 kB / 0.4891 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.7198, allocations: 26.69 kB / 0.4891 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001163/0.721, allocations: 415.7 kB / 0.4895 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.722, allocations: 450.1 kB / 0.49 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.7221, allocations: 0 / 0.49 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.187e-05/0.7221, allocations: 4 kB / 0.49 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.7221, allocations: 11.5 kB / 0.49 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004987/0.7271, allocations: 1.661 MB / 0.4916 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002567/0.7298, allocations: 0.4951 MB / 0.4921 GB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004862/0.7303, allocations: 181.6 kB / 0.4923 GB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/0.7316, allocations: 0.8627 MB / 0.4931 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.7317, allocations: 38.44 kB / 0.4931 GB, free: 14.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 3.977e-06/0.7317, allocations: 3.938 kB / 0.4932 GB, free: 14.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=61): time 0.007187/0.7389, allocations: 1.684 MB / 0.4948 GB, free: 12.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.739, allocations: 59.91 kB / 0.4949 GB, free: 12.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.7403, allocations: 0.6407 MB / 0.4955 GB, free: 12.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.7405, allocations: 29.7 kB / 0.4955 GB, free: 12.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/0.7409, allocations: 414.6 kB / 0.4959 GB, free: 12.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/0.7412, allocations: 210.2 kB / 0.4961 GB, free: 11.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.7413, allocations: 0 / 0.4961 GB, free: 11.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.7414, allocations: 340.2 kB / 0.4964 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005376/0.742, allocations: 190.5 kB / 0.4966 GB, free: 11.53 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006275/0.7426, allocations: 310.2 kB / 0.4969 GB, free: 11.28 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.7437, allocations: 291.4 kB / 0.4972 GB, free: 11.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.7438, allocations: 0 / 0.4972 GB, free: 11.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003372/0.7471, allocations: 0.8675 MB / 0.498 GB, free: 10.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.7472, allocations: 4 kB / 0.498 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.7472, allocations: 8.094 kB / 0.498 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.7484, allocations: 191.3 kB / 0.4982 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.7498, allocations: 155.5 kB / 0.4984 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005372/0.7552, allocations: 2.518 MB / 0.5008 GB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.7563, allocations: 8 kB / 0.5008 GB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.7565, allocations: 31.61 kB / 0.5009 GB, free: 7.969 MB / 394.7 MB Warning: Assuming fixed start value for the following 2 variables: surgeTank.Vdot:VARIABLE(start = surgeTank.Vdot_0 unit = "m3/s" ) "Water flow rate" type: Real penstock.Vdot:VARIABLE(start = penstock.Vdot_0 unit = "m3/s" ) "Flow rate" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.surgeTank.v:DUMMY_DER(fixed = false ) "Water velocity" 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.0003255/0.7568, allocations: 128.7 kB / 0.501 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002885/0.7597, allocations: 0.6857 MB / 0.5017 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.76, allocations: 86.88 kB / 0.5017 GB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003152/0.7631, allocations: 0.7365 MB / 0.5025 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/0.7632, allocations: 15.94 kB / 0.5025 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.7632, allocations: 0 / 0.5025 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.7632, allocations: 0 / 0.5025 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004861/0.7681, allocations: 1.432 MB / 0.5039 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.7682, allocations: 0 / 0.5039 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002497/0.7707, allocations: 251.2 kB / 0.5041 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001315/0.772, allocations: 202.3 kB / 0.5043 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.608e-05/0.7721, allocations: 4 kB / 0.5043 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00734/0.7795, allocations: 4.994 MB / 0.5092 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.7795, allocations: 0 / 0.5092 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003711/0.7833, allocations: 1.067 MB / 0.5102 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/0.7838, allocations: 174 kB / 0.5104 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.784, allocations: 0 / 0.5104 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007062/0.7847, allocations: 11.98 kB / 0.5104 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/0.7849, allocations: 43.25 kB / 0.5105 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.404e-05/0.785, allocations: 15.44 kB / 0.5105 GB, free: 15.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000975/0.786, allocations: 497.6 kB / 0.5109 GB, free: 14.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.786, allocations: 0 / 0.5109 GB, free: 14.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001574/0.7876, allocations: 267.7 kB / 0.5112 GB, free: 14.67 MB / 410.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,surgeTank.m,surgeTank.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.005428/0.793, allocations: 2.048 MB / 0.5132 GB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00226/0.7953, allocations: 0.6898 MB / 0.5139 GB, free: 12.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.7954, allocations: 0 / 0.5139 GB, free: 12.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001784/0.7972, allocations: 474.9 kB / 0.5143 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.7986, allocations: 141.7 kB / 0.5145 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00465/0.8032, allocations: 1.414 MB / 0.5158 GB, free: 10.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007339/0.804, allocations: 0.9887 MB / 0.5168 GB, free: 9.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008009/0.8049, allocations: 93.33 kB / 0.5169 GB, free: 9.496 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006105/0.8055, allocations: 322.3 kB / 0.5172 GB, free: 9.418 MB / 410.7 MB Notification: Performance of SimCode: time 1.262e-06/0.8055, allocations: 0 / 0.5172 GB, free: 9.418 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09599/0.9015, allocations: 19.18 MB / 0.5359 GB, free: 6.285 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003117/0.9019, allocations: 158.7 kB / 0.5361 GB, free: 6.078 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.117/4.019, allocations: 0 / 0.5361 GB, free: 6.078 MB / 426.7 MB