Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_LinearSystems2_Modelica_LinearSystems2.Controller.Examples.InverseDoublePendulum.conf.json Using package Modelica_LinearSystems2 with version 2.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 4.0.0.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 4.0.0/package.mo) Running command: "" <> buildModelFMU(Modelica_LinearSystems2.Controller.Examples.InverseDoublePendulum,fileNamePrefix="Modelica_LinearSystems2_Modelica_LinearSystems2_Controller_Examples_InverseDoublePendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 4.0.0/package.mo): time 0.00283/0.002829, allocations: 89.73 kB / 12.65 MB, free: 2.668 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 4.0.0.mo): time 0.001945/0.001945, allocations: 180.4 kB / 13.34 MB, free: 1.977 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/package.mo): time 2.173/2.173, allocations: 225.3 MB / 239.2 MB, free: 11.11 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/package.mo): time 0.3595/0.3595, allocations: 45.88 MB / 336 MB, free: 14.75 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Skipped loading package DymolaCommands (1.8,default) using MODELICAPATH /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ (uses-annotation may be wrong). Notification: Performance of FrontEnd - loaded program: time 0.0008963/0.0008964, allocations: 4 kB / 402.8 MB, free: 27.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1196, allocations: 59.46 MB / 462.2 MB, free: 392 kB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6355/0.7552, allocations: 159.5 MB / 0.6072 GB, free: 15.06 MB / 458.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/package.mo:6:3-7:74:writable] Warning: classDirectory() is a non-standard operator that was replaced by Modelica.Utilities.Files.loadResource(uri) before it was added to the language specification. Notification: Performance of FrontEnd - mkProgramGraph: time 0.000558/0.7558, allocations: 110.6 kB / 0.6073 GB, free: 15.01 MB / 458.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Utilities/Streams.mo:207:5-207:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Utilities/Streams.mo:208:5-208:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Utilities/Streams.mo:207:5-207:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Utilities/Streams.mo:208:5-208:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Utilities/Streams.mo:207:5-207:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Utilities/Streams.mo:208:5-208:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/Controller/MatrixGain.mo:32:3-32:11:writable] Error: Incompatible argument types to operation matrix multiplication in component feedbackMatrix, left type: Real[nrow, ncol], right type: Real[0] [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/Controller/MatrixGain.mo:32:3-32:11:writable] Error: Cannot resolve type of expression K2 * u. The operands have types Real[nrow, ncol], Real[0] in component feedbackMatrix. Error: Error occurred while flattening model Modelica_LinearSystems2.Controller.Examples.InverseDoublePendulum Notification: Performance of FrontEnd: time 0.01627/0.7721, allocations: 3.875 MB / 0.6111 GB, free: 11.68 MB / 458.7 MB