Well I fixed it by changing the type of `fmi2CallbackFunctions` into `ref object` instead of `object` and then using directly `fmi2CallbackFunctions` instead of `ptr fmi2CallbackFunctions` in the function call.
- fmusdk - SIGSEGV with ARC mantielero
- fmusdk - SIGSEGV with ARC Stefan_Salewski
- fmusdk - SIGSEGV with ARC mantielero
- fmusdk - SIGSEGV with ARC Stefan_Salewski
- fmusdk - SIGSEGV with ARC mantielero
- fmusdk - SIGSEGV with ARC Yardanico
- fmusdk - SIGSEGV with ARC mantielero
- fmusdk - SIGSEGV with ARC mantielero
- fmusdk - SIGSEGV with ARC Yardanico
- fmusdk - SIGSEGV with ARC shirleyquirk
- fmusdk - SIGSEGV with ARC mantielero
- fmusdk - SIGSEGV with ARC shirleyquirk
- fmusdk - SIGSEGV with ARC mantielero