There's the rayopt[1] Python library. You can find a repo of notebooks modelling a bunch of lenses from the original patents here[2]. I've played around a bit with that myself, modelling a Voigtländer Color-Skopar.
[1] https://github.com/quartiq/rayopt [2] https://github.com/quartiq/rayopt-notebooks
Take a look on Etienne de Foras'[0] Astree[1] (an amateur telescope making FLOSS app to help with optical design and optimisation) and on Foucault2[2] (an amateur telescope making FLOSS app to help with mirror design and polishing).
Astree in most cases is enough alternative to proprietary Zemax (+ Astree already support ZMX file format).[3]
[0] http://edeforas.free.fr/?cat=6
[1] https://github.com/edeforas/Astree
At some point I want to do this, and this plugin might seem helpful.