I found if you use magmatic engines on both the oxygen collector and oxygen compressor will fill the tanks. Its a bit glitchy though as it constantly says that it has power and doesn't but its still a solution. It might work with other engines too but I haven't tested it.