Generating valid cellml