Bug Summary

File:OMCompiler/Compiler/boot/build/Builtin.c
Warning:line 365, column 3
Value stored to '_anyNonExpandableConnector2int' is never read

Annotated Source Code

[?] Use j/k keys for keyboard navigation

1#ifdef OMC_BASE_FILE
2 #define OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c" OMC_BASE_FILE
3#else
4 #define OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c" "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
5#endif
6#include "omc_simulation_settings.h"
7#include "Builtin.h"
8#define _OMC_LIT0_data"grammar" "grammar"
9static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT0,7,_OMC_LIT0_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT0
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "grammar"
}
;
10#define _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT0)((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3))
11#define _OMC_LIT1_data"g" "g"
12static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT1,1,_OMC_LIT1_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT1
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "g"
}
;
13#define _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT1)((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))
14static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT2,1,1)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT2
= { (((1) << 10) + (((1) & 255) << 2)),
{_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))}};
15#define _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT2)((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))
16static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT3,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT3
= { (((1) << 10) + (((4) & 255) << 2)),
{&Flags_FlagVisibility_EXTERNAL__desc,}};
17#define _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT3)((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3))
18#define _OMC_LIT4_data"Modelica" "Modelica"
19static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT4,8,_OMC_LIT4_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT4
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "Modelica"
}
;
20#define _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT4)((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))
21static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT5,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT5
= { (((2) << 10) + (((0) & 255) << 2)),
{_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
22#define _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT5)((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))
23#define _OMC_LIT6_data"MetaModelica" "MetaModelica"
24static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT6,12,_OMC_LIT6_data)struct { mmc_uint_t header; const char data[(12)+1]; } _OMC_LIT_STRUCT6
= { ((((mmc_uint_t)12)<<(3))+((1<<(3+3))+5)), "MetaModelica"
}
;
25#define _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT6)((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))
26static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT7,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT7
= { (((2) << 10) + (((0) & 255) << 2)),
{_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(2))((void*)(((((mmc_uint_t) (2)) << 1)+0)))}};
27#define _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT7)((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))
28#define _OMC_LIT8_data"ParModelica" "ParModelica"
29static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT8,11,_OMC_LIT8_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT8
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "ParModelica"
}
;
30#define _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT8)((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))
31static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT9,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT9
= { (((2) << 10) + (((0) & 255) << 2)),
{_OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(3))((void*)(((((mmc_uint_t) (3)) << 1)+0)))}};
32#define _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT9)((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))
33#define _OMC_LIT10_data"Optimica" "Optimica"
34static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT10,8,_OMC_LIT10_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT10
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "Optimica"
}
;
35#define _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT10)((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))
36static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT11,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT11
= { (((2) << 10) + (((0) & 255) << 2)),
{_OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(4))((void*)(((((mmc_uint_t) (4)) << 1)+0)))}};
37#define _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT11)((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))
38#define _OMC_LIT12_data"PDEModelica" "PDEModelica"
39static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT12,11,_OMC_LIT12_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT12
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "PDEModelica"
}
;
40#define _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT12)((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))
41static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT13,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT13
= { (((2) << 10) + (((0) & 255) << 2)),
{_OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(5))((void*)(((((mmc_uint_t) (5)) << 1)+0)))}};
42#define _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT13)((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))
43static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT14,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT14
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
44#define _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT14)((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))
45static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT15,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT15
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)),_OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))}};
46#define _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT15)((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))
47static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT16,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT16
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)),_OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))}};
48#define _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT16)((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))
49static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT17,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT17
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)),_OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))}};
50#define _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT17)((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))
51static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT18,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT18
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)),_OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))}};
52#define _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT18)((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))
53static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT19,3,10)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT19
= { (((3) << 10) + (((10) & 255) << 2)),
{&Flags_FlagData_ENUM__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))}};
54#define _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT19)((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))
55static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT20,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT20
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
56#define _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT20)((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))
57static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT21,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT21
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)),_OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))}};
58#define _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT21)((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))
59static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT22,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT22
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)),_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))}};
60#define _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT22)((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))
61static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT23,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT23
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),_OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))}};
62#define _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT23)((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))
63static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT24,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT24
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),_OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))}};
64#define _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT24)((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))
65static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT25,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT25
= { (((2) << 10) + (((3) & 255) << 2)),
{&Flags_ValidOptions_STRING__OPTION__desc,_OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))}};
66#define _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT25)((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))
67static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT26,1,1)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT26
= { (((1) << 10) + (((1) & 255) << 2)),
{_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))}};
68#define _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT26)((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))
69#define _OMC_LIT27_data"Sets the grammar and semantics to accept." "Sets the grammar and semantics to accept."
70static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT27,41,_OMC_LIT27_data)struct { mmc_uint_t header; const char data[(41)+1]; } _OMC_LIT_STRUCT27
= { ((((mmc_uint_t)41)<<(3))+((1<<(3+3))+5)), "Sets the grammar and semantics to accept."
}
;
71#define _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT27)((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))
72static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT28,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT28
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))}};
73#define _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT28)((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))
74static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT29,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT29
= { (((8) << 10) + (((3) & 255) << 2)),
{&Flags_ConfigFlag_CONFIG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(6))((void*)(((((mmc_uint_t) (6)) << 1)+0))),_OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)),_OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)),_OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)),_OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)),_OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)),_OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))}};
75#define _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT29)((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3))
76#define _OMC_LIT30_data"x" "x"
77static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT30,1,_OMC_LIT30_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT30
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "x"
}
;
78#define _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT30)((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))
79#define _OMC_LIT31_data"$dummy$" "$dummy$"
80static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT31,7,_OMC_LIT31_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT31
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "$dummy$"
}
;
81#define _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT31)((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))
82static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT32,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT32
= { (((2) << 10) + (((4) & 255) << 2)),
{&Absyn_Path_IDENT__desc,_OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))}};
83#define _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT32)((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))
84static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT33,3,8)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT33
= { (((3) << 10) + (((8) & 255) << 2)),
{&ClassInf_State_CONNECTOR__desc,_OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
85#define _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT33)((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3))
86static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT34,1,1)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT34
= { (((1) << 10) + (((1) & 255) << 2)),
{_OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3))}};
87#define _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT34)((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))
88static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT35,2,19)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT35
= { (((2) << 10) + (((19) & 255) << 2)),
{&DAE_Type_T__ANYTYPE__desc,_OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))}};
89#define _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT35)((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3))
90static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT36,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT36
= { (((1) << 10) + (((5) & 255) << 2)),
{&DAE_Const_C__VAR__desc,}};
91#define _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT36)((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))
92static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT37,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT37
= { (((1) << 10) + (((5) & 255) << 2)),
{&DAE_VarParallelism_NON__PARALLEL__desc,}};
93#define _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT37)((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3))
94static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT38,6,3)struct { mmc_uint_t header; const void *data[6]; } _OMC_LIT_STRUCT38
= { (((6) << 10) + (((3) & 255) << 2)),
{&DAE_FuncArg_FUNCARG__desc,_OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)),_OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)),_OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)),_OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3))}};
95#define _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT38)((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))
96static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT39,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT39
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
97#define _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT39)((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3))
98static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT40,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT40
= { (((2) << 10) + (((3) & 255) << 2)),
{&DAE_Type_T__INTEGER__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
99#define _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT40)((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))
100static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT41,1,7)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT41
= { (((1) << 10) + (((7) & 255) << 2)),
{&DAE_InlineType_NO__INLINE__desc,}};
101#define _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT41)((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))
102static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT42,3,4)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT42
= { (((3) << 10) + (((4) & 255) << 2)),
{&DAE_FunctionBuiltin_FUNCTION__BUILTIN__desc,MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
103#define _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT42)((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))
104static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT43,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT43
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_FunctionParallelism_FP__NON__PARALLEL__desc,}};
105#define _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT43)((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))
106static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT44,7,3)struct { mmc_uint_t header; const void *data[7]; } _OMC_LIT_STRUCT44
= { (((7) << 10) + (((3) & 255) << 2)),
{&DAE_FunctionAttributes_FUNCTION__ATTRIBUTES__desc,_OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)),_OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))}};
107#define _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT44)((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))
108#define _OMC_LIT45_data"cardinality" "cardinality"
109static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT45,11,_OMC_LIT45_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT45
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "cardinality"
}
;
110#define _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT45)((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))
111static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT46,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT46
= { (((2) << 10) + (((4) & 255) << 2)),
{&Absyn_Path_IDENT__desc,_OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))}};
112#define _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT46)((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))
113static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT47,5,14)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT47
= { (((5) << 10) + (((14) & 255) << 2)),
{&DAE_Type_T__FUNCTION__desc,_OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)),_OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)),_OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)),_OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))}};
114#define _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT47)((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))
115static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT48,3,8)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT48
= { (((3) << 10) + (((8) & 255) << 2)),
{&ClassInf_State_CONNECTOR__desc,_OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
116#define _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT48)((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))
117static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT49,1,1)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT49
= { (((1) << 10) + (((1) & 255) << 2)),
{_OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))}};
118#define _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT49)((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))
119static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT50,2,19)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT50
= { (((2) << 10) + (((19) & 255) << 2)),
{&DAE_Type_T__ANYTYPE__desc,_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))}};
120#define _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT50)((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))
121static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT51,6,3)struct { mmc_uint_t header; const void *data[6]; } _OMC_LIT_STRUCT51
= { (((6) << 10) + (((3) & 255) << 2)),
{&DAE_FuncArg_FUNCARG__desc,_OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)),_OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)),_OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)),_OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3))}};
122#define _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT51)((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))
123static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT52,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT52
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
124#define _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT52)((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3))
125static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT53,5,14)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT53
= { (((5) << 10) + (((14) & 255) << 2)),
{&DAE_Type_T__FUNCTION__desc,_OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)),_OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)),_OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)),_OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))}};
126#define _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT53)((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3))
127#define _OMC_LIT54_data"graph" "graph"
128static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT54,5,_OMC_LIT54_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT54
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "graph"
}
;
129#define _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT54)((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))
130#define _OMC_LIT55_data"$EMPTY" "$EMPTY"
131static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT55,6,_OMC_LIT55_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT55
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "$EMPTY"
}
;
132#define _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT55)((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))
133static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT56,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT56
= { (((2) << 10) + (((4) & 255) << 2)),
{&Absyn_Path_IDENT__desc,_OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))}};
134#define _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT56)((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3))
135static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT57,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT57
= { (((1) << 10) + (((5) & 255) << 2)),
{&FCore_Kind_BASIC__TYPE__desc,}};
136#define _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT57)((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3))
137static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT58,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT58
= { (((1) << 10) + (((4) & 255) << 2)),
{&FCore_Kind_BUILTIN__desc,}};
138#define _OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT58)((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3))
139#define _OMC_LIT59_data"der" "der"
140static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT59,3,_OMC_LIT59_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT59
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "der"
}
;
141#define _OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT59)((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3))
142#define _OMC_LIT60_data"time" "time"
143static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT60,4,_OMC_LIT60_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT60
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "time"
}
;
144#define _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT60)((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3))
145#define _OMC_LIT61_data"startTime" "startTime"
146static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT61,9,_OMC_LIT61_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT61
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "startTime"
}
;
147#define _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT61)((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3))
148#define _OMC_LIT62_data"finalTime" "finalTime"
149static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT62,9,_OMC_LIT62_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT62
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "finalTime"
}
;
150#define _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT62)((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3))
151#define _OMC_LIT63_data"objective" "objective"
152static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT63,9,_OMC_LIT63_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT63
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "objective"
}
;
153#define _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT63)((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3))
154#define _OMC_LIT64_data"objectiveIntegrand" "objectiveIntegrand"
155static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT64,18,_OMC_LIT64_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT64
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), "objectiveIntegrand"
}
;
156#define _OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT64)((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3))
157#include "util/modelica.h"
158
159#include "Builtin_includes.h"
160
161
162/* default, do not make protected functions static */
163#if !defined(PROTECTED_FUNCTION_STATIC)
164#define PROTECTED_FUNCTION_STATIC
165#endif
166PROTECTED_FUNCTION_STATIC modelica_metatype omc_Builtin_getSetInitialGraph(threadData_t *threadData, modelica_metatype _inEnvOpt);
167static const MMC_DEFSTRUCTLIT(boxvar_lit_Builtin_getSetInitialGraph,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_Builtin_getSetInitialGraph
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_Builtin_getSetInitialGraphomc_Builtin_getSetInitialGraph,0}};
168#define boxvar_Builtin_getSetInitialGraph((void*)((char*)(&(boxvar_lit_Builtin_getSetInitialGraph)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_Builtin_getSetInitialGraph)((void*)((char*)(&(boxvar_lit_Builtin_getSetInitialGraph)
.header) + 3))
169
170PROTECTED_FUNCTION_STATIC modelica_metatype omc_Builtin_getSetInitialGraph(threadData_t *threadData, modelica_metatype _inEnvOpt)
171{
172 modelica_metatype _initialEnv = NULL((void*)0);
173 modelica_metatype tmpMeta[10] __attribute__((unused)) = {0};
174 MMC_SO()mmc_check_stackoverflow(threadData);
175 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
176 // _initialEnv has no default value.
177#line 177 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
178 { /* matchcontinue expression */
179 volatile modelica_metatype tmp3_1;
180 tmp3_1 = _inEnvOpt;
181 {
182 modelica_metatype _assocLst = NULL((void*)0);
183 modelica_metatype _graph = NULL((void*)0);
184 modelica_integer _f;
185 volatile mmc_switch_type tmp3;
186 int tmp4;
187 // _assocLst has no default value.
188 // _graph has no default value.
189 // _f has no default value.
190 tmp3 = 0;
191 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
192 tmp2_top:
193 threadData->mmc_jumper = &new_mmc_jumper;
194 for (; tmp3 < 3; tmp3++) {
195 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
196 case 0: {
197 modelica_boolean tmp5;
198
199 /* Pattern matching succeeded */
200#line 189 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
201 tmp5 = 0; /* begin failure */
202#line 189 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
203 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
204#line 189 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
205 getGlobalRoot(((modelica_integer) 17))nobox_getGlobalRoot(threadData,((modelica_integer) 17));
206#line 206 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
207 tmp5 = 1;
208 goto goto_6;
209 goto_6:;
210 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
211 if (tmp5) {goto goto_1;} /* end failure */
212
213#line 190 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
214 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
215#line 190 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
216 setGlobalRoot(((modelica_integer) 17), tmpMeta[1])boxptr_setGlobalRoot(threadData,mmc_mk_icon(((modelica_integer
) 17)),tmpMeta[1])
;
217#line 217 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
218#line 191 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
219 goto goto_1;
220#line 220 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
221 goto tmp2_done;
222 }
223 case 1: {
224 if (!optionNone(tmp3_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
225 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
226#line 197 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
227 _assocLst = getGlobalRoot(((modelica_integer) 17))nobox_getGlobalRoot(threadData,((modelica_integer) 17));
228#line 228 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
229#line 199 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
230 tmpMeta[0] = omc_FGraph_clone(threadData, omc_Util_assoc(threadData, mmc_mk_integermmc_mk_icon(omc_Flags_getConfigEnum(threadData, _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)))), _assocLst));
231#line 231 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
232 goto tmp2_done;
233 }
234 case 2: {
235 modelica_boolean tmp7;
236 modelica_boolean tmp8;
237 modelica_boolean tmp9;
238 if (optionNone(tmp3_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
239 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
240 _graph = tmpMeta[1];
241 /* Pattern matching succeeded */
242#line 205 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
243 _assocLst = getGlobalRoot(((modelica_integer) 17))nobox_getGlobalRoot(threadData,((modelica_integer) 17));
244#line 244 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
245
246#line 206 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
247 _f = omc_Flags_getConfigEnum(threadData, _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)));
248#line 248 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
249
250#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
251 tmp9 = (modelica_boolean)(_f == ((modelica_integer) 2));
252#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
253 if(tmp9)
254#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
255 {
256#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
257 tmpMeta[2] = mmc_mk_box2(0, mmc_mk_integermmc_mk_icon(((modelica_integer) 2)), _graph);
258#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
259 tmpMeta[1] = mmc_mk_cons(tmpMeta[2], _assocLst);
260#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
261 tmpMeta[9] = tmpMeta[1];
262#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
263 }
264#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
265 else
266#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
267 {
268#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
269 tmp8 = (modelica_boolean)(_f == ((modelica_integer) 3));
270#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
271 if(tmp8)
272#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
273 {
274#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
275 tmpMeta[4] = mmc_mk_box2(0, mmc_mk_integermmc_mk_icon(((modelica_integer) 3)), _graph);
276#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
277 tmpMeta[3] = mmc_mk_cons(tmpMeta[4], _assocLst);
278#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
279 tmpMeta[8] = tmpMeta[3];
280#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
281 }
282#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
283 else
284#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
285 {
286#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
287 tmp7 = (modelica_boolean)(_f == ((modelica_integer) 1));
288#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
289 if(tmp7)
290#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
291 {
292#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
293 tmpMeta[6] = mmc_mk_box2(0, mmc_mk_integermmc_mk_icon(((modelica_integer) 1)), _graph);
294#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
295 tmpMeta[5] = mmc_mk_cons(tmpMeta[6], _assocLst);
296#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
297 tmpMeta[7] = tmpMeta[5];
298#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
299 }
300#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
301 else
302#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
303 {
304#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
305 tmpMeta[7] = _assocLst;
306#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
307 }
308#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
309 tmpMeta[8] = tmpMeta[7];
310#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
311 }
312#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
313 tmpMeta[9] = tmpMeta[8];
314#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
315 }
316#line 207 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
317 _assocLst = tmpMeta[9];
318#line 318 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
319
320#line 214 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
321 setGlobalRoot(((modelica_integer) 17), _assocLst)boxptr_setGlobalRoot(threadData,mmc_mk_icon(((modelica_integer
) 17)),_assocLst)
;
322#line 322 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
323#line 215 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
324 tmpMeta[0] = _graph;
325#line 325 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
326 goto tmp2_done;
327 }
328 }
329 goto tmp2_end;
330 tmp2_end: ;
331 }
332 goto goto_1;
333 tmp2_done:
334 (void)tmp3;
335 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
336 goto tmp2_done2;
337 goto_1:;
338 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
339 if (++tmp3 < 3) {
340 goto tmp2_top;
341 }
342 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
343 tmp2_done2:;
344 }
345 }
346 _initialEnv = tmpMeta[0];
347 _return: OMC_LABEL_UNUSED__attribute__((unused))
348 return _initialEnv;
349}
350
351DLLExport
352modelica_metatype omc_Builtin_initialGraph(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype *out_graph)
353{
354 modelica_metatype _outCache = NULL((void*)0);
355 modelica_metatype _graph = NULL((void*)0);
356 modelica_metatype _cache = NULL((void*)0);
357 modelica_metatype _anyNonExpandableConnector2int = NULL((void*)0);
358 modelica_metatype _anyExpandableConnector2int = NULL((void*)0);
359 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
360 MMC_SO()mmc_check_stackoverflow(threadData);
361 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
362 // _outCache has no default value.
363 // _graph has no default value.
364 // _cache has no default value.
365 _anyNonExpandableConnector2int = _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3));
Value stored to '_anyNonExpandableConnector2int' is never read
366 _anyExpandableConnector2int = _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3));
367#line 130 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
368
369#line 130 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
370
371#line 371 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
372 { /* matchcontinue expression */
373 volatile modelica_metatype tmp4_1;
374 tmp4_1 = _inCache;
375 {
376 modelica_metatype _initialProgram = NULL((void*)0);
377 volatile mmc_switch_type tmp4;
378 int tmp5;
379 // _initialProgram has no default value.
380 tmp4 = 0;
381 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
382 tmp3_top:
383 threadData->mmc_jumper = &new_mmc_jumper;
384 for (; tmp4 < 3; tmp4++) {
385 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
386 case 0: {
387
388 _cache = tmp4_1;
389 /* Pattern matching succeeded */
390#line 138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
391 _graph = omc_FCore_getCachedInitialGraph(threadData, _cache);
392#line 392 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
393
394#line 140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
395 _graph = omc_FGraph_clone(threadData, _graph);
396#line 396 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
397#line 141 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
398 tmpMeta[0+0] = _cache;
399#line 141 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
400 tmpMeta[0+1] = _graph;
401#line 401 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
402 goto tmp3_done;
403 }
404 case 1: {
405
406 _cache = tmp4_1;
407 /* Pattern matching succeeded */
408#line 146 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
409 _graph = omc_Builtin_getSetInitialGraph(threadData, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
410#line 410 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
411#line 147 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
412 tmpMeta[0+0] = _cache;
413#line 147 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
414 tmpMeta[0+1] = _graph;
415#line 415 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
416 goto tmp3_done;
417 }
418 case 2: {
419
420 _cache = tmp4_1;
421 /* Pattern matching succeeded */
422#line 153 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
423 _graph = omc_FGraph_new(threadData, _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)), _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)));
424#line 424 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
425
426#line 154 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
427 _graph = omc_FGraphBuildEnv_mkProgramGraph(threadData, omc_FBuiltin_getBasicTypes(threadData), _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)), _graph);
428#line 428 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
429
430#line 156 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
431 _graph = omc_FBuiltin_initialGraphModelica(threadData, _graph, boxvar_FGraphBuildEnv_mkTypeNode((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_mkTypeNode).
header) + 3))
, boxvar_FGraphBuildEnv_mkCompNode((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_mkCompNode).
header) + 3))
);
432#line 432 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
433
434#line 158 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
435 omc_FBuiltin_getInitialFunctions(threadData ,&_initialProgram);
436#line 436 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
437
438#line 160 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
439 _graph = omc_FGraphBuildEnv_mkProgramGraph(threadData, _initialProgram, _OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)), _graph);
440#line 440 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
441
442#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
443 _graph = omc_FBuiltin_initialGraphOptimica(threadData, _graph, boxvar_FGraphBuildEnv_mkCompNode((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_mkCompNode).
header) + 3))
);
444#line 444 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
445
446#line 163 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
447 _graph = omc_FBuiltin_initialGraphMetaModelica(threadData, _graph, boxvar_FGraphBuildEnv_mkTypeNode((void*)((char*)(&(boxvar_lit_FGraphBuildEnv_mkTypeNode).
header) + 3))
);
448#line 448 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
449
450#line 165 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
451 _cache = omc_FCore_setCachedInitialGraph(threadData, _cache, _graph);
452#line 452 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
453
454#line 166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
455 omc_Builtin_getSetInitialGraph(threadData, mmc_mk_some(_graph));
456#line 456 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
457
458#line 168 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
459 _graph = omc_FGraph_clone(threadData, _graph);
460#line 460 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
461#line 169 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
462 tmpMeta[0+0] = _cache;
463#line 169 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
464 tmpMeta[0+1] = _graph;
465#line 465 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
466 goto tmp3_done;
467 }
468 }
469 goto tmp3_end;
470 tmp3_end: ;
471 }
472 goto goto_2;
473 tmp3_done:
474 (void)tmp4;
475 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
476 goto tmp3_done2;
477 goto_2:;
478 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
479 if (++tmp4 < 3) {
480 goto tmp3_top;
481 }
482 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
483 tmp3_done2:;
484 }
485 }
486 _outCache = tmpMeta[0+0];
487 _graph = tmpMeta[0+1];
488 _return: OMC_LABEL_UNUSED__attribute__((unused))
489 if (out_graph) { *out_graph = _graph; }
490 return _outCache;
491}
492
493DLLExport
494void omc_Builtin_isDer(threadData_t *threadData, modelica_metatype _inPath)
495{
496 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
497 MMC_SO()mmc_check_stackoverflow(threadData);
498 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
499#line 499 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
500 { /* match expression */
501 modelica_metatype tmp3_1;
502 tmp3_1 = _inPath;
503 {
504 modelica_metatype _path = NULL((void*)0);
505 volatile mmc_switch_type tmp3;
506 int tmp4;
507 // _path has no default value.
508 tmp3 = 0;
509 for (; tmp3 < 2; tmp3++) {
510 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
511 case 0: {
512 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
513 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
514 if (3 != MMC_STRLEN(tmpMeta[0])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT59)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT59).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[0])(((struct mmc_string*)((void*)((char*)(tmpMeta[0]) - 3)))->
data)
) != 0) goto tmp2_end;
515 /* Pattern matching succeeded */
516#line 516 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
517 goto tmp2_done;
518 }
519 case 1: {
520 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,2,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
521 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
522 _path = tmpMeta[0];
523 /* Pattern matching succeeded */
524#line 96 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
525 /* Tail recursive call */
526#line 96 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
527 _inPath = _path;
528#line 96 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
529 goto _tailrecursive;
530#line 96 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
531 /* TODO: Make sure any eventual dead code below is never generated */
532#line 96 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
533 ;
534#line 534 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
535#line 535 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
536 goto tmp2_done;
537 }
538 }
539 goto tmp2_end;
540 tmp2_end: ;
541 }
542 goto goto_1;
543 goto_1:;
544 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
545 goto tmp2_done;
546 tmp2_done:;
547 }
548 }
549 ;
550 _return: OMC_LABEL_UNUSED__attribute__((unused))
551 return;
552}
553
554DLLExport
555modelica_boolean omc_Builtin_variableNameIsBuiltin(threadData_t *threadData, modelica_string _name)
556{
557 modelica_boolean _b;
558 modelica_boolean tmp1 = 0;
559 MMC_SO()mmc_check_stackoverflow(threadData);
560 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
561 // _b has no default value.
562#line 562 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
563 { /* match expression */
564 modelica_string tmp4_1;
565 tmp4_1 = _name;
566 {
567 volatile mmc_switch_type tmp4;
568 int tmp5;
569 tmp4 = 0;
570 for (; tmp4 < 6; tmp4++) {
571 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
572 case 0: {
573 if (4 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT60)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT60).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
574 /* Pattern matching succeeded */
575#line 79 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
576 tmp1 = 1;
577#line 577 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
578 goto tmp3_done;
579 }
580 case 1: {
581 if (9 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT61)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT61).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
582 /* Pattern matching succeeded */
583#line 81 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
584 tmp1 = omc_Config_acceptOptimicaGrammar(threadData);
585#line 585 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
586 goto tmp3_done;
587 }
588 case 2: {
589 if (9 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT62)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT62).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
590 /* Pattern matching succeeded */
591#line 82 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
592 tmp1 = omc_Config_acceptOptimicaGrammar(threadData);
593#line 593 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
594 goto tmp3_done;
595 }
596 case 3: {
597 if (9 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT63)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT63).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
598 /* Pattern matching succeeded */
599#line 83 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
600 tmp1 = omc_Config_acceptOptimicaGrammar(threadData);
601#line 601 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
602 goto tmp3_done;
603 }
604 case 4: {
605 if (18 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT64)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT64).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
606 /* Pattern matching succeeded */
607#line 84 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
608 tmp1 = omc_Config_acceptOptimicaGrammar(threadData);
609#line 609 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
610 goto tmp3_done;
611 }
612 case 5: {
613
614 /* Pattern matching succeeded */
615#line 85 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
616 tmp1 = 0;
617#line 617 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
618 goto tmp3_done;
619 }
620 }
621 goto tmp3_end;
622 tmp3_end: ;
623 }
624 goto goto_2;
625 goto_2:;
626 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
627 goto tmp3_done;
628 tmp3_done:;
629 }
630 }
631 _b = tmp1;
632 _return: OMC_LABEL_UNUSED__attribute__((unused))
633 return _b;
634}
635modelica_metatype boxptr_Builtin_variableNameIsBuiltin(threadData_t *threadData, modelica_metatype _name)
636{
637 modelica_boolean _b;
638 modelica_metatype out_b;
639 _b = omc_Builtin_variableNameIsBuiltin(threadData, _name);
640 out_b = mmc_mk_icon(_b);
641 return out_b;
642}
643
644DLLExport
645modelica_boolean omc_Builtin_variableIsBuiltin(threadData_t *threadData, modelica_metatype _cref)
646{
647 modelica_boolean _b;
648 modelica_boolean tmp1 = 0;
649 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
650 MMC_SO()mmc_check_stackoverflow(threadData);
651 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
652 // _b has no default value.
653#line 653 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
654 { /* match expression */
655 modelica_metatype tmp4_1;
656 tmp4_1 = _cref;
657 {
658 modelica_string _id = NULL((void*)0);
659 volatile mmc_switch_type tmp4;
660 int tmp5;
661 // _id has no default value.
662 tmp4 = 0;
663 for (; tmp4 < 2; tmp4++) {
664 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
665 case 0: {
666 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
667 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
668
669 _id = tmpMeta[0];
670 /* Pattern matching succeeded */
671#line 67 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
672 tmp1 = omc_Builtin_variableNameIsBuiltin(threadData, _id);
673#line 673 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
674 goto tmp3_done;
675 }
676 case 1: {
677
678 /* Pattern matching succeeded */
679#line 68 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/Builtin.mo"
680 tmp1 = 0;
681#line 681 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/Builtin.c"
682 goto tmp3_done;
683 }
684 }
685 goto tmp3_end;
686 tmp3_end: ;
687 }
688 goto goto_2;
689 goto_2:;
690 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
691 goto tmp3_done;
692 tmp3_done:;
693 }
694 }
695 _b = tmp1;
696 _return: OMC_LABEL_UNUSED__attribute__((unused))
697 return _b;
698}
699modelica_metatype boxptr_Builtin_variableIsBuiltin(threadData_t *threadData, modelica_metatype _cref)
700{
701 modelica_boolean _b;
702 modelica_metatype out_b;
703 _b = omc_Builtin_variableIsBuiltin(threadData, _cref);
704 out_b = mmc_mk_icon(_b);
705 return out_b;
706}
707