changed handling of external/atomic functions;
sparse arrays are used by external functions;
some bugfixes in array space reutilization;
improved array initialization in the generated source code.
updated tests to use addExternalModel();
fixed plugflow test
improved speed test to disable some measurements if desired;
updated related to a change in plugflow model