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: "" <> 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.17/1.17, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003856, allocations: 12 kB / 158.3 MB, free: 15.12 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06591/0.06634, allocations: 25.17 MB / 183.5 MB, free: 5.906 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Lines.M_OLine): time 0.004404/0.07081, allocations: 2.531 MB / 186 MB, free: 3.371 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.07322, allocations: 0.9126 MB / 187 MB, free: 2.457 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002866/0.07354, allocations: 11.94 kB / 187 MB, free: 2.445 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006305/0.07419, allocations: 139.4 kB / 187.1 MB, free: 2.309 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005323/0.07474, allocations: 179.5 kB / 187.3 MB, free: 2.133 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. Notification: Performance of FrontEnd: time 0.0001284/0.07488, allocations: 11.98 kB / 187.3 MB, free: 2.121 MB / 154.7 MB