Module
late 16th century (in the senses ‘allotted scale’ and ‘plan, model’): from French, or from Latin modulus (see modulus). Current senses date from the 1950s.
wiktionary
Borrowed from French module, from Latin modulus(“a small measure, a measure, mode, meter”), diminutive of modus(“measure”) (whence mode). Doublet of mold.
etymonline
module (n.)
1580s, "allotted measure," a sense now obsolete, from French module (1540s) or directly from Latin modulus "small measure," diminutive of modus "measure, manner" (from PIE root *med- "take appropriate measures").
Sense of "a standard measure to regulate proportions" is from 1620s. Meaning "interchangeable part" is recorded by 1955, via the notion of "length chosen as the basis for the dimensions of parts of a building, etc." (1936); that of "separate section of a spacecraft" is from 1961.