Builds the model according to the configured actions.
The context parameter is only required if ContextualModelBuildActions are used.