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.158/1.158, allocations: 111.2 MB / 124.2 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.51e-05/2.52e-05, allocations: 0 / 154.4 MB, free: 13.11 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1722, allocations: 25.15 MB / 179.5 MB, free: 0.7227 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06302/0.2353, allocations: 35.64 MB / 215.2 MB, free: 13.37 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.2356, allocations: 67.97 kB / 215.2 MB, free: 13.3 MB / 186.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) * lines - (j - 2) * (j - 1) * 0.5 of type Real is not a subtype of Integer, Boolean or enumeration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 Notification: Performance of FrontEnd: time 0.114/0.3496, allocations: 23.89 MB / 239.1 MB, free: 5.352 MB / 202.7 MB