Analysis of the heterogeneous multiscale method for ordinary differential equations | Synapse