Can anybody help me?

504 views
Skip to first unread message

babak rezazadeh

unread,
Apr 13, 2013, 8:37:30 AM4/13/13
to omn...@googlegroups.com
Hi all

I am new in omnet++. I installed omnet++4.3 and I wanted to simulate this Demo http://www.omnetpp.org/home/videos. I did everything as the movie said, but when I run, it shows following error. What should I do? Can anybody help me?


<!> Error in module (queueing::Queue) Demo.queue1 (id=4) at event #3, t=0: Error evaluating parameter `serviceTime': Cannot convert unit none to 's' (second).


End.

Simulation terminated with exit code: 1
Working directory: /home/ncs/Desktop/omnetpp-4.3/samples/demo
Command line: demo -r 5 -u Cmdenv -c General -n .:../queueinglib -l ../queueinglib/queueinglib omnetpp.ini

Environment variables:
LD_LIBRARY_PATH=/home/ncs/Desktop/omnetpp-4.3/lib::/home/ncs/Desktop/omnetpp-4.3/samples/queueinglib:/usr/lib/jvm/java-6-openjdk-i386/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk-i386/jre/lib/i386:
PATH=/home/ncs/Desktop/omnetpp-4.3/bin::/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/ncs/Desktop/omnetpp-4.3/bin
OMNETPP_IMAGE_PATH=/home/ncs/Desktop/omnetpp-4.3/images

Rudolf Hornig

unread,
Apr 14, 2013, 6:29:58 AM4/14/13
to omn...@googlegroups.com
In the service time parameter, you should probably specify the time along with the unit i.e. (s). Probably the video was captured whit an earlier version of code which did not require the unit. It is now mandatory.

Rudolf

Elnaz

unread,
Aug 21, 2014, 5:43:54 AM8/21/14
to omn...@googlegroups.com
i have this problem too
i have omnet4.4.1 and creat a project according video demo in omnet site
in console i occure this:

Simulation terminated with exit code: 1

Working directory: D:/omnet/omnetpp-4.4.1/samples/demo

Command line: demo.exe -r 4 -u Cmdenv -c General -n .;../queueinglib -l ../queueinglib/queueinglib demo.ini

 

Environment variables:

OMNETPP_ROOT=d:/omnet/omnetpp-4.4.1

PATH=;D:/omnet/omnetpp-4.4.1/samples/queueinglib;d:\omnet\omnetpp-4.4.1\bin;d:\omnet\omnetpp-4.4.1\msys\bin;d:\omnet\omnetpp-4.4.1\mingw\bin;d:/omnet/omnetpp-4.4.1/ide/jre/bin/client;d:/omnet/omnetpp-4.4.1/ide/jre/bin;d:/omnet/omnetpp-4.4.1/ide/jre/lib/i386;.;D:\omnet\omnetpp-4.4.1\msys\local\bin;d:\omnet\omnetpp-4.4.1\mingw\bin;D:\omnet\omnetpp-4.4.1\msys\bin;d:\omnet\omnetpp-4.4.1\bin;c:\Program Files\PC Connectivity Solution\;e:\Program Files\Common Files\Siemens\Sqlany;e:\Program Files\Siemens\Step7\S7bin;c:\Windows\system32;c:\Windows;c:\Windows\System32\Wbem;c:\Windows\System32\WindowsPowerShell\v1.0\;d:\Program Files\MATLAB\R2011a\runtime\win32;d:\Program Files\MATLAB\R2011a\bin;c:\Program Files\PKWARE\pkzipc;e:\Program Files\Common Files\Siemens;e:\Program Files\Common Files\Siemens\Bin;c:\Program Files\Siemens\WinCC\Interfaces;e:\Program Files\Siemens\WinCC\Interfaces;e:\Interfaces;c:\Program Files\Toshiba\Bluetooth Toshiba Stack\sys\;.;d:\omnet\omnetpp-4.4.1\bin;images\d;D:\omnet\omnetpp-4.4.1\msys\omnet\omnetpp-4.4.1;src\thenv\d;D:\omnet\omnetpp-4.4.1\msys\omnet\omnetpp-4.4.1;lib\d;D:\omnet\omnetpp-4.4.1\msys\omnet\omnetpp-4.4.1;omnetpproot\msys\bin;d:\omnet\omnetpp-4.4.1;

OMNETPP_IMAGE_PATH=d:\omnet\omnetpp-4.4.1\images

 

is there any on help me

thanks

Elnaz

unread,
Aug 21, 2014, 5:45:57 AM8/21/14
to omn...@googlegroups.com
in ini file i use 's' for for time parameters


On Saturday, April 13, 2013 5:07:30 PM UTC+4:30, babak rezazadeh wrote:

Samira Harrabi

unread,
Aug 22, 2014, 3:41:54 PM8/22/14
to omn...@googlegroups.com
i have the same prb

Elnaz

unread,
Aug 25, 2014, 2:14:56 AM8/25/14
to omn...@googlegroups.com
hi samira
in ini file for your timevariables type this:
**.source.interArrivalTime = 0s
**.seviceTime = exponential(${serviceMean=1..3 step 1}s)
's' in new version is necessary.
and every where that you define time put 's' after time

Мария Гълъбова

unread,
Jul 4, 2015, 1:48:32 PM7/4/15
to omn...@googlegroups.com
Hello , I am new to Omnet. I am using omnet++ 4.3.1 , but when i try to build inet it gives me this error, that is similar to your discussion . Cen you help me ? Thank you !
This is the error: 

 Simulation terminated with exit code: 1

Working directory: C:/omnetpp-4.3.1/samples/inet/examples/aodv

Command line: ../../../../bin/opp_run.exe -r 0 -n ..;../../src -l ../../src/inet omnetpp.ini

 

Environment variables:

PATH=;C:/omnetpp-4.3.1/samples/inet/src;C:\omnetpp-4.3.1\bin;C:\omnetpp-4.3.1\msys\bin;C:\omnetpp-4.3.1\mingw\bin;C:/omnetpp-4.3.1/ide/jre/bin/client;C:/omnetpp-4.3.1/ide/jre/bin;C:/omnetpp-4.3.1/ide/jre/lib/i386;C:\Program Files (x86)\Lenovo\FusionEngine;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Lenovo\Bluetooth Software\;C:\Program Files\Lenovo\Bluetooth Software\syswow64;C:\Program Files (x86)\Common Files\lenovo\easyplussdk\bin;C:\Program Files (x86)\Skype\Phone\;C:\omnetpp-4.3.1\ide;

OMNETPP_IMAGE_PATH=C:\omnetpp-4.3.1\images

Alfonso Ariza Quintana

unread,
Jul 6, 2015, 4:15:13 AM7/6/15
to omn...@googlegroups.com

You can run the simulation with the debug and discover in which part of the code the simulation end

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages