Well, you know how to run your model in C++, right?
Then you’d imitate the C++ extension tutorial 11 but instead of implementing lltm you call your model.
You could either make the model a static global variable or pass it around as a shared ptr.
Best regards
Thomas