I am currently using FMIKit for Simulink found here https://github.com/CATIA-Systems/FMIKit-Simulink
From the documentation it works very well to query values of parameters within the FMU using FMIKit.getStartValue(FMUBLOCK, 'Variablename');
but only if you know the name and structure of the variable you are looking for.
I wanted to know if there is a way to extract the full list of variables in the FMU together with their values just before I start the simulation (for sim debugging purposes)?