Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Analog.Lines.M_OLine.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Lines.M_OLine,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Lines_M_OLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.059/1.059, allocations: 111.2 MB / 119.1 MB, free: 11.19 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.237e-05/3.255e-05, allocations: 7.984 kB / 148.2 MB, free: 6.121 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0654/0.06548, allocations: 25.17 MB / 173.4 MB, free: 12.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2155/0.281, allocations: 34.98 MB / 208.4 MB, free: 5.023 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.2813, allocations: 61.7 kB / 208.4 MB, free: 5.023 MB / 170.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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 Notification: Performance of FrontEnd: time 0.1006/0.3819, allocations: 23.65 MB / 232.1 MB, free: 13.73 MB / 186.7 MB