Returns the Modifiers name in the vendor annotation example annotation(__OpenModelica_simulationFlags(solver="dassl")) calling sequence should be getAnnotationNamedModifiers(className,"__OpenModelica_simulationFlags") which returns {solver}.
function getAnnotationNamedModifiers input TypeName name; input String vendorannotation; output String[:] modifiernamelist; end getAnnotationNamedModifiers;