Error while running SUMO with OMNet++

451 views
Skip to first unread message

Abdullah Ahad

unread,
Nov 14, 2012, 7:22:52 AM11/14/12
to omn...@googlegroups.com
Hi,

I have run vein's example (erlangen) in OMNet++ and it is running without error. But when I am running my SUMO simulation in same way it is showing error. And also windows OS is showing some error like opp_run.exe has stopped working.  Below the error of OMNet++ is given:

Simulation terminated with exit code: -2147483645
Working directory: C:/Users/ahad/src/veins-2.0-rc2/examples/veins
Command line: ../../../omnetpp-4.2.2/bin/opp_run.exe -r 0 -c General -n ..;../../src;../../tests -l ../../tests/power/utils/powerTestUtils -l ../../tests/testUtils/miximtestUtils -l ../../src/base/miximbase -l ../../src/modules/miximmodules omnetpp.ini

Environment variables:
PATH=;C:/Users/ahad/src/veins-2.0-rc2/tests/power/utils;C:/Users/ahad/src/veins-2.0-rc2/tests/testUtils;C:/Users/ahad/src/veins-2.0-rc2/src/base;C:/Users/ahad/src/veins-2.0-rc2/src/modules;C:\Users\ahad\src\omnetpp-4.2.2\bin;C:\Users\ahad\src\omnetpp-4.2.2\msys\bin;C:\Users\ahad\src\omnetpp-4.2.2\mingw\bin;C:/Users/ahad/src/omnetpp-4.2.2/ide/./jre/bin/client;C:/Users/ahad/src/omnetpp-4.2.2/ide/./jre/bin;C:/Users/ahad/src/omnetpp-4.2.2/ide/./jre/lib/i386;C:\Users\ahad\src\omnetpp-4.2.2\bin\;C:\Users\ahad\src\omnetpp-4.2.2\bin\\..\msys\bin;C:\Users\ahad\src\omnetpp-4.2.2\bin\\..\mingw\bin;C:\Users\ahad\src\sumo-0.15.0\bin; C:\Program Files\Java\jdk1.7.0;C:\Users\ahad\src\sumo-0.15.0\bin;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\TortoiseSVN\bin;C:\Users\ahad\src\omnetpp-4.2.2\ide;
OMNETPP_IMAGE_PATH=C:\Users\ahad\src\omnetpp-4.2.2\images
____________________________________________________________________________________


N.B:  My sumo simulation is running fine in SUMO environment.

Christoph Sommer

unread,
Nov 14, 2012, 8:01:35 PM11/14/12
to omn...@googlegroups.com
Dear Abdullah,

Simulations using Veins run three programs in parallel: OMNeT++ runs
the network simulation, SUMO runs the road traffic simulation, and
sumo-launchd acts as a proxy between both. Consequently, the first step
should be finding out which program crashed.

Debug output for sumo-launchd can be found on the console, as well as
in its log file. Please refer to its --verbose and --logfile parameters
for controlling how much (and where) information is written.

Debug output for SUMO (both stdout and stderr) is captured by
sumo-launchd and stored in its log files (see above).

Finally, debug output for OMNeT++ can be found on the console
(immediately before the "simulation terminated" line). You can get more
in-depth information by enabling debug-on-errors and running the
simulation with a debugger attached (see below).

You can find more information on debugging at
http://veins.car2x.org/documentation/faq/


Best,

Christoph

Cristian Wilmer Encalada Arevalo

unread,
Oct 13, 2015, 8:09:35 PM10/13/15
to OMNeT++ Users
I had the same problem but it was because sumo is not integrate at the IDE  project, you can edit the file profile like the imagen1 and imagen2 .

After that go to omnet++ and run mingw, and use the command like the imagen3.  

I recommend use sumo 0.19.0 because I had troubles with sumo 0.24.0  

I hope that help you guys.
imagen1.png
imagen2.png
imagen3.png

jeeva arumugam

unread,
Feb 22, 2016, 2:15:20 AM2/22/16
to OMNeT++ Users
Can you please just clarify my doubt...my doubt is about the compatibility of sumo 0.24.0..
Reply all
Reply to author
Forward
0 new messages