.gitignore for Modelica
29 ignore rules for Modelica, ready to copy into your repository.
Object-oriented modeling language
The complete .gitignore for Modelica
# Generated by LFGitignore - https://lfgitignore.com
# Created: 2026-08-05 01:31:13 UTC
# Technologies: Modelica
### Modelica ###
# Backup file
*.bak
# Tape archive
*.tar
# Emacs backup files
*~
# *\#
\
*.bak-mo
# RAR archive
*.rar
# Windows executable
*.exe
*.mof
# Gzip compressed file
*.gz
*.moe
*.mol
# ZIP archive
*.zip
*.exp
*.pyc
*.mat
buildlog.txt
# Object file
*.o
dsfinal.txt
dsin.txt
dslog.txt
dsmodel*
dsres.txt
dymosim*
request
stat
status
stop
success
*.
What these Modelica rules actually ignore
Every pattern below, and why it belongs in your .gitignore.
General
| Pattern | What it ignores |
|---|---|
*.bak |
Backup file |
*.tar |
Tape archive |
*~ |
Emacs backup files |
\ |
*\# |
*.bak-mo |
General |
*.rar |
RAR archive |
*.exe |
Windows executable |
*.mof |
General |
*.gz |
Gzip compressed file |
*.moe |
General |
*.mol |
General |
*.zip |
ZIP archive |
*.exp |
General |
*.pyc |
General |
*.mat |
# Simulation files |
buildlog.txt |
# Dymola-specific files |
*.o |
Object file |
dsfinal.txt |
General |
dsin.txt |
General |
dslog.txt |
General |
dsmodel* |
General |
dsres.txt |
General |
dymosim* |
General |
request |
General |
stat |
General |
status |
General |
stop |
General |
success |
General |
*. |
General |
How to use this .gitignore for Modelica
- Copy the Modelica rules above, or download the file directly.
- Create a file named .gitignore at the root of your Git repository and paste the rules into it.
- If some of those files are already tracked, run git rm -r --cached . then commit again — Git only applies ignore rules to untracked files.
- Commit the .gitignore so everyone on the team shares the same rules.