Initializing help system before first use

# Compiling Models

Complete the following steps to compile a Mosel source file to a BIM file:

1. From the Run Configurations drop-down list (located to the right of the main menu bar, near the top of the screen), select the Mosel source file that you want to compile.
2. Click the Compile button, which is the button directly to the right of the Run Configurations drop-down list.
   Alternatively, press `Ctrl-B`.
3. Check the Output window for any compilation errors.
   If compilation is successful, a BIM file appears with the source file in the file tree.

Note: If the source file loads any packages, Xpress Workbench compiles the packages before compiling the selected source file. Intermediate BIM files are placed in a folder named `out` by default.
Covered Topics

- Configuring Compiler Options
  You can change the options that are used when compiling source files.

Parent Topic Running and Debugging Models

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.