[: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(Modelica): time 1.148/1.148, allocations: 111.2 MB / 118.2 MB, free: 15.63 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09374/1.242, allocations: 27.5 MB / 145.7 MB, free: 4.156 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/1.384, allocations: 25.15 MB / 170.8 MB, free: 1.844 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08338/1.467, allocations: 34.91 MB / 205.8 MB, free: 2.762 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003818/1.468, allocations: 59.97 kB / 205.8 MB, free: 2.703 MB / 170.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Lines.mo:186:5-186:70:writable] Error: Subscript 1 + (j - 1) * lines - (j - 2) * (j - 1) * 0.5 of type Real is not a subtype of Integer, Boolean or enumeration. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Lines.mo:186:5-186:70:writable] Error: Variable C[1 + (j - 1) * lines - (j - 2) * (j - 1) * 0.5].p not found in scope Modelica.Electrical.Analog.Lines.M_OLine.segment$s.$for loop scope$.$for loop scope$. Error: Error occurred while flattening model Modelica.Electrical.Analog.Lines.M_OLine Error: Internal error SimCode: The model Modelica.Electrical.Analog.Lines.M_OLine could not be translated to FMU