Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.StateGraph.Examples.ControlledTanks.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.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_3_1_cpp_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.112/1.112, allocations: 111.2 MB / 124.2 MB, free: 11.14 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.93e-05/2.934e-05, allocations: 4 kB / 154.4 MB, free: 13.05 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1758, allocations: 25.15 MB / 179.5 MB, free: 0.8008 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06936/0.2452, allocations: 36.55 MB / 216.1 MB, free: 12.55 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.2456, allocations: 67.97 kB / 216.1 MB, free: 12.48 MB / 186.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/StateGraph.mo:1516:7-1518:38:writable] Warning: Component inflow1 in env: Modelica.StateGraph.Examples.Utilities.Tank has the same name as its type Modelica.StateGraph.Examples.Utilities.inflow1. This is forbidden by Modelica specification and may lead to lookup errors. Error: Error occurred while flattening model Modelica.StateGraph.Examples.ControlledTanks Notification: Performance of FrontEnd: time 0.09934/0.3449, allocations: 13.68 MB / 229.8 MB, free: 14.74 MB / 202.7 MB