1. A multi-module compilation system for generating execution codes for each of a plurality of modules included in a module system, the multi-module compilation system comprising: a module identifier configured to analyze a program code of the module system and to identify one or more target modules that execute the program code; a module code generator configured to analyze the program code of the module system, divide the program code into one or more module codes for each of the target modules based on identification of the target modules, and generate the module codes; and a compiler configured to compile the module codes to generate execution codes for each of the target modules, wherein the module codes each comprise a module setting portion including content for setting a module and identifier information of the module, an event transmission and reception portion including content of a message transmitted and received between modules, and an event operation portion including content about an operation of the module in response to the message.