Patch: Inline jmi_get_index_from_value_ref

Folder: 
RuntimeLibrary

When profiling an optimization run using an FMU generated by JModelica 1.15, it turned out that some 3% of the total execution time was spent in jmi_get_index_from_value_ref().

 

The attached patch redefines this function as a #define.