I have model of vehicle in Aview created according templates from Acar. Model is working without problem. The model in Aview contains also requests from Acar (i.e. from rigid chassis.tpl based on subrutine abgVDM::req907). During normal simulations in View, those requests work without problem.
But after fmu export of model from Aview the model is not working in simulink (Error in supplied FMU: An error occurred in function 'fmi2ExitInitializationMode' for block...), without request fmu from same model works without problem.
Is it possible somehow to export fmu with those subrutine request or not?
The abgVDM subroutines are in the acar solver, as you have noted. One thing that you could do in the past is, when exporting the plant from Adams, use the User Defined Library Name field to specify the name of a different dll file. So for standard co-sim you could point like this:
User Defined Library Name = C:\MSC.Software\Adams\2021_1_801488\win64\acar_solver.dll
(Change the path for your system).
That would work for standard co-sim. I have not tried this explicitly with FMU, but I hope that it will also work for that?
The abgVDM subroutines are in the acar solver, as you have noted. One thing that you could do in the past is, when exporting the plant from Adams, use the User Defined Library Name field to specify the name of a different dll file. So for standard co-sim you could point like this:
User Defined Library Name = C:\MSC.Software\Adams\2021_1_801488\win64\acar_solver.dll
(Change the path for your system).
That would work for standard co-sim. I have not tried this explicitly with FMU, but I hope that it will also work for that?