+ + sudocat chroot installLibraries.mos /var/www/build.openmodelica.org/virtual_machines/tmp-build/root
tee /installLibraries.mos
updatePackageIndex();getErrorString();
if not installPackage(Modelica, "3") then
print(getErrorString());
exit(1);
end if;
if not installPackage(Modelica, "4") then
print(getErrorString());
exit(1);
end if;
if not installPackage(Buildings) then
print(getErrorString());
exit(1);
end if;
if not installPackage(PowerSystems) then
print(getErrorString());
exit(1);
end if;
getErrorString();