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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Lines.M_OLine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Lines.M_OLine") Notification: Performance of loadModel(Modelica): time 1.211/1.211, allocations: 111.2 MB / 127.3 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002599/0.00026, allocations: 8 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05385/0.05413, allocations: 25.17 MB / 184.1 MB, free: 6.016 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Lines.M_OLine): time 0.004219/0.0584, allocations: 2.527 MB / 186.6 MB, free: 3.484 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.06085, allocations: 0.9048 MB / 187.5 MB, free: 2.578 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003596/0.06126, allocations: 8 kB / 187.5 MB, free: 2.57 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006761/0.06198, allocations: 147.3 kB / 187.6 MB, free: 2.426 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005473/0.06254, allocations: 183.5 kB / 187.8 MB, free: 2.246 MB / 154.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Lines.mo:186:5-186:70:writable] Error: Subscript '1 + (j - 1) * s.lines - (j - 2) * (j - 1) * 0.5' has type Real, expected type Integer.