Bug Summary

File:OMCompiler/Compiler/boot/build/NFConvertDAE.c
Warning:line 4438, column 3
Value stored to '_is_array' 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/NFConvertDAE.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/NFConvertDAE.c" "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
5#endif
6#include "omc_simulation_settings.h"
7#include "NFConvertDAE.h"
8static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT0,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT0
= { (((1) << 10) + (((4) & 255) << 2)),
{&NFComponentRef_EMPTY__desc,}};
9#define _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT0)((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3))
10static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT1,1,6)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT1
= { (((1) << 10) + (((6) & 255) << 2)),
{&DAE_ExtArg_NOEXTARG__desc,}};
11#define _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT1)((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))
12static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT2,4,3)struct { mmc_uint_t header; const void *data[4]; } _OMC_LIT_STRUCT2
= { (((4) << 10) + (((3) & 255) << 2)),
{&NFConvertDAE_VariableConversionSettings_VARIABLE__CONVERSION__SETTINGS__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
13#define _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT2)((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))
14#define _OMC_LIT3_data"NFConvertDAE.convertFunctionParam got untyped component." "NFConvertDAE.convertFunctionParam got untyped component."
15static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT3,56,_OMC_LIT3_data)struct { mmc_uint_t header; const char data[(56)+1]; } _OMC_LIT_STRUCT3
= { ((((mmc_uint_t)56)<<(3))+((1<<(3+3))+5)), "NFConvertDAE.convertFunctionParam got untyped component."
}
;
16#define _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT3)((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3))
17#define _OMC_LIT4_data"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo" "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
18static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT4,100,_OMC_LIT4_data)struct { mmc_uint_t header; const char data[(100)+1]; } _OMC_LIT_STRUCT4
= { ((((mmc_uint_t)100)<<(3))+((1<<(3+3))+5)), "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
}
;
19#define _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT4)((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))
20static const MMC_DEFREALLIT(_OMC_LIT_STRUCT5_6,1580577680.0)struct mmc_real_lit _OMC_LIT_STRUCT5_6 = {0,(((8/8) << 10
) + 9),1580577680.0}
;
21#define _OMC_LIT5_6((void*)((char*)(&(_OMC_LIT_STRUCT5_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT5_6)((void*)((char*)(&(_OMC_LIT_STRUCT5_6).header) + 3))
22static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT5,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT5
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1055))((void*)(((((mmc_uint_t) (1055)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(9))((void*)(((((mmc_uint_t) (9)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1055))((void*)(((((mmc_uint_t) (1055)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(92))((void*)(((((mmc_uint_t) (92)) << 1)+0))),_OMC_LIT5_6((void*)((char*)(&(_OMC_LIT_STRUCT5_6).header) + 3))}};
23#define _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT5)((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))
24#define _OMC_LIT6_data"" ""
25static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT6,0,_OMC_LIT6_data)struct { mmc_uint_t header; const char data[(0)+1]; } _OMC_LIT_STRUCT6
= { ((((mmc_uint_t)0)<<(3))+((1<<(3+3))+5)), "" }
;
26#define _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT6)((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))
27static const MMC_DEFREALLIT(_OMC_LIT_STRUCT7,0.0)struct mmc_real_lit _OMC_LIT_STRUCT7 = {0,(((8/8) << 10
) + 9),0.0}
;
28#define _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT7)((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))
29static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT8,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT8
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 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))),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_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))}};
30#define _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT8)((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))
31static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT9,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT9
= { (((1) << 10) + (((4) & 255) << 2)),
{&DAE_ComponentPrefix_NOCOMPPRE__desc,}};
32#define _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT9)((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))
33static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT10,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT10
= { (((8) << 10) + (((3) & 255) << 2)),
{&DAE_ElementSource_SOURCE__desc,_OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
34#define _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT10)((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))
35#define _OMC_LIT11_data"NFConvertDAE.convertFunction got unknown function" "NFConvertDAE.convertFunction got unknown function"
36static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT11,49,_OMC_LIT11_data)struct { mmc_uint_t header; const char data[(49)+1]; } _OMC_LIT_STRUCT11
= { ((((mmc_uint_t)49)<<(3))+((1<<(3+3))+5)), "NFConvertDAE.convertFunction got unknown function"
}
;
37#define _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT11)((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))
38static const MMC_DEFREALLIT(_OMC_LIT_STRUCT12_6,1580577680.0)struct mmc_real_lit _OMC_LIT_STRUCT12_6 = {0,(((8/8) <<
10) + 9),1580577680.0}
;
39#define _OMC_LIT12_6((void*)((char*)(&(_OMC_LIT_STRUCT12_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT12_6)((void*)((char*)(&(_OMC_LIT_STRUCT12_6).header) + 3))
40static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT12,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT12
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1009))((void*)(((((mmc_uint_t) (1009)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(9))((void*)(((((mmc_uint_t) (9)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1009))((void*)(((((mmc_uint_t) (1009)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(90))((void*)(((((mmc_uint_t) (90)) << 1)+0))),_OMC_LIT12_6((void*)((char*)(&(_OMC_LIT_STRUCT12_6).header) + 3))}};
41#define _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT12)((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))
42static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT13,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT13
= { (((1) << 10) + (((5) & 255) << 2)),
{&DAE_AvlTreePathFunction_Tree_EMPTY__desc,}};
43#define _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT13)((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))
44static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT14,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT14
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_Else_NOELSE__desc,}};
45#define _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT14)((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))
46static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT15,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT15
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_StateSelect_NEVER__desc,}};
47#define _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT15)((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))
48static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT16,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT16
= { (((1) << 10) + (((4) & 255) << 2)),
{&DAE_StateSelect_AVOID__desc,}};
49#define _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT16)((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))
50static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT17,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT17
= { (((1) << 10) + (((5) & 255) << 2)),
{&DAE_StateSelect_DEFAULT__desc,}};
51#define _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT17)((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))
52static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT18,1,6)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT18
= { (((1) << 10) + (((6) & 255) << 2)),
{&DAE_StateSelect_PREFER__desc,}};
53#define _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT18)((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))
54static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT19,1,7)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT19
= { (((1) << 10) + (((7) & 255) << 2)),
{&DAE_StateSelect_ALWAYS__desc,}};
55#define _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT19)((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))
56#define _OMC_LIT20_data"NFConvertDAE.lookupStateSelectMember got unknown StateSelect literal " "NFConvertDAE.lookupStateSelectMember got unknown StateSelect literal "
57static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT20,69,_OMC_LIT20_data)struct { mmc_uint_t header; const char data[(69)+1]; } _OMC_LIT_STRUCT20
= { ((((mmc_uint_t)69)<<(3))+((1<<(3+3))+5)), "NFConvertDAE.lookupStateSelectMember got unknown StateSelect literal "
}
;
58#define _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT20)((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))
59static const MMC_DEFREALLIT(_OMC_LIT_STRUCT21_6,1580577680.0)struct mmc_real_lit _OMC_LIT_STRUCT21_6 = {0,(((8/8) <<
10) + 9),1580577680.0}
;
60#define _OMC_LIT21_6((void*)((char*)(&(_OMC_LIT_STRUCT21_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT21_6)((void*)((char*)(&(_OMC_LIT_STRUCT21_6).header) + 3))
61static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT21,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT21
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(474))((void*)(((((mmc_uint_t) (474)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(9))((void*)(((((mmc_uint_t) (9)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(474))((void*)(((((mmc_uint_t) (474)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(109))((void*)(((((mmc_uint_t) (109)) << 1)+0))),_OMC_LIT21_6((void*)((char*)(&(_OMC_LIT_STRUCT21_6).header) + 3))}};
62#define _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT21)((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))
63#define _OMC_LIT22_data"never" "never"
64static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT22,5,_OMC_LIT22_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT22
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "never"
}
;
65#define _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT22)((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))
66#define _OMC_LIT23_data"avoid" "avoid"
67static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT23,5,_OMC_LIT23_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT23
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "avoid"
}
;
68#define _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT23)((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))
69#define _OMC_LIT24_data"default" "default"
70static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT24,7,_OMC_LIT24_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT24
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "default"
}
;
71#define _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT24)((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))
72#define _OMC_LIT25_data"prefer" "prefer"
73static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT25,6,_OMC_LIT25_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT25
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "prefer"
}
;
74#define _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT25)((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))
75#define _OMC_LIT26_data"always" "always"
76static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT26,6,_OMC_LIT26_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT26
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "always"
}
;
77#define _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT26)((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))
78#define _OMC_LIT27_data"NFConvertDAE.convertStateSelectAttribute got invalid StateSelect expression " "NFConvertDAE.convertStateSelectAttribute got invalid StateSelect expression "
79static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT27,76,_OMC_LIT27_data)struct { mmc_uint_t header; const char data[(76)+1]; } _OMC_LIT_STRUCT27
= { ((((mmc_uint_t)76)<<(3))+((1<<(3+3))+5)), "NFConvertDAE.convertStateSelectAttribute got invalid StateSelect expression "
}
;
80#define _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT27)((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))
81static const MMC_DEFREALLIT(_OMC_LIT_STRUCT28_6,1580577680.0)struct mmc_real_lit _OMC_LIT_STRUCT28_6 = {0,(((8/8) <<
10) + 9),1580577680.0}
;
82#define _OMC_LIT28_6((void*)((char*)(&(_OMC_LIT_STRUCT28_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT28_6)((void*)((char*)(&(_OMC_LIT_STRUCT28_6).header) + 3))
83static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT28,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT28
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(453))((void*)(((((mmc_uint_t) (453)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(9))((void*)(((((mmc_uint_t) (9)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(454))((void*)(((((mmc_uint_t) (454)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(91))((void*)(((((mmc_uint_t) (91)) << 1)+0))),_OMC_LIT28_6((void*)((char*)(&(_OMC_LIT_STRUCT28_6).header) + 3))}};
84#define _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT28)((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))
85#define _OMC_LIT29_data"NFConvertDAE.convertEnumVarAttributes got unknown type attribute " "NFConvertDAE.convertEnumVarAttributes got unknown type attribute "
86static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT29,65,_OMC_LIT29_data)struct { mmc_uint_t header; const char data[(65)+1]; } _OMC_LIT_STRUCT29
= { ((((mmc_uint_t)65)<<(3))+((1<<(3+3))+5)), "NFConvertDAE.convertEnumVarAttributes got unknown type attribute "
}
;
87#define _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT29)((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3))
88static const MMC_DEFREALLIT(_OMC_LIT_STRUCT30_6,1580577680.0)struct mmc_real_lit _OMC_LIT_STRUCT30_6 = {0,(((8/8) <<
10) + 9),1580577680.0}
;
89#define _OMC_LIT30_6((void*)((char*)(&(_OMC_LIT_STRUCT30_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT30_6)((void*)((char*)(&(_OMC_LIT_STRUCT30_6).header) + 3))
90static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT30,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT30
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(425))((void*)(((((mmc_uint_t) (425)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(11))((void*)(((((mmc_uint_t) (11)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(425))((void*)(((((mmc_uint_t) (425)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(106))((void*)(((((mmc_uint_t) (106)) << 1)+0))),_OMC_LIT30_6((void*)((char*)(&(_OMC_LIT_STRUCT30_6).header) + 3))}};
91#define _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT30)((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))
92#define _OMC_LIT31_data"fixed" "fixed"
93static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT31,5,_OMC_LIT31_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT31
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "fixed"
}
;
94#define _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT31)((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))
95#define _OMC_LIT32_data"max" "max"
96static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT32,3,_OMC_LIT32_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT32
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "max"
}
;
97#define _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT32)((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))
98#define _OMC_LIT33_data"min" "min"
99static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT33,3,_OMC_LIT33_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT33
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "min"
}
;
100#define _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT33)((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3))
101#define _OMC_LIT34_data"quantity" "quantity"
102static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT34,8,_OMC_LIT34_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT34
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "quantity"
}
;
103#define _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT34)((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))
104#define _OMC_LIT35_data"start" "start"
105static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT35,5,_OMC_LIT35_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT35
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "start"
}
;
106#define _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT35)((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3))
107#define _OMC_LIT36_data"NFConvertDAE.convertStringVarAttributes got unknown type attribute " "NFConvertDAE.convertStringVarAttributes got unknown type attribute "
108static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT36,67,_OMC_LIT36_data)struct { mmc_uint_t header; const char data[(67)+1]; } _OMC_LIT_STRUCT36
= { ((((mmc_uint_t)67)<<(3))+((1<<(3+3))+5)), "NFConvertDAE.convertStringVarAttributes got unknown type attribute "
}
;
109#define _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT36)((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))
110static const MMC_DEFREALLIT(_OMC_LIT_STRUCT37_6,1580577680.0)struct mmc_real_lit _OMC_LIT_STRUCT37_6 = {0,(((8/8) <<
10) + 9),1580577680.0}
;
111#define _OMC_LIT37_6((void*)((char*)(&(_OMC_LIT_STRUCT37_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT37_6)((void*)((char*)(&(_OMC_LIT_STRUCT37_6).header) + 3))
112static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT37,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT37
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(391))((void*)(((((mmc_uint_t) (391)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(11))((void*)(((((mmc_uint_t) (11)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(391))((void*)(((((mmc_uint_t) (391)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(106))((void*)(((((mmc_uint_t) (106)) << 1)+0))),_OMC_LIT37_6((void*)((char*)(&(_OMC_LIT_STRUCT37_6).header) + 3))}};
113#define _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT37)((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3))
114#define _OMC_LIT38_data"NFConvertDAE.convertBoolVarAttributes got unknown type attribute " "NFConvertDAE.convertBoolVarAttributes got unknown type attribute "
115static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT38,65,_OMC_LIT38_data)struct { mmc_uint_t header; const char data[(65)+1]; } _OMC_LIT_STRUCT38
= { ((((mmc_uint_t)65)<<(3))+((1<<(3+3))+5)), "NFConvertDAE.convertBoolVarAttributes got unknown type attribute "
}
;
116#define _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT38)((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))
117static const MMC_DEFREALLIT(_OMC_LIT_STRUCT39_6,1580577680.0)struct mmc_real_lit _OMC_LIT_STRUCT39_6 = {0,(((8/8) <<
10) + 9),1580577680.0}
;
118#define _OMC_LIT39_6((void*)((char*)(&(_OMC_LIT_STRUCT39_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT39_6)((void*)((char*)(&(_OMC_LIT_STRUCT39_6).header) + 3))
119static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT39,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT39
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(360))((void*)(((((mmc_uint_t) (360)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(11))((void*)(((((mmc_uint_t) (11)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(360))((void*)(((((mmc_uint_t) (360)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(106))((void*)(((((mmc_uint_t) (106)) << 1)+0))),_OMC_LIT39_6((void*)((char*)(&(_OMC_LIT_STRUCT39_6).header) + 3))}};
120#define _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT39)((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3))
121#define _OMC_LIT40_data"NFConvertDAE.convertIntVarAttributes got unknown type attribute " "NFConvertDAE.convertIntVarAttributes got unknown type attribute "
122static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT40,64,_OMC_LIT40_data)struct { mmc_uint_t header; const char data[(64)+1]; } _OMC_LIT_STRUCT40
= { ((((mmc_uint_t)64)<<(3))+((1<<(3+3))+5)), "NFConvertDAE.convertIntVarAttributes got unknown type attribute "
}
;
123#define _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT40)((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))
124static const MMC_DEFREALLIT(_OMC_LIT_STRUCT41_6,1580577680.0)struct mmc_real_lit _OMC_LIT_STRUCT41_6 = {0,(((8/8) <<
10) + 9),1580577680.0}
;
125#define _OMC_LIT41_6((void*)((char*)(&(_OMC_LIT_STRUCT41_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT41_6)((void*)((char*)(&(_OMC_LIT_STRUCT41_6).header) + 3))
126static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT41,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT41
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(328))((void*)(((((mmc_uint_t) (328)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(11))((void*)(((((mmc_uint_t) (11)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(328))((void*)(((((mmc_uint_t) (328)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(106))((void*)(((((mmc_uint_t) (106)) << 1)+0))),_OMC_LIT41_6((void*)((char*)(&(_OMC_LIT_STRUCT41_6).header) + 3))}};
127#define _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT41)((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))
128#define _OMC_LIT42_data"NFConvertDAE.convertRealVarAttributes got unknown type attribute " "NFConvertDAE.convertRealVarAttributes got unknown type attribute "
129static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT42,65,_OMC_LIT42_data)struct { mmc_uint_t header; const char data[(65)+1]; } _OMC_LIT_STRUCT42
= { ((((mmc_uint_t)65)<<(3))+((1<<(3+3))+5)), "NFConvertDAE.convertRealVarAttributes got unknown type attribute "
}
;
130#define _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT42)((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))
131static const MMC_DEFREALLIT(_OMC_LIT_STRUCT43_6,1580577680.0)struct mmc_real_lit _OMC_LIT_STRUCT43_6 = {0,(((8/8) <<
10) + 9),1580577680.0}
;
132#define _OMC_LIT43_6((void*)((char*)(&(_OMC_LIT_STRUCT43_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT43_6)((void*)((char*)(&(_OMC_LIT_STRUCT43_6).header) + 3))
133static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT43,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT43
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(293))((void*)(((((mmc_uint_t) (293)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(11))((void*)(((((mmc_uint_t) (11)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(293))((void*)(((((mmc_uint_t) (293)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(106))((void*)(((((mmc_uint_t) (106)) << 1)+0))),_OMC_LIT43_6((void*)((char*)(&(_OMC_LIT_STRUCT43_6).header) + 3))}};
134#define _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT43)((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))
135#define _OMC_LIT44_data"displayUnit" "displayUnit"
136static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT44,11,_OMC_LIT44_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT44
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "displayUnit"
}
;
137#define _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT44)((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))
138#define _OMC_LIT45_data"nominal" "nominal"
139static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT45,7,_OMC_LIT45_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT45
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "nominal"
}
;
140#define _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT45)((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))
141#define _OMC_LIT46_data"stateSelect" "stateSelect"
142static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT46,11,_OMC_LIT46_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT46
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "stateSelect"
}
;
143#define _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT46)((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))
144#define _OMC_LIT47_data"unbounded" "unbounded"
145static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT47,9,_OMC_LIT47_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT47
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "unbounded"
}
;
146#define _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT47)((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))
147#define _OMC_LIT48_data"unit" "unit"
148static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT48,4,_OMC_LIT48_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT48
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "unit"
}
;
149#define _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT48)((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))
150static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT49,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT49
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_Prefix_NOPRE__desc,}};
151#define _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT49)((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))
152static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT50,1,11)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT50
= { (((1) << 10) + (((11) & 255) << 2)),
{&DAE_Type_T__UNKNOWN__desc,}};
153#define _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT50)((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))
154static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT51,4,4)struct { mmc_uint_t header; const void *data[4]; } _OMC_LIT_STRUCT51
= { (((4) << 10) + (((4) & 255) << 2)),
{&DAE_ComponentRef_CREF__IDENT__desc,_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),_OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
155#define _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT51)((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))
156static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT52,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT52
= { (((2) << 10) + (((0) & 255) << 2)),
{_OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)),_OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))}};
157#define _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT52)((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3))
158static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT53,1,6)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT53
= { (((1) << 10) + (((6) & 255) << 2)),
{&Absyn_InnerOuter_NOT__INNER__OUTER__desc,}};
159#define _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT53)((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3))
160static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT54,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT54
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_VarKind_VARIABLE__desc,}};
161#define _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT54)((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))
162static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT55,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT55
= { (((1) << 10) + (((5) & 255) << 2)),
{&DAE_VarDirection_BIDIR__desc,}};
163#define _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT55)((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))
164static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT56,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT56
= { (((1) << 10) + (((5) & 255) << 2)),
{&DAE_VarParallelism_NON__PARALLEL__desc,}};
165#define _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT56)((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3))
166static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT57,1,6)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT57
= { (((1) << 10) + (((6) & 255) << 2)),
{&DAE_ConnectorType_NON__CONNECTOR__desc,}};
167#define _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT57)((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3))
168#define _OMC_LIT58_data"useLocalDirection" "useLocalDirection"
169static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT58,17,_OMC_LIT58_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT58
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "useLocalDirection"
}
;
170#define _OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT58)((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3))
171static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT59,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT59
= { (((1) << 10) + (((4) & 255) << 2)),
{&Flags_FlagVisibility_EXTERNAL__desc,}};
172#define _OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT59)((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3))
173static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT60,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT60
= { (((2) << 10) + (((4) & 255) << 2)),
{&Flags_FlagData_BOOL__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
174#define _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT60)((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3))
175#define _OMC_LIT61_data"Keeps the input/output prefix for all variables in the flat model, not only top-level ones." "Keeps the input/output prefix for all variables in the flat model, not only top-level ones."
176static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT61,91,_OMC_LIT61_data)struct { mmc_uint_t header; const char data[(91)+1]; } _OMC_LIT_STRUCT61
= { ((((mmc_uint_t)91)<<(3))+((1<<(3+3))+5)), "Keeps the input/output prefix for all variables in the flat model, not only top-level ones."
}
;
177#define _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT61)((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3))
178static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT62,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT62
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3))}};
179#define _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT62)((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3))
180static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT63,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT63
= { (((8) << 10) + (((3) & 255) << 2)),
{&Flags_ConfigFlag_CONFIG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(79))((void*)(((((mmc_uint_t) (79)) << 1)+0))),_OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),_OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)),_OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),_OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3))}};
181#define _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT63)((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3))
182#define _OMC_LIT64_data"infoXmlOperations" "infoXmlOperations"
183static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT64,17,_OMC_LIT64_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT64
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "infoXmlOperations"
}
;
184#define _OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT64)((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3))
185#define _OMC_LIT65_data"Enables output of the operations in the _info.xml file when translating models." "Enables output of the operations in the _info.xml file when translating models."
186static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT65,79,_OMC_LIT65_data)struct { mmc_uint_t header; const char data[(79)+1]; } _OMC_LIT_STRUCT65
= { ((((mmc_uint_t)79)<<(3))+((1<<(3+3))+5)), "Enables output of the operations in the _info.xml file when translating models."
}
;
187#define _OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT65)((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3))
188static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT66,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT66
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3))}};
189#define _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT66)((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3))
190static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT67,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT67
= { (((5) << 10) + (((3) & 255) << 2)),
{&Flags_DebugFlag_DEBUG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(96))((void*)(((((mmc_uint_t) (96)) << 1)+0))),_OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3))}};
191#define _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT67)((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3))
192#define _OMC_LIT68_data"visxml" "visxml"
193static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT68,6,_OMC_LIT68_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT68
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "visxml"
}
;
194#define _OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT68)((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3))
195#define _OMC_LIT69_data"Outputs a xml-file that contains information for visualization." "Outputs a xml-file that contains information for visualization."
196static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT69,63,_OMC_LIT69_data)struct { mmc_uint_t header; const char data[(63)+1]; } _OMC_LIT_STRUCT69
= { ((((mmc_uint_t)63)<<(3))+((1<<(3+3))+5)), "Outputs a xml-file that contains information for visualization."
}
;
197#define _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT69)((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3))
198static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT70,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT70
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3))}};
199#define _OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT70)((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3))
200static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT71,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT71
= { (((5) << 10) + (((3) & 255) << 2)),
{&Flags_DebugFlag_DEBUG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(131))((void*)(((((mmc_uint_t) (131)) << 1)+0))),_OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3))}};
201#define _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT71)((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3))
202#define _OMC_LIT72_data"NFConvertDAE.convert(" "NFConvertDAE.convert("
203static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT72,21,_OMC_LIT72_data)struct { mmc_uint_t header; const char data[(21)+1]; } _OMC_LIT_STRUCT72
= { ((((mmc_uint_t)21)<<(3))+((1<<(3+3))+5)), "NFConvertDAE.convert("
}
;
204#define _OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT72)((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3))
205#define _OMC_LIT73_data")" ")"
206static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT73,1,_OMC_LIT73_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT73
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), ")"
}
;
207#define _OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT73)((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3))
208#include "util/modelica.h"
209
210#include "NFConvertDAE_includes.h"
211
212
213/* default, do not make protected functions static */
214#if !defined(PROTECTED_FUNCTION_STATIC)
215#define PROTECTED_FUNCTION_STATIC
216#endif
217PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_stripScopePrefixCref(threadData_t *threadData, modelica_metatype _D_24in_cref);
218static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_stripScopePrefixCref,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_stripScopePrefixCref
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_stripScopePrefixCrefomc_NFConvertDAE_stripScopePrefixCref,0}};
219#define boxvar_NFConvertDAE_stripScopePrefixCref((void*)((char*)(&(boxvar_lit_NFConvertDAE_stripScopePrefixCref
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_stripScopePrefixCref)((void*)((char*)(&(boxvar_lit_NFConvertDAE_stripScopePrefixCref
).header) + 3))
220PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_stripScopePrefixCrefExp(threadData_t *threadData, modelica_metatype _D_24in_exp);
221static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_stripScopePrefixCrefExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_stripScopePrefixCrefExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_stripScopePrefixCrefExpomc_NFConvertDAE_stripScopePrefixCrefExp,0}};
222#define boxvar_NFConvertDAE_stripScopePrefixCrefExp((void*)((char*)(&(boxvar_lit_NFConvertDAE_stripScopePrefixCrefExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_stripScopePrefixCrefExp)((void*)((char*)(&(boxvar_lit_NFConvertDAE_stripScopePrefixCrefExp
).header) + 3))
223PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_stripScopePrefixExp(threadData_t *threadData, modelica_metatype _D_24in_exp);
224static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_stripScopePrefixExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_stripScopePrefixExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_stripScopePrefixExpomc_NFConvertDAE_stripScopePrefixExp,0}};
225#define boxvar_NFConvertDAE_stripScopePrefixExp((void*)((char*)(&(boxvar_lit_NFConvertDAE_stripScopePrefixExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_stripScopePrefixExp)((void*)((char*)(&(boxvar_lit_NFConvertDAE_stripScopePrefixExp
).header) + 3))
226PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_stripScopePrefixFromDim(threadData_t *threadData, modelica_metatype _D_24in_dim);
227static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_stripScopePrefixFromDim,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_stripScopePrefixFromDim
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_stripScopePrefixFromDimomc_NFConvertDAE_stripScopePrefixFromDim,0}};
228#define boxvar_NFConvertDAE_stripScopePrefixFromDim((void*)((char*)(&(boxvar_lit_NFConvertDAE_stripScopePrefixFromDim
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_stripScopePrefixFromDim)((void*)((char*)(&(boxvar_lit_NFConvertDAE_stripScopePrefixFromDim
).header) + 3))
229PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertExternalDeclOutput(threadData_t *threadData, modelica_metatype _cref);
230static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertExternalDeclOutput,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertExternalDeclOutput
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertExternalDeclOutputomc_NFConvertDAE_convertExternalDeclOutput,0}};
231#define boxvar_NFConvertDAE_convertExternalDeclOutput((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertExternalDeclOutput
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertExternalDeclOutput)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertExternalDeclOutput
).header) + 3))
232PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertExternalDeclArg(threadData_t *threadData, modelica_metatype _exp);
233static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertExternalDeclArg,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertExternalDeclArg
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertExternalDeclArgomc_NFConvertDAE_convertExternalDeclArg,0}};
234#define boxvar_NFConvertDAE_convertExternalDeclArg((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertExternalDeclArg
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertExternalDeclArg)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertExternalDeclArg
).header) + 3))
235PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertExternalDecl(threadData_t *threadData, modelica_metatype _extDecl, modelica_metatype _parameters);
236static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertExternalDecl,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertExternalDecl
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertExternalDeclomc_NFConvertDAE_convertExternalDecl,0}};
237#define boxvar_NFConvertDAE_convertExternalDecl((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertExternalDecl
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertExternalDecl)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertExternalDecl
).header) + 3))
238PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertFunctionParam(threadData_t *threadData, modelica_metatype _node);
239static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertFunctionParam,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertFunctionParam
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertFunctionParamomc_NFConvertDAE_convertFunctionParam,0}};
240#define boxvar_NFConvertDAE_convertFunctionParam((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertFunctionParam
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertFunctionParam)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertFunctionParam
).header) + 3))
241PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertFunctionParams(threadData_t *threadData, modelica_metatype _params, modelica_metatype _D_24in_elements);
242static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertFunctionParams,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertFunctionParams
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertFunctionParamsomc_NFConvertDAE_convertFunctionParams,0}};
243#define boxvar_NFConvertDAE_convertFunctionParams((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertFunctionParams
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertFunctionParams)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertFunctionParams
).header) + 3))
244PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertFunction(threadData_t *threadData, modelica_metatype _func);
245static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertFunction,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertFunction
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertFunctionomc_NFConvertDAE_convertFunction,0}};
246#define boxvar_NFConvertDAE_convertFunction((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertFunction
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertFunction)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertFunction
).header) + 3))
247PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertFunctionTree(threadData_t *threadData, modelica_metatype _funcs);
248static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertFunctionTree,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertFunctionTree
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertFunctionTreeomc_NFConvertDAE_convertFunctionTree,0}};
249#define boxvar_NFConvertDAE_convertFunctionTree((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertFunctionTree
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertFunctionTree)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertFunctionTree
).header) + 3))
250PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertInitialAlgorithm(threadData_t *threadData, modelica_metatype _alg, modelica_metatype _D_24in_elements);
251static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertInitialAlgorithm,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertInitialAlgorithm
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertInitialAlgorithmomc_NFConvertDAE_convertInitialAlgorithm,0}};
252#define boxvar_NFConvertDAE_convertInitialAlgorithm((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertInitialAlgorithm
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertInitialAlgorithm)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertInitialAlgorithm
).header) + 3))
253PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertInitialAlgorithms(threadData_t *threadData, modelica_metatype _algorithms, modelica_metatype _D_24in_elements);
254static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertInitialAlgorithms,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertInitialAlgorithms
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertInitialAlgorithmsomc_NFConvertDAE_convertInitialAlgorithms,0}};
255#define boxvar_NFConvertDAE_convertInitialAlgorithms((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertInitialAlgorithms
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertInitialAlgorithms)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertInitialAlgorithms
).header) + 3))
256PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertWhenStatement(threadData_t *threadData, modelica_metatype _whenBranches, modelica_metatype _source);
257static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertWhenStatement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertWhenStatement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertWhenStatementomc_NFConvertDAE_convertWhenStatement,0}};
258#define boxvar_NFConvertDAE_convertWhenStatement((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertWhenStatement
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertWhenStatement)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertWhenStatement
).header) + 3))
259PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertIfStatement(threadData_t *threadData, modelica_metatype _ifBranches, modelica_metatype _source);
260static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertIfStatement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertIfStatement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertIfStatementomc_NFConvertDAE_convertIfStatement,0}};
261#define boxvar_NFConvertDAE_convertIfStatement((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertIfStatement
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertIfStatement)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertIfStatement
).header) + 3))
262PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertForStatement(threadData_t *threadData, modelica_metatype _forStmt);
263static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertForStatement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertForStatement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertForStatementomc_NFConvertDAE_convertForStatement,0}};
264#define boxvar_NFConvertDAE_convertForStatement((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertForStatement
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertForStatement)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertForStatement
).header) + 3))
265PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertAssignment(threadData_t *threadData, modelica_metatype _stmt);
266static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertAssignment,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertAssignment
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertAssignmentomc_NFConvertDAE_convertAssignment,0}};
267#define boxvar_NFConvertDAE_convertAssignment((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertAssignment
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertAssignment)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertAssignment
).header) + 3))
268PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertStatement(threadData_t *threadData, modelica_metatype _stmt);
269static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertStatement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertStatement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertStatementomc_NFConvertDAE_convertStatement,0}};
270#define boxvar_NFConvertDAE_convertStatement((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertStatement
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertStatement)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertStatement
).header) + 3))
271PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertStatements(threadData_t *threadData, modelica_metatype _statements);
272static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertStatements,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertStatements
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertStatementsomc_NFConvertDAE_convertStatements,0}};
273#define boxvar_NFConvertDAE_convertStatements((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertStatements
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertStatements)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertStatements
).header) + 3))
274PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertAlgorithm(threadData_t *threadData, modelica_metatype _alg, modelica_metatype _D_24in_elements);
275static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertAlgorithm,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertAlgorithm
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertAlgorithmomc_NFConvertDAE_convertAlgorithm,0}};
276#define boxvar_NFConvertDAE_convertAlgorithm((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertAlgorithm
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertAlgorithm)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertAlgorithm
).header) + 3))
277PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertAlgorithms(threadData_t *threadData, modelica_metatype _algorithms, modelica_metatype _D_24in_elements);
278static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertAlgorithms,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertAlgorithms
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertAlgorithmsomc_NFConvertDAE_convertAlgorithms,0}};
279#define boxvar_NFConvertDAE_convertAlgorithms((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertAlgorithms
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertAlgorithms)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertAlgorithms
).header) + 3))
280PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertInitialEquation(threadData_t *threadData, modelica_metatype _eq, modelica_metatype _D_24in_elements);
281static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertInitialEquation,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertInitialEquation
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertInitialEquationomc_NFConvertDAE_convertInitialEquation,0}};
282#define boxvar_NFConvertDAE_convertInitialEquation((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertInitialEquation
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertInitialEquation)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertInitialEquation
).header) + 3))
283PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertInitialEquations(threadData_t *threadData, modelica_metatype _equations, modelica_metatype _D_24in_elements);
284static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertInitialEquations,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertInitialEquations
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertInitialEquationsomc_NFConvertDAE_convertInitialEquations,0}};
285#define boxvar_NFConvertDAE_convertInitialEquations((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertInitialEquations
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertInitialEquations)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertInitialEquations
).header) + 3))
286PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertWhenEquation(threadData_t *threadData, modelica_metatype _whenBranches, modelica_metatype _source);
287static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertWhenEquation,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertWhenEquation
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertWhenEquationomc_NFConvertDAE_convertWhenEquation,0}};
288#define boxvar_NFConvertDAE_convertWhenEquation((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertWhenEquation
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertWhenEquation)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertWhenEquation
).header) + 3))
289PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertIfEquation(threadData_t *threadData, modelica_metatype _ifBranches, modelica_metatype _source, modelica_boolean _isInitial);
290PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_NFConvertDAE_convertIfEquation(threadData_t *threadData, modelica_metatype _ifBranches, modelica_metatype _source, modelica_metatype _isInitial);
291static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertIfEquation,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertIfEquation
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertIfEquation,0}};
292#define boxvar_NFConvertDAE_convertIfEquation((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertIfEquation
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertIfEquation)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertIfEquation
).header) + 3))
293PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertForEquation(threadData_t *threadData, modelica_metatype _forEquation);
294static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertForEquation,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertForEquation
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertForEquationomc_NFConvertDAE_convertForEquation,0}};
295#define boxvar_NFConvertDAE_convertForEquation((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertForEquation
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertForEquation)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertForEquation
).header) + 3))
296PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertEquation(threadData_t *threadData, modelica_metatype _eq, modelica_metatype _D_24in_elements);
297static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertEquation,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertEquation
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertEquationomc_NFConvertDAE_convertEquation,0}};
298#define boxvar_NFConvertDAE_convertEquation((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertEquation
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertEquation)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertEquation
).header) + 3))
299PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertEquations(threadData_t *threadData, modelica_metatype _equations, modelica_metatype _D_24in_elements);
300static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertEquations,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertEquations
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertEquationsomc_NFConvertDAE_convertEquations,0}};
301#define boxvar_NFConvertDAE_convertEquations((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertEquations
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertEquations)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertEquations
).header) + 3))
302PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_lookupStateSelectMember(threadData_t *threadData, modelica_string _name);
303static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_lookupStateSelectMember,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_lookupStateSelectMember
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_lookupStateSelectMemberomc_NFConvertDAE_lookupStateSelectMember,0}};
304#define boxvar_NFConvertDAE_lookupStateSelectMember((void*)((char*)(&(boxvar_lit_NFConvertDAE_lookupStateSelectMember
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_lookupStateSelectMember)((void*)((char*)(&(boxvar_lit_NFConvertDAE_lookupStateSelectMember
).header) + 3))
305PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertStateSelectAttribute(threadData_t *threadData, modelica_metatype _binding);
306static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertStateSelectAttribute,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertStateSelectAttribute
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertStateSelectAttributeomc_NFConvertDAE_convertStateSelectAttribute,0}};
307#define boxvar_NFConvertDAE_convertStateSelectAttribute((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertStateSelectAttribute
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertStateSelectAttribute)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertStateSelectAttribute
).header) + 3))
308PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertVarAttribute(threadData_t *threadData, modelica_metatype _binding);
309static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertVarAttribute,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertVarAttribute
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertVarAttributeomc_NFConvertDAE_convertVarAttribute,0}};
310#define boxvar_NFConvertDAE_convertVarAttribute((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertVarAttribute
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertVarAttribute)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertVarAttribute
).header) + 3))
311PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertEnumVarAttributes(threadData_t *threadData, modelica_metatype _attrs, modelica_metatype _isFinal);
312static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertEnumVarAttributes,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertEnumVarAttributes
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertEnumVarAttributesomc_NFConvertDAE_convertEnumVarAttributes,0}};
313#define boxvar_NFConvertDAE_convertEnumVarAttributes((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertEnumVarAttributes
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertEnumVarAttributes)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertEnumVarAttributes
).header) + 3))
314PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertStringVarAttributes(threadData_t *threadData, modelica_metatype _attrs, modelica_metatype _isFinal);
315static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertStringVarAttributes,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertStringVarAttributes
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertStringVarAttributesomc_NFConvertDAE_convertStringVarAttributes,0}};
316#define boxvar_NFConvertDAE_convertStringVarAttributes((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertStringVarAttributes
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertStringVarAttributes)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertStringVarAttributes
).header) + 3))
317PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertBoolVarAttributes(threadData_t *threadData, modelica_metatype _attrs, modelica_metatype _isFinal);
318static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertBoolVarAttributes,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertBoolVarAttributes
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertBoolVarAttributesomc_NFConvertDAE_convertBoolVarAttributes,0}};
319#define boxvar_NFConvertDAE_convertBoolVarAttributes((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertBoolVarAttributes
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertBoolVarAttributes)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertBoolVarAttributes
).header) + 3))
320PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertIntVarAttributes(threadData_t *threadData, modelica_metatype _attrs, modelica_metatype _isFinal);
321static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertIntVarAttributes,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertIntVarAttributes
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertIntVarAttributesomc_NFConvertDAE_convertIntVarAttributes,0}};
322#define boxvar_NFConvertDAE_convertIntVarAttributes((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertIntVarAttributes
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertIntVarAttributes)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertIntVarAttributes
).header) + 3))
323PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertRealVarAttributes(threadData_t *threadData, modelica_metatype _attrs, modelica_metatype _isFinal);
324static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertRealVarAttributes,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertRealVarAttributes
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertRealVarAttributesomc_NFConvertDAE_convertRealVarAttributes,0}};
325#define boxvar_NFConvertDAE_convertRealVarAttributes((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertRealVarAttributes
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertRealVarAttributes)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertRealVarAttributes
).header) + 3))
326PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertVarAttributes(threadData_t *threadData, modelica_metatype _attrs, modelica_metatype _ty, modelica_metatype _compAttrs);
327static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertVarAttributes,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertVarAttributes
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertVarAttributesomc_NFConvertDAE_convertVarAttributes,0}};
328#define boxvar_NFConvertDAE_convertVarAttributes((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertVarAttributes
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertVarAttributes)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertVarAttributes
).header) + 3))
329PROTECTED_FUNCTION_STATIC modelica_integer omc_NFConvertDAE_getComponentDirection(threadData_t *threadData, modelica_integer _D_24in_dir, modelica_metatype _cref);
330PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_NFConvertDAE_getComponentDirection(threadData_t *threadData, modelica_metatype _D_24in_dir, modelica_metatype _cref);
331static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_getComponentDirection,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_getComponentDirection
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_getComponentDirection,0}};
332#define boxvar_NFConvertDAE_getComponentDirection((void*)((char*)(&(boxvar_lit_NFConvertDAE_getComponentDirection
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_getComponentDirection)((void*)((char*)(&(boxvar_lit_NFConvertDAE_getComponentDirection
).header) + 3))
333PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_addComponentTypeToSource(threadData_t *threadData, modelica_metatype _cref, modelica_metatype _D_24in_source);
334static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_addComponentTypeToSource,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_addComponentTypeToSource
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_addComponentTypeToSourceomc_NFConvertDAE_addComponentTypeToSource,0}};
335#define boxvar_NFConvertDAE_addComponentTypeToSource((void*)((char*)(&(boxvar_lit_NFConvertDAE_addComponentTypeToSource
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_addComponentTypeToSource)((void*)((char*)(&(boxvar_lit_NFConvertDAE_addComponentTypeToSource
).header) + 3))
336PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_makeDAEVar(threadData_t *threadData, modelica_metatype _cref, modelica_metatype _ty, modelica_metatype _binding, modelica_metatype _attr, modelica_integer _vis, modelica_metatype _vattr, modelica_metatype _comment, modelica_metatype _settings, modelica_metatype _info);
337PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_NFConvertDAE_makeDAEVar(threadData_t *threadData, modelica_metatype _cref, modelica_metatype _ty, modelica_metatype _binding, modelica_metatype _attr, modelica_metatype _vis, modelica_metatype _vattr, modelica_metatype _comment, modelica_metatype _settings, modelica_metatype _info);
338static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_makeDAEVar,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_makeDAEVar
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_makeDAEVar,0}};
339#define boxvar_NFConvertDAE_makeDAEVar((void*)((char*)(&(boxvar_lit_NFConvertDAE_makeDAEVar).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_makeDAEVar)((void*)((char*)(&(boxvar_lit_NFConvertDAE_makeDAEVar).header
) + 3))
340PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertVariable(threadData_t *threadData, modelica_metatype _var, modelica_metatype _settings);
341static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertVariable,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertVariable
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertVariableomc_NFConvertDAE_convertVariable,0}};
342#define boxvar_NFConvertDAE_convertVariable((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertVariable
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertVariable)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertVariable
).header) + 3))
343PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertVariables(threadData_t *threadData, modelica_metatype _variables, modelica_metatype _D_24in_elements);
344static const MMC_DEFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertVariables,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFConvertDAE_convertVariables
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFConvertDAE_convertVariablesomc_NFConvertDAE_convertVariables,0}};
345#define boxvar_NFConvertDAE_convertVariables((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertVariables
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFConvertDAE_convertVariables)((void*)((char*)(&(boxvar_lit_NFConvertDAE_convertVariables
).header) + 3))
346
347PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_stripScopePrefixCref(threadData_t *threadData, modelica_metatype _D_24in_cref)
348{
349 modelica_metatype _cref = NULL((void*)0);
350 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
351 MMC_SO()mmc_check_stackoverflow(threadData);
352 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
353 _cref = _D_24in_cref;
354#line 1232 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
355 if(omc_NFComponentRef_isSimple(threadData, _cref))
356#line 1232 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
357 {
358#line 1233 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
359 goto _return;
360#line 360 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
361 }
362
363#line 363 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
364 { /* match expression */
365 modelica_metatype tmp3_1;
366 tmp3_1 = _cref;
367 {
368 volatile mmc_switch_type tmp3;
369 int tmp4;
370 tmp3 = 0;
371 for (; tmp3 < 2; tmp3++) {
372 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
373 case 0: {
374 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((5 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
375
376 /* Pattern matching succeeded */
377#line 1239 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
378 if(omc_NFComponentRef_isFromCref(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cref), 6))(*(void**)(((void*)((void**)(((void*)((char*)(_cref) - 3))) +
(6)))))
)))
379#line 1239 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
380 {
381#line 1240 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
382 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
383#line 1240 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
384 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_cref)((void*)((char*)(_cref) - 3)), 7*sizeof(modelica_metatype));
385#line 1240 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
386 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[6] = omc_NFConvertDAE_stripScopePrefixCref(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cref), 6))(*(void**)(((void*)((void**)(((void*)((char*)(_cref) - 3))) +
(6)))))
));
387#line 1240 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
388 _cref = tmpMeta[0];
389#line 389 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
390 }
391 else
392 {
393#line 1242 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
394 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
395#line 1242 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
396 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_cref)((void*)((char*)(_cref) - 3)), 7*sizeof(modelica_metatype));
397#line 1242 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
398 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[6] = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
399#line 1242 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
400 _cref = tmpMeta[0];
401#line 401 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
402 }
403#line 403 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
404 goto tmp2_done;
405 }
406 case 1: {
407
408 /* Pattern matching succeeded */
409#line 409 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
410 goto tmp2_done;
411 }
412 }
413 goto tmp2_end;
414 tmp2_end: ;
415 }
416 goto goto_1;
417 goto_1:;
418 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
419 goto tmp2_done;
420 tmp2_done:;
421 }
422 }
423 ;
424 _return: OMC_LABEL_UNUSED__attribute__((unused))
425 return _cref;
426}
427
428PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_stripScopePrefixCrefExp(threadData_t *threadData, modelica_metatype _D_24in_exp)
429{
430 modelica_metatype _exp = NULL((void*)0);
431 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
432 MMC_SO()mmc_check_stackoverflow(threadData);
433 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
434 _exp = _D_24in_exp;
435#line 435 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
436 { /* match expression */
437 modelica_metatype tmp3_1;
438 tmp3_1 = _exp;
439 {
440 volatile mmc_switch_type tmp3;
441 int tmp4;
442 tmp3 = 0;
443 for (; tmp3 < 2; tmp3++) {
444 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
445 case 0: {
446 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
447
448 /* Pattern matching succeeded */
449#line 1220 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
450 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(4))((void*)((char*)(mmc_alloc_words(4)) + 3));
451#line 1220 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
452 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_exp)((void*)((char*)(_exp) - 3)), 4*sizeof(modelica_metatype));
453#line 1220 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
454 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[3] = omc_NFConvertDAE_stripScopePrefixCref(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_exp), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_exp) - 3))) + (
3)))))
));
455#line 1220 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
456 _exp = tmpMeta[0];
457#line 457 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
458#line 458 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
459 goto tmp2_done;
460 }
461 case 1: {
462
463 /* Pattern matching succeeded */
464#line 464 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
465 goto tmp2_done;
466 }
467 }
468 goto tmp2_end;
469 tmp2_end: ;
470 }
471 goto goto_1;
472 goto_1:;
473 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
474 goto tmp2_done;
475 tmp2_done:;
476 }
477 }
478 ;
479 _return: OMC_LABEL_UNUSED__attribute__((unused))
480 return _exp;
481}
482
483PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_stripScopePrefixExp(threadData_t *threadData, modelica_metatype _D_24in_exp)
484{
485 modelica_metatype _exp = NULL((void*)0);
486 MMC_SO()mmc_check_stackoverflow(threadData);
487 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
488 _exp = _D_24in_exp;
489#line 1211 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
490 _exp = omc_NFExpression_map(threadData, _exp, boxvar_NFConvertDAE_stripScopePrefixCrefExp((void*)((char*)(&(boxvar_lit_NFConvertDAE_stripScopePrefixCrefExp
).header) + 3))
);
491#line 491 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
492 _return: OMC_LABEL_UNUSED__attribute__((unused))
493 return _exp;
494}
495
496PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_stripScopePrefixFromDim(threadData_t *threadData, modelica_metatype _D_24in_dim)
497{
498 modelica_metatype _dim = NULL((void*)0);
499 MMC_SO()mmc_check_stackoverflow(threadData);
500 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
501 _dim = _D_24in_dim;
502#line 1205 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
503 _dim = omc_NFDimension_mapExp(threadData, _dim, boxvar_NFConvertDAE_stripScopePrefixCrefExp((void*)((char*)(&(boxvar_lit_NFConvertDAE_stripScopePrefixCrefExp
).header) + 3))
);
504#line 504 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
505 _return: OMC_LABEL_UNUSED__attribute__((unused))
506 return _dim;
507}
508
509DLLExport
510modelica_metatype omc_NFConvertDAE_makeTypeRecordVar(threadData_t *threadData, modelica_metatype _component)
511{
512 modelica_metatype _typeVar = NULL((void*)0);
513 modelica_metatype _comp = NULL((void*)0);
514 modelica_metatype _attr = NULL((void*)0);
515 modelica_integer _vis;
516 modelica_metatype _binding = NULL((void*)0);
517 modelica_boolean _bind_from_outside;
518 modelica_metatype _ty = NULL((void*)0);
519 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
520 MMC_SO()mmc_check_stackoverflow(threadData);
521 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
522 // _typeVar has no default value.
523 // _comp has no default value.
524 // _attr has no default value.
525 // _vis has no default value.
526 // _binding has no default value.
527 // _bind_from_outside has no default value.
528 // _ty has no default value.
529#line 1176 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
530 _comp = omc_NFInstNode_InstNode_component(threadData, _component);
531#line 531 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
532
533#line 1177 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
534 _attr = omc_NFComponent_Component_getAttributes(threadData, _comp);
535#line 535 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
536
537#line 1179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
538 if((omc_NFComponent_Component_isConst(threadData, _comp) && omc_NFComponent_Component_hasBinding(threadData, _comp)))
539#line 1179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
540 {
541#line 1180 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
542 _vis = 2;
543#line 543 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
544 }
545 else
546 {
547#line 1182 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
548 _vis = omc_NFInstNode_InstNode_visibility(threadData, _component);
549#line 549 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
550 }
551
552#line 1185 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
553 _binding = omc_NFComponent_Component_getBinding(threadData, _comp);
554#line 554 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
555
556#line 1186 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
557 _binding = omc_NFBinding_Binding_mapExp(threadData, _binding, boxvar_NFConvertDAE_stripScopePrefixExp((void*)((char*)(&(boxvar_lit_NFConvertDAE_stripScopePrefixExp
).header) + 3))
);
558#line 558 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
559
560#line 1187 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
561 _bind_from_outside = (omc_NFBinding_Binding_parentCount(threadData, _binding) > ((modelica_integer) 1));
562#line 562 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
563
564#line 1189 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
565 _ty = omc_NFComponent_Component_getType(threadData, _comp);
566#line 566 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
567
568#line 1190 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
569 _ty = omc_NFType_mapDims(threadData, _ty, boxvar_NFConvertDAE_stripScopePrefixFromDim((void*)((char*)(&(boxvar_lit_NFConvertDAE_stripScopePrefixFromDim
).header) + 3))
);
570#line 570 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
571
572#line 1192 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
573 tmpMeta[0] = mmc_mk_box7(3, &DAE_Var_TYPES__VAR__desc, omc_NFInstNode_InstNode_name(threadData, _component), omc_NFComponent_Component_Attributes_toDAE(threadData, _attr, (modelica_integer)_vis), omc_NFType_toDAE(threadData, _ty, 1), omc_NFBinding_Binding_toDAE(threadData, _binding), mmc_mk_boolean(_bind_from_outside)((_bind_from_outside) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(
0)))
, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
574#line 1192 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
575 _typeVar = tmpMeta[0];
576#line 576 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
577 _return: OMC_LABEL_UNUSED__attribute__((unused))
578 return _typeVar;
579}
580
581DLLExport
582modelica_metatype omc_NFConvertDAE_makeTypeVar(threadData_t *threadData, modelica_metatype _component)
583{
584 modelica_metatype _typeVar = NULL((void*)0);
585 modelica_metatype _comp = NULL((void*)0);
586 modelica_metatype _attr = NULL((void*)0);
587 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
588 MMC_SO()mmc_check_stackoverflow(threadData);
589 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
590 // _typeVar has no default value.
591 // _comp has no default value.
592 // _attr has no default value.
593#line 1152 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
594 _comp = omc_NFInstNode_InstNode_component(threadData, omc_NFInstNode_InstNode_resolveOuter(threadData, _component));
595#line 595 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
596
597#line 1153 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
598 _attr = omc_NFComponent_Component_getAttributes(threadData, _comp);
599#line 599 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
600
601#line 1155 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
602 tmpMeta[0] = mmc_mk_box7(3, &DAE_Var_TYPES__VAR__desc, omc_NFInstNode_InstNode_name(threadData, _component), omc_NFComponent_Component_Attributes_toDAE(threadData, _attr, omc_NFInstNode_InstNode_visibility(threadData, _component)), omc_NFType_toDAE(threadData, omc_NFComponent_Component_getType(threadData, _comp), 1), omc_NFBinding_Binding_toDAE(threadData, omc_NFComponent_Component_getBinding(threadData, _comp)), mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
603#line 1155 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
604 _typeVar = tmpMeta[0];
605#line 605 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
606 _return: OMC_LABEL_UNUSED__attribute__((unused))
607 return _typeVar;
608}
609
610DLLExport
611modelica_metatype omc_NFConvertDAE_makeTypeVars(threadData_t *threadData, modelica_metatype _complexCls)
612{
613 modelica_metatype _typeVars = NULL((void*)0);
614 modelica_metatype _comp = NULL((void*)0);
615 modelica_metatype _type_var = NULL((void*)0);
616 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
617 MMC_SO()mmc_check_stackoverflow(threadData);
618 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
619 // _typeVars has no default value.
620 // _comp has no default value.
621 // _type_var has no default value.
622#line 622 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
623 { /* match expression */
624 modelica_metatype tmp3_1;modelica_metatype _cls;
625 tmp3_1 = omc_NFInstNode_InstNode_getClass(threadData, _complexCls);
626 _cls = tmp3_1;
627 {
628 volatile mmc_switch_type tmp3;
629 int tmp4;
630 tmp3 = 0;
631 for (; tmp3 < 3; tmp3++) {
632 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
633 case 0: {
634 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
635 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
636 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],7,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((1 +1)
<< 10) + (((7 +3) & 255) << 2)))
== 0) goto tmp2_end;
637
638 /* Pattern matching succeeded */
639#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
640 {
641#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
642 modelica_metatype _D_24tmpVar1;
643#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
644 modelica_metatype* tmp5;
645#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
646 modelica_metatype _D_24tmpVar0;
647#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
648 int tmp6;
649#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
650 modelica_metatype _c_loopVar = 0;
651#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
652 int tmp7;
653#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
654 modelica_metatype _c;
655#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
656 _c_loopVar = omc_NFClassTree_ClassTree_getComponents(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cls), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_cls) - 3))) + (
3)))))
));
657#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
658 tmp7 = 1;
659#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
660 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
661#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
662 _D_24tmpVar1 = tmpMeta[2]; /* defaultValue */
663#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
664 tmp5 = &_D_24tmpVar1;
665#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
666 while(1) {
667#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
668 tmp6 = 1;
669#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
670 while (tmp7 <= arrayLength(_c_loopVar)) {
671#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
672 _c = arrayGet(_c_loopVar, tmp7++)nobox_arrayGet(threadData,_c_loopVar,tmp7++);
673#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
674 if ((!omc_NFInstNode_InstNode_isEmpty(threadData, _c))) {
675#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
676 tmp6--;
677#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
678 break;
679#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
680 }
681#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
682 }
683#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
684 if (tmp6 == 0) {
685#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
686 _D_24tmpVar0 = omc_NFConvertDAE_makeTypeRecordVar(threadData, _c);
687#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
688 *tmp5 = mmc_mk_cons(_D_24tmpVar0,0);
689#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
690 tmp5 = &MMC_CDR(*tmp5)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp5) - 3))) +
(2)))))
;
691#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
692 } else if (tmp6 == 1) {
693#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
694 break;
695#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
696 } else {
697#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
698 goto goto_1;
699#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
700 }
701#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
702 }
703#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
704 *tmp5 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
705#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
706 tmpMeta[1] = _D_24tmpVar1;
707#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
708 }
709#line 1134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
710 tmpMeta[0] = tmpMeta[1];
711#line 711 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
712 goto tmp2_done;
713 }
714 case 1: {
715 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
716 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
717 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],3,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((5 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
718
719 /* Pattern matching succeeded */
720#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
721 {
722#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
723 modelica_metatype _D_24tmpVar3;
724#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
725 modelica_metatype* tmp8;
726#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
727 modelica_metatype _D_24tmpVar2;
728#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
729 int tmp9;
730#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
731 modelica_metatype _c_loopVar = 0;
732#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
733 int tmp10;
734#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
735 modelica_metatype _c;
736#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
737 _c_loopVar = omc_NFClassTree_ClassTree_getComponents(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cls), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_cls) - 3))) + (
3)))))
));
738#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
739 tmp10 = 1;
740#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
741 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
742#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
743 _D_24tmpVar3 = tmpMeta[2]; /* defaultValue */
744#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
745 tmp8 = &_D_24tmpVar3;
746#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
747 while(1) {
748#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
749 tmp9 = 1;
750#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
751 while (tmp10 <= arrayLength(_c_loopVar)) {
752#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
753 _c = arrayGet(_c_loopVar, tmp10++)nobox_arrayGet(threadData,_c_loopVar,tmp10++);
754#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
755 if ((!(omc_NFInstNode_InstNode_isOnlyOuter(threadData, _c) || omc_NFInstNode_InstNode_isEmpty(threadData, _c)))) {
756#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
757 tmp9--;
758#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
759 break;
760#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
761 }
762#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
763 }
764#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
765 if (tmp9 == 0) {
766#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
767 _D_24tmpVar2 = omc_NFConvertDAE_makeTypeVar(threadData, _c);
768#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
769 *tmp8 = mmc_mk_cons(_D_24tmpVar2,0);
770#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
771 tmp8 = &MMC_CDR(*tmp8)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp8) - 3))) +
(2)))))
;
772#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
773 } else if (tmp9 == 1) {
774#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
775 break;
776#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
777 } else {
778#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
779 goto goto_1;
780#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
781 }
782#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
783 }
784#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
785 *tmp8 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
786#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
787 tmpMeta[1] = _D_24tmpVar3;
788#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
789 }
790#line 1138 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
791 tmpMeta[0] = tmpMeta[1];
792#line 792 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
793 goto tmp2_done;
794 }
795 case 2: {
796
797 /* Pattern matching succeeded */
798#line 1141 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
799 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
800#line 1141 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
801 tmpMeta[0] = tmpMeta[1];
802#line 802 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
803 goto tmp2_done;
804 }
805 }
806 goto tmp2_end;
807 tmp2_end: ;
808 }
809 goto goto_1;
810 goto_1:;
811 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
812 goto tmp2_done;
813 tmp2_done:;
814 }
815 }
816 _typeVars = tmpMeta[0];
817 _return: OMC_LABEL_UNUSED__attribute__((unused))
818 return _typeVars;
819}
820
821PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertExternalDeclOutput(threadData_t *threadData, modelica_metatype _cref)
822{
823 modelica_metatype _arg = NULL((void*)0);
824 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
825 MMC_SO()mmc_check_stackoverflow(threadData);
826 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
827 // _arg has no default value.
828#line 828 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
829 { /* match expression */
830 modelica_metatype tmp3_1;
831 tmp3_1 = _cref;
832 {
833 modelica_metatype _dir = NULL((void*)0);
834 volatile mmc_switch_type tmp3;
835 int tmp4;
836 // _dir has no default value.
837 tmp3 = 0;
838 for (; tmp3 < 2; tmp3++) {
839 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
840 case 0: {
841 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((5 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
842
843 /* Pattern matching succeeded */
844#line 1116 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
845 _dir = omc_NFPrefixes_directionToAbsyn(threadData, omc_NFComponent_Component_direction(threadData, omc_NFInstNode_InstNode_component(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cref), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_cref) - 3))) +
(2)))))
))));
846#line 846 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
847#line 1117 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
848 tmpMeta[1] = mmc_mk_box4(3, &DAE_ExtArg_EXTARG__desc, omc_NFComponentRef_toDAE(threadData, _cref), _dir, omc_NFType_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cref), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_cref) - 3))) +
(4)))))
), 1));
849#line 1117 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
850 tmpMeta[0] = tmpMeta[1];
851#line 851 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
852 goto tmp2_done;
853 }
854 case 1: {
855
856 /* Pattern matching succeeded */
857#line 1120 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
858 tmpMeta[0] = _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3));
859#line 859 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
860 goto tmp2_done;
861 }
862 }
863 goto tmp2_end;
864 tmp2_end: ;
865 }
866 goto goto_1;
867 goto_1:;
868 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
869 goto tmp2_done;
870 tmp2_done:;
871 }
872 }
873 _arg = tmpMeta[0];
874 _return: OMC_LABEL_UNUSED__attribute__((unused))
875 return _arg;
876}
877
878PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertExternalDeclArg(threadData_t *threadData, modelica_metatype _exp)
879{
880 modelica_metatype _arg = NULL((void*)0);
881 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
882 MMC_SO()mmc_check_stackoverflow(threadData);
883 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
884 // _arg has no default value.
885#line 885 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
886 { /* match expression */
887 modelica_metatype tmp3_1;
888 tmp3_1 = _exp;
889 {
890 modelica_metatype _dir = NULL((void*)0);
891 modelica_metatype _cref = NULL((void*)0);
892 modelica_metatype _e = NULL((void*)0);
893 volatile mmc_switch_type tmp3;
894 int tmp4;
895 // _dir has no default value.
896 // _cref has no default value.
897 // _e has no default value.
898 tmp3 = 0;
899 for (; tmp3 < 3; tmp3++) {
900 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
901 case 0: {
902 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
903 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
904 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],0,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((5 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
905
906 _cref = tmpMeta[1];
907 /* Pattern matching succeeded */
908#line 1094 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
909 _dir = omc_NFPrefixes_directionToAbsyn(threadData, omc_NFComponent_Component_direction(threadData, omc_NFInstNode_InstNode_component(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cref), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_cref) - 3))) +
(2)))))
))));
910#line 910 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
911#line 1095 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
912 tmpMeta[1] = mmc_mk_box4(3, &DAE_ExtArg_EXTARG__desc, omc_NFComponentRef_toDAE(threadData, _cref), _dir, omc_NFType_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_exp), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_exp) - 3))) + (
2)))))
), 1));
913#line 1095 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
914 tmpMeta[0] = tmpMeta[1];
915#line 915 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
916 goto tmp2_done;
917 }
918 case 1: {
919 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,13,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp2_end;
920 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
921 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],5,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((2 +1)
<< 10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
922 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
923 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((5 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
924 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
925 if (optionNone(tmpMeta[3])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[3]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
926 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (1)))))
;
927 _cref = tmpMeta[2];
928 _e = tmpMeta[4];
929 /* Pattern matching succeeded */
930#line 1099 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
931 tmpMeta[1] = mmc_mk_box4(5, &DAE_ExtArg_EXTARGSIZE__desc, omc_NFComponentRef_toDAE(threadData, _cref), omc_NFType_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cref), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_cref) - 3))) +
(4)))))
), 1), omc_NFExpression_toDAE(threadData, _e));
932#line 1099 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
933 tmpMeta[0] = tmpMeta[1];
934#line 934 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
935 goto tmp2_done;
936 }
937 case 2: {
938
939 /* Pattern matching succeeded */
940#line 1101 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
941 tmpMeta[1] = mmc_mk_box3(4, &DAE_ExtArg_EXTARGEXP__desc, omc_NFExpression_toDAE(threadData, _exp), omc_NFType_toDAE(threadData, omc_NFExpression_typeOf(threadData, _exp), 1));
942#line 1101 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
943 tmpMeta[0] = tmpMeta[1];
944#line 944 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
945 goto tmp2_done;
946 }
947 }
948 goto tmp2_end;
949 tmp2_end: ;
950 }
951 goto goto_1;
952 goto_1:;
953 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
954 goto tmp2_done;
955 tmp2_done:;
956 }
957 }
958 _arg = tmpMeta[0];
959 _return: OMC_LABEL_UNUSED__attribute__((unused))
960 return _arg;
961}
962
963PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertExternalDecl(threadData_t *threadData, modelica_metatype _extDecl, modelica_metatype _parameters)
964{
965 modelica_metatype _funcDef = NULL((void*)0);
966 modelica_metatype _decl = NULL((void*)0);
967 modelica_metatype _args = NULL((void*)0);
968 modelica_metatype _ret_arg = NULL((void*)0);
969 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
970 MMC_SO()mmc_check_stackoverflow(threadData);
971 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
972 // _funcDef has no default value.
973 // _decl has no default value.
974 // _args has no default value.
975 // _ret_arg has no default value.
976#line 976 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
977 { /* match expression */
978 modelica_metatype tmp3_1;
979 tmp3_1 = _extDecl;
980 {
981 volatile mmc_switch_type tmp3;
982 int tmp4;
983 tmp3 = 0;
984 for (; tmp3 < 1; tmp3++) {
985 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
986 case 0: {
987 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,6)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((6 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
988
989 /* Pattern matching succeeded */
990#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
991 {
992#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
993 modelica_metatype _D_24tmpVar5;
994#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
995 modelica_metatype* tmp5;
996#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
997 modelica_metatype _D_24tmpVar4;
998#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
999 int tmp6;
1000#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1001 modelica_metatype _e_loopVar = 0;
1002#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1003 modelica_metatype _e;
1004#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1005 _e_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_extDecl), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_extDecl) - 3))
) + (3)))))
);
1006#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1007 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1008#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1009 _D_24tmpVar5 = tmpMeta[2]; /* defaultValue */
1010#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1011 tmp5 = &_D_24tmpVar5;
1012#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1013 while(1) {
1014#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1015 tmp6 = 1;
1016#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1017 if (!listEmpty(_e_loopVar)((*(mmc_uint_t*)((void*)((char*)(_e_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
1018#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1019 _e = MMC_CAR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (1)))))
;
1020#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1021 _e_loopVar = MMC_CDR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (2)))))
;
1022#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1023 tmp6--;
1024#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1025 }
1026#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1027 if (tmp6 == 0) {
1028#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1029 _D_24tmpVar4 = omc_NFConvertDAE_convertExternalDeclArg(threadData, _e);
1030#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1031 *tmp5 = mmc_mk_cons(_D_24tmpVar4,0);
1032#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1033 tmp5 = &MMC_CDR(*tmp5)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp5) - 3))) +
(2)))))
;
1034#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1035 } else if (tmp6 == 1) {
1036#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1037 break;
1038#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1039 } else {
1040#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1041 goto goto_1;
1042#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1043 }
1044#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1045 }
1046#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1047 *tmp5 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
1048#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1049 tmpMeta[1] = _D_24tmpVar5;
1050#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1051 }
1052#line 1074 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1053 _args = tmpMeta[1];
1054#line 1054 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1055
1056#line 1075 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1057 _ret_arg = omc_NFConvertDAE_convertExternalDeclOutput(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_extDecl), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_extDecl) - 3))
) + (4)))))
));
1058#line 1058 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1059
1060#line 1076 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1061 tmpMeta[1] = mmc_mk_box6(3, &DAE_ExternalDecl_EXTERNALDECL__desc, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_extDecl), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_extDecl) - 3))
) + (2)))))
), _args, _ret_arg, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_extDecl), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_extDecl) - 3))
) + (5)))))
), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_extDecl), 6))(*(void**)(((void*)((void**)(((void*)((char*)(_extDecl) - 3))
) + (6)))))
));
1062#line 1076 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1063 _decl = tmpMeta[1];
1064#line 1064 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1065#line 1077 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1066 tmpMeta[1] = mmc_mk_box3(4, &DAE_FunctionDefinition_FUNCTION__EXT__desc, _parameters, _decl);
1067#line 1077 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1068 tmpMeta[0] = tmpMeta[1];
1069#line 1069 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1070 goto tmp2_done;
1071 }
1072 }
1073 goto tmp2_end;
1074 tmp2_end: ;
1075 }
1076 goto goto_1;
1077 goto_1:;
1078 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1079 goto tmp2_done;
1080 tmp2_done:;
1081 }
1082 }
1083 _funcDef = tmpMeta[0];
1084 _return: OMC_LABEL_UNUSED__attribute__((unused))
1085 return _funcDef;
1086}
1087
1088PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertFunctionParam(threadData_t *threadData, modelica_metatype _node)
1089{
1090 modelica_metatype _element = NULL((void*)0);
1091 modelica_metatype _comp = NULL((void*)0);
1092 modelica_metatype _cls = NULL((void*)0);
1093 modelica_metatype _info = NULL((void*)0);
1094 modelica_metatype _var_attr = NULL((void*)0);
1095 modelica_metatype _cref = NULL((void*)0);
1096 modelica_metatype _attr = NULL((void*)0);
1097 modelica_metatype _ty = NULL((void*)0);
1098 modelica_metatype _binding = NULL((void*)0);
1099 modelica_metatype _ty_attr = NULL((void*)0);
1100 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1101 MMC_SO()mmc_check_stackoverflow(threadData);
1102 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1103 // _element has no default value.
1104 // _comp has no default value.
1105 // _cls has no default value.
1106 // _info has no default value.
1107 // _var_attr has no default value.
1108 // _cref has no default value.
1109 // _attr has no default value.
1110 // _ty has no default value.
1111 // _binding has no default value.
1112 // _ty_attr has no default value.
1113#line 1039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1114 _comp = omc_NFInstNode_InstNode_component(threadData, _node);
1115#line 1115 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1116
1117#line 1117 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1118 { /* match expression */
1119 modelica_metatype tmp3_1;
1120 tmp3_1 = _comp;
1121 {
1122 volatile mmc_switch_type tmp3;
1123 int tmp4;
1124 tmp3 = 0;
1125 for (; tmp3 < 2; tmp3++) {
1126 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1127 case 0: {
1128 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
1129 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1130 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
1131 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(9)))))
;
1132 _ty = tmpMeta[1];
1133 _attr = tmpMeta[2];
1134 _info = tmpMeta[3];
1135 /* Pattern matching succeeded */
1136#line 1044 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1137 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1138#line 1044 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1139 _cref = omc_NFComponentRef_fromNode(threadData, _node, _ty, tmpMeta[1], 1);
1140#line 1140 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1141
1142#line 1045 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1143 _binding = omc_NFBinding_Binding_toDAEExp(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_comp), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_comp) - 3))) +
(4)))))
));
1144#line 1144 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1145
1146#line 1046 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1147 _cls = omc_NFInstNode_InstNode_getClass(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_comp), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_comp) - 3))) +
(2)))))
));
1148#line 1148 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1149
1150#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1151 {
1152#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1153 modelica_metatype _D_24tmpVar7;
1154#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1155 modelica_metatype* tmp5;
1156#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1157 modelica_metatype _D_24tmpVar6;
1158#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1159 int tmp6;
1160#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1161 modelica_metatype _m_loopVar = 0;
1162#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1163 modelica_metatype _m;
1164#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1165 _m_loopVar = omc_NFClass_Class_getTypeAttributes(threadData, _cls);
1166#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1167 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1168#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1169 _D_24tmpVar7 = tmpMeta[2]; /* defaultValue */
1170#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1171 tmp5 = &_D_24tmpVar7;
1172#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1173 while(1) {
1174#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1175 tmp6 = 1;
1176#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1177 if (!listEmpty(_m_loopVar)((*(mmc_uint_t*)((void*)((char*)(_m_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
1178#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1179 _m = MMC_CAR(_m_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_m_loopVar) - 3
))) + (1)))))
;
1180#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1181 _m_loopVar = MMC_CDR(_m_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_m_loopVar) - 3
))) + (2)))))
;
1182#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1183 tmp6--;
1184#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1185 }
1186#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1187 if (tmp6 == 0) {
1188#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1189 tmpMeta[3] = mmc_mk_box2(0, omc_NFModifier_Modifier_name(threadData, _m), omc_NFModifier_Modifier_binding(threadData, _m));
1190#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1191 _D_24tmpVar6 = tmpMeta[3];
1192#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1193 *tmp5 = mmc_mk_cons(_D_24tmpVar6,0);
1194#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1195 tmp5 = &MMC_CDR(*tmp5)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp5) - 3))) +
(2)))))
;
1196#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1197 } else if (tmp6 == 1) {
1198#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1199 break;
1200#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1201 } else {
1202#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1203 goto goto_1;
1204#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1205 }
1206#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1207 }
1208#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1209 *tmp5 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
1210#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1211 tmpMeta[1] = _D_24tmpVar7;
1212#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1213 }
1214#line 1047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1215 _ty_attr = tmpMeta[1];
1216#line 1216 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1217
1218#line 1048 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1219 _var_attr = omc_NFConvertDAE_convertVarAttributes(threadData, _ty_attr, _ty, _attr);
1220#line 1220 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1221#line 1049 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1222 tmpMeta[0] = omc_NFConvertDAE_makeDAEVar(threadData, _cref, _ty, _binding, _attr, omc_NFInstNode_InstNode_visibility(threadData, _node), _var_attr, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_comp), 8))(*(void**)(((void*)((void**)(((void*)((char*)(_comp) - 3))) +
(8)))))
), _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)), _info);
1223#line 1223 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1224 goto tmp2_done;
1225 }
1226 case 1: {
1227
1228 /* Pattern matching succeeded */
1229#line 1055 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1230 omc_Error_assertion(threadData, 0, _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)), _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)));
1231#line 1231 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1232#line 1056 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1233 goto goto_1;
1234#line 1234 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1235 goto tmp2_done;
1236 }
1237 }
1238 goto tmp2_end;
1239 tmp2_end: ;
1240 }
1241 goto goto_1;
1242 goto_1:;
1243 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1244 goto tmp2_done;
1245 tmp2_done:;
1246 }
1247 }
1248 _element = tmpMeta[0];
1249 _return: OMC_LABEL_UNUSED__attribute__((unused))
1250 return _element;
1251}
1252
1253PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertFunctionParams(threadData_t *threadData, modelica_metatype _params, modelica_metatype _D_24in_elements)
1254{
1255 modelica_metatype _elements = NULL((void*)0);
1256 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1257 MMC_SO()mmc_check_stackoverflow(threadData);
1258 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1259 _elements = _D_24in_elements;
1260#line 1020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1261 {
1262#line 1020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1263 modelica_metatype _p;
1264#line 1020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1265 for (tmpMeta[0] = _params; !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
1266#line 1020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1267 {
1268#line 1020 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1269 _p = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1270#line 1021 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1271 tmpMeta[1] = mmc_mk_cons(omc_NFConvertDAE_convertFunctionParam(threadData, _p), _elements);
1272#line 1021 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1273 _elements = tmpMeta[1];
1274#line 1274 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1275 }
1276 }
1277 _return: OMC_LABEL_UNUSED__attribute__((unused))
1278 return _elements;
1279}
1280
1281PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertFunction(threadData_t *threadData, modelica_metatype _func)
1282{
1283 modelica_metatype _dfunc = NULL((void*)0);
1284 modelica_metatype _cls = NULL((void*)0);
1285 modelica_metatype _elems = NULL((void*)0);
1286 modelica_metatype _def = NULL((void*)0);
1287 modelica_metatype _sections = NULL((void*)0);
1288 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1289 MMC_SO()mmc_check_stackoverflow(threadData);
1290 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1291 // _dfunc has no default value.
1292 // _cls has no default value.
1293 // _elems has no default value.
1294 // _def has no default value.
1295 // _sections has no default value.
1296#line 975 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1297 _cls = omc_NFInstNode_InstNode_getClass(threadData, omc_NFFunction_Function_instance(threadData, _func));
1298#line 1298 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1299
1300#line 1300 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1301 { /* match expression */
1302 modelica_metatype tmp3_1;
1303 tmp3_1 = _cls;
1304 {
1305 volatile mmc_switch_type tmp3;
1306 int tmp4;
1307 tmp3 = 0;
1308 for (; tmp3 < 3; tmp3++) {
1309 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1310 case 0: {
1311 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
1312 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
1313 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
1314 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],4,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((0 +1)
<< 10) + (((4 +3) & 255) << 2)))
== 0) goto tmp2_end;
1315 _sections = tmpMeta[1];
1316 /* Pattern matching succeeded */
1317#line 980 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1318 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1319#line 980 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1320 _elems = omc_NFConvertDAE_convertFunctionParams(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_func), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_func) - 3))) +
(4)))))
), tmpMeta[1]);
1321#line 1321 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1322
1323#line 981 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1324 _elems = omc_NFConvertDAE_convertFunctionParams(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_func), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_func) - 3))) +
(5)))))
), _elems);
1325#line 1325 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1326
1327#line 982 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1328 _elems = omc_NFConvertDAE_convertFunctionParams(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_func), 6))(*(void**)(((void*)((void**)(((void*)((char*)(_func) - 3))) +
(6)))))
), _elems);
1329#line 1329 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1330
1331#line 1331 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1332 { /* match expression */
1333 modelica_metatype tmp7_1;
1334 tmp7_1 = _sections;
1335 {
1336 int tmp7;
1337 {
1338 switch (MMC_SWITCH_CAST(valueConstructor(tmp7_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp7_1) - 3)))) >> 2
) & 255))
) {
1339 case 3: {
1340
1341 /* Pattern matching succeeded */
1342#line 988 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1343 _elems = omc_NFConvertDAE_convertAlgorithms(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_sections), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_sections) - 3)
)) + (4)))))
), _elems);
1344#line 1344 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1345#line 989 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1346 tmpMeta[2] = mmc_mk_box2(3, &DAE_FunctionDefinition_FUNCTION__DEF__desc, listReverse(_elems));
1347#line 989 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1348 tmpMeta[1] = tmpMeta[2];
1349#line 1349 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1350 goto tmp6_done;
1351 }
1352 case 4: {
1353
1354 /* Pattern matching succeeded */
1355#line 994 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1356 tmpMeta[1] = omc_NFConvertDAE_convertExternalDecl(threadData, _sections, listReverse(_elems));
1357#line 1357 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1358 goto tmp6_done;
1359 }
1360 default:
1361 tmp6_default: OMC_LABEL_UNUSED__attribute__((unused)); {
1362
1363 /* Pattern matching succeeded */
1364#line 997 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1365 tmpMeta[2] = mmc_mk_box2(3, &DAE_FunctionDefinition_FUNCTION__DEF__desc, listReverse(_elems));
1366#line 997 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1367 tmpMeta[1] = tmpMeta[2];
1368#line 1368 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1369 goto tmp6_done;
1370 }
1371 }
1372 goto tmp6_end;
1373 tmp6_end: ;
1374 }
1375 goto goto_5;
1376 goto_5:;
1377 goto goto_1;
1378 goto tmp6_done;
1379 tmp6_done:;
1380 }
1381 }
1382 _def = tmpMeta[1];
1383#line 999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1384 tmpMeta[0] = omc_NFFunction_Function_toDAE(threadData, _func, _def);
1385#line 1385 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1386 goto tmp2_done;
1387 }
1388 case 1: {
1389 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
1390 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
1391 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],8,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((0 +1)
<< 10) + (((8 +3) & 255) << 2)))
== 0) goto tmp2_end;
1392 /* Pattern matching succeeded */
1393#line 1003 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1394 tmpMeta[1] = mmc_mk_box4(4, &DAE_Function_RECORD__CONSTRUCTOR__desc, omc_NFFunction_Function_name(threadData, _func), omc_NFFunction_Function_makeDAEType(threadData, _func, 0), _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)));
1395#line 1003 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1396 tmpMeta[0] = tmpMeta[1];
1397#line 1397 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1398 goto tmp2_done;
1399 }
1400 case 2: {
1401
1402 /* Pattern matching succeeded */
1403#line 1009 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1404 omc_Error_assertion(threadData, 0, _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)));
1405#line 1405 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1406#line 1010 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1407 goto goto_1;
1408#line 1408 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1409 goto tmp2_done;
1410 }
1411 }
1412 goto tmp2_end;
1413 tmp2_end: ;
1414 }
1415 goto goto_1;
1416 goto_1:;
1417 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1418 goto tmp2_done;
1419 tmp2_done:;
1420 }
1421 }
1422 _dfunc = tmpMeta[0];
1423 _return: OMC_LABEL_UNUSED__attribute__((unused))
1424 return _dfunc;
1425}
1426
1427PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertFunctionTree(threadData_t *threadData, modelica_metatype _funcs)
1428{
1429 modelica_metatype _dfuncs = NULL((void*)0);
1430 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1431 MMC_SO()mmc_check_stackoverflow(threadData);
1432 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1433 // _dfuncs has no default value.
1434#line 1434 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1435 { /* match expression */
1436 modelica_metatype tmp3_1;
1437 tmp3_1 = _funcs;
1438 {
1439 modelica_metatype _left = NULL((void*)0);
1440 modelica_metatype _right = NULL((void*)0);
1441 modelica_metatype _fn = NULL((void*)0);
1442 int tmp3;
1443 // _left has no default value.
1444 // _right has no default value.
1445 // _fn has no default value.
1446 {
1447 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> 2
) & 255))
) {
1448 case 3: {
1449
1450 /* Pattern matching succeeded */
1451#line 948 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1452 _fn = omc_NFConvertDAE_convertFunction(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_funcs), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_funcs) - 3))) +
(3)))))
));
1453#line 1453 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1454
1455#line 949 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1456 _left = omc_NFConvertDAE_convertFunctionTree(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_funcs), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_funcs) - 3))) +
(5)))))
));
1457#line 1457 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1458
1459#line 950 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1460 _right = omc_NFConvertDAE_convertFunctionTree(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_funcs), 6))(*(void**)(((void*)((void**)(((void*)((char*)(_funcs) - 3))) +
(6)))))
));
1461#line 1461 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1462#line 951 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1463 tmpMeta[1] = mmc_mk_box6(3, &DAE_AvlTreePathFunction_Tree_NODE__desc, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_funcs), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_funcs) - 3))) +
(2)))))
), mmc_mk_some(_fn), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_funcs), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_funcs) - 3))) +
(4)))))
), _left, _right);
1464#line 951 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1465 tmpMeta[0] = tmpMeta[1];
1466#line 1466 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1467 goto tmp2_done;
1468 }
1469 case 4: {
1470
1471 /* Pattern matching succeeded */
1472#line 956 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1473 _fn = omc_NFConvertDAE_convertFunction(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_funcs), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_funcs) - 3))) +
(3)))))
));
1474#line 1474 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1475#line 957 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1476 tmpMeta[1] = mmc_mk_box3(4, &DAE_AvlTreePathFunction_Tree_LEAF__desc, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_funcs), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_funcs) - 3))) +
(2)))))
), mmc_mk_some(_fn));
1477#line 957 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1478 tmpMeta[0] = tmpMeta[1];
1479#line 1479 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1480 goto tmp2_done;
1481 }
1482 case 5: {
1483
1484 /* Pattern matching succeeded */
1485#line 961 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1486 tmpMeta[0] = _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3));
1487#line 1487 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1488 goto tmp2_done;
1489 }
1490 }
1491 goto tmp2_end;
1492 tmp2_end: ;
1493 }
1494 goto goto_1;
1495 goto_1:;
1496 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1497 goto tmp2_done;
1498 tmp2_done:;
1499 }
1500 }
1501 _dfuncs = tmpMeta[0];
1502 _return: OMC_LABEL_UNUSED__attribute__((unused))
1503 return _dfuncs;
1504}
1505
1506PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertInitialAlgorithm(threadData_t *threadData, modelica_metatype _alg, modelica_metatype _D_24in_elements)
1507{
1508 modelica_metatype _elements = NULL((void*)0);
1509 modelica_metatype _stmts = NULL((void*)0);
1510 modelica_metatype _dalg = NULL((void*)0);
1511 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1512 MMC_SO()mmc_check_stackoverflow(threadData);
1513 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1514 _elements = _D_24in_elements;
1515 // _stmts has no default value.
1516 // _dalg has no default value.
1517#line 932 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1518 _stmts = omc_NFConvertDAE_convertStatements(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_alg), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_alg) - 3))) + (
2)))))
));
1519#line 1519 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1520
1521#line 933 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1522 tmpMeta[0] = mmc_mk_box2(3, &DAE_Algorithm_ALGORITHM__STMTS__desc, _stmts);
1523#line 933 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1524 _dalg = tmpMeta[0];
1525#line 1525 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1526
1527#line 934 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1528 tmpMeta[1] = mmc_mk_box3(19, &DAE_Element_INITIALALGORITHM__desc, _dalg, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_alg), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_alg) - 3))) + (
3)))))
));
1529#line 934 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1530 tmpMeta[0] = mmc_mk_cons(tmpMeta[1], _elements);
1531#line 934 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1532 _elements = tmpMeta[0];
1533#line 1533 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1534 _return: OMC_LABEL_UNUSED__attribute__((unused))
1535 return _elements;
1536}
1537
1538PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertInitialAlgorithms(threadData_t *threadData, modelica_metatype _algorithms, modelica_metatype _D_24in_elements)
1539{
1540 modelica_metatype _elements = NULL((void*)0);
1541 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1542 MMC_SO()mmc_check_stackoverflow(threadData);
1543 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1544 _elements = _D_24in_elements;
1545#line 920 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1546 {
1547#line 920 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1548 modelica_metatype _alg;
1549#line 920 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1550 for (tmpMeta[0] = listReverse(_algorithms); !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
1551#line 920 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1552 {
1553#line 920 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1554 _alg = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1555#line 921 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1556 _elements = omc_NFConvertDAE_convertInitialAlgorithm(threadData, _alg, _elements);
1557#line 1557 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1558 }
1559 }
1560 _return: OMC_LABEL_UNUSED__attribute__((unused))
1561 return _elements;
1562}
1563
1564PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertWhenStatement(threadData_t *threadData, modelica_metatype _whenBranches, modelica_metatype _source)
1565{
1566 modelica_metatype _whenStatement = NULL((void*)0);
1567 modelica_metatype _cond = NULL((void*)0);
1568 modelica_metatype _stmts = NULL((void*)0);
1569 modelica_metatype _when_stmt = NULL((void*)0);
1570 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1571 MMC_SO()mmc_check_stackoverflow(threadData);
1572 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1573 // _whenStatement has no default value.
1574 // _cond has no default value.
1575 // _stmts has no default value.
1576 _when_stmt = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
1577#line 907 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1578 {
1579#line 907 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1580 modelica_metatype _b;
1581#line 907 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1582 for (tmpMeta[0] = listReverse(_whenBranches); !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
1583#line 907 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1584 {
1585#line 907 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1586 _b = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1587#line 908 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1588 _cond = omc_NFExpression_toDAE(threadData, omc_Util_tuple21(threadData, _b));
1589#line 1589 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1590
1591#line 909 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1592 _stmts = omc_NFConvertDAE_convertStatements(threadData, omc_Util_tuple22(threadData, _b));
1593#line 1593 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1594
1595#line 910 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1596 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1597#line 910 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1598 tmpMeta[2] = mmc_mk_box7(10, &DAE_Statement_STMT__WHEN__desc, _cond, tmpMeta[1], mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), _stmts, _when_stmt, _source);
1599#line 910 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1600 _when_stmt = mmc_mk_some(tmpMeta[2]);
1601#line 1601 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1602 }
1603 }
1604
1605#line 913 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1606 /* Pattern-matching assignment */
1607#line 913 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1608 tmpMeta[0] = _when_stmt;
1609#line 913 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1610 if (optionNone(tmpMeta[0])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[0]) - 3)))) >> 10)) ? 1 : 0)
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1611#line 913 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1612 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1613#line 913 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1614 _whenStatement = tmpMeta[1];
1615#line 1615 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1616 _return: OMC_LABEL_UNUSED__attribute__((unused))
1617 return _whenStatement;
1618}
1619
1620PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertIfStatement(threadData_t *threadData, modelica_metatype _ifBranches, modelica_metatype _source)
1621{
1622 modelica_metatype _ifStatement = NULL((void*)0);
1623 modelica_metatype _cond = NULL((void*)0);
1624 modelica_metatype _dcond = NULL((void*)0);
1625 modelica_metatype _stmts = NULL((void*)0);
1626 modelica_metatype _dstmts = NULL((void*)0);
1627 modelica_boolean _first;
1628 modelica_metatype _else_stmt = NULL((void*)0);
1629 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1630 MMC_SO()mmc_check_stackoverflow(threadData);
1631 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1632 // _ifStatement has no default value.
1633 // _cond has no default value.
1634 // _dcond has no default value.
1635 // _stmts has no default value.
1636 // _dstmts has no default value.
1637 _first = 1;
1638 _else_stmt = _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3));
1639#line 879 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1640 {
1641#line 879 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1642 modelica_metatype _b;
1643#line 879 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1644 for (tmpMeta[0] = listReverse(_ifBranches); !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
1645#line 879 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1646 {
1647#line 879 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1648 _b = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1649#line 880 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1650 /* Pattern-matching assignment */
1651#line 880 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1652 tmpMeta[1] = _b;
1653#line 880 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1654 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
1655#line 880 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1656 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
1657#line 880 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1658 _cond = tmpMeta[2];
1659#line 880 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1660 _stmts = tmpMeta[3];
1661#line 1661 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1662
1663#line 881 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1664 _dcond = omc_NFExpression_toDAE(threadData, _cond);
1665#line 1665 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1666
1667#line 882 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1668 _dstmts = omc_NFConvertDAE_convertStatements(threadData, _stmts);
1669#line 1669 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1670
1671#line 884 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1672 if((_first && omc_NFExpression_isTrue(threadData, _cond)))
1673#line 884 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1674 {
1675#line 885 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1676 tmpMeta[1] = mmc_mk_box2(5, &DAE_Else_ELSE__desc, _dstmts);
1677#line 885 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1678 _else_stmt = tmpMeta[1];
1679#line 1679 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1680 }
1681 else
1682 {
1683#line 887 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1684 tmpMeta[1] = mmc_mk_box4(4, &DAE_Else_ELSEIF__desc, _dcond, _dstmts, _else_stmt);
1685#line 887 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1686 _else_stmt = tmpMeta[1];
1687#line 1687 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1688 }
1689
1690#line 890 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1691 _first = 0;
1692#line 1692 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1693 }
1694 }
1695
1696#line 894 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1697 /* Pattern-matching assignment */
1698#line 894 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1699 tmpMeta[0] = _else_stmt;
1700#line 894 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1701 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((3 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1702#line 894 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1703 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1704#line 894 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1705 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
1706#line 894 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1707 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
1708#line 894 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1709 _dcond = tmpMeta[1];
1710#line 894 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1711 _dstmts = tmpMeta[2];
1712#line 894 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1713 _else_stmt = tmpMeta[3];
1714#line 1714 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1715
1716#line 895 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1717 tmpMeta[0] = mmc_mk_box5(6, &DAE_Statement_STMT__IF__desc, _dcond, _dstmts, _else_stmt, _source);
1718#line 895 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1719 _ifStatement = tmpMeta[0];
1720#line 1720 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1721 _return: OMC_LABEL_UNUSED__attribute__((unused))
1722 return _ifStatement;
1723}
1724
1725PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertForStatement(threadData_t *threadData, modelica_metatype _forStmt)
1726{
1727 modelica_metatype _forDAE = NULL((void*)0);
1728 modelica_metatype _iterator = NULL((void*)0);
1729 modelica_metatype _ty = NULL((void*)0);
1730 modelica_metatype _range = NULL((void*)0);
1731 modelica_metatype _body = NULL((void*)0);
1732 modelica_metatype _dbody = NULL((void*)0);
1733 modelica_metatype _source = NULL((void*)0);
1734 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
1735 MMC_SO()mmc_check_stackoverflow(threadData);
1736 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1737 // _forDAE has no default value.
1738 // _iterator has no default value.
1739 // _ty has no default value.
1740 // _range has no default value.
1741 // _body has no default value.
1742 // _dbody has no default value.
1743 // _source has no default value.
1744#line 859 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1745 /* Pattern-matching assignment */
1746#line 859 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1747 tmpMeta[0] = _forStmt;
1748#line 859 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1749 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],2,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((4 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1750#line 859 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1751 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1752#line 859 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1753 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
1754#line 859 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1755 if (optionNone(tmpMeta[2])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[2]) - 3)))) >> 10)) ? 1 : 0)
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1756#line 859 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1757 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
1758#line 859 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1759 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
1760#line 859 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1761 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
1762#line 859 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1763 _iterator = tmpMeta[1];
1764#line 859 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1765 _range = tmpMeta[3];
1766#line 859 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1767 _body = tmpMeta[4];
1768#line 859 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1769 _source = tmpMeta[5];
1770#line 1770 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1771
1772#line 860 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1773 _dbody = omc_NFConvertDAE_convertStatements(threadData, _body);
1774#line 1774 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1775
1776#line 861 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1777 /* Pattern-matching assignment */
1778#line 861 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1779 tmpMeta[0] = omc_NFInstNode_InstNode_component(threadData, _iterator);
1780#line 861 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1781 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],3,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((3 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1782#line 861 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1783 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1784#line 861 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1785 _ty = tmpMeta[1];
1786#line 1786 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1787
1788#line 863 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1789 tmpMeta[0] = mmc_mk_box8(7, &DAE_Statement_STMT__FOR__desc, omc_NFType_toDAE(threadData, _ty, 1), mmc_mk_boolean(omc_NFType_isArray(threadData, _ty))((omc_NFType_isArray(threadData, _ty)) != 0 ? (mmc_mk_icon(1)
) : (mmc_mk_icon(0)))
, omc_NFInstNode_InstNode_name(threadData, _iterator), mmc_mk_integermmc_mk_icon(((modelica_integer) 0)), omc_NFExpression_toDAE(threadData, _range), _dbody, _source);
1790#line 863 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1791 _forDAE = tmpMeta[0];
1792#line 1792 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1793 _return: OMC_LABEL_UNUSED__attribute__((unused))
1794 return _forDAE;
1795}
1796
1797PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertAssignment(threadData_t *threadData, modelica_metatype _stmt)
1798{
1799 modelica_metatype _daeStmt = NULL((void*)0);
1800 modelica_metatype _lhs = NULL((void*)0);
1801 modelica_metatype _rhs = NULL((void*)0);
1802 modelica_metatype _src = NULL((void*)0);
1803 modelica_metatype _ty = NULL((void*)0);
1804 modelica_metatype _dty = NULL((void*)0);
1805 modelica_metatype _dlhs = NULL((void*)0);
1806 modelica_metatype _drhs = NULL((void*)0);
1807 modelica_metatype _expl = NULL((void*)0);
1808 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
1809 MMC_SO()mmc_check_stackoverflow(threadData);
1810 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1811 // _daeStmt has no default value.
1812 // _lhs has no default value.
1813 // _rhs has no default value.
1814 // _src has no default value.
1815 // _ty has no default value.
1816 // _dty has no default value.
1817 // _dlhs has no default value.
1818 // _drhs has no default value.
1819 // _expl has no default value.
1820#line 804 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1821 /* Pattern-matching assignment */
1822#line 804 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1823 tmpMeta[0] = _stmt;
1824#line 804 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1825 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],0,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((4 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1826#line 804 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1827 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1828#line 804 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1829 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
1830#line 804 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1831 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
1832#line 804 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1833 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
1834#line 804 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1835 _lhs = tmpMeta[1];
1836#line 804 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1837 _rhs = tmpMeta[2];
1838#line 804 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1839 _ty = tmpMeta[3];
1840#line 804 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1841 _src = tmpMeta[4];
1842#line 1842 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1843
1844#line 806 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1845 if(omc_NFType_isTuple(threadData, _ty))
1846#line 806 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1847 {
1848#line 807 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1849 /* Pattern-matching assignment */
1850#line 807 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1851 tmpMeta[0] = _lhs;
1852#line 807 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1853 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],10,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((2 +1)
<< 10) + (((10 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1854#line 807 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1855 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
1856#line 807 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1857 _expl = tmpMeta[1];
1858#line 1858 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1859
1860#line 1860 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1861 { /* match expression */
1862 modelica_metatype tmp3_1;
1863 tmp3_1 = _expl;
1864 {
1865 volatile mmc_switch_type tmp3;
1866 int tmp4;
1867 tmp3 = 0;
1868 for (; tmp3 < 3; tmp3++) {
1869 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1870 case 0: {
1871 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1872 /* Pattern matching succeeded */
1873#line 811 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1874 tmpMeta[1] = mmc_mk_box3(14, &DAE_Statement_STMT__NORETCALL__desc, omc_NFExpression_toDAE(threadData, _rhs), _src);
1875#line 811 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1876 tmpMeta[0] = tmpMeta[1];
1877#line 1877 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1878 goto tmp2_done;
1879 }
1880 case 1: {
1881 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1882 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1883 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1884 if (!listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1885 _lhs = tmpMeta[1];
1886 /* Pattern matching succeeded */
1887#line 816 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1888 _dty = omc_NFType_toDAE(threadData, _ty, 1);
1889#line 1889 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1890
1891#line 817 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1892 _dlhs = omc_NFExpression_toDAE(threadData, _lhs);
1893#line 1893 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1894
1895#line 818 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1896 tmpMeta[1] = mmc_mk_box4(25, &DAE_Exp_TSUB__desc, omc_NFExpression_toDAE(threadData, _rhs), mmc_mk_integermmc_mk_icon(((modelica_integer) 1)), _dty);
1897#line 818 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1898 _drhs = tmpMeta[1];
1899#line 1899 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1900
1901#line 820 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1902 if(omc_NFType_isArray(threadData, _ty))
1903#line 820 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1904 {
1905#line 821 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1906 tmpMeta[1] = mmc_mk_box5(5, &DAE_Statement_STMT__ASSIGN__ARR__desc, _dty, _dlhs, _drhs, _src);
1907#line 821 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1908 _daeStmt = tmpMeta[1];
1909#line 1909 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1910 }
1911 else
1912 {
1913#line 823 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1914 tmpMeta[1] = mmc_mk_box5(3, &DAE_Statement_STMT__ASSIGN__desc, _dty, _dlhs, _drhs, _src);
1915#line 823 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1916 _daeStmt = tmpMeta[1];
1917#line 1917 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1918 }
1919#line 825 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1920 tmpMeta[0] = _daeStmt;
1921#line 1921 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1922 goto tmp2_done;
1923 }
1924 case 2: {
1925
1926 /* Pattern matching succeeded */
1927#line 830 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1928 _dty = omc_NFType_toDAE(threadData, _ty, 1);
1929#line 1929 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1930
1931#line 831 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1932 _drhs = omc_NFExpression_toDAE(threadData, _rhs);
1933#line 1933 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
1934#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1935 {
1936#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1937 modelica_metatype _D_24tmpVar9;
1938#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1939 modelica_metatype* tmp5;
1940#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1941 modelica_metatype _D_24tmpVar8;
1942#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1943 int tmp6;
1944#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1945 modelica_metatype _e_loopVar = 0;
1946#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1947 modelica_metatype _e;
1948#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1949 _e_loopVar = _expl;
1950#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1951 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1952#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1953 _D_24tmpVar9 = tmpMeta[2]; /* defaultValue */
1954#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1955 tmp5 = &_D_24tmpVar9;
1956#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1957 while(1) {
1958#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1959 tmp6 = 1;
1960#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1961 if (!listEmpty(_e_loopVar)((*(mmc_uint_t*)((void*)((char*)(_e_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
1962#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1963 _e = MMC_CAR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (1)))))
;
1964#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1965 _e_loopVar = MMC_CDR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (2)))))
;
1966#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1967 tmp6--;
1968#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1969 }
1970#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1971 if (tmp6 == 0) {
1972#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1973 _D_24tmpVar8 = omc_NFExpression_toDAE(threadData, _e);
1974#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1975 *tmp5 = mmc_mk_cons(_D_24tmpVar8,0);
1976#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1977 tmp5 = &MMC_CDR(*tmp5)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp5) - 3))) +
(2)))))
;
1978#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1979 } else if (tmp6 == 1) {
1980#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1981 break;
1982#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1983 } else {
1984#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1985 goto goto_1;
1986#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1987 }
1988#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1989 }
1990#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1991 *tmp5 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
1992#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1993 tmpMeta[1] = _D_24tmpVar9;
1994#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1995 }
1996#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1997 tmpMeta[3] = mmc_mk_box5(4, &DAE_Statement_STMT__TUPLE__ASSIGN__desc, _dty, tmpMeta[1], _drhs, _src);
1998#line 832 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
1999 tmpMeta[0] = tmpMeta[3];
2000#line 2000 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2001 goto tmp2_done;
2002 }
2003 }
2004 goto tmp2_end;
2005 tmp2_end: ;
2006 }
2007 goto goto_1;
2008 goto_1:;
2009 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2010 goto tmp2_done;
2011 tmp2_done:;
2012 }
2013 }
2014 _daeStmt = tmpMeta[0];
2015 }
2016 else
2017 {
2018#line 836 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2019 _dty = omc_NFType_toDAE(threadData, _ty, 1);
2020#line 2020 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2021
2022#line 837 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2023 _dlhs = omc_NFExpression_toDAE(threadData, _lhs);
2024#line 2024 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2025
2026#line 838 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2027 _drhs = omc_NFExpression_toDAE(threadData, _rhs);
2028#line 2028 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2029
2030#line 840 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2031 if(omc_NFType_isArray(threadData, _ty))
2032#line 840 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2033 {
2034#line 841 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2035 tmpMeta[0] = mmc_mk_box5(5, &DAE_Statement_STMT__ASSIGN__ARR__desc, _dty, _dlhs, _drhs, _src);
2036#line 841 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2037 _daeStmt = tmpMeta[0];
2038#line 2038 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2039 }
2040 else
2041 {
2042#line 843 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2043 tmpMeta[0] = mmc_mk_box5(3, &DAE_Statement_STMT__ASSIGN__desc, _dty, _dlhs, _drhs, _src);
2044#line 843 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2045 _daeStmt = tmpMeta[0];
2046#line 2046 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2047 }
2048 }
2049 _return: OMC_LABEL_UNUSED__attribute__((unused))
2050 return _daeStmt;
2051}
2052
2053PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertStatement(threadData_t *threadData, modelica_metatype _stmt)
2054{
2055 modelica_metatype _elem = NULL((void*)0);
2056 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2057 MMC_SO()mmc_check_stackoverflow(threadData);
2058 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2059 // _elem has no default value.
2060#line 2060 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2061 { /* match expression */
2062 modelica_metatype tmp3_1;
2063 tmp3_1 = _stmt;
2064 {
2065 modelica_metatype _e1 = NULL((void*)0);
2066 modelica_metatype _e2 = NULL((void*)0);
2067 modelica_metatype _e3 = NULL((void*)0);
2068 modelica_metatype _ty = NULL((void*)0);
2069 modelica_metatype _body = NULL((void*)0);
2070 int tmp3;
2071 // _e1 has no default value.
2072 // _e2 has no default value.
2073 // _e3 has no default value.
2074 // _ty has no default value.
2075 // _body has no default value.
2076 {
2077 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> 2
) & 255))
) {
2078 case 3: {
2079
2080 /* Pattern matching succeeded */
2081#line 748 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2082 tmpMeta[0] = omc_NFConvertDAE_convertAssignment(threadData, _stmt);
2083#line 2083 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2084 goto tmp2_done;
2085 }
2086 case 4: {
2087
2088 /* Pattern matching succeeded */
2089#line 752 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2090 _ty = omc_NFType_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(3)))))
), 1);
2091#line 2091 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2092#line 753 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2093 tmpMeta[1] = mmc_mk_box4(18, &DAE_Statement_STMT__ARRAY__INIT__desc, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(2)))))
), _ty, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(4)))))
));
2094#line 753 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2095 tmpMeta[0] = tmpMeta[1];
2096#line 2096 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2097 goto tmp2_done;
2098 }
2099 case 5: {
2100
2101 /* Pattern matching succeeded */
2102#line 756 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2103 tmpMeta[0] = omc_NFConvertDAE_convertForStatement(threadData, _stmt);
2104#line 2104 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2105 goto tmp2_done;
2106 }
2107 case 6: {
2108
2109 /* Pattern matching succeeded */
2110#line 757 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2111 tmpMeta[0] = omc_NFConvertDAE_convertIfStatement(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(2)))))
), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(3)))))
));
2112#line 2112 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2113 goto tmp2_done;
2114 }
2115 case 7: {
2116
2117 /* Pattern matching succeeded */
2118#line 758 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2119 tmpMeta[0] = omc_NFConvertDAE_convertWhenStatement(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(2)))))
), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(3)))))
));
2120#line 2120 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2121 goto tmp2_done;
2122 }
2123 case 8: {
2124
2125 /* Pattern matching succeeded */
2126#line 762 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2127 _e1 = omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(2)))))
));
2128#line 2128 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2129
2130#line 763 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2131 _e2 = omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(3)))))
));
2132#line 2132 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2133
2134#line 764 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2135 _e3 = omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(4)))))
));
2136#line 2136 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2137#line 765 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2138 tmpMeta[1] = mmc_mk_box5(11, &DAE_Statement_STMT__ASSERT__desc, _e1, _e2, _e3, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(5)))))
));
2139#line 765 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2140 tmpMeta[0] = tmpMeta[1];
2141#line 2141 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2142 goto tmp2_done;
2143 }
2144 case 9: {
2145
2146 /* Pattern matching succeeded */
2147#line 769 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2148 tmpMeta[1] = mmc_mk_box3(12, &DAE_Statement_STMT__TERMINATE__desc, omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(2)))))
)), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(3)))))
));
2149#line 769 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2150 tmpMeta[0] = tmpMeta[1];
2151#line 2151 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2152 goto tmp2_done;
2153 }
2154 case 10: {
2155
2156 /* Pattern matching succeeded */
2157#line 772 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2158 tmpMeta[1] = mmc_mk_box3(14, &DAE_Statement_STMT__NORETCALL__desc, omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(2)))))
)), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(3)))))
));
2159#line 772 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2160 tmpMeta[0] = tmpMeta[1];
2161#line 2161 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2162 goto tmp2_done;
2163 }
2164 case 11: {
2165
2166 /* Pattern matching succeeded */
2167#line 776 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2168 _e1 = omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(2)))))
));
2169#line 2169 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2170
2171#line 777 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2172 _body = omc_NFConvertDAE_convertStatements(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(3)))))
));
2173#line 2173 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2174#line 778 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2175 tmpMeta[1] = mmc_mk_box4(9, &DAE_Statement_STMT__WHILE__desc, _e1, _body, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(4)))))
));
2176#line 778 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2177 tmpMeta[0] = tmpMeta[1];
2178#line 2178 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2179 goto tmp2_done;
2180 }
2181 case 12: {
2182
2183 /* Pattern matching succeeded */
2184#line 782 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2185 tmpMeta[1] = mmc_mk_box2(15, &DAE_Statement_STMT__RETURN__desc, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(2)))))
));
2186#line 782 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2187 tmpMeta[0] = tmpMeta[1];
2188#line 2188 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2189 goto tmp2_done;
2190 }
2191 case 13: {
2192
2193 /* Pattern matching succeeded */
2194#line 785 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2195 tmpMeta[1] = mmc_mk_box2(16, &DAE_Statement_STMT__BREAK__desc, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(2)))))
));
2196#line 785 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2197 tmpMeta[0] = tmpMeta[1];
2198#line 2198 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2199 goto tmp2_done;
2200 }
2201 case 14: {
2202
2203 /* Pattern matching succeeded */
2204#line 788 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2205 tmpMeta[1] = mmc_mk_box3(19, &DAE_Statement_STMT__FAILURE__desc, omc_NFConvertDAE_convertStatements(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(2)))))
)), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(3)))))
));
2206#line 788 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2207 tmpMeta[0] = tmpMeta[1];
2208#line 2208 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2209 goto tmp2_done;
2210 }
2211 }
2212 goto tmp2_end;
2213 tmp2_end: ;
2214 }
2215 goto goto_1;
2216 goto_1:;
2217 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2218 goto tmp2_done;
2219 tmp2_done:;
2220 }
2221 }
2222 _elem = tmpMeta[0];
2223 _return: OMC_LABEL_UNUSED__attribute__((unused))
2224 return _elem;
2225}
2226
2227PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertStatements(threadData_t *threadData, modelica_metatype _statements)
2228{
2229 modelica_metatype _elements = NULL((void*)0);
2230 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2231 MMC_SO()mmc_check_stackoverflow(threadData);
2232 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2233 // _elements has no default value.
2234#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2235 {
2236#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2237 modelica_metatype _D_24tmpVar11;
2238#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2239 modelica_metatype* tmp1;
2240#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2241 modelica_metatype _D_24tmpVar10;
2242#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2243 int tmp2;
2244#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2245 modelica_metatype _s_loopVar = 0;
2246#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2247 modelica_metatype _s;
2248#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2249 _s_loopVar = _statements;
2250#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2251 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2252#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2253 _D_24tmpVar11 = tmpMeta[1]; /* defaultValue */
2254#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2255 tmp1 = &_D_24tmpVar11;
2256#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2257 while(1) {
2258#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2259 tmp2 = 1;
2260#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2261 if (!listEmpty(_s_loopVar)((*(mmc_uint_t*)((void*)((char*)(_s_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
2262#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2263 _s = MMC_CAR(_s_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_s_loopVar) - 3
))) + (1)))))
;
2264#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2265 _s_loopVar = MMC_CDR(_s_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_s_loopVar) - 3
))) + (2)))))
;
2266#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2267 tmp2--;
2268#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2269 }
2270#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2271 if (tmp2 == 0) {
2272#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2273 _D_24tmpVar10 = omc_NFConvertDAE_convertStatement(threadData, _s);
2274#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2275 *tmp1 = mmc_mk_cons(_D_24tmpVar10,0);
2276#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2277 tmp1 = &MMC_CDR(*tmp1)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp1) - 3))) +
(2)))))
;
2278#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2279 } else if (tmp2 == 1) {
2280#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2281 break;
2282#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2283 } else {
2284#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2285 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2286#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2287 }
2288#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2289 }
2290#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2291 *tmp1 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
2292#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2293 tmpMeta[0] = _D_24tmpVar11;
2294#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2295 }
2296#line 735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2297 _elements = tmpMeta[0];
2298#line 2298 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2299 _return: OMC_LABEL_UNUSED__attribute__((unused))
2300 return _elements;
2301}
2302
2303PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertAlgorithm(threadData_t *threadData, modelica_metatype _alg, modelica_metatype _D_24in_elements)
2304{
2305 modelica_metatype _elements = NULL((void*)0);
2306 modelica_metatype _stmts = NULL((void*)0);
2307 modelica_metatype _dalg = NULL((void*)0);
2308 modelica_metatype _src = NULL((void*)0);
2309 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2310 MMC_SO()mmc_check_stackoverflow(threadData);
2311 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2312 _elements = _D_24in_elements;
2313 // _stmts has no default value.
2314 // _dalg has no default value.
2315 // _src has no default value.
2316#line 726 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2317 _stmts = omc_NFConvertDAE_convertStatements(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_alg), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_alg) - 3))) + (
2)))))
));
2318#line 2318 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2319
2320#line 727 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2321 tmpMeta[0] = mmc_mk_box2(3, &DAE_Algorithm_ALGORITHM__STMTS__desc, _stmts);
2322#line 727 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2323 _dalg = tmpMeta[0];
2324#line 2324 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2325
2326#line 728 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2327 tmpMeta[1] = mmc_mk_box3(18, &DAE_Element_ALGORITHM__desc, _dalg, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_alg), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_alg) - 3))) + (
3)))))
));
2328#line 728 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2329 tmpMeta[0] = mmc_mk_cons(tmpMeta[1], _elements);
2330#line 728 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2331 _elements = tmpMeta[0];
2332#line 2332 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2333 _return: OMC_LABEL_UNUSED__attribute__((unused))
2334 return _elements;
2335}
2336
2337PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertAlgorithms(threadData_t *threadData, modelica_metatype _algorithms, modelica_metatype _D_24in_elements)
2338{
2339 modelica_metatype _elements = NULL((void*)0);
2340 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2341 MMC_SO()mmc_check_stackoverflow(threadData);
2342 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2343 _elements = _D_24in_elements;
2344#line 713 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2345 {
2346#line 713 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2347 modelica_metatype _alg;
2348#line 713 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2349 for (tmpMeta[0] = listReverse(_algorithms); !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
2350#line 713 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2351 {
2352#line 713 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2353 _alg = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2354#line 714 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2355 _elements = omc_NFConvertDAE_convertAlgorithm(threadData, _alg, _elements);
2356#line 2356 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2357 }
2358 }
2359 _return: OMC_LABEL_UNUSED__attribute__((unused))
2360 return _elements;
2361}
2362
2363PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertInitialEquation(threadData_t *threadData, modelica_metatype _eq, modelica_metatype _D_24in_elements)
2364{
2365 modelica_metatype _elements = NULL((void*)0);
2366 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
2367 MMC_SO()mmc_check_stackoverflow(threadData);
2368 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2369 _elements = _D_24in_elements;
2370#line 2370 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2371 { /* match expression */
2372 modelica_metatype tmp3_1;
2373 tmp3_1 = _eq;
2374 {
2375 modelica_metatype _e1 = NULL((void*)0);
2376 modelica_metatype _e2 = NULL((void*)0);
2377 modelica_metatype _e3 = NULL((void*)0);
2378 modelica_metatype _dims = NULL((void*)0);
2379 int tmp3;
2380 // _e1 has no default value.
2381 // _e2 has no default value.
2382 // _e3 has no default value.
2383 // _dims has no default value.
2384 {
2385 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> 2
) & 255))
) {
2386 case 3: {
2387 modelica_boolean tmp4;
2388
2389 /* Pattern matching succeeded */
2390#line 670 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2391 _e1 = omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
2)))))
));
2392#line 2392 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2393
2394#line 671 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2395 _e2 = omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
3)))))
));
2396#line 2396 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2397#line 672 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2398 tmp4 = (modelica_boolean)omc_NFType_isComplex(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
4)))))
));
2399#line 672 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2400 if(tmp4)
2401#line 672 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2402 {
2403#line 672 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2404 tmpMeta[2] = mmc_mk_box4(12, &DAE_Element_INITIAL__COMPLEX__EQUATION__desc, _e1, _e2, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
5)))))
));
2405#line 672 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2406 tmpMeta[4] = tmpMeta[2];
2407#line 672 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2408 }
2409#line 672 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2410 else
2411#line 672 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2412 {
2413#line 672 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2414 tmpMeta[3] = mmc_mk_box4(17, &DAE_Element_INITIALEQUATION__desc, _e1, _e2, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
5)))))
));
2415#line 672 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2416 tmpMeta[4] = tmpMeta[3];
2417#line 672 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2418 }
2419#line 672 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2420 tmpMeta[1] = mmc_mk_cons(tmpMeta[4], _elements);
2421#line 672 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2422 tmpMeta[0] = tmpMeta[1];
2423#line 2423 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2424 goto tmp2_done;
2425 }
2426 case 5: {
2427
2428 /* Pattern matching succeeded */
2429#line 679 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2430 _e1 = omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
2)))))
));
2431#line 2431 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2432
2433#line 680 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2434 _e2 = omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
3)))))
));
2435#line 2435 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2436
2437#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2438 {
2439#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2440 modelica_metatype _D_24tmpVar13;
2441#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2442 modelica_metatype* tmp5;
2443#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2444 modelica_metatype _D_24tmpVar12;
2445#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2446 int tmp6;
2447#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2448 modelica_metatype _d_loopVar = 0;
2449#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2450 modelica_metatype _d;
2451#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2452 _d_loopVar = omc_NFType_arrayDims(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
4)))))
));
2453#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2454 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2455#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2456 _D_24tmpVar13 = tmpMeta[2]; /* defaultValue */
2457#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2458 tmp5 = &_D_24tmpVar13;
2459#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2460 while(1) {
2461#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2462 tmp6 = 1;
2463#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2464 if (!listEmpty(_d_loopVar)((*(mmc_uint_t*)((void*)((char*)(_d_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
2465#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2466 _d = MMC_CAR(_d_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_d_loopVar) - 3
))) + (1)))))
;
2467#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2468 _d_loopVar = MMC_CDR(_d_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_d_loopVar) - 3
))) + (2)))))
;
2469#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2470 tmp6--;
2471#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2472 }
2473#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2474 if (tmp6 == 0) {
2475#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2476 _D_24tmpVar12 = omc_NFDimension_toDAE(threadData, _d);
2477#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2478 *tmp5 = mmc_mk_cons(_D_24tmpVar12,0);
2479#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2480 tmp5 = &MMC_CDR(*tmp5)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp5) - 3))) +
(2)))))
;
2481#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2482 } else if (tmp6 == 1) {
2483#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2484 break;
2485#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2486 } else {
2487#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2488 goto goto_1;
2489#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2490 }
2491#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2492 }
2493#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2494 *tmp5 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
2495#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2496 tmpMeta[1] = _D_24tmpVar13;
2497#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2498 }
2499#line 681 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2500 _dims = tmpMeta[1];
2501#line 2501 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2502#line 682 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2503 tmpMeta[2] = mmc_mk_box5(9, &DAE_Element_INITIAL__ARRAY__EQUATION__desc, _dims, _e1, _e2, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
5)))))
));
2504#line 682 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2505 tmpMeta[1] = mmc_mk_cons(tmpMeta[2], _elements);
2506#line 682 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2507 tmpMeta[0] = tmpMeta[1];
2508#line 2508 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2509 goto tmp2_done;
2510 }
2511 case 7: {
2512
2513 /* Pattern matching succeeded */
2514#line 686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2515 tmpMeta[1] = mmc_mk_cons(omc_NFConvertDAE_convertForEquation(threadData, _eq), _elements);
2516#line 686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2517 tmpMeta[0] = tmpMeta[1];
2518#line 2518 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2519 goto tmp2_done;
2520 }
2521 case 8: {
2522
2523 /* Pattern matching succeeded */
2524#line 689 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2525 tmpMeta[1] = mmc_mk_cons(omc_NFConvertDAE_convertIfEquation(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
2)))))
), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
3)))))
), 1), _elements);
2526#line 689 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2527 tmpMeta[0] = tmpMeta[1];
2528#line 2528 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2529 goto tmp2_done;
2530 }
2531 case 10: {
2532
2533 /* Pattern matching succeeded */
2534#line 693 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2535 _e1 = omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
2)))))
));
2536#line 2536 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2537
2538#line 694 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2539 _e2 = omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
3)))))
));
2540#line 2540 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2541
2542#line 695 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2543 _e3 = omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
4)))))
));
2544#line 2544 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2545#line 696 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2546 tmpMeta[2] = mmc_mk_box5(23, &DAE_Element_INITIAL__ASSERT__desc, _e1, _e2, _e3, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
5)))))
));
2547#line 696 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2548 tmpMeta[1] = mmc_mk_cons(tmpMeta[2], _elements);
2549#line 696 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2550 tmpMeta[0] = tmpMeta[1];
2551#line 2551 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2552 goto tmp2_done;
2553 }
2554 case 11: {
2555
2556 /* Pattern matching succeeded */
2557#line 700 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2558 tmpMeta[2] = mmc_mk_box3(25, &DAE_Element_INITIAL__TERMINATE__desc, omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
2)))))
)), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
3)))))
));
2559#line 700 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2560 tmpMeta[1] = mmc_mk_cons(tmpMeta[2], _elements);
2561#line 700 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2562 tmpMeta[0] = tmpMeta[1];
2563#line 2563 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2564 goto tmp2_done;
2565 }
2566 case 13: {
2567
2568 /* Pattern matching succeeded */
2569#line 703 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2570 tmpMeta[2] = mmc_mk_box3(28, &DAE_Element_INITIAL__NORETCALL__desc, omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
2)))))
)), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
3)))))
));
2571#line 703 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2572 tmpMeta[1] = mmc_mk_cons(tmpMeta[2], _elements);
2573#line 703 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2574 tmpMeta[0] = tmpMeta[1];
2575#line 2575 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2576 goto tmp2_done;
2577 }
2578 default:
2579 tmp2_default: OMC_LABEL_UNUSED__attribute__((unused)); {
2580
2581 /* Pattern matching succeeded */
2582#line 705 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2583 tmpMeta[0] = _elements;
2584#line 2584 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2585 goto tmp2_done;
2586 }
2587 }
2588 goto tmp2_end;
2589 tmp2_end: ;
2590 }
2591 goto goto_1;
2592 goto_1:;
2593 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2594 goto tmp2_done;
2595 tmp2_done:;
2596 }
2597 }
2598 _elements = tmpMeta[0];
2599 _return: OMC_LABEL_UNUSED__attribute__((unused))
2600 return _elements;
2601}
2602
2603PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertInitialEquations(threadData_t *threadData, modelica_metatype _equations, modelica_metatype _D_24in_elements)
2604{
2605 modelica_metatype _elements = NULL((void*)0);
2606 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2607 MMC_SO()mmc_check_stackoverflow(threadData);
2608 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2609 _elements = _D_24in_elements;
2610#line 652 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2611 {
2612#line 652 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2613 modelica_metatype _eq;
2614#line 652 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2615 for (tmpMeta[0] = listReverse(_equations); !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
2616#line 652 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2617 {
2618#line 652 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2619 _eq = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2620#line 653 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2621 _elements = omc_NFConvertDAE_convertInitialEquation(threadData, _eq, _elements);
2622#line 2622 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2623 }
2624 }
2625 _return: OMC_LABEL_UNUSED__attribute__((unused))
2626 return _elements;
2627}
2628
2629PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertWhenEquation(threadData_t *threadData, modelica_metatype _whenBranches, modelica_metatype _source)
2630{
2631 modelica_metatype _whenEquation = NULL((void*)0);
2632 modelica_metatype _cond = NULL((void*)0);
2633 modelica_metatype _els = NULL((void*)0);
2634 modelica_metatype _when_eq = NULL((void*)0);
2635 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
2636 MMC_SO()mmc_check_stackoverflow(threadData);
2637 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2638 // _whenEquation has no default value.
2639 // _cond has no default value.
2640 // _els has no default value.
2641 _when_eq = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
2642#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2643 {
2644#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2645 modelica_metatype _b;
2646#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2647 for (tmpMeta[0] = listReverse(_whenBranches); !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
2648#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2649 {
2650#line 634 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2651 _b = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2652#line 2652 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2653 { /* match expression */
2654 modelica_metatype tmp3_1;
2655 tmp3_1 = _b;
2656 {
2657 volatile mmc_switch_type tmp3;
2658 int tmp4;
2659 tmp3 = 0;
2660 for (; tmp3 < 1; tmp3++) {
2661 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2662 case 0: {
2663 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
2664
2665 /* Pattern matching succeeded */
2666#line 638 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2667 _cond = omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_b), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_b) - 3))) + (2
)))))
));
2668#line 2668 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2669
2670#line 639 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2671 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2672#line 639 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2673 _els = omc_NFConvertDAE_convertEquations(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_b), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_b) - 3))) + (4
)))))
), tmpMeta[2]);
2674#line 2674 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2675#line 640 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2676 tmpMeta[2] = mmc_mk_box5(13, &DAE_Element_WHEN__EQUATION__desc, _cond, _els, _when_eq, _source);
2677#line 640 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2678 tmpMeta[1] = mmc_mk_some(tmpMeta[2]);
2679#line 2679 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2680 goto tmp2_done;
2681 }
2682 }
2683 goto tmp2_end;
2684 tmp2_end: ;
2685 }
2686 goto goto_1;
2687 goto_1:;
2688 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2689 goto tmp2_done;
2690 tmp2_done:;
2691 }
2692 }
2693 _when_eq = tmpMeta[1];
2694 }
2695 }
2696
2697#line 645 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2698 /* Pattern-matching assignment */
2699#line 645 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2700 tmpMeta[0] = _when_eq;
2701#line 645 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2702 if (optionNone(tmpMeta[0])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[0]) - 3)))) >> 10)) ? 1 : 0)
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2703#line 645 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2704 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2705#line 645 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2706 _whenEquation = tmpMeta[1];
2707#line 2707 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2708 _return: OMC_LABEL_UNUSED__attribute__((unused))
2709 return _whenEquation;
2710}
2711
2712PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertIfEquation(threadData_t *threadData, modelica_metatype _ifBranches, modelica_metatype _source, modelica_boolean _isInitial)
2713{
2714 modelica_metatype _ifEquation = NULL((void*)0);
2715 modelica_metatype _conds = NULL((void*)0);
2716 modelica_metatype _branches = NULL((void*)0);
2717 modelica_metatype _dconds = NULL((void*)0);
2718 modelica_metatype _dbranches = NULL((void*)0);
2719 modelica_metatype _else_branch = NULL((void*)0);
2720 modelica_boolean tmp10;
2721 modelica_boolean tmp12;
2722 modelica_metatype tmpMeta[9] __attribute__((unused)) = {0};
2723 MMC_SO()mmc_check_stackoverflow(threadData);
2724 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2725 // _ifEquation has no default value.
2726 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2727 _conds = tmpMeta[0];
2728 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2729 _branches = tmpMeta[1];
2730 // _dconds has no default value.
2731 // _dbranches has no default value.
2732 // _else_branch has no default value.
2733#line 592 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2734 {
2735#line 592 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2736 modelica_metatype _branch;
2737#line 592 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2738 for (tmpMeta[2] = _ifBranches; !listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[2]=MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
)
2739#line 592 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2740 {
2741#line 592 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2742 _branch = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
2743#line 593 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2744
2745#line 593 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2746
2747#line 2747 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2748 { /* match expression */
2749 modelica_metatype tmp4_1;
2750 tmp4_1 = _branch;
2751 {
2752 volatile mmc_switch_type tmp4;
2753 int tmp5;
2754 tmp4 = 0;
2755 for (; tmp4 < 2; tmp4++) {
2756 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2757 case 0: {
2758 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
2759
2760 /* Pattern matching succeeded */
2761#line 595 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2762 tmpMeta[5] = mmc_mk_cons((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_branch), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_branch) - 3)))
+ (2)))))
), _conds);
2763#line 595 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2764 tmpMeta[6] = mmc_mk_cons((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_branch), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_branch) - 3)))
+ (4)))))
), _branches);
2765#line 595 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2766 tmpMeta[3+0] = tmpMeta[5];
2767#line 595 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2768 tmpMeta[3+1] = tmpMeta[6];
2769#line 2769 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2770 goto tmp3_done;
2771 }
2772 case 1: {
2773 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2774
2775 /* Pattern matching succeeded */
2776#line 599 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2777 omc_NFEquation_Branch_triggerErrors(threadData, _branch);
2778#line 2778 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2779#line 600 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2780 goto goto_2;
2781#line 2781 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2782 goto tmp3_done;
2783 }
2784 }
2785 goto tmp3_end;
2786 tmp3_end: ;
2787 }
2788 goto goto_2;
2789 goto_2:;
2790 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2791 goto tmp3_done;
2792 tmp3_done:;
2793 }
2794 }
2795 _conds = tmpMeta[3+0];
2796 _branches = tmpMeta[3+1];
2797 }
2798 }
2799
2800#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2801 tmp10 = (modelica_boolean)_isInitial;
2802#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2803 if(tmp10)
2804#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2805 {
2806#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2807 {
2808#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2809 modelica_metatype _D_24tmpVar15;
2810#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2811 modelica_metatype* tmp6;
2812#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2813 modelica_metatype _D_24tmpVar14;
2814#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2815 int tmp7;
2816#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2817 modelica_metatype _b_loopVar = 0;
2818#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2819 modelica_metatype _b;
2820#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2821 _b_loopVar = _branches;
2822#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2823 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2824#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2825 _D_24tmpVar15 = tmpMeta[3]; /* defaultValue */
2826#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2827 tmp6 = &_D_24tmpVar15;
2828#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2829 while(1) {
2830#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2831 tmp7 = 1;
2832#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2833 if (!listEmpty(_b_loopVar)((*(mmc_uint_t*)((void*)((char*)(_b_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
2834#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2835 _b = MMC_CAR(_b_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_b_loopVar) - 3
))) + (1)))))
;
2836#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2837 _b_loopVar = MMC_CDR(_b_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_b_loopVar) - 3
))) + (2)))))
;
2838#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2839 tmp7--;
2840#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2841 }
2842#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2843 if (tmp7 == 0) {
2844#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2845 tmpMeta[4] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2846#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2847 _D_24tmpVar14 = omc_NFConvertDAE_convertInitialEquations(threadData, _b, tmpMeta[4]);
2848#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2849 *tmp6 = mmc_mk_cons(_D_24tmpVar14,0);
2850#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2851 tmp6 = &MMC_CDR(*tmp6)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp6) - 3))) +
(2)))))
;
2852#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2853 } else if (tmp7 == 1) {
2854#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2855 break;
2856#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2857 } else {
2858#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2859 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2860#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2861 }
2862#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2863 }
2864#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2865 *tmp6 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
2866#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2867 tmpMeta[2] = _D_24tmpVar15;
2868#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2869 }
2870#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2871 tmpMeta[8] = tmpMeta[2];
2872#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2873 }
2874#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2875 else
2876#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2877 {
2878#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2879 {
2880#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2881 modelica_metatype _D_24tmpVar17;
2882#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2883 modelica_metatype* tmp8;
2884#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2885 modelica_metatype _D_24tmpVar16;
2886#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2887 int tmp9;
2888#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2889 modelica_metatype _b_loopVar = 0;
2890#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2891 modelica_metatype _b;
2892#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2893 _b_loopVar = _branches;
2894#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2895 tmpMeta[6] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2896#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2897 _D_24tmpVar17 = tmpMeta[6]; /* defaultValue */
2898#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2899 tmp8 = &_D_24tmpVar17;
2900#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2901 while(1) {
2902#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2903 tmp9 = 1;
2904#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2905 if (!listEmpty(_b_loopVar)((*(mmc_uint_t*)((void*)((char*)(_b_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
2906#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2907 _b = MMC_CAR(_b_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_b_loopVar) - 3
))) + (1)))))
;
2908#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2909 _b_loopVar = MMC_CDR(_b_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_b_loopVar) - 3
))) + (2)))))
;
2910#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2911 tmp9--;
2912#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2913 }
2914#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2915 if (tmp9 == 0) {
2916#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2917 tmpMeta[7] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2918#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2919 _D_24tmpVar16 = omc_NFConvertDAE_convertEquations(threadData, _b, tmpMeta[7]);
2920#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2921 *tmp8 = mmc_mk_cons(_D_24tmpVar16,0);
2922#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2923 tmp8 = &MMC_CDR(*tmp8)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp8) - 3))) +
(2)))))
;
2924#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2925 } else if (tmp9 == 1) {
2926#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2927 break;
2928#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2929 } else {
2930#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2931 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2932#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2933 }
2934#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2935 }
2936#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2937 *tmp8 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
2938#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2939 tmpMeta[5] = _D_24tmpVar17;
2940#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2941 }
2942#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2943 tmpMeta[8] = tmpMeta[5];
2944#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2945 }
2946#line 605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2947 _dbranches = tmpMeta[8];
2948#line 2948 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2949
2950#line 610 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2951 if(omc_NFExpression_isTrue(threadData, listHead(_conds)boxptr_listHead(threadData,_conds)))
2952#line 610 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2953 {
2954#line 611 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2955 /* Pattern-matching assignment */
2956#line 611 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2957 tmpMeta[2] = _dbranches;
2958#line 611 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2959 if (listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2960#line 611 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2961 tmpMeta[3] = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
2962#line 611 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2963 tmpMeta[4] = MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2964#line 611 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2965 _else_branch = tmpMeta[3];
2966#line 611 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2967 _dbranches = tmpMeta[4];
2968#line 2968 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2969
2970#line 612 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2971 _conds = listRest(_conds)boxptr_listRest(threadData,_conds);
2972#line 2972 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2973 }
2974 else
2975 {
2976#line 614 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2977 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2978#line 614 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2979 _else_branch = tmpMeta[2];
2980#line 2980 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
2981 }
2982
2983#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2984 {
2985#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2986 modelica_metatype _D_24tmpVar19;
2987#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2988 modelica_metatype _D_24tmpVar18;
2989#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2990 int tmp11;
2991#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2992 modelica_metatype _c_loopVar = 0;
2993#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2994 modelica_metatype _c;
2995#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2996 _c_loopVar = _conds;
2997#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
2998 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2999#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3000 _D_24tmpVar19 = tmpMeta[3]; /* defaultValue */
3001#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3002 while(1) {
3003#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3004 tmp11 = 1;
3005#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3006 if (!listEmpty(_c_loopVar)((*(mmc_uint_t*)((void*)((char*)(_c_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
3007#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3008 _c = MMC_CAR(_c_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_c_loopVar) - 3
))) + (1)))))
;
3009#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3010 _c_loopVar = MMC_CDR(_c_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_c_loopVar) - 3
))) + (2)))))
;
3011#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3012 tmp11--;
3013#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3014 }
3015#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3016 if (tmp11 == 0) {
3017#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3018 _D_24tmpVar18 = omc_NFExpression_toDAE(threadData, _c);
3019#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3020 _D_24tmpVar19 = mmc_mk_cons(_D_24tmpVar18,_D_24tmpVar19);
3021#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3022 } else if (tmp11 == 1) {
3023#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3024 break;
3025#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3026 } else {
3027#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3028 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3029#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3030 }
3031#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3032 }
3033#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3034 tmpMeta[2] = _D_24tmpVar19;
3035#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3036 }
3037#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3038 _dconds = tmpMeta[2];
3039#line 3039 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3040
3041#line 618 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3042 _dbranches = listReverseInPlace(_dbranches);
3043#line 3043 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3044
3045#line 620 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3046 tmp12 = (modelica_boolean)_isInitial;
3047#line 620 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3048 if(tmp12)
3049#line 620 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3050 {
3051#line 620 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3052 tmpMeta[2] = mmc_mk_box5(16, &DAE_Element_INITIAL__IF__EQUATION__desc, _dconds, _dbranches, _else_branch, _source);
3053#line 620 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3054 tmpMeta[4] = tmpMeta[2];
3055#line 620 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3056 }
3057#line 620 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3058 else
3059#line 620 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3060 {
3061#line 620 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3062 tmpMeta[3] = mmc_mk_box5(15, &DAE_Element_IF__EQUATION__desc, _dconds, _dbranches, _else_branch, _source);
3063#line 620 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3064 tmpMeta[4] = tmpMeta[3];
3065#line 620 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3066 }
3067#line 620 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3068 _ifEquation = tmpMeta[4];
3069#line 3069 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3070 _return: OMC_LABEL_UNUSED__attribute__((unused))
3071 return _ifEquation;
3072}
3073PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_NFConvertDAE_convertIfEquation(threadData_t *threadData, modelica_metatype _ifBranches, modelica_metatype _source, modelica_metatype _isInitial)
3074{
3075 modelica_integer tmp1;
3076 modelica_metatype _ifEquation = NULL((void*)0);
3077 tmp1 = mmc_unbox_integer(_isInitial)(((mmc_sint_t) (_isInitial)) >> 1);
3078 _ifEquation = omc_NFConvertDAE_convertIfEquation(threadData, _ifBranches, _source, tmp1);
3079 /* skip box _ifEquation; DAE.Element */
3080 return _ifEquation;
3081}
3082
3083PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertForEquation(threadData_t *threadData, modelica_metatype _forEquation)
3084{
3085 modelica_metatype _forDAE = NULL((void*)0);
3086 modelica_metatype _iterator = NULL((void*)0);
3087 modelica_metatype _ty = NULL((void*)0);
3088 modelica_metatype _range = NULL((void*)0);
3089 modelica_metatype _body = NULL((void*)0);
3090 modelica_metatype _dbody = NULL((void*)0);
3091 modelica_metatype _source = NULL((void*)0);
3092 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
3093 MMC_SO()mmc_check_stackoverflow(threadData);
3094 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3095 // _forDAE has no default value.
3096 // _iterator has no default value.
3097 // _ty has no default value.
3098 // _range has no default value.
3099 // _body has no default value.
3100 // _dbody has no default value.
3101 // _source has no default value.
3102#line 572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3103 /* Pattern-matching assignment */
3104#line 572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3105 tmpMeta[0] = _forEquation;
3106#line 572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3107 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],4,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((4 +1)
<< 10) + (((4 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3108#line 572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3109 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3110#line 572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3111 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
3112#line 572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3113 if (optionNone(tmpMeta[2])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[2]) - 3)))) >> 10)) ? 1 : 0)
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3114#line 572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3115 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
3116#line 572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3117 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
3118#line 572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3119 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
3120#line 572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3121 _iterator = tmpMeta[1];
3122#line 572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3123 _range = tmpMeta[3];
3124#line 572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3125 _body = tmpMeta[4];
3126#line 572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3127 _source = tmpMeta[5];
3128#line 3128 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3129
3130#line 573 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3131 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3132#line 573 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3133 _dbody = omc_NFConvertDAE_convertEquations(threadData, _body, tmpMeta[0]);
3134#line 3134 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3135
3136#line 574 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3137 /* Pattern-matching assignment */
3138#line 574 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3139 tmpMeta[0] = omc_NFInstNode_InstNode_component(threadData, _iterator);
3140#line 574 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3141 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],3,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((3 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3142#line 574 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3143 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3144#line 574 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3145 _ty = tmpMeta[1];
3146#line 3146 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3147
3148#line 576 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3149 tmpMeta[0] = mmc_mk_box8(14, &DAE_Element_FOR__EQUATION__desc, omc_NFType_toDAE(threadData, _ty, 1), mmc_mk_boolean(omc_NFType_isArray(threadData, _ty))((omc_NFType_isArray(threadData, _ty)) != 0 ? (mmc_mk_icon(1)
) : (mmc_mk_icon(0)))
, omc_NFInstNode_InstNode_name(threadData, _iterator), mmc_mk_integermmc_mk_icon(((modelica_integer) 0)), omc_NFExpression_toDAE(threadData, _range), _dbody, _source);
3150#line 576 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3151 _forDAE = tmpMeta[0];
3152#line 3152 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3153 _return: OMC_LABEL_UNUSED__attribute__((unused))
3154 return _forDAE;
3155}
3156
3157PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertEquation(threadData_t *threadData, modelica_metatype _eq, modelica_metatype _D_24in_elements)
3158{
3159 modelica_metatype _elements = NULL((void*)0);
3160 modelica_metatype tmpMeta[9] __attribute__((unused)) = {0};
3161 MMC_SO()mmc_check_stackoverflow(threadData);
3162 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3163 _elements = _D_24in_elements;
3164#line 3164 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3165 { /* match expression */
3166 modelica_metatype tmp3_1;
3167 tmp3_1 = _eq;
3168 {
3169 modelica_metatype _e1 = NULL((void*)0);
3170 modelica_metatype _e2 = NULL((void*)0);
3171 modelica_metatype _e3 = NULL((void*)0);
3172 modelica_metatype _cr1 = NULL((void*)0);
3173 modelica_metatype _cr2 = NULL((void*)0);
3174 modelica_metatype _dims = NULL((void*)0);
3175 int tmp3;
3176 // _e1 has no default value.
3177 // _e2 has no default value.
3178 // _e3 has no default value.
3179 // _cr1 has no default value.
3180 // _cr2 has no default value.
3181 // _dims has no default value.
3182 {
3183 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> 2
) & 255))
) {
3184 case 3: {
3185 modelica_boolean tmp6;
3186 modelica_boolean tmp7;
3187
3188 /* Pattern matching succeeded */
3189#line 502 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3190 _e1 = omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
2)))))
));
3191#line 3191 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3192
3193#line 503 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3194 _e2 = omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
3)))))
));
3195#line 3195 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3196#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3197 tmp7 = (modelica_boolean)omc_NFType_isComplex(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
4)))))
));
3198#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3199 if(tmp7)
3200#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3201 {
3202#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3203 tmpMeta[2] = mmc_mk_box4(11, &DAE_Element_COMPLEX__EQUATION__desc, _e1, _e2, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
5)))))
));
3204#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3205 tmpMeta[8] = tmpMeta[2];
3206#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3207 }
3208#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3209 else
3210#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3211 {
3212#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3213 tmp6 = (modelica_boolean)omc_NFType_isArray(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
4)))))
));
3214#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3215 if(tmp6)
3216#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3217 {
3218#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3219 {
3220#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3221 modelica_metatype _D_24tmpVar21;
3222#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3223 modelica_metatype* tmp4;
3224#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3225 modelica_metatype _D_24tmpVar20;
3226#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3227 int tmp5;
3228#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3229 modelica_metatype _d_loopVar = 0;
3230#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3231 modelica_metatype _d;
3232#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3233 _d_loopVar = omc_NFType_arrayDims(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
4)))))
));
3234#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3235 tmpMeta[4] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3236#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3237 _D_24tmpVar21 = tmpMeta[4]; /* defaultValue */
3238#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3239 tmp4 = &_D_24tmpVar21;
3240#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3241 while(1) {
3242#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3243 tmp5 = 1;
3244#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3245 if (!listEmpty(_d_loopVar)((*(mmc_uint_t*)((void*)((char*)(_d_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
3246#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3247 _d = MMC_CAR(_d_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_d_loopVar) - 3
))) + (1)))))
;
3248#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3249 _d_loopVar = MMC_CDR(_d_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_d_loopVar) - 3
))) + (2)))))
;
3250#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3251 tmp5--;
3252#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3253 }
3254#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3255 if (tmp5 == 0) {
3256#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3257 _D_24tmpVar20 = omc_NFDimension_toDAE(threadData, _d);
3258#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3259 *tmp4 = mmc_mk_cons(_D_24tmpVar20,0);
3260#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3261 tmp4 = &MMC_CDR(*tmp4)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp4) - 3))) +
(2)))))
;
3262#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3263 } else if (tmp5 == 1) {
3264#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3265 break;
3266#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3267 } else {
3268#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3269 goto goto_1;
3270#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3271 }
3272#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3273 }
3274#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3275 *tmp4 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
3276#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3277 tmpMeta[3] = _D_24tmpVar21;
3278#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3279 }
3280#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3281 tmpMeta[5] = mmc_mk_box5(8, &DAE_Element_ARRAY__EQUATION__desc, tmpMeta[3], _e1, _e2, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
5)))))
));
3282#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3283 tmpMeta[7] = tmpMeta[5];
3284#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3285 }
3286#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3287 else
3288#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3289 {
3290#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3291 tmpMeta[6] = mmc_mk_box4(6, &DAE_Element_EQUATION__desc, _e1, _e2, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
5)))))
));
3292#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3293 tmpMeta[7] = tmpMeta[6];
3294#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3295 }
3296#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3297 tmpMeta[8] = tmpMeta[7];
3298#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3299 }
3300#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3301 tmpMeta[1] = mmc_mk_cons(tmpMeta[8], _elements);
3302#line 504 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3303 tmpMeta[0] = tmpMeta[1];
3304#line 3304 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3305 goto tmp2_done;
3306 }
3307 case 4: {
3308
3309 /* Pattern matching succeeded */
3310#line 514 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3311 _cr1 = omc_NFComponentRef_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
2)))))
));
3312#line 3312 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3313
3314#line 515 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3315 _cr2 = omc_NFComponentRef_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
3)))))
));
3316#line 3316 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3317#line 516 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3318 tmpMeta[2] = mmc_mk_box4(7, &DAE_Element_EQUEQUATION__desc, _cr1, _cr2, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
4)))))
));
3319#line 516 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3320 tmpMeta[1] = mmc_mk_cons(tmpMeta[2], _elements);
3321#line 516 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3322 tmpMeta[0] = tmpMeta[1];
3323#line 3323 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3324 goto tmp2_done;
3325 }
3326 case 5: {
3327
3328 /* Pattern matching succeeded */
3329#line 521 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3330 _e1 = omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
2)))))
));
3331#line 3331 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3332
3333#line 522 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3334 _e2 = omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
3)))))
));
3335#line 3335 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3336
3337#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3338 {
3339#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3340 modelica_metatype _D_24tmpVar23;
3341#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3342 modelica_metatype* tmp8;
3343#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3344 modelica_metatype _D_24tmpVar22;
3345#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3346 int tmp9;
3347#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3348 modelica_metatype _d_loopVar = 0;
3349#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3350 modelica_metatype _d;
3351#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3352 _d_loopVar = omc_NFType_arrayDims(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
4)))))
));
3353#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3354 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3355#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3356 _D_24tmpVar23 = tmpMeta[2]; /* defaultValue */
3357#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3358 tmp8 = &_D_24tmpVar23;
3359#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3360 while(1) {
3361#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3362 tmp9 = 1;
3363#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3364 if (!listEmpty(_d_loopVar)((*(mmc_uint_t*)((void*)((char*)(_d_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
3365#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3366 _d = MMC_CAR(_d_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_d_loopVar) - 3
))) + (1)))))
;
3367#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3368 _d_loopVar = MMC_CDR(_d_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_d_loopVar) - 3
))) + (2)))))
;
3369#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3370 tmp9--;
3371#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3372 }
3373#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3374 if (tmp9 == 0) {
3375#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3376 _D_24tmpVar22 = omc_NFDimension_toDAE(threadData, _d);
3377#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3378 *tmp8 = mmc_mk_cons(_D_24tmpVar22,0);
3379#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3380 tmp8 = &MMC_CDR(*tmp8)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp8) - 3))) +
(2)))))
;
3381#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3382 } else if (tmp9 == 1) {
3383#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3384 break;
3385#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3386 } else {
3387#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3388 goto goto_1;
3389#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3390 }
3391#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3392 }
3393#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3394 *tmp8 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
3395#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3396 tmpMeta[1] = _D_24tmpVar23;
3397#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3398 }
3399#line 523 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3400 _dims = tmpMeta[1];
3401#line 3401 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3402#line 524 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3403 tmpMeta[2] = mmc_mk_box5(8, &DAE_Element_ARRAY__EQUATION__desc, _dims, _e1, _e2, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
5)))))
));
3404#line 524 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3405 tmpMeta[1] = mmc_mk_cons(tmpMeta[2], _elements);
3406#line 524 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3407 tmpMeta[0] = tmpMeta[1];
3408#line 3408 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3409 goto tmp2_done;
3410 }
3411 case 7: {
3412
3413 /* Pattern matching succeeded */
3414#line 528 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3415 tmpMeta[1] = mmc_mk_cons(omc_NFConvertDAE_convertForEquation(threadData, _eq), _elements);
3416#line 528 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3417 tmpMeta[0] = tmpMeta[1];
3418#line 3418 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3419 goto tmp2_done;
3420 }
3421 case 8: {
3422
3423 /* Pattern matching succeeded */
3424#line 531 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3425 tmpMeta[1] = mmc_mk_cons(omc_NFConvertDAE_convertIfEquation(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
2)))))
), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
3)))))
), 0), _elements);
3426#line 531 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3427 tmpMeta[0] = tmpMeta[1];
3428#line 3428 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3429 goto tmp2_done;
3430 }
3431 case 9: {
3432
3433 /* Pattern matching succeeded */
3434#line 534 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3435 tmpMeta[1] = mmc_mk_cons(omc_NFConvertDAE_convertWhenEquation(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
2)))))
), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
3)))))
)), _elements);
3436#line 534 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3437 tmpMeta[0] = tmpMeta[1];
3438#line 3438 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3439 goto tmp2_done;
3440 }
3441 case 10: {
3442
3443 /* Pattern matching succeeded */
3444#line 538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3445 _e1 = omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
2)))))
));
3446#line 3446 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3447
3448#line 539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3449 _e2 = omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
3)))))
));
3450#line 3450 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3451
3452#line 540 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3453 _e3 = omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
4)))))
));
3454#line 3454 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3455#line 541 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3456 tmpMeta[2] = mmc_mk_box5(22, &DAE_Element_ASSERT__desc, _e1, _e2, _e3, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
5)))))
));
3457#line 541 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3458 tmpMeta[1] = mmc_mk_cons(tmpMeta[2], _elements);
3459#line 541 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3460 tmpMeta[0] = tmpMeta[1];
3461#line 3461 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3462 goto tmp2_done;
3463 }
3464 case 11: {
3465
3466 /* Pattern matching succeeded */
3467#line 545 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3468 tmpMeta[2] = mmc_mk_box3(24, &DAE_Element_TERMINATE__desc, omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
2)))))
)), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
3)))))
));
3469#line 545 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3470 tmpMeta[1] = mmc_mk_cons(tmpMeta[2], _elements);
3471#line 545 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3472 tmpMeta[0] = tmpMeta[1];
3473#line 3473 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3474 goto tmp2_done;
3475 }
3476 case 12: {
3477
3478 /* Pattern matching succeeded */
3479#line 549 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3480 _cr1 = omc_NFComponentRef_toDAE(threadData, omc_NFExpression_toCref(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
2)))))
)));
3481#line 3481 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3482
3483#line 550 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3484 _e1 = omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
3)))))
));
3485#line 3485 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3486#line 551 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3487 tmpMeta[2] = mmc_mk_box4(26, &DAE_Element_REINIT__desc, _cr1, _e1, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
4)))))
));
3488#line 551 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3489 tmpMeta[1] = mmc_mk_cons(tmpMeta[2], _elements);
3490#line 551 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3491 tmpMeta[0] = tmpMeta[1];
3492#line 3492 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3493 goto tmp2_done;
3494 }
3495 case 13: {
3496
3497 /* Pattern matching succeeded */
3498#line 555 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3499 tmpMeta[2] = mmc_mk_box3(27, &DAE_Element_NORETCALL__desc, omc_NFExpression_toDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
2)))))
)), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
3)))))
));
3500#line 555 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3501 tmpMeta[1] = mmc_mk_cons(tmpMeta[2], _elements);
3502#line 555 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3503 tmpMeta[0] = tmpMeta[1];
3504#line 3504 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3505 goto tmp2_done;
3506 }
3507 default:
3508 tmp2_default: OMC_LABEL_UNUSED__attribute__((unused)); {
3509
3510 /* Pattern matching succeeded */
3511#line 557 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3512 tmpMeta[0] = _elements;
3513#line 3513 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3514 goto tmp2_done;
3515 }
3516 }
3517 goto tmp2_end;
3518 tmp2_end: ;
3519 }
3520 goto goto_1;
3521 goto_1:;
3522 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3523 goto tmp2_done;
3524 tmp2_done:;
3525 }
3526 }
3527 _elements = tmpMeta[0];
3528 _return: OMC_LABEL_UNUSED__attribute__((unused))
3529 return _elements;
3530}
3531
3532PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertEquations(threadData_t *threadData, modelica_metatype _equations, modelica_metatype _D_24in_elements)
3533{
3534 modelica_metatype _elements = NULL((void*)0);
3535 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3536 MMC_SO()mmc_check_stackoverflow(threadData);
3537 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3538 _elements = _D_24in_elements;
3539#line 484 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3540 {
3541#line 484 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3542 modelica_metatype _eq;
3543#line 484 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3544 for (tmpMeta[0] = listReverse(_equations); !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
3545#line 484 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3546 {
3547#line 484 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3548 _eq = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
3549#line 485 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3550 _elements = omc_NFConvertDAE_convertEquation(threadData, _eq, _elements);
3551#line 3551 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3552 }
3553 }
3554 _return: OMC_LABEL_UNUSED__attribute__((unused))
3555 return _elements;
3556}
3557
3558PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_lookupStateSelectMember(threadData_t *threadData, modelica_string _name)
3559{
3560 modelica_metatype _stateSelect = NULL((void*)0);
3561 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3562 MMC_SO()mmc_check_stackoverflow(threadData);
3563 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3564 // _stateSelect has no default value.
3565#line 3565 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3566 { /* match expression */
3567 modelica_string tmp3_1;
3568 tmp3_1 = _name;
3569 {
3570 volatile mmc_switch_type tmp3;
3571 int tmp4;
3572 tmp3 = 0;
3573 for (; tmp3 < 6; tmp3++) {
3574 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3575 case 0: {
3576 if (5 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT22)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT22).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
3577 /* Pattern matching succeeded */
3578#line 467 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3579 tmpMeta[0] = _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3));
3580#line 3580 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3581 goto tmp2_done;
3582 }
3583 case 1: {
3584 if (5 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT23)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT23).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
3585 /* Pattern matching succeeded */
3586#line 468 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3587 tmpMeta[0] = _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3));
3588#line 3588 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3589 goto tmp2_done;
3590 }
3591 case 2: {
3592 if (7 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT24)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT24).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
3593 /* Pattern matching succeeded */
3594#line 469 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3595 tmpMeta[0] = _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3));
3596#line 3596 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3597 goto tmp2_done;
3598 }
3599 case 3: {
3600 if (6 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT25)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT25).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
3601 /* Pattern matching succeeded */
3602#line 470 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3603 tmpMeta[0] = _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3));
3604#line 3604 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3605 goto tmp2_done;
3606 }
3607 case 4: {
3608 if (6 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT26)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT26).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
3609 /* Pattern matching succeeded */
3610#line 471 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3611 tmpMeta[0] = _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3));
3612#line 3612 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3613 goto tmp2_done;
3614 }
3615 case 5: {
3616
3617 /* Pattern matching succeeded */
3618#line 474 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3619 tmpMeta[1] = stringAppend(_OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)),_name);
3620#line 474 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3621 omc_Error_assertion(threadData, 0, tmpMeta[1], _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)));
3622#line 3622 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3623#line 475 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3624 goto goto_1;
3625#line 3625 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3626 goto tmp2_done;
3627 }
3628 }
3629 goto tmp2_end;
3630 tmp2_end: ;
3631 }
3632 goto goto_1;
3633 goto_1:;
3634 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3635 goto tmp2_done;
3636 tmp2_done:;
3637 }
3638 }
3639 _stateSelect = tmpMeta[0];
3640 _return: OMC_LABEL_UNUSED__attribute__((unused))
3641 return _stateSelect;
3642}
3643
3644PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertStateSelectAttribute(threadData_t *threadData, modelica_metatype _binding)
3645{
3646 modelica_metatype _stateSelect = NULL((void*)0);
3647 modelica_metatype _node = NULL((void*)0);
3648 modelica_string _name = NULL((void*)0);
3649 modelica_metatype _exp = NULL((void*)0);
3650 modelica_string tmp1 = 0;
3651 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3652 MMC_SO()mmc_check_stackoverflow(threadData);
3653 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3654 // _stateSelect has no default value.
3655 // _node has no default value.
3656 // _name has no default value.
3657 _exp = omc_NFBinding_Binding_getTypedExp(threadData, _binding);
3658#line 3658 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3659 { /* match expression */
3660 modelica_metatype tmp4_1;
3661 tmp4_1 = _exp;
3662 {
3663 volatile mmc_switch_type tmp4;
3664 int tmp5;
3665 tmp4 = 0;
3666 for (; tmp4 < 3; tmp4++) {
3667 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3668 case 0: {
3669 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,4,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
3670
3671 /* Pattern matching succeeded */
3672#line 449 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3673 tmp1 = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_exp), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_exp) - 3))) + (
3)))))
);
3674#line 3674 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3675 goto tmp3_done;
3676 }
3677 case 1: {
3678 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,5,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp3_end;
3679 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
3680 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],0,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((5 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
3681 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3682
3683 _node = tmpMeta[1];
3684 /* Pattern matching succeeded */
3685#line 450 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3686 tmp1 = omc_NFInstNode_InstNode_name(threadData, _node);
3687#line 3687 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3688 goto tmp3_done;
3689 }
3690 case 2: {
3691
3692 /* Pattern matching succeeded */
3693#line 453 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3694 tmpMeta[0] = stringAppend(_OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)),omc_NFExpression_toString(threadData, _exp));
3695#line 453 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3696 omc_Error_assertion(threadData, 0, tmpMeta[0], _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)));
3697#line 3697 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3698#line 455 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3699 goto goto_2;
3700#line 3700 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3701 goto tmp3_done;
3702 }
3703 }
3704 goto tmp3_end;
3705 tmp3_end: ;
3706 }
3707 goto goto_2;
3708 goto_2:;
3709 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3710 goto tmp3_done;
3711 tmp3_done:;
3712 }
3713 }
3714 _name = tmp1;
3715
3716#line 459 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3717 _stateSelect = mmc_mk_some(omc_NFConvertDAE_lookupStateSelectMember(threadData, _name));
3718#line 3718 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3719 _return: OMC_LABEL_UNUSED__attribute__((unused))
3720 return _stateSelect;
3721}
3722
3723PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertVarAttribute(threadData_t *threadData, modelica_metatype _binding)
3724{
3725 modelica_metatype _attribute = NULL((void*)0);
3726 MMC_SO()mmc_check_stackoverflow(threadData);
3727 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3728 _attribute = mmc_mk_some(omc_NFExpression_toDAE(threadData, omc_NFBinding_Binding_getTypedExp(threadData, _binding)));
3729 _return: OMC_LABEL_UNUSED__attribute__((unused))
3730 return _attribute;
3731}
3732
3733PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertEnumVarAttributes(threadData_t *threadData, modelica_metatype _attrs, modelica_metatype _isFinal)
3734{
3735 modelica_metatype _attributes = NULL((void*)0);
3736 modelica_string _name = NULL((void*)0);
3737 modelica_metatype _b = NULL((void*)0);
3738 modelica_metatype _quantity = NULL((void*)0);
3739 modelica_metatype _min = NULL((void*)0);
3740 modelica_metatype _max = NULL((void*)0);
3741 modelica_metatype _start = NULL((void*)0);
3742 modelica_metatype _fixed = NULL((void*)0);
3743 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
3744 MMC_SO()mmc_check_stackoverflow(threadData);
3745 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3746 // _attributes has no default value.
3747 // _name has no default value.
3748 // _b has no default value.
3749 _quantity = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
3750 _min = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
3751 _max = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
3752 _start = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
3753 _fixed = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
3754#line 411 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3755 {
3756#line 411 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3757 modelica_metatype _attr;
3758#line 411 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3759 for (tmpMeta[0] = _attrs; !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
3760#line 411 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3761 {
3762#line 411 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3763 _attr = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
3764#line 412 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3765 /* Pattern-matching assignment */
3766#line 412 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3767 tmpMeta[1] = _attr;
3768#line 412 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3769 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
3770#line 412 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3771 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3772#line 412 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3773 _name = tmpMeta[2];
3774#line 412 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3775 _b = tmpMeta[3];
3776#line 3776 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3777
3778#line 3778 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3779 { /* match expression */
3780 modelica_string tmp3_1;
3781 tmp3_1 = _name;
3782 {
3783 volatile mmc_switch_type tmp3;
3784 int tmp4;
3785 tmp3 = 0;
3786 for (; tmp3 < 6; tmp3++) {
3787 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3788 case 0: {
3789 if (5 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT31)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT31).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
3790 /* Pattern matching succeeded */
3791#line 415 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3792 _fixed = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
3793#line 3793 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3794#line 3794 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3795 goto tmp2_done;
3796 }
3797 case 1: {
3798 if (3 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT32)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT32).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
3799 /* Pattern matching succeeded */
3800#line 416 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3801 _max = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
3802#line 3802 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3803#line 3803 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3804 goto tmp2_done;
3805 }
3806 case 2: {
3807 if (3 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT33)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT33).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
3808 /* Pattern matching succeeded */
3809#line 417 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3810 _min = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
3811#line 3811 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3812#line 3812 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3813 goto tmp2_done;
3814 }
3815 case 3: {
3816 if (8 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT34)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT34).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
3817 /* Pattern matching succeeded */
3818#line 418 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3819 _quantity = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
3820#line 3820 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3821#line 3821 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3822 goto tmp2_done;
3823 }
3824 case 4: {
3825 if (5 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT35)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT35).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
3826 /* Pattern matching succeeded */
3827#line 419 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3828 _start = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
3829#line 3829 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3830#line 3830 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3831 goto tmp2_done;
3832 }
3833 case 5: {
3834
3835 /* Pattern matching succeeded */
3836#line 425 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3837 tmpMeta[1] = stringAppend(_OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)),_name);
3838#line 425 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3839 omc_Error_assertion(threadData, 0, tmpMeta[1], _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)));
3840#line 3840 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3841#line 426 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3842 goto goto_1;
3843#line 3843 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3844 goto tmp2_done;
3845 }
3846 }
3847 goto tmp2_end;
3848 tmp2_end: ;
3849 }
3850 goto goto_1;
3851 goto_1:;
3852 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3853 goto tmp2_done;
3854 tmp2_done:;
3855 }
3856 }
3857 ;
3858 }
3859 }
3860
3861#line 431 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3862 tmpMeta[0] = mmc_mk_box10(8, &DAE_VariableAttributes_VAR__ATTR__ENUMERATION__desc, _quantity, _min, _max, _start, _fixed, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _isFinal, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
3863#line 431 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3864 _attributes = mmc_mk_some(tmpMeta[0]);
3865#line 3865 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3866 _return: OMC_LABEL_UNUSED__attribute__((unused))
3867 return _attributes;
3868}
3869
3870PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertStringVarAttributes(threadData_t *threadData, modelica_metatype _attrs, modelica_metatype _isFinal)
3871{
3872 modelica_metatype _attributes = NULL((void*)0);
3873 modelica_string _name = NULL((void*)0);
3874 modelica_metatype _b = NULL((void*)0);
3875 modelica_metatype _quantity = NULL((void*)0);
3876 modelica_metatype _start = NULL((void*)0);
3877 modelica_metatype _fixed = NULL((void*)0);
3878 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
3879 MMC_SO()mmc_check_stackoverflow(threadData);
3880 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3881 // _attributes has no default value.
3882 // _name has no default value.
3883 // _b has no default value.
3884 _quantity = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
3885 _start = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
3886 _fixed = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
3887#line 379 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3888 {
3889#line 379 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3890 modelica_metatype _attr;
3891#line 379 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3892 for (tmpMeta[0] = _attrs; !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
3893#line 379 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3894 {
3895#line 379 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3896 _attr = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
3897#line 380 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3898 /* Pattern-matching assignment */
3899#line 380 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3900 tmpMeta[1] = _attr;
3901#line 380 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3902 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
3903#line 380 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3904 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3905#line 380 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3906 _name = tmpMeta[2];
3907#line 380 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3908 _b = tmpMeta[3];
3909#line 3909 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3910
3911#line 3911 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3912 { /* match expression */
3913 modelica_string tmp3_1;
3914 tmp3_1 = _name;
3915 {
3916 volatile mmc_switch_type tmp3;
3917 int tmp4;
3918 tmp3 = 0;
3919 for (; tmp3 < 4; tmp3++) {
3920 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3921 case 0: {
3922 if (8 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT34)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT34).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
3923 /* Pattern matching succeeded */
3924#line 383 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3925 _quantity = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
3926#line 3926 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3927#line 3927 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3928 goto tmp2_done;
3929 }
3930 case 1: {
3931 if (5 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT35)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT35).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
3932 /* Pattern matching succeeded */
3933#line 384 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3934 _start = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
3935#line 3935 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3936#line 3936 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3937 goto tmp2_done;
3938 }
3939 case 2: {
3940 if (5 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT31)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT31).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
3941 /* Pattern matching succeeded */
3942#line 385 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3943 _fixed = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
3944#line 3944 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3945#line 3945 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3946 goto tmp2_done;
3947 }
3948 case 3: {
3949
3950 /* Pattern matching succeeded */
3951#line 391 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3952 tmpMeta[1] = stringAppend(_OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)),_name);
3953#line 391 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3954 omc_Error_assertion(threadData, 0, tmpMeta[1], _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)));
3955#line 3955 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3956#line 392 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3957 goto goto_1;
3958#line 3958 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3959 goto tmp2_done;
3960 }
3961 }
3962 goto tmp2_end;
3963 tmp2_end: ;
3964 }
3965 goto goto_1;
3966 goto_1:;
3967 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3968 goto tmp2_done;
3969 tmp2_done:;
3970 }
3971 }
3972 ;
3973 }
3974 }
3975
3976#line 397 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3977 tmpMeta[0] = mmc_mk_box8(7, &DAE_VariableAttributes_VAR__ATTR__STRING__desc, _quantity, _start, _fixed, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _isFinal, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
3978#line 397 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
3979 _attributes = mmc_mk_some(tmpMeta[0]);
3980#line 3980 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
3981 _return: OMC_LABEL_UNUSED__attribute__((unused))
3982 return _attributes;
3983}
3984
3985PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertBoolVarAttributes(threadData_t *threadData, modelica_metatype _attrs, modelica_metatype _isFinal)
3986{
3987 modelica_metatype _attributes = NULL((void*)0);
3988 modelica_string _name = NULL((void*)0);
3989 modelica_metatype _b = NULL((void*)0);
3990 modelica_metatype _quantity = NULL((void*)0);
3991 modelica_metatype _start = NULL((void*)0);
3992 modelica_metatype _fixed = NULL((void*)0);
3993 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
3994 MMC_SO()mmc_check_stackoverflow(threadData);
3995 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3996 // _attributes has no default value.
3997 // _name has no default value.
3998 // _b has no default value.
3999 _quantity = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
4000 _start = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
4001 _fixed = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
4002#line 348 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4003 {
4004#line 348 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4005 modelica_metatype _attr;
4006#line 348 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4007 for (tmpMeta[0] = _attrs; !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
4008#line 348 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4009 {
4010#line 348 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4011 _attr = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
4012#line 349 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4013 /* Pattern-matching assignment */
4014#line 349 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4015 tmpMeta[1] = _attr;
4016#line 349 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4017 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
4018#line 349 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4019 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
4020#line 349 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4021 _name = tmpMeta[2];
4022#line 349 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4023 _b = tmpMeta[3];
4024#line 4024 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4025
4026#line 4026 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4027 { /* match expression */
4028 modelica_string tmp3_1;
4029 tmp3_1 = _name;
4030 {
4031 volatile mmc_switch_type tmp3;
4032 int tmp4;
4033 tmp3 = 0;
4034 for (; tmp3 < 4; tmp3++) {
4035 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4036 case 0: {
4037 if (8 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT34)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT34).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
4038 /* Pattern matching succeeded */
4039#line 352 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4040 _quantity = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
4041#line 4041 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4042#line 4042 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4043 goto tmp2_done;
4044 }
4045 case 1: {
4046 if (5 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT35)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT35).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
4047 /* Pattern matching succeeded */
4048#line 353 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4049 _start = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
4050#line 4050 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4051#line 4051 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4052 goto tmp2_done;
4053 }
4054 case 2: {
4055 if (5 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT31)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT31).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
4056 /* Pattern matching succeeded */
4057#line 354 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4058 _fixed = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
4059#line 4059 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4060#line 4060 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4061 goto tmp2_done;
4062 }
4063 case 3: {
4064
4065 /* Pattern matching succeeded */
4066#line 360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4067 tmpMeta[1] = stringAppend(_OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)),_name);
4068#line 360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4069 omc_Error_assertion(threadData, 0, tmpMeta[1], _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)));
4070#line 4070 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4071#line 361 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4072 goto goto_1;
4073#line 4073 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4074 goto tmp2_done;
4075 }
4076 }
4077 goto tmp2_end;
4078 tmp2_end: ;
4079 }
4080 goto goto_1;
4081 goto_1:;
4082 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4083 goto tmp2_done;
4084 tmp2_done:;
4085 }
4086 }
4087 ;
4088 }
4089 }
4090
4091#line 366 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4092 tmpMeta[0] = mmc_mk_box8(5, &DAE_VariableAttributes_VAR__ATTR__BOOL__desc, _quantity, _start, _fixed, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _isFinal, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
4093#line 366 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4094 _attributes = mmc_mk_some(tmpMeta[0]);
4095#line 4095 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4096 _return: OMC_LABEL_UNUSED__attribute__((unused))
4097 return _attributes;
4098}
4099
4100PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertIntVarAttributes(threadData_t *threadData, modelica_metatype _attrs, modelica_metatype _isFinal)
4101{
4102 modelica_metatype _attributes = NULL((void*)0);
4103 modelica_string _name = NULL((void*)0);
4104 modelica_metatype _b = NULL((void*)0);
4105 modelica_metatype _quantity = NULL((void*)0);
4106 modelica_metatype _min = NULL((void*)0);
4107 modelica_metatype _max = NULL((void*)0);
4108 modelica_metatype _start = NULL((void*)0);
4109 modelica_metatype _fixed = NULL((void*)0);
4110 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
4111 MMC_SO()mmc_check_stackoverflow(threadData);
4112 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4113 // _attributes has no default value.
4114 // _name has no default value.
4115 // _b has no default value.
4116 _quantity = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
4117 _min = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
4118 _max = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
4119 _start = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
4120 _fixed = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
4121#line 314 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4122 {
4123#line 314 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4124 modelica_metatype _attr;
4125#line 314 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4126 for (tmpMeta[0] = _attrs; !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
4127#line 314 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4128 {
4129#line 314 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4130 _attr = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
4131#line 315 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4132 /* Pattern-matching assignment */
4133#line 315 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4134 tmpMeta[1] = _attr;
4135#line 315 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4136 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
4137#line 315 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4138 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
4139#line 315 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4140 _name = tmpMeta[2];
4141#line 315 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4142 _b = tmpMeta[3];
4143#line 4143 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4144
4145#line 4145 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4146 { /* match expression */
4147 modelica_string tmp3_1;
4148 tmp3_1 = _name;
4149 {
4150 volatile mmc_switch_type tmp3;
4151 int tmp4;
4152 tmp3 = 0;
4153 for (; tmp3 < 6; tmp3++) {
4154 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4155 case 0: {
4156 if (8 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT34)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT34).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
4157 /* Pattern matching succeeded */
4158#line 318 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4159 _quantity = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
4160#line 4160 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4161#line 4161 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4162 goto tmp2_done;
4163 }
4164 case 1: {
4165 if (3 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT33)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT33).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
4166 /* Pattern matching succeeded */
4167#line 319 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4168 _min = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
4169#line 4169 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4170#line 4170 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4171 goto tmp2_done;
4172 }
4173 case 2: {
4174 if (3 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT32)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT32).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
4175 /* Pattern matching succeeded */
4176#line 320 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4177 _max = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
4178#line 4178 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4179#line 4179 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4180 goto tmp2_done;
4181 }
4182 case 3: {
4183 if (5 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT35)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT35).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
4184 /* Pattern matching succeeded */
4185#line 321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4186 _start = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
4187#line 4187 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4188#line 4188 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4189 goto tmp2_done;
4190 }
4191 case 4: {
4192 if (5 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT31)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT31).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
4193 /* Pattern matching succeeded */
4194#line 322 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4195 _fixed = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
4196#line 4196 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4197#line 4197 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4198 goto tmp2_done;
4199 }
4200 case 5: {
4201
4202 /* Pattern matching succeeded */
4203#line 328 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4204 tmpMeta[1] = stringAppend(_OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)),_name);
4205#line 328 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4206 omc_Error_assertion(threadData, 0, tmpMeta[1], _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)));
4207#line 4207 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4208#line 329 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4209 goto goto_1;
4210#line 4210 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4211 goto tmp2_done;
4212 }
4213 }
4214 goto tmp2_end;
4215 tmp2_end: ;
4216 }
4217 goto goto_1;
4218 goto_1:;
4219 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4220 goto tmp2_done;
4221 tmp2_done:;
4222 }
4223 }
4224 ;
4225 }
4226 }
4227
4228#line 334 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4229 tmpMeta[0] = mmc_mk_box12(4, &DAE_VariableAttributes_VAR__ATTR__INT__desc, _quantity, _min, _max, _start, _fixed, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _isFinal, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
4230#line 334 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4231 _attributes = mmc_mk_some(tmpMeta[0]);
4232#line 4232 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4233 _return: OMC_LABEL_UNUSED__attribute__((unused))
4234 return _attributes;
4235}
4236
4237PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertRealVarAttributes(threadData_t *threadData, modelica_metatype _attrs, modelica_metatype _isFinal)
4238{
4239 modelica_metatype _attributes = NULL((void*)0);
4240 modelica_string _name = NULL((void*)0);
4241 modelica_metatype _b = NULL((void*)0);
4242 modelica_metatype _quantity = NULL((void*)0);
4243 modelica_metatype _unit = NULL((void*)0);
4244 modelica_metatype _displayUnit = NULL((void*)0);
4245 modelica_metatype _min = NULL((void*)0);
4246 modelica_metatype _max = NULL((void*)0);
4247 modelica_metatype _start = NULL((void*)0);
4248 modelica_metatype _fixed = NULL((void*)0);
4249 modelica_metatype _nominal = NULL((void*)0);
4250 modelica_metatype _state_select = NULL((void*)0);
4251 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
4252 MMC_SO()mmc_check_stackoverflow(threadData);
4253 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4254 // _attributes has no default value.
4255 // _name has no default value.
4256 // _b has no default value.
4257 _quantity = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
4258 _unit = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
4259 _displayUnit = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
4260 _min = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
4261 _max = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
4262 _start = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
4263 _fixed = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
4264 _nominal = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
4265 _state_select = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
4266#line 273 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4267 {
4268#line 273 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4269 modelica_metatype _attr;
4270#line 273 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4271 for (tmpMeta[0] = _attrs; !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
4272#line 273 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4273 {
4274#line 273 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4275 _attr = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
4276#line 274 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4277 /* Pattern-matching assignment */
4278#line 274 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4279 tmpMeta[1] = _attr;
4280#line 274 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4281 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
4282#line 274 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4283 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
4284#line 274 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4285 _name = tmpMeta[2];
4286#line 274 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4287 _b = tmpMeta[3];
4288#line 4288 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4289
4290#line 4290 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4291 { /* match expression */
4292 modelica_string tmp3_1;
4293 tmp3_1 = _name;
4294 {
4295 volatile mmc_switch_type tmp3;
4296 int tmp4;
4297 tmp3 = 0;
4298 for (; tmp3 < 11; tmp3++) {
4299 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4300 case 0: {
4301 if (11 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT44)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT44).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
4302 /* Pattern matching succeeded */
4303#line 277 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4304 _displayUnit = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
4305#line 4305 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4306#line 4306 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4307 goto tmp2_done;
4308 }
4309 case 1: {
4310 if (5 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT31)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT31).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
4311 /* Pattern matching succeeded */
4312#line 278 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4313 _fixed = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
4314#line 4314 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4315#line 4315 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4316 goto tmp2_done;
4317 }
4318 case 2: {
4319 if (3 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT32)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT32).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
4320 /* Pattern matching succeeded */
4321#line 279 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4322 _max = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
4323#line 4323 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4324#line 4324 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4325 goto tmp2_done;
4326 }
4327 case 3: {
4328 if (3 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT33)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT33).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
4329 /* Pattern matching succeeded */
4330#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4331 _min = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
4332#line 4332 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4333#line 4333 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4334 goto tmp2_done;
4335 }
4336 case 4: {
4337 if (7 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT45)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT45).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
4338 /* Pattern matching succeeded */
4339#line 281 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4340 _nominal = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
4341#line 4341 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4342#line 4342 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4343 goto tmp2_done;
4344 }
4345 case 5: {
4346 if (8 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT34)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT34).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
4347 /* Pattern matching succeeded */
4348#line 282 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4349 _quantity = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
4350#line 4350 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4351#line 4351 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4352 goto tmp2_done;
4353 }
4354 case 6: {
4355 if (5 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT35)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT35).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
4356 /* Pattern matching succeeded */
4357#line 283 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4358 _start = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
4359#line 4359 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4360#line 4360 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4361 goto tmp2_done;
4362 }
4363 case 7: {
4364 if (11 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT46)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT46).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
4365 /* Pattern matching succeeded */
4366#line 284 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4367 _state_select = omc_NFConvertDAE_convertStateSelectAttribute(threadData, _b);
4368#line 4368 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4369#line 4369 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4370 goto tmp2_done;
4371 }
4372 case 8: {
4373 if (9 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT47)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT47).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
4374 /* Pattern matching succeeded */
4375#line 4375 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4376 goto tmp2_done;
4377 }
4378 case 9: {
4379 if (4 != MMC_STRLEN(tmp3_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT48)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT48).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp3_1)(((struct mmc_string*)((void*)((char*)(tmp3_1) - 3)))->data
)
) != 0) goto tmp2_end;
4380 /* Pattern matching succeeded */
4381#line 287 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4382 _unit = omc_NFConvertDAE_convertVarAttribute(threadData, _b);
4383#line 4383 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4384#line 4384 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4385 goto tmp2_done;
4386 }
4387 case 10: {
4388
4389 /* Pattern matching succeeded */
4390#line 293 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4391 tmpMeta[1] = stringAppend(_OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)),_name);
4392#line 293 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4393 omc_Error_assertion(threadData, 0, tmpMeta[1], _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)));
4394#line 4394 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4395#line 294 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4396 goto goto_1;
4397#line 4397 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4398 goto tmp2_done;
4399 }
4400 }
4401 goto tmp2_end;
4402 tmp2_end: ;
4403 }
4404 goto goto_1;
4405 goto_1:;
4406 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4407 goto tmp2_done;
4408 tmp2_done:;
4409 }
4410 }
4411 ;
4412 }
4413 }
4414
4415#line 299 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4416 tmpMeta[0] = mmc_mk_box16(3, &DAE_VariableAttributes_VAR__ATTR__REAL__desc, _quantity, _unit, _displayUnit, _min, _max, _start, _fixed, _nominal, _state_select, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _isFinal, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
4417#line 299 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4418 _attributes = mmc_mk_some(tmpMeta[0]);
4419#line 4419 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4420 _return: OMC_LABEL_UNUSED__attribute__((unused))
4421 return _attributes;
4422}
4423
4424PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertVarAttributes(threadData_t *threadData, modelica_metatype _attrs, modelica_metatype _ty, modelica_metatype _compAttrs)
4425{
4426 modelica_metatype _attributes = NULL((void*)0);
4427 modelica_boolean _is_final;
4428 modelica_metatype _is_final_opt = NULL((void*)0);
4429 modelica_metatype _elTy = NULL((void*)0);
4430 modelica_boolean _is_array;
4431 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
4432 MMC_SO()mmc_check_stackoverflow(threadData);
4433 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4434 // _attributes has no default value.
4435 // _is_final has no default value.
4436 // _is_final_opt has no default value.
4437 // _elTy has no default value.
4438 _is_array = 0;
Value stored to '_is_array' is never read
4439#line 242 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4440 _is_final = (mmc_unbox_boolean((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_compAttrs), 7))))(((mmc_sint_t) (((*(void**)(((void*)((void**)(((void*)((char*
)(_compAttrs) - 3))) + (7)))))))) >> 1)
|| (mmc_unbox_integer((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_compAttrs), 4))))(((mmc_sint_t) (((*(void**)(((void*)((void**)(((void*)((char*
)(_compAttrs) - 3))) + (4)))))))) >> 1)
== 2));
4441#line 4441 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4442
4443#line 245 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4444 if((listEmpty(_attrs)((*(mmc_uint_t*)((void*)((char*)(_attrs) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
&& (!_is_final)))
4445#line 245 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4446 {
4447#line 246 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4448 _attributes = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
4449#line 4449 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4450
4451#line 247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4452 goto _return;
4453#line 4453 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4454 }
4455
4456#line 250 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4457 _is_final_opt = mmc_mk_some(mmc_mk_boolean(_is_final)((_is_final) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
4458#line 4458 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4459
4460#line 4460 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4461 { /* match expression */
4462 modelica_metatype tmp3_1;
4463 tmp3_1 = omc_NFType_arrayElementType(threadData, _ty);
4464 {
4465 int tmp3;
4466 {
4467 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> 2
) & 255))
) {
4468 case 4: {
4469
4470 /* Pattern matching succeeded */
4471#line 253 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4472 tmpMeta[0] = omc_NFConvertDAE_convertRealVarAttributes(threadData, _attrs, _is_final_opt);
4473#line 4473 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4474 goto tmp2_done;
4475 }
4476 case 3: {
4477
4478 /* Pattern matching succeeded */
4479#line 254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4480 tmpMeta[0] = omc_NFConvertDAE_convertIntVarAttributes(threadData, _attrs, _is_final_opt);
4481#line 4481 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4482 goto tmp2_done;
4483 }
4484 case 6: {
4485
4486 /* Pattern matching succeeded */
4487#line 255 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4488 tmpMeta[0] = omc_NFConvertDAE_convertBoolVarAttributes(threadData, _attrs, _is_final_opt);
4489#line 4489 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4490 goto tmp2_done;
4491 }
4492 case 5: {
4493
4494 /* Pattern matching succeeded */
4495#line 256 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4496 tmpMeta[0] = omc_NFConvertDAE_convertStringVarAttributes(threadData, _attrs, _is_final_opt);
4497#line 4497 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4498 goto tmp2_done;
4499 }
4500 case 8: {
4501
4502 /* Pattern matching succeeded */
4503#line 257 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4504 tmpMeta[0] = omc_NFConvertDAE_convertEnumVarAttributes(threadData, _attrs, _is_final_opt);
4505#line 4505 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4506 goto tmp2_done;
4507 }
4508 default:
4509 tmp2_default: OMC_LABEL_UNUSED__attribute__((unused)); {
4510
4511 /* Pattern matching succeeded */
4512#line 258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4513 tmpMeta[0] = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
4514#line 4514 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4515 goto tmp2_done;
4516 }
4517 }
4518 goto tmp2_end;
4519 tmp2_end: ;
4520 }
4521 goto goto_1;
4522 goto_1:;
4523 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4524 goto tmp2_done;
4525 tmp2_done:;
4526 }
4527 }
4528 _attributes = tmpMeta[0];
4529 _return: OMC_LABEL_UNUSED__attribute__((unused))
4530 return _attributes;
4531}
4532
4533PROTECTED_FUNCTION_STATIC modelica_integer omc_NFConvertDAE_getComponentDirection(threadData_t *threadData, modelica_integer _D_24in_dir, modelica_metatype _cref)
4534{
4535 modelica_integer _dir;
4536 modelica_metatype _rest_cref = NULL((void*)0);
4537 modelica_integer tmp1 = 0;
4538 MMC_SO()mmc_check_stackoverflow(threadData);
4539 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4540 _dir = (modelica_integer)_D_24in_dir;
4541 _rest_cref = omc_NFComponentRef_rest(threadData, _cref);
4542#line 4542 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4543 { /* match expression */
4544 modelica_metatype tmp4_1;
4545 tmp4_1 = _rest_cref;
4546 {
4547 volatile mmc_switch_type tmp4;
4548 int tmp5;
4549 tmp4 = 0;
4550 for (; tmp4 < 2; tmp4++) {
4551 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4552 case 0: {
4553 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,0)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((0 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
4554 /* Pattern matching succeeded */
4555#line 224 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4556 tmp1 = (modelica_integer)_dir;
4557#line 4557 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4558 goto tmp3_done;
4559 }
4560 case 1: {
4561 modelica_boolean tmp6;
4562 modelica_integer tmp7;
4563 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,5)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((5 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
4564
4565 /* Pattern matching succeeded */
4566#line 226 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4567 tmp6 = (modelica_boolean)omc_NFInstNode_InstNode_isConnector(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_rest_cref), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_rest_cref) - 3
))) + (2)))))
));
4568#line 226 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4569 if(tmp6)
4570#line 226 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4571 {
4572#line 226 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4573 /* Tail recursive call */
4574#line 226 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4575 _D_24in_dir = (modelica_integer)_dir;
4576#line 226 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4577 _cref = _rest_cref;
4578#line 226 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4579 goto _tailrecursive;
4580#line 226 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4581 /* TODO: Make sure any eventual dead code below is never generated */
4582#line 226 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4583 }
4584#line 226 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4585 else
4586#line 226 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4587 {
4588#line 226 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4589 tmp7 = 1;
4590#line 226 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4591 }
4592#line 226 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4593 tmp1 = tmp7;
4594#line 4594 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4595 goto tmp3_done;
4596 }
4597 }
4598 goto tmp3_end;
4599 tmp3_end: ;
4600 }
4601 goto goto_2;
4602 goto_2:;
4603 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4604 goto tmp3_done;
4605 tmp3_done:;
4606 }
4607 }
4608 _dir = tmp1;
4609 _return: OMC_LABEL_UNUSED__attribute__((unused))
4610 return _dir;
4611}
4612PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_NFConvertDAE_getComponentDirection(threadData_t *threadData, modelica_metatype _D_24in_dir, modelica_metatype _cref)
4613{
4614 modelica_integer tmp1;
4615 modelica_integer _dir;
4616 modelica_metatype out_dir;
4617 tmp1 = mmc_unbox_integer(_D_24in_dir)(((mmc_sint_t) (_D_24in_dir)) >> 1);
4618 _dir = omc_NFConvertDAE_getComponentDirection(threadData, tmp1, _cref);
4619 out_dir = mmc_mk_icon(_dir);
4620 return out_dir;
4621}
4622
4623PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_addComponentTypeToSource(threadData_t *threadData, modelica_metatype _cref, modelica_metatype _D_24in_source)
4624{
4625 modelica_metatype _source = NULL((void*)0);
4626 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
4627 MMC_SO()mmc_check_stackoverflow(threadData);
4628 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4629 _source = _D_24in_source;
4630#line 4630 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4631 { /* match expression */
4632 modelica_metatype tmp3_1;
4633 tmp3_1 = _cref;
4634 {
4635 volatile mmc_switch_type tmp3;
4636 int tmp4;
4637 tmp3 = 0;
4638 for (; tmp3 < 2; tmp3++) {
4639 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4640 case 0: {
4641 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((5 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
4642
4643 /* Pattern matching succeeded */
4644#line 206 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4645 _source = omc_ElementSource_addElementSourceType(threadData, _source, omc_NFInstNode_InstNode_scopePath(threadData, omc_NFInstNode_InstNode_classScope(threadData, omc_NFInstNode_InstNode_getDerivedNode(threadData, omc_NFInstNode_InstNode_parent(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cref), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_cref) - 3))) +
(2)))))
)))), 0));
4646#line 4646 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4647#line 208 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4648 /* Tail recursive call */
4649#line 208 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4650 _cref = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cref), 6))(*(void**)(((void*)((void**)(((void*)((char*)(_cref) - 3))) +
(6)))))
);
4651#line 208 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4652 _D_24in_source = _source;
4653#line 208 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4654 goto _tailrecursive;
4655#line 208 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4656 /* TODO: Make sure any eventual dead code below is never generated */
4657#line 4657 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4658 goto tmp2_done;
4659 }
4660 case 1: {
4661
4662 /* Pattern matching succeeded */
4663#line 211 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4664 tmpMeta[0] = _source;
4665#line 4665 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4666 goto tmp2_done;
4667 }
4668 }
4669 goto tmp2_end;
4670 tmp2_end: ;
4671 }
4672 goto goto_1;
4673 goto_1:;
4674 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4675 goto tmp2_done;
4676 tmp2_done:;
4677 }
4678 }
4679 _source = tmpMeta[0];
4680 _return: OMC_LABEL_UNUSED__attribute__((unused))
4681 return _source;
4682}
4683
4684PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_makeDAEVar(threadData_t *threadData, modelica_metatype _cref, modelica_metatype _ty, modelica_metatype _binding, modelica_metatype _attr, modelica_integer _vis, modelica_metatype _vattr, modelica_metatype _comment, modelica_metatype _settings, modelica_metatype _info)
4685{
4686 modelica_metatype _var = NULL((void*)0);
4687 modelica_metatype _dcref = NULL((void*)0);
4688 modelica_metatype _dty = NULL((void*)0);
4689 modelica_metatype _source = NULL((void*)0);
4690 modelica_integer _dir;
4691 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
4692 MMC_SO()mmc_check_stackoverflow(threadData);
4693 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4694 // _var has no default value.
4695 // _dcref has no default value.
4696 // _dty has no default value.
4697 // _source has no default value.
4698 // _dir has no default value.
4699#line 155 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4700 _dcref = omc_NFComponentRef_toDAE(threadData, _cref);
4701#line 4701 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4702
4703#line 156 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4704 _dty = omc_NFType_toDAE(threadData, (mmc_unbox_boolean((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_settings), 3))))(((mmc_sint_t) (((*(void**)(((void*)((void**)(((void*)((char*
)(_settings) - 3))) + (3)))))))) >> 1)
?omc_NFType_arrayElementType(threadData, _ty):_ty), 1);
4705#line 4705 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4706
4707#line 157 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4708 _source = omc_ElementSource_createElementSource(threadData, _info, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)), _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)));
4709#line 4709 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4710
4711#line 159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4712 if(mmc_unbox_boolean((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_settings), 4))))(((mmc_sint_t) (((*(void**)(((void*)((void**)(((void*)((char*
)(_settings) - 3))) + (4)))))))) >> 1)
)
4713#line 159 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4714 {
4715#line 160 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4716 _source = omc_NFConvertDAE_addComponentTypeToSource(threadData, _cref, _source);
4717#line 4717 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4718 }
4719
4720#line 4720 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4721 { /* match expression */
4722 modelica_metatype tmp3_1;
4723 tmp3_1 = _attr;
4724 {
4725 volatile mmc_switch_type tmp3;
4726 int tmp4;
4727 tmp3 = 0;
4728 for (; tmp3 < 2; tmp3++) {
4729 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4730 case 0: {
4731 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,8)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((8 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
4732
4733 /* Pattern matching succeeded */
4734#line 168 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4735 if(((mmc_unbox_integer((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_attr), 5))))(((mmc_sint_t) (((*(void**)(((void*)((void**)(((void*)((char*
)(_attr) - 3))) + (5)))))))) >> 1)
== 1) || mmc_unbox_boolean((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_settings), 2))))(((mmc_sint_t) (((*(void**)(((void*)((void**)(((void*)((char*
)(_settings) - 3))) + (2)))))))) >> 1)
))
4736#line 168 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4737 {
4738#line 169 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4739 _dir = mmc_unbox_integer((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_attr), 5))))(((mmc_sint_t) (((*(void**)(((void*)((void**)(((void*)((char*
)(_attr) - 3))) + (5)))))))) >> 1)
;
4740#line 4740 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4741 }
4742 else
4743 {
4744#line 171 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4745 _dir = omc_NFConvertDAE_getComponentDirection(threadData, mmc_unbox_integer((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_attr), 5))))(((mmc_sint_t) (((*(void**)(((void*)((void**)(((void*)((char*
)(_attr) - 3))) + (5)))))))) >> 1)
, _cref);
4746#line 4746 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4747 }
4748#line 173 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4749 tmpMeta[1] = mmc_mk_box14(3, &DAE_Element_VAR__desc, _dcref, omc_NFPrefixes_variabilityToDAE(threadData, mmc_unbox_integer((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_attr), 4))))(((mmc_sint_t) (((*(void**)(((void*)((void**)(((void*)((char*
)(_attr) - 3))) + (4)))))))) >> 1)
), omc_NFPrefixes_directionToDAE(threadData, (modelica_integer)_dir), omc_NFPrefixes_parallelismToDAE(threadData, mmc_unbox_integer((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_attr), 3))))(((mmc_sint_t) (((*(void**)(((void*)((void**)(((void*)((char*
)(_attr) - 3))) + (3)))))))) >> 1)
), omc_NFPrefixes_visibilityToDAE(threadData, (modelica_integer)_vis), _dty, _binding, omc_ComponentReference_crefDims(threadData, _dcref), omc_NFPrefixes_ConnectorType_toDAE(threadData, mmc_unbox_integer((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_attr), 2))))(((mmc_sint_t) (((*(void**)(((void*)((void**)(((void*)((char*
)(_attr) - 3))) + (2)))))))) >> 1)
), _source, _vattr, _comment, _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)));
4750#line 173 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4751 tmpMeta[0] = tmpMeta[1];
4752#line 4752 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4753 goto tmp2_done;
4754 }
4755 case 1: {
4756
4757 /* Pattern matching succeeded */
4758#line 190 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4759 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4760#line 190 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4761 tmpMeta[2] = mmc_mk_box14(3, &DAE_Element_VAR__desc, _dcref, _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)), _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)), _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)), omc_NFPrefixes_visibilityToDAE(threadData, (modelica_integer)_vis), _dty, _binding, tmpMeta[1], _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)), _source, _vattr, _comment, _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)));
4762#line 190 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4763 tmpMeta[0] = tmpMeta[2];
4764#line 4764 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4765 goto tmp2_done;
4766 }
4767 }
4768 goto tmp2_end;
4769 tmp2_end: ;
4770 }
4771 goto goto_1;
4772 goto_1:;
4773 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4774 goto tmp2_done;
4775 tmp2_done:;
4776 }
4777 }
4778 _var = tmpMeta[0];
4779 _return: OMC_LABEL_UNUSED__attribute__((unused))
4780 return _var;
4781}
4782PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_NFConvertDAE_makeDAEVar(threadData_t *threadData, modelica_metatype _cref, modelica_metatype _ty, modelica_metatype _binding, modelica_metatype _attr, modelica_metatype _vis, modelica_metatype _vattr, modelica_metatype _comment, modelica_metatype _settings, modelica_metatype _info)
4783{
4784 modelica_integer tmp1;
4785 modelica_metatype _var = NULL((void*)0);
4786 tmp1 = mmc_unbox_integer(_vis)(((mmc_sint_t) (_vis)) >> 1);
4787 _var = omc_NFConvertDAE_makeDAEVar(threadData, _cref, _ty, _binding, _attr, tmp1, _vattr, _comment, _settings, _info);
4788 /* skip box _var; DAE.Element */
4789 return _var;
4790}
4791
4792PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertVariable(threadData_t *threadData, modelica_metatype _var, modelica_metatype _settings)
4793{
4794 modelica_metatype _daeVar = NULL((void*)0);
4795 modelica_metatype _var_attr = NULL((void*)0);
4796 modelica_metatype _binding_exp = NULL((void*)0);
4797 MMC_SO()mmc_check_stackoverflow(threadData);
4798 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4799 // _daeVar has no default value.
4800 // _var_attr has no default value.
4801 // _binding_exp has no default value.
4802#line 132 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4803 _binding_exp = omc_NFBinding_Binding_toDAEExp(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_var), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_var) - 3))) + (
4)))))
));
4804#line 4804 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4805
4806#line 133 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4807 _var_attr = omc_NFConvertDAE_convertVarAttributes(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_var), 7))(*(void**)(((void*)((void**)(((void*)((char*)(_var) - 3))) + (
7)))))
), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_var), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_var) - 3))) + (
3)))))
), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_var), 6))(*(void**)(((void*)((void**)(((void*)((char*)(_var) - 3))) + (
6)))))
));
4808#line 4808 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4809
4810#line 134 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4811 _daeVar = omc_NFConvertDAE_makeDAEVar(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_var), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_var) - 3))) + (
2)))))
), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_var), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_var) - 3))) + (
3)))))
), _binding_exp, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_var), 6))(*(void**)(((void*)((void**)(((void*)((char*)(_var) - 3))) + (
6)))))
), mmc_unbox_integer((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_var), 5))))(((mmc_sint_t) (((*(void**)(((void*)((void**)(((void*)((char*
)(_var) - 3))) + (5)))))))) >> 1)
, _var_attr, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_var), 8))(*(void**)(((void*)((void**)(((void*)((char*)(_var) - 3))) + (
8)))))
), _settings, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_var), 9))(*(void**)(((void*)((void**)(((void*)((char*)(_var) - 3))) + (
9)))))
));
4812#line 4812 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4813 _return: OMC_LABEL_UNUSED__attribute__((unused))
4814 return _daeVar;
4815}
4816
4817PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFConvertDAE_convertVariables(threadData_t *threadData, modelica_metatype _variables, modelica_metatype _D_24in_elements)
4818{
4819 modelica_metatype _elements = NULL((void*)0);
4820 modelica_metatype _settings = NULL((void*)0);
4821 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
4822 MMC_SO()mmc_check_stackoverflow(threadData);
4823 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4824 _elements = _D_24in_elements;
4825 // _settings has no default value.
4826#line 113 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4827 tmpMeta[0] = mmc_mk_box4(3, &NFConvertDAE_VariableConversionSettings_VARIABLE__CONVERSION__SETTINGS__desc, mmc_mk_boolean(omc_Flags_getConfigBool(threadData, _OMC_LIT63))((omc_Flags_getConfigBool(threadData, ((void*)((char*)(&(
_OMC_LIT_STRUCT63).header) + 3)))) != 0 ? (mmc_mk_icon(1)) : (
mmc_mk_icon(0)))
, mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), mmc_mk_boolean((omc_Flags_isSet(threadData, _OMC_LIT67) || omc_Flags_isSet(threadData, _OMC_LIT71)))(((omc_Flags_isSet(threadData, ((void*)((char*)(&(_OMC_LIT_STRUCT67
).header) + 3))) || omc_Flags_isSet(threadData, ((void*)((char
*)(&(_OMC_LIT_STRUCT71).header) + 3))))) != 0 ? (mmc_mk_icon
(1)) : (mmc_mk_icon(0)))
);
4828#line 113 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4829 _settings = tmpMeta[0];
4830#line 4830 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4831
4832#line 119 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4833 {
4834#line 119 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4835 modelica_metatype _var;
4836#line 119 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4837 for (tmpMeta[0] = listReverse(_variables); !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
4838#line 119 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4839 {
4840#line 119 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4841 _var = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
4842#line 120 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4843 tmpMeta[1] = mmc_mk_cons(omc_NFConvertDAE_convertVariable(threadData, _var, _settings), _elements);
4844#line 120 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4845 _elements = tmpMeta[1];
4846#line 4846 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4847 }
4848 }
4849 _return: OMC_LABEL_UNUSED__attribute__((unused))
4850 return _elements;
4851}
4852
4853DLLExport
4854modelica_metatype omc_NFConvertDAE_convert(threadData_t *threadData, modelica_metatype _flatModel, modelica_metatype _functions, modelica_string _name, modelica_metatype _info, modelica_metatype *out_daeFunctions)
4855{
4856 modelica_metatype _dae = NULL((void*)0);
4857 modelica_metatype _daeFunctions = NULL((void*)0);
4858 modelica_metatype _elems = NULL((void*)0);
4859 modelica_metatype _class_elem = NULL((void*)0);
4860 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
4861 MMC_SO()mmc_check_stackoverflow(threadData);
4862 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4863 // _dae has no default value.
4864 // _daeFunctions has no default value.
4865 // _elems has no default value.
4866 // _class_elem has no default value.
4867#line 81 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4868 _daeFunctions = omc_NFConvertDAE_convertFunctionTree(threadData, _functions);
4869#line 4869 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4870
4871#line 83 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4872 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4873#line 83 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4874 _elems = omc_NFConvertDAE_convertVariables(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_flatModel), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_flatModel) - 3
))) + (3)))))
), tmpMeta[0]);
4875#line 4875 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4876
4877#line 84 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4878 _elems = omc_NFConvertDAE_convertEquations(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_flatModel), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_flatModel) - 3
))) + (4)))))
), _elems);
4879#line 4879 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4880
4881#line 85 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4882 _elems = omc_NFConvertDAE_convertInitialEquations(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_flatModel), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_flatModel) - 3
))) + (5)))))
), _elems);
4883#line 4883 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4884
4885#line 86 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4886 _elems = omc_NFConvertDAE_convertAlgorithms(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_flatModel), 6))(*(void**)(((void*)((void**)(((void*)((char*)(_flatModel) - 3
))) + (6)))))
), _elems);
4887#line 4887 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4888
4889#line 87 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4890 _elems = omc_NFConvertDAE_convertInitialAlgorithms(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_flatModel), 7))(*(void**)(((void*)((void**)(((void*)((char*)(_flatModel) - 3
))) + (7)))))
), _elems);
4891#line 4891 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4892
4893#line 89 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4894 tmpMeta[0] = mmc_mk_box5(20, &DAE_Element_COMP__desc, _name, _elems, omc_ElementSource_createElementSource(threadData, _info, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)), _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3))), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_flatModel), 8))(*(void**)(((void*)((void**)(((void*)((char*)(_flatModel) - 3
))) + (8)))))
));
4895#line 89 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4896 _class_elem = tmpMeta[0];
4897#line 4897 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4898
4899#line 90 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4900 tmpMeta[0] = mmc_mk_cons(_class_elem, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
4901#line 90 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4902 tmpMeta[1] = mmc_mk_box2(3, &DAE_DAElist_DAE__desc, tmpMeta[0]);
4903#line 90 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4904 _dae = tmpMeta[1];
4905#line 4905 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4906
4907#line 92 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4908 tmpMeta[0] = stringAppend(_OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3)),_name);
4909#line 92 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4910 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3)));
4911#line 92 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/NFFrontEnd/NFConvertDAE.mo"
4912 omc_ExecStat_execStat(threadData, tmpMeta[1]);
4913#line 4913 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/NFConvertDAE.c"
4914 _return: OMC_LABEL_UNUSED__attribute__((unused))
4915 if (out_daeFunctions) { *out_daeFunctions = _daeFunctions; }
4916 return _dae;
4917}
4918