private RankProfilesConfig.Rankprofile.Fef findProfile(String name, RankProfilesConfig config) {
        for (RankProfilesConfig.Rankprofile profile : config.rankprofile()) {
            if (profile.name().equals(name))
                return profile.fef();
        }
        throw new IllegalArgumentException("No profile named " + name);
    }
Tests that we do not load models (which would waste memory) when not requested
config-model/src/test/java/com/yahoo/vespa/model/ml/ModelEvaluationTest.java