Construction of local reduced spaces for Friedrichs' systems via randomized training | Synapse