Opened 6 years ago

Closed 6 years ago

#5042 closed defect (invalid)

OMSimulator error locating the .so file in an FMU

Reported by: Boldizsár Németh <nboldi@…> Owned by: Lennart Ochel
Priority: high Milestone: Future
Component: OMSimulator Version:
Keywords: Cc:

Description

When trying to load the attached FMU to OMSimulator:

nboldi@nboldi-VirtualBox:~/OMSimulator$ build/linux/src/OMSimulator/OMSimulator -d ~/Desktop/testmodel/fmuproba.fmu 
error:   module FMICAPI: Could not load the DLL: /tmp/temp_NUmnMp/binaries/linux64/fmuproba.so: cannot open shared object file: No such file or directory
error:   Could not create the DLL loading mechanism (C-API). Error: Could not load the DLL: /tmp/temp_NUmnMp/binaries/linux64/fmuproba.so: cannot open shared object file: No such file or directory
warning: --describe not supported yet
info:    Removed model from scope: model
info:    1 warnings
info:    2 errors

Attachments (1)

fmuproba.fmu (4.8 KB ) - added by anonymous 6 years ago.

Download all attachments as: .zip

Change History (3)

by anonymous, 6 years ago

Attachment: fmuproba.fmu added

comment:1 by Lennart Ochel, 6 years ago

This is a problem with the FMU itself. The shared library has to be named <modelIdentifier>.so according to the FMI specification.

in reply to:  1 comment:2 by Boldizsár Németh <nboldi@…>, 6 years ago

Resolution: invalid
Status: newclosed

Thanks! My bad.

Note: See TracTickets for help on using tickets.