improved atomic function support: it is now possible to use atomic functions from models compiled in the same dynamic library