Dimension means size for engineering, formally or informally, and has a vector property associated with it. One can refer to the dimension "length" of a couch when buying furniture or on a mechanical drawing designing it. "Size" is more general. The words are synonyms; it is the usage which differs.