A County Championship warm-up match saw Warwickshire pile on 504 runs for no loss in one innings, using eight different batters.