Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.StateGraph.Examples.ControlledTanks") Notification: Performance of loadModel(Modelica): time 1.031/1.031, allocations: 111.2 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.177e-05/1.181e-05, allocations: 0 / 148.1 MB, free: 6.238 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04426/0.0443, allocations: 25.18 MB / 173.3 MB, free: 13.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1684/0.2127, allocations: 35.88 MB / 209.2 MB, free: 6.969 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001793/0.2129, allocations: 63.41 kB / 209.2 MB, free: 6.969 MB / 170.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.03912/0.2521, allocations: 13.4 MB / 222.6 MB, free: 3.27 MB / 170.7 MB