Skip to content

Commit

Permalink
- BuildModelRecursive.mos now sets a ulimit on time
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@11384 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Mar 12, 2012
1 parent b11e136 commit 72a80ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Examples/BuildModelRecursive.mos
Expand Up @@ -40,7 +40,6 @@ a:={typeNameString(x) for x guard
and ((not max("Utilities" == s for s in typeNameStrings(x))) or subScript(typeNameStrings(x),2) == "Utilities")
and (not max("Components" == s for s in typeNameStrings(x)))
and (not max("BaseClasses" == s for s in typeNameStrings(x)))
and (not max("EngineV6" == s for s in typeNameStrings(x))) /* Until it has acceptable performance */
and isModel(x)
and (not isPartial(x))
in getClassNames(recursive=true,sort=true)};
Expand Down Expand Up @@ -88,7 +87,7 @@ str:=\"<tr><td>\" + (if err <> \"\" then \"<a href=\"+errFile+\">"+s+"</a>\" els
writeFile(statFile,str);getErrorString();
") for s in a);
getErrorString();
min(0==system(omc + " " + s + ".mos") for s in a);
min(0==system("ulimit -t 180 ; " + omc + " " + s + ".mos") for s in a);
getErrorString();

echo(false);
Expand Down

0 comments on commit 72a80ea

Please sign in to comment.