Building & Flashing OSQP code in dSpace/ControlDesk

We have a OSQP-based optimal controller that compiles and builds successfully in simulation but when we try to flash it in dSpace/ControlDesk, it keep throwing some Exceptions errors in Real-Time Program. I have attached one example.
We bypassed all the OSQP calls and it can be built with no error. So I was wondering if OSQP source code is compatible with dSpace since apparently these exceptions are happening in the solver code.