Running command: translateModel(OpenHPL.Tests.TorpaHPPAirCushionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Tests.TorpaHPPAirCushionTest") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(OpenHPL): time 2.018/2.018, allocations: 258 MB / 265 MB, free: 15.86 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.657e-06/9.732e-06, allocations: 0 / 327.4 MB, free: 1.375 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2433, allocations: 60.22 MB / 387.7 MB, free: 7.055 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.177/0.4203, allocations: 95.55 MB / 483.2 MB, free: 8.07 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.4206, allocations: 91.94 kB / 483.3 MB, free: 7.98 MB / 410.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: time 0.07042/0.4911, allocations: 15.33 MB / 498.6 MB, free: 8.625 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.673e-05/0.4912, allocations: 16 kB / 498.6 MB, free: 8.609 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.002401/0.4936, allocations: 1.012 MB / 499.7 MB, free: 7.551 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.4936, allocations: 12.03 kB / 499.7 MB, free: 7.539 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004418/0.4941, allocations: 102.8 kB / 499.8 MB, free: 7.438 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.4952, allocations: 0.4952 MB / 0.4885 GB, free: 6.902 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.4953, allocations: 16 kB / 0.4886 GB, free: 6.887 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.4954, allocations: 35.91 kB / 0.4886 GB, free: 6.852 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001205/0.4966, allocations: 413.9 kB / 0.489 GB, free: 6.449 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.4978, allocations: 448.1 kB / 0.4894 GB, free: 6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.4978, allocations: 0 / 0.4894 GB, free: 6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.397e-05/0.4979, allocations: 0 / 0.4894 GB, free: 6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.4979, allocations: 12 kB / 0.4894 GB, free: 5.988 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004815/0.5027, allocations: 1.656 MB / 0.491 GB, free: 4.281 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.5048, allocations: 488 kB / 0.4915 GB, free: 3.797 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004422/0.5053, allocations: 182.1 kB / 0.4917 GB, free: 3.617 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/0.5064, allocations: 0.8588 MB / 0.4925 GB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.5065, allocations: 46.91 kB / 0.4926 GB, free: 2.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=51): time 3.71e-06/0.5065, allocations: 0 / 0.4926 GB, free: 2.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=61): time 0.006646/0.5132, allocations: 1.687 MB / 0.4942 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.5133, allocations: 59.91 kB / 0.4943 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.5145, allocations: 0.6333 MB / 0.4949 GB, free: 60 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.995e-05/0.5147, allocations: 25.7 kB / 0.4949 GB, free: 28 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.5149, allocations: 295.9 kB / 0.4952 GB, free: 15.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.5152, allocations: 208.9 kB / 0.4954 GB, free: 15.53 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.5152, allocations: 0 / 0.4954 GB, free: 15.53 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.5154, allocations: 341.9 kB / 0.4957 GB, free: 15.19 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005453/0.516, allocations: 193.6 kB / 0.4959 GB, free: 15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000638/0.5166, allocations: 314 kB / 0.4962 GB, free: 14.65 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.5178, allocations: 294 kB / 0.4965 GB, free: 14.37 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.274e-06/0.5178, allocations: 0 / 0.4965 GB, free: 14.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003145/0.521, allocations: 0.877 MB / 0.4973 GB, free: 13.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.5211, allocations: 4 kB / 0.4973 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.5211, allocations: 4 kB / 0.4973 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.5221, allocations: 192.2 kB / 0.4975 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009266/0.5231, allocations: 159.8 kB / 0.4977 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005071/0.5282, allocations: 2.462 MB / 0.5001 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008567/0.5291, allocations: 15.98 kB / 0.5001 GB, free: 10.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.743e-05/0.5292, allocations: 28 kB / 0.5001 GB, free: 10.5 MB / 442.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.000282/0.5295, allocations: 132.6 kB / 0.5003 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/0.5297, allocations: 86.95 kB / 0.5003 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002918/0.5326, allocations: 0.7402 MB / 0.5011 GB, free: 9.527 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.5327, allocations: 4 kB / 0.5011 GB, free: 9.523 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5327, allocations: 0 / 0.5011 GB, free: 9.523 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.5327, allocations: 11.97 kB / 0.5011 GB, free: 9.512 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004606/0.5373, allocations: 1.43 MB / 0.5025 GB, free: 8.023 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.5374, allocations: 4 kB / 0.5025 GB, free: 8.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/0.5392, allocations: 259.8 kB / 0.5027 GB, free: 7.766 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001101/0.5403, allocations: 200.2 kB / 0.5029 GB, free: 7.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.953e-05/0.5404, allocations: 4 kB / 0.5029 GB, free: 7.566 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007418/0.5479, allocations: 4.943 MB / 0.5077 GB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.894e-06/0.5479, allocations: 0 / 0.5077 GB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003431/0.5513, allocations: 1.077 MB / 0.5088 GB, free: 1.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003831/0.5518, allocations: 168 kB / 0.509 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.5519, allocations: 0 / 0.509 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005833/0.5525, allocations: 15.98 kB / 0.509 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.5527, allocations: 28.45 kB / 0.509 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.202e-05/0.5527, allocations: 16 kB / 0.509 GB, free: 0.918 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0009186/0.5537, allocations: 495.1 kB / 0.5095 GB, free: 452 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0013/0.555, allocations: 259.9 kB / 0.5097 GB, free: 192 kB / 442.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.0012/0.5562, allocations: 388.5 kB / 0.5101 GB, free: 15.87 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001965/0.5582, allocations: 0.662 MB / 0.5108 GB, free: 15.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.2e-06/0.5582, allocations: 0 / 0.5108 GB, free: 15.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001426/0.5596, allocations: 442 kB / 0.5112 GB, free: 14.76 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.5608, allocations: 145.9 kB / 0.5113 GB, free: 14.62 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.5644, allocations: 1.285 MB / 0.5126 GB, free: 13.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/0.5656, allocations: 1.059 MB / 0.5136 GB, free: 12.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.664e-06/0.5656, allocations: 0 / 0.5136 GB, free: 12.2 MB / 458.7 MB Notification: Performance of Templates: time 0.167/0.7327, allocations: 12.76 MB / 0.5261 GB, free: 174.4 MB / 458.7 MB