Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » jalpanchal
  • » Profile

Posts

Posts

Hi,

I recently noticed a strange issue while using OM.

Problem : Model exe is gets modified (date in the file explorer changes) and .dlls are getting corrupted.

I use OpenModelica1.12.0-alpha-64bit on a Windows 10 machine.

In my setup I have a compiled exe of my Model generated using OpenModelica. I have pasted the required .dlls from the bin folder into the %temp%/OpenModelica/OMEdit folder and I execute the exe using a batch file command
"start /b /d "%temp%/OpenModelica" <name of exe> -rt 1.0 -embeddeServer opc-ua"
What I have observed is the last modified date of the exe changes everytime I run the batch file. Also after a few minutes of simulation certain .dlls like  "libsundials_nvecserial.dll" and a few more get corrupted (file size becomes 0kb)

I then just re copy the dlls from the bin folder and continue using the model.

Any idea why this happens??

I am not really sure what is causing the problem, but maybe its something to do with initialization.
Apart from just commenting the "Ent := 0" line, assigning any non 0 value to Ent causes the code to work (Ent := 0.00001)

Also while running the Debugger it was found that  H gets an initial value H :=0 while h get value h :=functiontest.hl(Tc,T).

Also letting Ent := 0 and putting a when loop works
when(sample(0,1))then
H = hv(Tc, T);
h = hl(Tc, T);
end when;

Not really sure what the problem is though..

Additionally, can any of the developers explain how the "run" , "enable Stop Time" variables  are implemented ? what are they connected to inside the modelica code so as to achieve the functionality of running and pausing a model simulation?

I have been using Modelica's OPC-UA to communicate with a HMI and PLC software by executing the .exe created and then starting the OPC-UA server and it works fine.
I now want to communicate with the software using shared Memory. The communication works fine but the "run" , "enable Stop Time" and "time" variables that OPC-UA provided are not available now.

Is there a way to run/pause a model while executing the .exe of the model created without using the OPC-UA Server ?

Jul-17-17 04:24:32
Category: Programming

Modelica has variables of type "inner" and "outer" which can work as global variables inside a package.
If you could elaborate a little more maybe a better solution an be suggested.

I am guessing you want a saw-tooth wave form. I suggest a use of when for such event trigger situations.

Try this:

Code:


model ResetVariable
Real s;
Real v_grow = 2;
parameter Real s_0 = 0;
parameter Real s_max = 10;

initial equation
s = s_0;

equation

der(s) = v_grow;

when s>s_max then
     reinit(s, s_0);
  end when;
end ResetVariable;

Objects in Modelica have two graphical Views: Icon and Diagram View. To create a custom component, there are quite a few steps involved from making a graphical sketchg/icon and then connecting variables using connectors(if needed). I suggest a good place to start would be ModelicaByExample, where the Graphiical annotations have been explained.

ModelicaByExample

ModelicaByExample - Graphical Annotations

I really need an updated document, can anyone please guide me?

The model "Essai2" by itself has no variables, hence nothing is displayed.
You might want to convert it into a package and I am guessing the model that you want to run is "Circuit"

I have made some changes in your code and this seems to work :

Code:

package Essai2 


type Voltage=Real(unit="V");
type Current=Real(unit="A");

connector Pin
  Voltage v;
  flow Current i;
end Pin;

partial model TwoPin
Pin p,n;
Voltage v "Différence de potentiel";
Current i "Intensité";
equation
  v=p.v-n.v;
  p.i+n.i=0;
  i=p.i;
end TwoPin;

model TensionSinusoidale "source tension sinusoidale"
extends TwoPin;
parameter Real Ac (start=10);
parameter Real f (start=10);
          Real MonPi=3.1416;
equation
  v=Ac*sin(2*MonPi*f*time);
end TensionSinusoidale;

model Resistor
extends TwoPin;
parameter Real R(start=10);
equation
  v=R*i;
end Resistor;

model Ground "masse idéale"
Pin P;
equation
P.v=0.0;
end Ground;


  model Circuit
    // Déclaration des composants
    TensionSinusoidale Alim(Ac = 250, f = 50);
    Resistor R1(R = 2);
    Ground G;
  equation
// Description des connexions
    connect(Alim.p, R1.p);
    connect(Alim.n, G.P);
    connect(R1.n, G.P);
  end Circuit;

 
end Essai2;

try using If instead of when. When is a event trigger(edge) and is triggers only at the instant the event turns true.

Jun-30-17 07:27:12
How can I display any source variable when OMEdit Plotting?

Could you elaborate with an example?

Real x[3] , x2[3]

equation

x = {1,2,3};
x2 = 20*x;

This has worked. Declare x2 also as a Real variable. If it doesn't work, do share your code so that we can have a look.

I have used .so files ( linux equivalent of .dll) and it has worked fine. I followed the instruction given in :
Modelica Specification section 12.9.4

Jun-30-17 06:40:03
Result is not changing for different exe files

The inputInterfaceBlock1.input_y is a variable whose value is written in OpenModelica or you want to write into that from UA Expert?

Jun-30-17 06:32:26
Topic: OPC-UA

Did you get an error? saying some .dll files couldn't be found?

I found that a few 15-20 .dll files also need to be present with the .exe and init xml files so run the executable and with or without the opc-ua server


How I got this setup working was like this:
1.Simulate the model from OMShell/OMEdit so as to generate the .exe and init xml file
2.Copy all the .dll files from <OM installation path>\bin folder into the %temp%\OpenModelica\OMEdit folder which contains all the model files (this is done so that if the model is changed and resimulated, the .exe is automatocally updated)
3.Now run the command in the command Prompt :  %temp5\OpenModelica\OMEdit\xxx.exe -rt 1.- -embeddedServer opc-ua
4.Once it is running successfully you can delete all the .dll files form the folder and you get get a error saying some are in use and cannot be deleted. Skip all of them and you will only be left with the ones that are needed

Do tell me If you need more help and if you want to run the exe in the background without the CMD window. A batch file needs to be written in that case

Can someone guide me to the latest copy of OpenModelicaSystem doc for developers?

The file I found on OpenModelica Github was last updated in 2014.

Jan-12-17 10:23:56
Recipe for OPC integration needed!

Hi Marco,

I have used OpenModelica 1.10 thru 1.12 on linux and windows (32 and 64 bit) and have faced no such problems with OPC-UA server. Though, I have never been able to setup an OPC-DA server.

Steps followed:

  • Select Clock = RT in Simulation Setup

  • Additional Simulation Flag : -rt 1.0 -embeddedServer opc-ua


  • This has always worked.
    What exactly do you mean by not recognising "-rt=1.0" ? Could you please elaborate?

    Cheers.

    Dec-24-16 16:08:48
    Changing OPC UA Server Port

    Alright so I now have an update!

    1. First, it was the problem with the port number 4841. At that point I was using Movicon NeXT annd after having a chat with Movicon we figured it was something to do with their software. OPC-UA in that software is still in beta version or not fully developed. I then shifted to Ignition software and it has been working fine with that


    2. And I was successfully able to change the OPC-UA port from the documents youv've mentioned and re build the omc. It worked! I was able to Start an OPC-UA srever from a Modelica code using omc at my new server port.



    Thank you current/smile

    Solved!

    So as I said the pkg.m4 wasn't in the expected location "/usr/local/share/aclocal". I reinstalled the dependencies but pkg.m4 was still going to "/usr/share/aclocal"

    I checked Automake and followed the following steps:


    • Created a dirlist file in "usr/local/share/aclocal" directory  and added a line "/usr/share/aclocal" in to it


    • typed $ aclocal -I /usr/share/aclocal/ in shell as a backup before continuing with autosonf and subsequent steps to compile omc


    Thank you @spinnau for pointing out the problem current/smile

    Alright So I found pkg.m4

    aclocal --print-ac-dir returns /usr/local/share/aclocal

    But pkg.m4 is in /usr/share/aclocal/


    I tried purging m4, autoconf, automake, libtool, pkg-config and reinstall from bash commands

    I still couldn't find pkg.m4 in the aclocal dir.

    Also I checked autoconf. I seem to get this in the dpkg list

    Code:


    ii  autoconf       2.69-9       all          automatic configure script builde
    ii  autoconf-archi 20150925-1   all          Autoconf Macro Archive

    Oh. I got this in that folder.

    Code:



    jalpanchal@silence:~$ aclocal --print-ac-dir
    /usr/local/share/aclocal

    jalpanchal@silence:~$ cd /usr/local/share/aclocal

    jalpanchal@silence:/usr/local/share/aclocal$ ls
    libtool.m4  ltdl.m4         ltoptions.m4  ltversion.m4
    ltargz.m4   lt~obsolete.m4  ltsugar.m4    README

    jalpanchal@silence:/usr/local/share/aclocal$ ls -a
    .   libtool.m4  ltdl.m4         ltoptions.m4  ltversion.m4
    ..  ltargz.m4   lt~obsolete.m4  ltsugar.m4    README

    I checked pkg-config. I have version 0.29.1

    part 3:

    Code:

    make[3]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    
    test "(" ! `uname` = Darwin ")" -o "(" ! -f 3rdParty/FMIL/build/libfmilib_shared.so ")" || install_name_tool -id @rpath/libfmilib_shared.so 3rdParty/FMIL/build/libfmilib_shared.so
    cp -pPR 3rdParty/FMIL/build/libfmilib_shared.so /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/lib/x86_64-linux-gnu/omc
    test ! -f /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/lib/x86_64-linux-gnu/omc/libfmilib_shared.so || ln -sf libfmilib_shared.so /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/lib/x86_64-linux-gnu/omc/libfmilib.so
    #TODO: Only copy required headers, add them in omc/fmi subfolder, and do not copy c/txt-files
    #cp -rp 3rdParty/FMIL/install/include/* /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc
    (cd 3rdParty/gc && autoreconf -vif && automake --add-missing && ./configure "--host=x86_64-unknown-linux-gnu" --enable-threads=posix --enable-parallel-mark --disable-gcj-support --disable-java-finalization --enable-large-config CC="clang" CXX="clang++" CFLAGS="-g -O2 -fno-stack-protector -fPIC" CPPFLAGS=" -DLARGE_CONFIG -DTHREAD_LOCAL_ALLOC")
    autoreconf: Entering directory `.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal --force -I m4
    autoreconf: configure.ac: tracing
    autoreconf: configure.ac: adding subdirectory libatomic_ops to autoreconf
    autoreconf: Entering directory `libatomic_ops'
    autoreconf: running: libtoolize --copy --force
    libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
    libtoolize: copying file './ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
    libtoolize: copying file 'm4/libtool.m4'
    libtoolize: copying file 'm4/ltoptions.m4'
    libtoolize: copying file 'm4/ltsugar.m4'
    libtoolize: copying file 'm4/ltversion.m4'
    libtoolize: copying file 'm4/lt~obsolete.m4'
    autoreconf: running: /usr/local/bin/autoconf --force
    autoreconf: running: /usr/local/bin/autoheader --force
    autoreconf: running: automake --add-missing --copy --force-missing
    Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/local/bin/automake line 3936.
    configure.ac:15: installing './compile'
    configure.ac:5: installing './config.guess'
    configure.ac:5: installing './config.sub'
    configure.ac:9: installing './install-sh'
    configure.ac:9: installing './missing'
    src/Makefile.am: installing './depcomp'
    parallel-tests: installing './test-driver'
    autoreconf: Leaving directory `libatomic_ops'
    libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
    libtoolize: copying file './ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
    libtoolize: copying file 'm4/libtool.m4'
    libtoolize: copying file 'm4/ltoptions.m4'
    libtoolize: copying file 'm4/ltsugar.m4'
    libtoolize: copying file 'm4/ltversion.m4'
    libtoolize: copying file 'm4/lt~obsolete.m4'
    Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/local/bin/automake line 3936.
    configure.ac:30: installing './compile'
    configure.ac:19: installing './config.guess'
    configure.ac:19: installing './config.sub'
    configure.ac:23: installing './install-sh'
    configure.ac:23: installing './missing'
    Makefile.am: installing './depcomp'
    parallel-tests: installing './test-driver'
    autoreconf: Leaving directory `.'
    Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/local/bin/automake line 3936.
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking GC version numbers... major=7 minor=5                 micro=0
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for x86_64-unknown-linux-gnu-strip... no
    checking for strip... strip
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for style of include used by make... GNU
    checking for x86_64-unknown-linux-gnu-gcc... clang
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether clang accepts -g... yes
    checking for clang option to accept ISO C89... none needed
    checking whether clang understands -c and -o together... yes
    checking dependency style of clang... gcc3
    checking whether we are using the GNU C++ compiler... yes
    checking whether clang++ accepts -g... yes
    checking dependency style of clang++... gcc3
    checking dependency style of clang... gcc3
    checking how to print strings... printf
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for fgrep... /bin/grep -F
    checking for ld used by clang... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for x86_64-unknown-linux-gnu-objdump... no
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for x86_64-unknown-linux-gnu-dlltool... no
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for x86_64-unknown-linux-gnu-ar... no
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for x86_64-unknown-linux-gnu-strip... strip
    checking for x86_64-unknown-linux-gnu-ranlib... no
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from clang object... ok
    checking for sysroot... no
    checking for a working dd... /bin/dd
    checking how to truncate binary pipes... /bin/dd bs=4096 count=1
    checking for x86_64-unknown-linux-gnu-mt... no
    checking for mt... mt
    checking if mt is a manifest tool... no
    checking how to run the C preprocessor... clang -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if clang supports -fno-rtti -fno-exceptions... yes
    checking for clang option to produce PIC... -fPIC -DPIC
    checking if clang PIC flag -fPIC -DPIC works... yes
    checking if clang static flag -static works... yes
    checking if clang supports -c -o file.o... yes
    checking if clang supports -c -o file.o... (cached) yes
    checking whether the clang linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking how to run the C++ preprocessor... clang++ -E
    checking for ld used by clang++... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking whether the clang++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking for clang++ option to produce PIC... -fPIC -DPIC
    checking if clang++ PIC flag -fPIC -DPIC works... yes
    checking if clang++ static flag -static works... yes
    checking if clang++ supports -c -o file.o... yes
    checking if clang++ supports -c -o file.o... (cached) yes
    checking whether the clang++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... (cached) GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for inline... inline
    checking for pthread_self in -lpthread... yes
    configure: WARNING: "Explicit GC_INIT() calls may be required."
    checking for gcc -Wextra... yes
    checking for xlc... no
    checking whether gcc supports -fno-strict-aliasing... yes
    checking for dlopen in -ldl... yes
    checking whether to build shared libraries... yes
    checking which machine-dependent code should be used...
    checking whether Solaris gcc optimization fix is necessary... no
    checking for dladdr... yes
    checking sys/dg_sys_info.h usability... no
    checking sys/dg_sys_info.h presence... no
    checking for sys/dg_sys_info.h... no
    ./configure: line 17542: syntax error near unexpected token `ATOMIC_OPS,'
    ./configure: line 17542: `   PKG_CHECK_MODULES(ATOMIC_OPS, atomic_ops, ,'
    Makefile.common:114: recipe for target '3rdParty/gc/Makefile' failed
    make[2]: *** [3rdParty/gc/Makefile] Error 2
    make[2]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler'
    Makefile:86: recipe for target 'omc-bootstrapped' failed
    make[1]: *** [omc-bootstrapped] Error 2
    make[1]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler'
    Makefile:6: recipe for target 'omc' failed
    make: *** [omc] Error 2

    part two:

    Code:




    $make omc


    make -C OMCompiler
    make[1]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler'
    echo Making build directories under /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build
    Making build directories under /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build
    if [ "@APP@" = ".app" ]; then mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/Applications/; fi
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/bin
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/lib/omc/emcc
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/lib/x86_64-linux-gnu/omc
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/gc/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/linearization/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/optimization/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/simulation/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/simulation/results/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/simulation/solver/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/simulation/solver/initialization/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/meta/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/meta/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/util/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/fmi1/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/fmi2/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/scripting-API
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/share/omc/java/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/share//omc/scripts/OpenTurns/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/share/doc/omc/testmodels
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/share/man//man1/
    make bootstrap-dependencies interactive sim-dependencies
    make[2]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler'
    echo Making build directories under /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build
    Making build directories under /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build
    if [ "@APP@" = ".app" ]; then mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/Applications/; fi
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/bin
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/lib/omc/emcc
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/lib/x86_64-linux-gnu/omc
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/gc/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/linearization/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/optimization/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/simulation/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/simulation/results/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/simulation/solver/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/simulation/solver/initialization/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/meta/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/meta/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/util/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/fmi1/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/c/fmi2/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/include/omc/scripting-API
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/share/omc/java/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/share//omc/scripts/OpenTurns/
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/share/doc/omc/testmodels
    mkdir -p /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/share/man//man1/
    if test -f 3rdParty/graphstream/org.omc.graphstream.jar; then cp -p 3rdParty/graphstream/org.omc.graphstream.jar /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build/share/omc/java/.; fi
    if test -f 3rdParty/graphstream/Makefile; then make CC="clang" CXX="clang++" CFLAGS="-g -O2 -fno-stack-protector -fPIC -g -O2 -fno-stack-protector -fPIC  -std=c++11" -C 3rdParty/graphstream/; fi
    make[3]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/graphstream'
    make CC="clang" CXX="clang++" CFLAGS="-g -O2 -fno-stack-protector -fPIC -g -O2 -fno-stack-protector -fPIC  -std=c++11" -C gs-netstream/c++ all
    make[4]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/graphstream/gs-netstream/c++'
    mkdir -p obj
    clang++ -g -O2 -fno-stack-protector -fPIC -g -O2 -fno-stack-protector -fPIC  -std=c++11 -c src/netstream-storage.cpp -o obj/netstream-storage.o
    mkdir -p obj
    clang++ -g -O2 -fno-stack-protector -fPIC -g -O2 -fno-stack-protector -fPIC  -std=c++11 -c src/netstream-socket.cpp -o obj/netstream-socket.o
    mkdir -p obj
    clang++ -g -O2 -fno-stack-protector -fPIC -g -O2 -fno-stack-protector -fPIC  -std=c++11 -c src/netstream-sender.cpp -o obj/netstream-sender.o
    mkdir -p obj
    clang++ -g -O2 -fno-stack-protector -fPIC -g -O2 -fno-stack-protector -fPIC  -std=c++11 -c src/netstream-main.cpp -o obj/netstream-main.o
    clang++ -g -O2 -fno-stack-protector -fPIC -g -O2 -fno-stack-protector -fPIC  -std=c++11 -Iinclude obj/netstream-storage.o obj/netstream-socket.o obj/netstream-sender.o obj/netstream-main.o -o netstream-main
    ar rcs libnetstream.a  obj/netstream-storage.o obj/netstream-socket.o obj/netstream-sender.o obj/netstream-main.o
    make[4]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/graphstream/gs-netstream/c++'
    make[3]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/graphstream'
    test -d 3rdParty/FMIL
    mkdir -p 3rdParty/FMIL/build
    (cd 3rdParty/FMIL/build && test -f Makefile || CC="clang" CXX="clang++" CFLAGS="-g -O2 -fno-stack-protector -fPIC" CPPFLAGS="" CC="clang" CXX="clang++" CFLAGS="-g -O2 -fno-stack-protector -fPIC" CPPFLAGS="" LDFLAGS="" cmake  -D CMAKE_AR:String="ar"  -D FMILIB_BUILD_SHARED_LIB:Bool=ON -D FMILIB_BUILD_TESTS:Bool=OFF -D FMILIB_GENERATE_DOXYGEN_DOC:Bool=OFF -DCMAKE_COLOR_MAKEFILE:Bool=OFF -DFMILIB_INSTALL_PREFIX:String=../install .. -G "Unix Makefiles")
    -- The C compiler identification is Clang 3.8.0
    -- The CXX compiler identification is Clang 3.8.0
    -- Check for working C compiler: /usr/bin/clang
    -- Check for working C compiler: /usr/bin/clang -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Check for working CXX compiler: /usr/bin/clang++
    -- Check for working CXX compiler: /usr/bin/clang++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Looking for include file stdarg.h
    -- Looking for include file stdarg.h - found
    -- Looking for include file stdlib.h
    -- Looking for include file stdlib.h - found
    -- Looking for include file stddef.h
    -- Looking for include file stddef.h - found
    -- Looking for include file stdint.h
    -- Looking for include file stdint.h - found
    -- Looking for include file inttypes.h
    -- Looking for include file inttypes.h - found
    -- Looking for include file locale.h
    -- Looking for include file locale.h - found
    -- Looking for vsnprintf
    -- Looking for vsnprintf - found
    -- Looking for snprintf
    -- Looking for snprintf - found
    -- Looking for vasprintf
    -- Looking for vasprintf - found
    -- Looking for asprintf
    -- Looking for asprintf - found
    -- Looking for localeconv
    -- Looking for localeconv - found
    -- Looking for sys/types.h
    -- Looking for sys/types.h - found
    -- Check size of long double
    -- Check size of long double - done
    -- Check size of long long int
    -- Check size of long long int - done
    -- Check size of unsigned long long int
    -- Check size of unsigned long long int - done
    -- Check size of struct lconv
    -- Check size of struct lconv - done
    -- Performing Test HAVE_LCONV_DECIMAL_POINT
    -- Performing Test HAVE_LCONV_DECIMAL_POINT - Success
    -- Performing Test HAVE_LCONV_THOUSANDS_SEP
    -- Performing Test HAVE_LCONV_THOUSANDS_SEP - Success
    -- Check size of intmax_t
    -- Check size of intmax_t - done
    -- Check size of uintmax_t
    -- Check size of uintmax_t - done
    -- Check size of uintptr_t
    -- Check size of uintptr_t - done
    -- Check size of ptrdiff_t
    -- Check size of ptrdiff_t - done
    -- Looking for va_copy
    -- Looking for va_copy - found
    -- Looking for __va_copy
    -- Looking for __va_copy - found
    -- Check size of off64_t
    -- Check size of off64_t - done
    -- Looking for fseeko
    -- Looking for fseeko - found
    -- Looking for unistd.h
    -- Looking for unistd.h - found
    CMake Warning (dev) at Config.cmake/mergestaticlibs.cmake:43 (get_target_property):
      Policy CMP0026 is not set: Disallow use of the LOCATION target property.
      Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
      command to set the policy and suppress this warning.

      The LOCATION property should not be read from target "fmiimport".  Use the
      target name directly with add_custom_command, or use the generator
      expression $<TARGET_FILE>, as appropriate.

    Call Stack (most recent call first):
      CMakeLists.txt:276 (merge_static_libs)
    This warning is for project developers.  Use -Wno-dev to suppress it.

    CMake Warning (dev) at Config.cmake/mergestaticlibs.cmake:43 (get_target_property):
      Policy CMP0026 is not set: Disallow use of the LOCATION target property.
      Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
      command to set the policy and suppress this warning.

      The LOCATION property should not be read from target "jmutils".  Use the
      target name directly with add_custom_command, or use the generator
      expression $<TARGET_FILE>, as appropriate.

    Call Stack (most recent call first):
      CMakeLists.txt:276 (merge_static_libs)
    This warning is for project developers.  Use -Wno-dev to suppress it.

    CMake Warning (dev) at Config.cmake/mergestaticlibs.cmake:43 (get_target_property):
      Policy CMP0026 is not set: Disallow use of the LOCATION target property.
      Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
      command to set the policy and suppress this warning.

      The LOCATION property should not be read from target "fmixml".  Use the
      target name directly with add_custom_command, or use the generator
      expression $<TARGET_FILE>, as appropriate.

    Call Stack (most recent call first):
      CMakeLists.txt:276 (merge_static_libs)
    This warning is for project developers.  Use -Wno-dev to suppress it.

    CMake Warning (dev) at Config.cmake/mergestaticlibs.cmake:43 (get_target_property):
      Policy CMP0026 is not set: Disallow use of the LOCATION target property.
      Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
      command to set the policy and suppress this warning.

      The LOCATION property should not be read from target "fmizip".  Use the
      target name directly with add_custom_command, or use the generator
      expression $<TARGET_FILE>, as appropriate.

    Call Stack (most recent call first):
      CMakeLists.txt:276 (merge_static_libs)
    This warning is for project developers.  Use -Wno-dev to suppress it.

    CMake Warning (dev) at Config.cmake/mergestaticlibs.cmake:43 (get_target_property):
      Policy CMP0026 is not set: Disallow use of the LOCATION target property.
      Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
      command to set the policy and suppress this warning.

      The LOCATION property should not be read from target "fmicapi".  Use the
      target name directly with add_custom_command, or use the generator
      expression $<TARGET_FILE>, as appropriate.

    Call Stack (most recent call first):
      CMakeLists.txt:276 (merge_static_libs)
    This warning is for project developers.  Use -Wno-dev to suppress it.

    CMake Warning (dev) at Config.cmake/mergestaticlibs.cmake:43 (get_target_property):
      Policy CMP0026 is not set: Disallow use of the LOCATION target property.
      Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
      command to set the policy and suppress this warning.

      The LOCATION property should not be read from target "minizip".  Use the
      target name directly with add_custom_command, or use the generator
      expression $<TARGET_FILE>, as appropriate.

    Call Stack (most recent call first):
      CMakeLists.txt:276 (merge_static_libs)
    This warning is for project developers.  Use -Wno-dev to suppress it.

    CMake Warning (dev) at Config.cmake/mergestaticlibs.cmake:43 (get_target_property):
      Policy CMP0026 is not set: Disallow use of the LOCATION target property.
      Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
      command to set the policy and suppress this warning.

      The LOCATION property should not be read from target "zlib".  Use the
      target name directly with add_custom_command, or use the generator
      expression $<TARGET_FILE>, as appropriate.

    Call Stack (most recent call first):
      CMakeLists.txt:276 (merge_static_libs)
    This warning is for project developers.  Use -Wno-dev to suppress it.

    CMake Warning (dev) at Config.cmake/mergestaticlibs.cmake:43 (get_target_property):
      Policy CMP0026 is not set: Disallow use of the LOCATION target property.
      Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
      command to set the policy and suppress this warning.

      The LOCATION property should not be read from target "c99snprintf".  Use
      the target name directly with add_custom_command, or use the generator
      expression $<TARGET_FILE>, as appropriate.

    Call Stack (most recent call first):
      CMakeLists.txt:276 (merge_static_libs)
    This warning is for project developers.  Use -Wno-dev to suppress it.

    -- will be merging /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/libfmiimport.a;/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/libjmutils.a;/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/libfmixml.a;/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/libfmizip.a;/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/libfmicapi.a;/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx/./libexpat.a;/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/Config.cmake/Minizip/libminizip.a;/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/zlib/libz.a;/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ThirdParty/c99_snprintf/libc99snprintf.a
    CMake Warning (dev) at Config.cmake/mergestaticlibs.cmake:85 (get_target_property):
      Policy CMP0026 is not set: Disallow use of the LOCATION target property.
      Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
      command to set the policy and suppress this warning.

      The LOCATION property should not be read from target "fmilib".  Use the
      target name directly with add_custom_command, or use the generator
      expression $<TARGET_FILE>, as appropriate.

    Call Stack (most recent call first):
      CMakeLists.txt:276 (merge_static_libs)
    This warning is for project developers.  Use -Wno-dev to suppress it.

    -- outfile location is /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/libfmilib.a
    -- Configuring done
    CMake Warning (dev) at Config.cmake/fmixml.cmake:123 (add_dependencies):
      Policy CMP0046 is not set: Error on non-existent dependency in
      add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.

      The dependency target
      "/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/CMakeLists.txt"
      of target "expatex" does not exist.
    Call Stack (most recent call first):
      CMakeLists.txt:183 (include)
    This warning is for project developers.  Use -Wno-dev to suppress it.

    CMake Warning (dev) at Config.cmake/fmixml.cmake:123 (add_dependencies):
      Policy CMP0046 is not set: Error on non-existent dependency in
      add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.
      Use the cmake_policy command to set the policy and suppress this warning.

      The dependency target
      "/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/CMakeCache.txt"
      of target "expatex" does not exist.
    Call Stack (most recent call first):
      CMakeLists.txt:183 (include)
    This warning is for project developers.  Use -Wno-dev to suppress it.

    -- Generating done
    -- Build files have been written to: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build
    test -f 3rdParty/FMIL/build/libfmilib_shared.so || CC="clang" CXX="clang++" CFLAGS="-g -O2 -fno-stack-protector -fPIC" CPPFLAGS="" make -C 3rdParty/FMIL/build
    make[3]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[4]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    Scanning dependencies of target expatex
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [  0%] Creating directories for 'expatex'
    [  1%] No download step for 'expatex'
    [  2%] No patch step for 'expatex'
    [  3%] No update step for 'expatex'
    [  3%] Performing configure step for 'expatex'
    loading initial cache file /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx/tmp/expatex-cache-Release.cmake
    -- The C compiler identification is Clang 3.8.0
    -- The CXX compiler identification is Clang 3.8.0
    -- Check for working C compiler: /usr/bin/clang
    -- Check for working C compiler: /usr/bin/clang -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Check for working CXX compiler: /usr/bin/clang++
    -- Check for working CXX compiler: /usr/bin/clang++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Looking for dlfcn.h
    -- Looking for dlfcn.h - found
    -- Looking for fcntl.h
    -- Looking for fcntl.h - found
    -- Looking for inttypes.h
    -- Looking for inttypes.h - found
    -- Looking for memory.h
    -- Looking for memory.h - found
    -- Looking for stdint.h
    -- Looking for stdint.h - found
    -- Looking for stdlib.h
    -- Looking for stdlib.h - found
    -- Looking for strings.h
    -- Looking for strings.h - found
    -- Looking for string.h
    -- Looking for string.h - found
    -- Looking for sys/stat.h
    -- Looking for sys/stat.h - found
    -- Looking for sys/types.h
    -- Looking for sys/types.h - found
    -- Looking for unistd.h
    -- Looking for unistd.h - found
    -- Looking for getpagesize
    -- Looking for getpagesize - found
    -- Looking for bcopy
    -- Looking for bcopy - found
    -- Looking for memmove
    -- Looking for memmove - found
    -- Looking for mmap
    -- Looking for mmap - found
    -- Looking for 4 include files stdlib.h, ..., float.h
    -- Looking for 4 include files stdlib.h, ..., float.h - found
    -- Check if the system is big endian
    -- Searching 16 bit integer
    -- Looking for stddef.h
    -- Looking for stddef.h - found
    -- Check size of unsigned short
    -- Check size of unsigned short - done
    -- Using unsigned short
    -- Check if the system is big endian - little endian
    -- Looking for off_t
    -- Looking for off_t - not found
    -- Looking for size_t
    -- Looking for size_t - not found
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx
    [  4%] Performing dependent_reconfigure step for 'expatex'
    Running:  /usr/bin/cmake -G  Unix Makefiles  -DBUILD_tools:BOOLEAN=OFF -DBUILD_examples:BOOLEAN=OFF -DBUILD_tests:BOOLEAN=OFF -DBUILD_shared:BOOLEAN=OFF -DXML_DTD:BOOLEAN=OFF -DXML_NS:BOOLEAN=OFF -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_SYSTEM_NAME:STRING=Linux -DCMAKE_RC_COMPILER:STRING= -DCMAKE_C_FLAGS:STRING=-g -O2 -fno-stack-protector -fPIC  -fPIC -DXML_STATIC -DFMI_XML_QUERY -DCMAKE_C_FLAGS_DEBUG:STRING=-g -DCMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG -DCMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG -DCMAKE_EXE_LINKER_FLAGS:STRING= -DCMAKE_LINK_LIBRARY_FLAG:STRING=-l -DCMAKE_MODULE_LINKER_FLAGS:STRING= -DCMAKE_SHARED_LINKER_FLAGS:STRING= -DCMAKE_INSTALL_PREFIX:PATH=/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx/install /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/ThirdParty/Expat/expat-2.1.0
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx
    [  5%] Performing build step for 'expatex'
    make[6]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx'
    make[7]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx'
    make[8]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx'
    Scanning dependencies of target expat
    make[8]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx'
    make[8]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx'
    [ 16%] Building C object CMakeFiles/expat.dir/lib/xmlparse.c.o
    [ 33%] Building C object CMakeFiles/expat.dir/lib/xmlrole.c.o
    [ 50%] Building C object CMakeFiles/expat.dir/lib/xmltok.c.o
    [ 66%] Building C object CMakeFiles/expat.dir/lib/xmltok_impl.c.o
    [ 83%] Building C object CMakeFiles/expat.dir/lib/xmltok_ns.c.o
    [100%] Linking C static library libexpat.a
    make[8]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx'
    [100%] Built target expat
    make[7]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx'
    make[6]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx'
    [  6%] Performing install step for 'expatex'
    make[6]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx'
    make[7]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx'
    make[8]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx'
    make[8]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx'
    [100%] Built target expat
    make[7]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx'
    Install the project...
    -- Install configuration: "Release"
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx/install/lib/libexpat.a
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx/install/include/expat.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx/install/include/expat_external.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx/install/lib/pkgconfig/expat.pc
    make[6]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx'
    [  7%] Completed 'expatex'
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [  7%] Built target expatex
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    Scanning dependencies of target c99snprintf
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [  7%] Building C object ThirdParty/c99_snprintf/CMakeFiles/c99snprintf.dir/c99-snprintf_1.1/snprintf.c.o
    [  8%] Linking C static library libc99snprintf.a
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [  8%] Built target c99snprintf
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    Scanning dependencies of target jmutils
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [  9%] Building C object CMakeFiles/jmutils.dir/src/Util/src/JM/jm_callbacks.c.o
    [ 10%] Building C object CMakeFiles/jmutils.dir/src/Util/src/JM/jm_templates_inst.c.o
    [ 11%] Building C object CMakeFiles/jmutils.dir/src/Util/src/JM/jm_named_ptr.c.o
    [ 12%] Building C object CMakeFiles/jmutils.dir/src/Util/src/JM/jm_portability.c.o
    [ 12%] Building C object CMakeFiles/jmutils.dir/src/Util/src/FMI/fmi_version.c.o
    [ 13%] Building C object CMakeFiles/jmutils.dir/src/Util/src/FMI/fmi_util.c.o
    [ 14%] Building C object CMakeFiles/jmutils.dir/src/Util/src/FMI1/fmi1_enums.c.o
    [ 15%] Building C object CMakeFiles/jmutils.dir/src/Util/src/FMI2/fmi2_enums.c.o
    [ 15%] Linking C static library libjmutils.a
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 15%] Built target jmutils
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    Scanning dependencies of target fmixml
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 16%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI/fmi_xml_context.c.o
    [ 17%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI1/fmi1_xml_parser.c.o
    [ 17%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI1/fmi1_xml_model_description.c.o
    [ 18%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI1/fmi1_xml_type.c.o
    /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/src/XML/src/FMI1/fmi1_xml_type.c:31:12: warning:
          address of array 'du->displayUnit' will always evaluate to 'true' [-Wpointer-bool-conversion]
        if(du->displayUnit) return du;
        ~~ ~~~~^~~~~~~~~~~
    1 warning generated.
    [ 19%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI1/fmi1_xml_unit.c.o
    [ 20%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI1/fmi1_xml_vendor_annotations.c.o
    [ 20%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI1/fmi1_xml_variable.c.o
    [ 21%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI1/fmi1_xml_capabilities.c.o
    [ 22%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI1/fmi1_xml_cosim.c.o
    [ 23%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI2/fmi2_xml_parser.c.o
    [ 23%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI2/fmi2_xml_model_description.c.o
    [ 24%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI2/fmi2_xml_model_structure.c.o
    [ 25%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI2/fmi2_xml_type.c.o
    [ 26%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI2/fmi2_xml_unit.c.o
    [ 27%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI2/fmi2_xml_vendor_annotations.c.o
    [ 27%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI2/fmi2_xml_variable.c.o
    [ 28%] Linking C static library libfmixml.a
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 28%] Built target fmixml
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    Scanning dependencies of target zlib
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 29%] Building C object zlib/CMakeFiles/zlib.dir/adler32.o
    [ 30%] Building C object zlib/CMakeFiles/zlib.dir/compress.o
    [ 30%] Building C object zlib/CMakeFiles/zlib.dir/crc32.o
    [ 31%] Building C object zlib/CMakeFiles/zlib.dir/deflate.o
    [ 32%] Building C object zlib/CMakeFiles/zlib.dir/gzclose.o
    [ 33%] Building C object zlib/CMakeFiles/zlib.dir/gzlib.o
    [ 34%] Building C object zlib/CMakeFiles/zlib.dir/gzread.o
    [ 34%] Building C object zlib/CMakeFiles/zlib.dir/gzwrite.o
    [ 35%] Building C object zlib/CMakeFiles/zlib.dir/inflate.o
    /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/ThirdParty/Zlib/zlib-1.2.6/inflate.c:1496:61: warning:
          shifting a negative signed value is undefined [-Wshift-negative-value]
        if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16;
                                                            ~~~ ^
    1 warning generated.
    [ 36%] Building C object zlib/CMakeFiles/zlib.dir/infback.o
    [ 37%] Building C object zlib/CMakeFiles/zlib.dir/inftrees.o
    [ 37%] Building C object zlib/CMakeFiles/zlib.dir/inffast.o
    [ 38%] Building C object zlib/CMakeFiles/zlib.dir/trees.o
    [ 39%] Building C object zlib/CMakeFiles/zlib.dir/uncompr.o
    [ 40%] Building C object zlib/CMakeFiles/zlib.dir/zutil.o
    [ 41%] Linking C static library libz.a
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 41%] Built target zlib
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    Scanning dependencies of target minizip
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 42%] Building C object Config.cmake/Minizip/CMakeFiles/minizip.dir/__/__/ThirdParty/Minizip/minizip/ioapi.c.o
    [ 43%] Building C object Config.cmake/Minizip/CMakeFiles/minizip.dir/__/__/ThirdParty/Minizip/minizip/miniunz.c.o
    /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/ThirdParty/Minizip/minizip/miniunz.c:110:13: warning:
          extra tokens at end of #ifdef directive [-Wextra-tokens]
    #ifdef unix || __APPLE__
                ^
                //
    /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/ThirdParty/Minizip/minizip/miniunz.c:141:11: warning:
          implicit declaration of function 'mkdir' is invalid in C99 [-Wimplicit-function-declaration]
        ret = mkdir (dirname,0775);
              ^
    /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/ThirdParty/Minizip/minizip/miniunz.c:432:25: warning:
          passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                    makedir(write_filename);
                            ^~~~~~~~~~~~~~
    3 warnings generated.
    [ 44%] Building C object Config.cmake/Minizip/CMakeFiles/minizip.dir/__/__/ThirdParty/Minizip/minizip/minizip.c.o
    /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/ThirdParty/Minizip/minizip/minizip.c:104:13: warning:
          extra tokens at end of #ifdef directive [-Wextra-tokens]
    #ifdef unix || __APPLE__
                ^
                //
    /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/ThirdParty/Minizip/minizip/minizip.c:421:26: warning:
          passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                    filetime(filenameinzip,&zi.tmz_date,&zi.dosDate);
                             ^~~~~~~~~~~~~
    2 warnings generated.
    [ 45%] Building C object Config.cmake/Minizip/CMakeFiles/minizip.dir/__/__/ThirdParty/Minizip/minizip/unzip.c.o
    [ 45%] Building C object Config.cmake/Minizip/CMakeFiles/minizip.dir/__/__/ThirdParty/Minizip/minizip/zip.c.o
    /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/ThirdParty/Minizip/minizip/zip.c:1118:15: warning:
          equality comparison with extraneous parentheses [-Wparentheses-equality]
        if ((level==2))
             ~~~~~^~~
    /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/ThirdParty/Minizip/minizip/zip.c:1118:15: note:
          remove extraneous parentheses around the comparison to silence this warning
        if ((level==2))
            ~     ^  ~
    /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/ThirdParty/Minizip/minizip/zip.c:1118:15: note:
          use '=' to turn this equality comparison into an assignment
        if ((level==2))
                  ^~
                  =
    /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/ThirdParty/Minizip/minizip/zip.c:1120:15: warning:
          equality comparison with extraneous parentheses [-Wparentheses-equality]
        if ((level==1))
             ~~~~~^~~
    /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/ThirdParty/Minizip/minizip/zip.c:1120:15: note:
          remove extraneous parentheses around the comparison to silence this warning
        if ((level==1))
            ~     ^  ~
    /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/ThirdParty/Minizip/minizip/zip.c:1120:15: note:
          use '=' to turn this equality comparison into an assignment
        if ((level==1))
                  ^~
                  =
    2 warnings generated.
    [ 46%] Linking C static library libminizip.a
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 46%] Built target minizip
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    Scanning dependencies of target fmizip
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 47%] Building C object CMakeFiles/fmizip.dir/src/ZIP/src/fmi_zip_unzip.c.o
    [ 48%] Building C object CMakeFiles/fmizip.dir/src/ZIP/src/fmi_zip_zip.c.o
    [ 48%] Linking C static library libfmizip.a
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 48%] Built target fmizip
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    Scanning dependencies of target fmicapi
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 49%] Building C object CMakeFiles/fmicapi.dir/src/CAPI/src/FMI1/fmi1_capi_cs.c.o
    [ 50%] Building C object CMakeFiles/fmicapi.dir/src/CAPI/src/FMI1/fmi1_capi_me.c.o
    [ 50%] Building C object CMakeFiles/fmicapi.dir/src/CAPI/src/FMI1/fmi1_capi.c.o
    [ 51%] Building C object CMakeFiles/fmicapi.dir/src/CAPI/src/FMI2/fmi2_capi_cs.c.o
    [ 52%] Building C object CMakeFiles/fmicapi.dir/src/CAPI/src/FMI2/fmi2_capi_me.c.o
    [ 53%] Building C object CMakeFiles/fmicapi.dir/src/CAPI/src/FMI2/fmi2_capi.c.o
    [ 53%] Linking C static library libfmicapi.a
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 53%] Built target fmicapi
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    Scanning dependencies of target fmilib_shared
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 54%] Building C object CMakeFiles/fmilib_shared.dir/src/Import/src/FMI/fmi_import_context.c.o
    [ 55%] Building C object CMakeFiles/fmilib_shared.dir/src/Import/src/FMI/fmi_import_util.c.o
    [ 56%] Building C object CMakeFiles/fmilib_shared.dir/src/Import/src/FMI1/fmi1_import_cosim.c.o
    [ 56%] Building C object CMakeFiles/fmilib_shared.dir/src/Import/src/FMI1/fmi1_import_capi.c.o
    [ 57%] Building C object CMakeFiles/fmilib_shared.dir/src/Import/src/FMI1/fmi1_import_type.c.o
    [ 58%] Building C object CMakeFiles/fmilib_shared.dir/src/Import/src/FMI1/fmi1_import_unit.c.o
    [ 59%] Building C object CMakeFiles/fmilib_shared.dir/src/Import/src/FMI1/fmi1_import_variable.c.o
    [ 59%] Building C object CMakeFiles/fmilib_shared.dir/src/Import/src/FMI1/fmi1_import_variable_list.c.o
    [ 60%] Building C object CMakeFiles/fmilib_shared.dir/src/Import/src/FMI1/fmi1_import_vendor_annotations.c.o
    [ 61%] Building C object CMakeFiles/fmilib_shared.dir/src/Import/src/FMI1/fmi1_import.c.o
    [ 62%] Building C object CMakeFiles/fmilib_shared.dir/src/Import/src/FMI1/fmi1_import_capabilities.c.o
    [ 63%] Building C object CMakeFiles/fmilib_shared.dir/src/Import/src/FMI1/fmi1_import_convenience.c.o
    [ 63%] Building C object CMakeFiles/fmilib_shared.dir/src/Import/src/FMI2/fmi2_import_capi.c.o
    [ 64%] Building C object CMakeFiles/fmilib_shared.dir/src/Import/src/FMI2/fmi2_import_type.c.o
    [ 65%] Building C object CMakeFiles/fmilib_shared.dir/src/Import/src/FMI2/fmi2_import_unit.c.o
    [ 66%] Building C object CMakeFiles/fmilib_shared.dir/src/Import/src/FMI2/fmi2_import_variable.c.o
    [ 66%] Building C object CMakeFiles/fmilib_shared.dir/src/Import/src/FMI2/fmi2_import_variable_list.c.o
    [ 67%] Building C object CMakeFiles/fmilib_shared.dir/src/Import/src/FMI2/fmi2_import.c.o
    [ 68%] Building C object CMakeFiles/fmilib_shared.dir/src/Import/src/FMI2/fmi2_import_convenience.c.o
    [ 69%] Building C object CMakeFiles/fmilib_shared.dir/src/Util/src/JM/jm_callbacks.c.o
    [ 70%] Building C object CMakeFiles/fmilib_shared.dir/src/Util/src/JM/jm_templates_inst.c.o
    [ 70%] Building C object CMakeFiles/fmilib_shared.dir/src/Util/src/JM/jm_named_ptr.c.o
    [ 71%] Building C object CMakeFiles/fmilib_shared.dir/src/Util/src/JM/jm_portability.c.o
    [ 72%] Building C object CMakeFiles/fmilib_shared.dir/src/Util/src/FMI/fmi_version.c.o
    [ 73%] Building C object CMakeFiles/fmilib_shared.dir/src/Util/src/FMI/fmi_util.c.o
    [ 73%] Building C object CMakeFiles/fmilib_shared.dir/src/Util/src/FMI1/fmi1_enums.c.o
    [ 74%] Building C object CMakeFiles/fmilib_shared.dir/src/Util/src/FMI2/fmi2_enums.c.o
    [ 75%] Linking C shared library libfmilib_shared.so
    CMakeFiles/fmilib_shared.dir/src/Util/src/JM/jm_portability.c.o: In function `jm_mktemp':
    /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/src/Util/src/JM/jm_portability.c:143: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 75%] Built target fmilib_shared
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    Scanning dependencies of target fmiimport
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 76%] Building C object CMakeFiles/fmiimport.dir/src/Import/src/FMI/fmi_import_context.c.o
    [ 77%] Building C object CMakeFiles/fmiimport.dir/src/Import/src/FMI/fmi_import_util.c.o
    [ 78%] Building C object CMakeFiles/fmiimport.dir/src/Import/src/FMI1/fmi1_import_cosim.c.o
    [ 79%] Building C object CMakeFiles/fmiimport.dir/src/Import/src/FMI1/fmi1_import_capi.c.o
    [ 79%] Building C object CMakeFiles/fmiimport.dir/src/Import/src/FMI1/fmi1_import_type.c.o
    [ 80%] Building C object CMakeFiles/fmiimport.dir/src/Import/src/FMI1/fmi1_import_unit.c.o
    [ 81%] Building C object CMakeFiles/fmiimport.dir/src/Import/src/FMI1/fmi1_import_variable.c.o
    [ 82%] Building C object CMakeFiles/fmiimport.dir/src/Import/src/FMI1/fmi1_import_variable_list.c.o
    [ 82%] Building C object CMakeFiles/fmiimport.dir/src/Import/src/FMI1/fmi1_import_vendor_annotations.c.o
    [ 83%] Building C object CMakeFiles/fmiimport.dir/src/Import/src/FMI1/fmi1_import.c.o
    [ 84%] Building C object CMakeFiles/fmiimport.dir/src/Import/src/FMI1/fmi1_import_capabilities.c.o
    [ 85%] Building C object CMakeFiles/fmiimport.dir/src/Import/src/FMI1/fmi1_import_convenience.c.o
    [ 86%] Building C object CMakeFiles/fmiimport.dir/src/Import/src/FMI2/fmi2_import_capi.c.o
    [ 86%] Building C object CMakeFiles/fmiimport.dir/src/Import/src/FMI2/fmi2_import_type.c.o
    [ 87%] Building C object CMakeFiles/fmiimport.dir/src/Import/src/FMI2/fmi2_import_unit.c.o
    [ 88%] Building C object CMakeFiles/fmiimport.dir/src/Import/src/FMI2/fmi2_import_variable.c.o
    [ 89%] Building C object CMakeFiles/fmiimport.dir/src/Import/src/FMI2/fmi2_import_variable_list.c.o
    [ 89%] Building C object CMakeFiles/fmiimport.dir/src/Import/src/FMI2/fmi2_import.c.o
    [ 90%] Building C object CMakeFiles/fmiimport.dir/src/Import/src/FMI2/fmi2_import_convenience.c.o
    [ 91%] Linking C static library libfmiimport.a
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 91%] Built target fmiimport
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 92%] Generating ThirdParty/c99_snprintf/libc99snprintf.a.objlist
    -- Extracting object files from /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ThirdParty/c99_snprintf/libc99snprintf.a
    [ 93%] Generating libfmiimport.a.objlist
    -- Extracting object files from /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/libfmiimport.a
    [ 93%] Generating libjmutils.a.objlist
    -- Extracting object files from /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/libjmutils.a
    [ 94%] Generating libfmixml.a.objlist
    -- Extracting object files from /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/libfmixml.a
    [ 95%] Generating libfmizip.a.objlist
    -- Extracting object files from /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/libfmizip.a
    [ 96%] Generating libfmicapi.a.objlist
    -- Extracting object files from /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/libfmicapi.a
    [ 96%] Generating ExpatEx/libexpat.a.objlist
    -- Extracting object files from /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/ExpatEx/./libexpat.a
    [ 97%] Generating Config.cmake/Minizip/libminizip.a.objlist
    -- Extracting object files from /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/Config.cmake/Minizip/libminizip.a
    [ 98%] Generating zlib/libz.a.objlist
    -- Extracting object files from /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/zlib/libz.a
    [ 99%] Generating fmilib_dummy.c
    Scanning dependencies of target fmilib
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 99%] Building C object CMakeFiles/fmilib.dir/fmilib_dummy.c.o
    [100%] Linking C static library libfmilib.a
    Running: ar ru /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/libfmilib.a @../libfmiimport.a.objlist
    ar: `u' modifier ignored since `D' is the default (see `U')
    Running: ar ru /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/libfmilib.a @../libjmutils.a.objlist
    ar: `u' modifier ignored since `D' is the default (see `U')
    Running: ar ru /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/libfmilib.a @../libfmixml.a.objlist
    ar: `u' modifier ignored since `D' is the default (see `U')
    Running: ar ru /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/libfmilib.a @../libfmizip.a.objlist
    ar: `u' modifier ignored since `D' is the default (see `U')
    Running: ar ru /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/libfmilib.a @../libfmicapi.a.objlist
    ar: `u' modifier ignored since `D' is the default (see `U')
    Running: ar ru /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/libfmilib.a @../libexpat.a.objlist
    ar: `u' modifier ignored since `D' is the default (see `U')
    Running: ar ru /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/libfmilib.a @../libminizip.a.objlist
    ar: `u' modifier ignored since `D' is the default (see `U')
    Running: ar ru /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/libfmilib.a @../libz.a.objlist
    ar: `u' modifier ignored since `D' is the default (see `U')
    Running: ar ru /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/libfmilib.a @../libc99snprintf.a.objlist
    ar: `u' modifier ignored since `D' is the default (see `U')
    Running: /usr/bin/ranlib /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/libfmilib.a
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [100%] Built target fmilib
    make[4]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[3]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    test -d 3rdParty/FMIL/install || make -C 3rdParty/FMIL/build install
    make[3]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[4]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [  7%] Built target expatex
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [  8%] Built target c99snprintf
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 15%] Built target jmutils
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 28%] Built target fmixml
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 41%] Built target zlib
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 46%] Built target minizip
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 48%] Built target fmizip
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 53%] Built target fmicapi
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 75%] Built target fmilib_shared
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [ 91%] Built target fmiimport
    make[5]: Entering directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    make[5]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    [100%] Built target fmilib
    make[4]: Leaving directory '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build'
    Install the project...
    -- Install configuration: "Release"
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/lib/libfmilib.a
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/lib/libfmilib_shared.so
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/doc/FMILIB_Readme.txt
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/doc/FMILIB_License.txt
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/doc/FMILIB_Acknowledgements.txt
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/include/fmilib_config.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/include/fmilib.h
    -- Up-to-date: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI1
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI1/fmi1_import_capabilities.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI1/fmi1_import.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI1/fmi1_import_type.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI1/fmi1_import_unit.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI1/fmi1_import_capi.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI1/fmi1_import_convenience.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI1/fmi1_import_cosim.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI1/fmi1_import_variable.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI1/fmi1_import_variable_list.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI1/fmi1_import_vendor_annotations.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI/fmi_import_context.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI/fmi_import_util.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI2
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI2/fmi2_import_convenience.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI2/fmi2_import_capi.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI2/fmi2_import_type.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI2/fmi2_import_variable.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI2/fmi2_import_unit.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI2/fmi2_import.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI2/fmi2_import_variable_list.h
    -- Up-to-date: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include
    -- Up-to-date: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI1
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI1/fmi1_enums.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI1/fmi1_functions.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI1/fmi1_types.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/JM
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/JM/jm_named_ptr.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/JM/jm_portability.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/JM/jm_vector.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/JM/jm_stack.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/JM/jm_vector_template.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/JM/jm_string_set.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/JM/jm_callbacks.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/JM/jm_types.h
    -- Up-to-date: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI/fmi_util.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI/fmi_version.h
    -- Up-to-date: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI2
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI2/fmi2_enums.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI2/fmi2_xml_callbacks.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI2/fmi2_functions.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/./include/FMI2/fmi2_types.h
    -- Up-to-date: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/include/FMI1
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/include/FMI1/fmiFunctions.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/include/FMI1/fmiModelTypes.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/include/FMI1/fmiModelFunctions.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/include/FMI1/fmiPlatformTypes.h
    -- Up-to-date: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/include/FMI2
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/include/FMI2/fmi2TypesPlatform.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/include/FMI2/fmi2FunctionTypes.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/include/FMI2/fmi2Functions.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/include/FMI2/fmiFunctions.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/include/FMI2/fmiFunctionTypes.h
    -- Installing: /home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/3rdParty/FMIL/build/../install/include/FMI2/fmiTypesPlatform.h

    I tried make omc and it failed..

    Code:



    $ ./configure CC=clang CXX=clang++

    checking for gcc... clang
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether clang accepts -g... yes
    checking for clang option to accept ISO C89... none needed
    configure: OpenModelica pre-commit hook has been installed
    ln: failed to create symbolic link '.git/hooks/pre-commit': File exists
    configure: OpenModelica commit-msg hook has been installed
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    build_short: x86_64-linux-gnu
    host_short: x86_64-linux-gnu
    checking if cppruntime is requested... no
    checking for omlibrary target... core
    checking for libraries directory... yes
    checking for CORBA... none
    configure: "Subproject OMPlot does not exist"
    configure: "Subproject OMEdit does not exist"
    configure: creating ./config.status
    config.status: creating Makefile
    === configuring in OMCompiler (/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler)
    configure: running /bin/bash ./configure --disable-option-checking '--prefix=/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build'  'CC=clang' 'CXX=clang++' '--with-ombuilddir=/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build' --cache-file=/dev/null --srcdir=.
    configure: OpenModelica pre-commit hook has been installed
    ln: failed to create symbolic link '/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/.git/modules/OMC/hooks/pre-commit': File exists
    configure: OpenModelica commit-msg hook has been installed
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    build_short: x86_64-linux-gnu
    host_short: x86_64-linux-gnu
    checking for gcc... clang
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether clang accepts -g... yes
    checking for clang option to accept ISO C89... none needed
    checking whether we are using the GNU C++ compiler... yes
    checking whether clang++ accepts -g... yes
    checking how to run the C preprocessor... clang -E
    checking whether make sets $(MAKE)... yes
    checking for gfortran... gfortran
    checking whether we are using the GNU Fortran compiler... yes
    checking whether gfortran accepts -g... yes
    checking if -Werror works... ok
    checking looking for --no-undefined... yes
    checking getconf LONG_BIT = 64 CFLAGS... adding -fPIC
    checking whether clang++ supports C++11 features by default... no
    checking whether clang++ supports C++11 features with -std=c++11... yes
    checking for omc... failed (tried ). Building it through bootstrapping (you might end up unable to recompile omc if you modify source code).
    checking for library containing clock_gettime... none required
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking sys/time.h usability... yes
    checking sys/time.h presence... yes
    checking for sys/time.h... yes
    checking for antlr.Tool support... ANTLR Parser Generator   Version 2.7.7 (20060906)   1989-2005
    yes
    checking expat.h usability... yes
    checking expat.h presence... yes
    checking for expat.h... yes
    checking for an ANSI C-conforming const... yes
    checking for size_t... yes
    checking for vprintf... yes
    checking for _doprnt... no
    checking for getcwd... yes
    checking for select... yes
    checking for strdup... yes
    checking for strerror... yes
    checking for scandir... no
    checking for OpenMP... no
    checking runtime compiler... clang ok
    checking runtime compiler CFLAGS... -fPIC -O0 -march=native
    checking for library containing dlopen... -ldl
    NO_LPLIB: ''
    checking for library containing dlopen... (cached) -ldl
    checking for library containing sqrt... -lm
    checking for library containing colamd... no
    checking for library containing make_lp... no
    lpsolve linking failed using -lm -ldl
    checking lp_lib.h usability... no
    checking lp_lib.h presence... no
    checking for lp_lib.h... no
    checking lpsolve/lp_lib.h usability... no
    checking lpsolve/lp_lib.h presence... no
    checking for lpsolve/lp_lib.h... no
    failed to find lpsolve55 headers
    checking for socket... yes
    checking for gethostbyname... yes
    checking LAPACK/BLAS flags...  -llapack -lblas 
    checking idas/idas.h usability... no
    checking idas/idas.h presence... no
    checking for idas/idas.h... no
    checking for idas/idas.h... (cached) no
    checking idas/idas_dense.h usability... no
    checking idas/idas_dense.h presence... no
    checking for idas/idas_dense.h... no
    checking kinsol/kinsol.h usability... no
    checking kinsol/kinsol.h presence... no
    checking for kinsol/kinsol.h... no
    checking kinsol/kinsol_dense.h usability... no
    checking kinsol/kinsol_dense.h presence... no
    checking for kinsol/kinsol_dense.h... no
    checking nvector/nvector_serial.h usability... no
    checking nvector/nvector_serial.h presence... no
    checking for nvector/nvector_serial.h... no
    checking sundials/sundials_types.h usability... no
    checking sundials/sundials_types.h presence... no
    checking for sundials/sundials_types.h... no
    checking sundials/sundials_math.h usability... no
    checking sundials/sundials_math.h presence... no
    checking for sundials/sundials_math.h... no
    checking Sundials linking... failed to link KINInit
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking gettext linking... in C-library
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    checking gettext linking... in C-library
    checking hwloc.h usability... yes
    checking hwloc.h presence... yes
    checking for hwloc.h... yes
    checking for hwloc_get_nbobjs_by_depth in -lhwloc... yes
    checking uuid/uuid.h usability... no
    checking uuid/uuid.h presence... no
    checking for uuid/uuid.h... no
    checking for pthread_self in -lpthread... yes
    checking for CORBA... none
    checking for OpenCL... checking CL/cl.h usability... no
    checking CL/cl.h presence... no
    checking for CL/cl.h... no
    checking OpenCL/cl.h usability... no
    checking OpenCL/cl.h presence... no
    checking for OpenCL/cl.h... no
    checking for revision... OMCompiler v1.12.0-dev.73+ge1918e8
    checking for OpenModelica platform name... x86_64-linux
    checking for Modelica platform name... linux64
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating Compiler/Makefile
    config.status: creating Compiler/Script/Makefile
    config.status: creating Compiler/Template/Makefile
    config.status: creating Compiler/runtime/Makefile
    config.status: creating Compiler/runtime/config.unix.h
    config.status: creating Parser/Makefile
    config.status: creating SimulationRuntime/cpp/Makefile.env
    config.status: creating SimulationRuntime/c/Makefile
    config.status: creating SimulationRuntime/opc/ua/Makefile
    config.status: creating SimulationRuntime/fmi/export/buildproject/Makefile
    config.status: creating SimulationRuntime/java_interface/Makefile
    config.status: creating SimulationRuntime/ParModelica/Makefile
    config.status: creating SimulationRuntime/ParModelica/auto/Makefile
    config.status: creating SimulationRuntime/ParModelica/explicit/openclrt/Makefile
    config.status: creating Compiler/boot/Makefile
    config.status: creating Compiler/Lexers/Makefile
    config.status: executing config.unix.h.fix commands
    === configuring in SimulationRuntime/cpp (/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMCompiler/SimulationRuntime/cpp)
    configure: running /bin/bash ./configure --disable-option-checking '--prefix=/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build'  'CC=clang' 'CXX=clang++' '--with-ombuilddir=/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/build' --cache-file=/dev/null --srcdir=.
    checking for gcc... clang
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether clang accepts -g... yes
    checking for clang option to accept ISO C89... none needed
    checking whether we are using the GNU C++ compiler... yes
    checking whether clang++ accepts -g... yes
    checking how to run the C preprocessor... clang -E
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking if boost static linking is requested... no
    checking if boost real paths are requested... no
    checking if c++03 support is requested... no
    checking if runtime profiling is requested... no
    checking if ScoreP is requested... no
    ScoreP-home is set to
    checking if sundials for FMUs is requested... no
    checking if parallel output is requested... no
    checking if logger should be used... yes
    Build type is set to RelWithDebInfo
    configure: creating ./config.status
    config.status: creating Makefile

    Configured OpenModelica successfully using the following options:
    Simulations may use UMFPACK: No
    Simulations may use sundials suite: No
    Simulations may use UMFPACK: Yes
    ParModelica: No
    === configuring in OMPlot (/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMPlot)
    configure: WARNING: no configuration information is in OMPlot
    === configuring in OMEdit (/home/jalpanchal/Documents/OpenModelicaBuild/OpenModelica-minimal/OMEdit)
    configure: WARNING: no configuration information is in OMEdit

    I have been using OpenModelica for quite some time now and am interested in building OpenModelica from soure on my linux machine, I need help doing so.

    I followed the following steps as mentione din the README file in OpenModelica GitHub:

  • I have installed all the dependencies mentioned

  • I then follewed the steps to clone OpenModleica-minimal and update OMCompiler as mentioned

  • I then followed the steps :
    autoconf
    ./configure CC=clang CXX=clang++
    make -j8
    build/bin/omc --version


  • At this point the make command didn't return any errors but the omc wasn't created in the build/bin folder. Have I missed something?
    I also tries the stepd in the README on the OMCompiler-master but that wasn't successful either.

    Could you please point me to the steps or guide me in any way so that I can build OpenModelica on my Linux machine?

    Yes, It works! thank you current/smile

    Steps I followed:

    1. Got a Raspberry Pi 3 and a 32GB SD Card.

    2. Put the Ubuntu MATE image for Raspberry Pi on the SD Card and followed installation steps

    3. Once Installed executed the following ommands in shell:



    I didn't install omlib- files due to space constraints on the SD Card as the Root partition was of 8GB. Using GParted this can be increased and omlib can be installed


    Hey,

    I am willing to use OpenModelica on Raspberry Pi. Can you guide to on how I should go about it?

    I have been using OMEdit and related packages on Windows and Linux for quite some time now and am comfortable with using them.

    Nov-15-16 08:16:47
    Category: Workshops

    You could try ModelicaByExample

    Nov-15-16 05:55:02
    I am trying to acvhieve W(t - R) where R is a contant variable
    Category: Programming

    This seems to have worked..


    Code:



    model TimeDelay_OMForum
      parameter Real N = 1;
      parameter Real R = 1;
      parameter Real K = 5.3;
      parameter Real C = 1;
     
      Real W(start = 0.1);
      Real Q(start = 1);
     
      Real Wdelay;
      Real Qdelay;
     
    equation
      Wdelay = delay(W, R);
      Qdelay = delay(Q, R);
     
      der(W) = (1/R) - (W*Wdelay*K*Qdelay)/(2*R);
     
      der(Q) = if Q > 0 then ((N*W)/R - C)  else max(((N*W)/R - C) ,0);

     
    end TimeDelay_OMForum;

    If you want to check a few examples that definitely work, try the MoodelicaByExample Library Models. Its a Library made to go along with the ModelicaByExample book by Michael Tiller. ModelicaByExample. This library is included with the OMEdit Installation

    To load it:

  • File >System Libraries >  ModelicaByExample


  • As far as I've tried all Models in this package work. You could test with ModelicaByExample.BasicEquations.SimpleExample.Firstorder.



    Nov-15-16 04:33:50
    Couldn't find an option to change the size of the white page

    If you have an elaborate model you can just increase the size of the canvas right instead of changing the size of the model components?

    To change the size of the canvas:

  • Right Click in the diagram view and select "Properties'.

  • Change the values under "Extent" to a suitable value.


  • This will expand the canvas and allow you to zoom and navigate around the Diagram

    Nov-07-16 03:21:57
    Unable to get the output from System() C on a Linux Machine

    Alright, I'll check the log file.

    We've set the Environment variables in the bashrc file.

    And opening OMEdit from a bash window solved the problem. We were able to access the ENV Varibles and the Shared memory was updated!
    Thank you current/big_smile

    Nov-04-16 11:02:03
    Unable to get the output from System() C on a Linux Machine

    If I directly use
    >>>system ("echo 'abc' ")

    in OMShell,where can I see the output of this command?

    The User guide says:

    system(str) Execute str as a system(shell) command in the operating system; return integer success value. Output
    into stdout from a shell command is put into the console window.

    But I don't see any output on the OMShell window.

    Nov-04-16 10:55:37
    Unable to get the output from System() C on a Linux Machine

    Hi,

    I tried the OMShell method I think I know where the problem lies. A file used to write in the shared memory used by need needs to access a few specific Environment path variables that direct to a few files(We are working with an existing system and we are integrating Modelica with it).

    Is it possible that the omc isn't able to access these? Is there a way to check all the Environment Variables omc is using?

    I don't face this problem with execution from Linux Shell probably because it has access to the predefined Path from the Environment Variables.

    Nov-04-16 07:56:23
    Unable to get the output from System() C on a Linux Machine

    Oh that's great! I'll try these out current/smile!

    Thank you!

    Nov-04-16 07:46:27
    Unable to get the output from System() C on a Linux Machine

    Oh! current/yikes
    Do I need to use OMShell to see the output or is there another way?

    Nov-04-16 07:38:59
    Unable to get the output from System() C on a Linux Machine

    Oh alright! I'll check that.
    Where did you see the output of the echo command when you execute the C file from OMEdit?

    Thank you from your quick replies current/smile

    Nov-04-16 07:30:37
    Unable to get the output from System() C on a Linux Machine

    @sjoelund.se

    What do you mean when you say "check the return code from the system call" ? could you please elaborate?

    $ ./SystemFunctionTest -output returnValue -override stepSize=0.5 -s euler  - What is happening here?

    Also Is there a way I can see the output from a printf/puts C command  written inside an C external function?

    Nov-04-16 06:50:24
    Unable to get the output from System() C on a Linux Machine

    Hi,

    I am interested in executing a executable C file on my Linux Machine from inside a modelica code.

    I used Modelica.Utilities.System.command function to pass the command string to execute the executable file. The Simulation was completed but the file wasn't executed. The file changes a few values in a shared memory so I can cross check if the file was executed.

    I am able to run the executable directly from the shell using : /home/<path_to_file>/test (test is the executable generated by gcc).

    But when I implement the same using :

    model SystemFunctionTest
      Real returnValue = Modelica.Utilities.System.command("/home/<path_to_file>/test");
    end SystemFunctionTest;

    The value of the variable in the shared memory isn't changed telling me that the executable "test" wasn't executed.

    I am using a Ubuntu 16.04 32-bit machine with 1.11.0~dev-153-g45ed062 32-bit OMEdit.

    Can someone guide me to solve this?

    Thank you.

    I am having trouble setting up an OPC DA Server from OMEdit.
    I have tried setup a OPC DA Server using the Simulation Flag -rt 1.0 -embeddedServer opc-da but I get an error in return saying:

    LOG_DEBUG | error | <p>Failed to load shared object libomopcda.dll: The specified module could not be found. </p>
    <p>

    Can someone guide me on how I can load the said object or any other way of running the OPC DA Server?

    I have tried using OMEdit 1.11.0 -54 dev 32 bit and 64 bit.

    P.S. : Using the flag -rt 1.0 -embeddedServer opc-ua I have been able to setup an OPC UA Server on OMEdit. But now I need an OPC DA Server for my application.

    Thank you.
    Jal Panchal

    Aug-08-16 05:12:56
    Changing OPC UA Server Port

    thank you @ravi. Although I dont have previous experience in compiling omc, I will look into and try out the method you've suggested. I'll update once I get some lead

    Best,
    Jal

    Aug-07-16 11:47:54
    Changing OPC UA Server Port

    Hi, I am trying to use OPC UA to communicate with OMEdit and a Client GUI software(Movicon). But due to restrictions in Movicon, the port 4841 used by OMEdit  OPC UA Server cannot be connected to the client. It is unable to pick the Tags sent by OMEdit.
    I have been able to connect the OPC UA Server of OMEdit to other Clients and it has worked fine, but I need to use Movicon for my application.
    Can anyone guide me on how the OPC UA Server port of OMEdit can be changed.

    Jul-07-16 04:27:02
    viewing animation of StateGraph models

    If OpenModelica Doesn't support animation, then do you know which software was used to for the animation mentioned in the documentation? Or is there any other software that I could use to view such animations for state-graphs?

    Thank you.

    Jul-06-16 12:41:59
    viewing animation of StateGraph models

    I am new to using StateGraph in OpenModelica and while reading through the documentation in Modelica.StateGraph.UsersGuide.Overview I found this sentence:
      "The figure above is a screen-shot from the animation of the StateGraph: Whenever a step is active or a transition can fire, the corresponding component is marked in green color." but was unable to find a way to view such an animation.

    Can anyone guide me through the process of visualizing StateGraph animations.

    Cheers.

    https://build.openmodelica.org/Documentation/Modelica%203.2.2/Resources/Images/StateGraph/UsersGuide/Parallel1.png

    Jun-29-16 05:06:25
    Seeing Diagram/Icon View using annotations in Eclipse using ModelicaML

    @sjoelund.se could you guide me in using that Python code from Git that you pointed to? I haven't used COBRA plugin before.

    @adeas we are going to use customized diagrams for our model so I think we will just need Eclipse to understand Libraries of Shapes, text, and coordinate axes. Thank you for your input.

    Is Eclipse with MDT meant to be able to replace OMEdit? I appreciate the Syntax checking and Library access feature in Eclipse which are not available in OMEdit but I also need Icon/Diagram View for our project.

    Jun-28-16 12:05:49
    Seeing Diagram/Icon View using annotations in Eclipse using ModelicaML

    @sjoelund.se. Thank you for the prompt replies. Is OMPython the only way to do it? I don't know python..
    If that's the only way, I'll learn Python. But also, how do you use OMPython with Eclipse?

    Jun-28-16 11:49:11
    Seeing Diagram/Icon View using annotations in Eclipse using ModelicaML

    I tried that. The command I found related to this was getIconAnnotation(<modelname>) I tried that with omc inside Eclipse and it just returned the Icon Annotation.

    Has someone tried to get the Icon/Diagram View while using Eclipse with MDT/ModelicaML before?

    Jun-28-16 08:56:51
    Seeing Diagram/Icon View using annotations in Eclipse using ModelicaML

    Hi,
    I am working on Modelica and UML on Eclipse and am trying to make Icons and Diagrams for my models using annotations from modelicaML. I need help in viewing the Diagram/Icon view in Eclipse from the annoatations.

    I am using Eclipse Kepler with MDT and ModelicaML.

    Thank you.

    • Index
    • » Users
    • » jalpanchal
    • » Profile
    You are here: