Running command: translateModel(OpenHPL.Tests.TorpaHPPAirCushionTest2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Tests.TorpaHPPAirCushionTest2") [: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.013/2.013, allocations: 258 MB / 265 MB, free: 15.87 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.453e-05/1.463e-05, allocations: 4 kB / 327.4 MB, free: 1.395 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2727, allocations: 60.22 MB / 387.7 MB, free: 7.07 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1685/0.4412, allocations: 95.51 MB / 483.2 MB, free: 8.125 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.4415, allocations: 87.95 kB / 483.2 MB, free: 8.039 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.07114/0.5127, allocations: 15.23 MB / 498.5 MB, free: 8.781 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.749e-05/0.5128, allocations: 20 kB / 498.5 MB, free: 8.762 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.002387/0.5152, allocations: 1.012 MB / 499.5 MB, free: 7.703 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.5152, allocations: 8.031 kB / 499.5 MB, free: 7.695 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004638/0.5157, allocations: 106.8 kB / 499.6 MB, free: 7.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.5169, allocations: 0.4913 MB / 0.4884 GB, free: 7.059 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/0.5169, allocations: 20 kB / 0.4884 GB, free: 7.039 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.5171, allocations: 31.91 kB / 0.4884 GB, free: 7.008 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001209/0.5183, allocations: 413.8 kB / 0.4888 GB, free: 6.605 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.5194, allocations: 436.2 kB / 0.4893 GB, free: 6.168 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.5195, allocations: 0 / 0.4893 GB, free: 6.168 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.207e-05/0.5195, allocations: 0 / 0.4893 GB, free: 6.168 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.5196, allocations: 12 kB / 0.4893 GB, free: 6.156 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004841/0.5244, allocations: 1.656 MB / 0.4909 GB, free: 4.449 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.5265, allocations: 480.1 kB / 0.4913 GB, free: 3.969 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000444/0.527, allocations: 182 kB / 0.4915 GB, free: 3.789 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/0.5281, allocations: 0.8588 MB / 0.4924 GB, free: 2.746 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.5282, allocations: 39 kB / 0.4924 GB, free: 2.699 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 3.458e-06/0.5282, allocations: 0 / 0.4924 GB, free: 2.699 MB / 426.7 MB Notification: Performance of matching and sorting (n=60): time 0.006663/0.5348, allocations: 1.671 MB / 0.494 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.5349, allocations: 59.91 kB / 0.4941 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.5362, allocations: 0.6411 MB / 0.4947 GB, free: 252 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.932e-05/0.5363, allocations: 25.7 kB / 0.4947 GB, free: 220 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.5366, allocations: 292 kB / 0.495 GB, free: 15.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/0.5368, allocations: 205 kB / 0.4952 GB, free: 15.72 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.5369, allocations: 0 / 0.4952 GB, free: 15.72 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.5371, allocations: 345.8 kB / 0.4955 GB, free: 15.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000531/0.5376, allocations: 185.6 kB / 0.4957 GB, free: 15.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006438/0.5383, allocations: 310.1 kB / 0.496 GB, free: 14.85 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.5394, allocations: 289.9 kB / 0.4963 GB, free: 14.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.717e-06/0.5394, allocations: 0 / 0.4963 GB, free: 14.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003105/0.5426, allocations: 0.8576 MB / 0.4971 GB, free: 13.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.5426, allocations: 8 kB / 0.4971 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.5427, allocations: 7.984 kB / 0.4971 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.5437, allocations: 192 kB / 0.4973 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008766/0.5446, allocations: 155.7 kB / 0.4975 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004967/0.5496, allocations: 2.47 MB / 0.4999 GB, free: 10.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008348/0.5504, allocations: 15.98 kB / 0.4999 GB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.861e-05/0.5506, allocations: 36.06 kB / 0.4999 GB, free: 10.71 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 (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.0002728/0.5508, allocations: 112.9 kB / 0.5 GB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.551, allocations: 90.86 kB / 0.5001 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002875/0.5539, allocations: 0.7324 MB / 0.5008 GB, free: 9.758 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.554, allocations: 8 kB / 0.5008 GB, free: 9.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.554, allocations: 4 kB / 0.5009 GB, free: 9.746 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.554, allocations: 3.984 kB / 0.5009 GB, free: 9.742 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004395/0.5584, allocations: 1.419 MB / 0.5022 GB, free: 8.266 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.364e-06/0.5585, allocations: 0 / 0.5022 GB, free: 8.266 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/0.5602, allocations: 255.8 kB / 0.5025 GB, free: 8.016 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00108/0.5613, allocations: 204.2 kB / 0.5027 GB, free: 7.816 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-05/0.5613, allocations: 12 kB / 0.5027 GB, free: 7.805 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007291/0.5686, allocations: 4.939 MB / 0.5075 GB, free: 2.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.629e-06/0.5687, allocations: 8 kB / 0.5075 GB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003307/0.572, allocations: 1.062 MB / 0.5086 GB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/0.5723, allocations: 164 kB / 0.5087 GB, free: 1.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.5725, allocations: 3.906 kB / 0.5087 GB, free: 1.227 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005631/0.5731, allocations: 15.98 kB / 0.5087 GB, free: 1.211 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.5732, allocations: 32.45 kB / 0.5088 GB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/0.5733, allocations: 16 kB / 0.5088 GB, free: 1.164 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0009048/0.5742, allocations: 495.1 kB / 0.5093 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001312/0.5755, allocations: 251.9 kB / 0.5095 GB, free: 452 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 (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.001117/0.5767, allocations: 397.4 kB / 0.5099 GB, free: 116 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001886/0.5786, allocations: 0.6464 MB / 0.5105 GB, free: 15.46 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.5786, allocations: 4 kB / 0.5105 GB, free: 15.45 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.58, allocations: 438.1 kB / 0.5109 GB, free: 15.02 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.5811, allocations: 142 kB / 0.5111 GB, free: 14.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/0.5845, allocations: 1.289 MB / 0.5123 GB, free: 13.56 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/0.5857, allocations: 1.059 MB / 0.5134 GB, free: 12.46 MB / 458.7 MB Notification: Performance of SimCode: time 1.37e-06/0.5857, allocations: 0 / 0.5134 GB, free: 12.46 MB / 458.7 MB Notification: Performance of Templates: time 0.1683/0.754, allocations: 12.62 MB / 0.5257 GB, free: 174.4 MB / 458.7 MB