Bug Summary

File:OMCompiler/Compiler/boot/build/SCodeUtil.c
Warning:line 9487, column 11
Value stored to '_classDef' 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/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c" OMC_BASE_FILE
3#else
4 #define OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c" "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5#endif
6#include "omc_simulation_settings.h"
7#include "SCodeUtil.h"
8static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT0,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT0
= { (((1) << 10) + (((5) & 255) << 2)),
{&ErrorTypes_MessageType_TRANSLATION__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,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT1
= { (((1) << 10) + (((4) & 255) << 2)),
{&ErrorTypes_Severity_ERROR__desc,}};
11#define _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT1)((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))
12#define _OMC_LIT2_data"Invalid use of reserved attribute name %s as enumeration literal." "Invalid use of reserved attribute name %s as enumeration literal."
13static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT2,65,_OMC_LIT2_data)struct { mmc_uint_t header; const char data[(65)+1]; } _OMC_LIT_STRUCT2
= { ((((mmc_uint_t)65)<<(3))+((1<<(3+3))+5)), "Invalid use of reserved attribute name %s as enumeration literal."
}
;
14#define _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT2)((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))
15static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT3,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT3
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))}};
16#define _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT3)((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3))
17static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT4,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT4
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(127))((void*)(((((mmc_uint_t) (127)) << 1)+0))),_OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)),_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)),_OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3))}};
18#define _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT4)((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))
19#define _OMC_LIT5_data"quantity" "quantity"
20static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT5,8,_OMC_LIT5_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT5
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "quantity"
}
;
21#define _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT5)((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))
22#define _OMC_LIT6_data"min" "min"
23static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT6,3,_OMC_LIT6_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT6
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "min"
}
;
24#define _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT6)((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))
25#define _OMC_LIT7_data"max" "max"
26static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT7,3,_OMC_LIT7_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT7
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "max"
}
;
27#define _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT7)((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))
28#define _OMC_LIT8_data"start" "start"
29static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT8,5,_OMC_LIT8_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT8
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "start"
}
;
30#define _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT8)((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))
31#define _OMC_LIT9_data"fixed" "fixed"
32static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT9,5,_OMC_LIT9_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT9
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "fixed"
}
;
33#define _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT9)((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))
34static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT10,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT10
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
35#define _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT10)((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))
36static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT11,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT11
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)),_OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))}};
37#define _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT11)((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))
38static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT12,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT12
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)),_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))}};
39#define _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT12)((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))
40static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT13,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT13
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),_OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))}};
41#define _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT13)((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))
42static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT14,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT14
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)),_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))}};
43#define _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT14)((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))
44static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT15,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT15
= { (((1) << 10) + (((5) & 255) << 2)),
{&SCode_Mod_NOMOD__desc,}};
45#define _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT15)((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))
46#define _OMC_LIT16_data"constructor" "constructor"
47static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT16,11,_OMC_LIT16_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT16
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "constructor"
}
;
48#define _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT16)((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))
49#define _OMC_LIT17_data"destructor" "destructor"
50static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT17,10,_OMC_LIT17_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT17
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "destructor"
}
;
51#define _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT17)((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))
52#define _OMC_LIT18_data"ExternalObject" "ExternalObject"
53static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT18,14,_OMC_LIT18_data)struct { mmc_uint_t header; const char data[(14)+1]; } _OMC_LIT_STRUCT18
= { ((((mmc_uint_t)14)<<(3))+((1<<(3+3))+5)), "ExternalObject"
}
;
54#define _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT18)((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))
55static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT19,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT19
= { (((2) << 10) + (((4) & 255) << 2)),
{&Absyn_Path_IDENT__desc,_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))}};
56#define _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT19)((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))
57#define _OMC_LIT20_data"__OpenModelica_builtin" "__OpenModelica_builtin"
58static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT20,22,_OMC_LIT20_data)struct { mmc_uint_t header; const char data[(22)+1]; } _OMC_LIT_STRUCT20
= { ((((mmc_uint_t)22)<<(3))+((1<<(3+3))+5)), "__OpenModelica_builtin"
}
;
59#define _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT20)((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))
60#define _OMC_LIT21_data"builtin" "builtin"
61static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT21,7,_OMC_LIT21_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT21
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "builtin"
}
;
62#define _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT21)((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))
63#define _OMC_LIT22_data"." "."
64static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT22,1,_OMC_LIT22_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT22
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "."
}
;
65#define _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT22)((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))
66static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT23,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT23
= { (((1) << 10) + (((4) & 255) << 2)),
{&SCode_Visibility_PROTECTED__desc,}};
67#define _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT23)((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))
68#define _OMC_LIT24_data"" ""
69static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT24,0,_OMC_LIT24_data)struct { mmc_uint_t header; const char data[(0)+1]; } _OMC_LIT_STRUCT24
= { ((((mmc_uint_t)0)<<(3))+((1<<(3+3))+5)), "" }
;
70#define _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT24)((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))
71static const MMC_DEFREALLIT(_OMC_LIT_STRUCT25,0.0)struct mmc_real_lit _OMC_LIT_STRUCT25 = {0,(((8/8) << 10
) + 9),0.0}
;
72#define _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT25)((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))
73static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT26,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT26
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).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_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))}};
74#define _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT26)((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))
75#define _OMC_LIT27_data"Inline" "Inline"
76static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT27,6,_OMC_LIT27_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT27
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "Inline"
}
;
77#define _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT27)((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))
78#define _OMC_LIT28_data"LateInline" "LateInline"
79static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT28,10,_OMC_LIT28_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT28
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "LateInline"
}
;
80#define _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT28)((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))
81#define _OMC_LIT29_data"InlineAfterIndexReduction" "InlineAfterIndexReduction"
82static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT29,25,_OMC_LIT29_data)struct { mmc_uint_t header; const char data[(25)+1]; } _OMC_LIT_STRUCT29
= { ((((mmc_uint_t)25)<<(3))+((1<<(3+3))+5)), "InlineAfterIndexReduction"
}
;
83#define _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT29)((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3))
84#define _OMC_LIT30_data"Evaluate" "Evaluate"
85static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT30,8,_OMC_LIT30_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT30
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "Evaluate"
}
;
86#define _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT30)((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))
87static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT31,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT31
= { (((1) << 10) + (((5) & 255) << 2)),
{&SCode_ConnectorType_STREAM__desc,}};
88#define _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT31)((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))
89static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT32,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT32
= { (((1) << 10) + (((3) & 255) << 2)),
{&SCode_ConnectorType_POTENTIAL__desc,}};
90#define _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT32)((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))
91static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT33,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT33
= { (((1) << 10) + (((4) & 255) << 2)),
{&SCode_ConnectorType_FLOW__desc,}};
92#define _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT33)((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3))
93static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT34,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT34
= { (((1) << 10) + (((3) & 255) << 2)),
{&SCode_Final_FINAL__desc,}};
94#define _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT34)((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))
95static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT35,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT35
= { (((1) << 10) + (((4) & 255) << 2)),
{&SCode_Final_NOT__FINAL__desc,}};
96#define _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT35)((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3))
97static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT36,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT36
= { (((1) << 10) + (((3) & 255) << 2)),
{&SCode_Partial_PARTIAL__desc,}};
98#define _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT36)((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))
99static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT37,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT37
= { (((1) << 10) + (((4) & 255) << 2)),
{&SCode_Partial_NOT__PARTIAL__desc,}};
100#define _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT37)((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3))
101static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT38,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT38
= { (((1) << 10) + (((3) & 255) << 2)),
{&SCode_Encapsulated_ENCAPSULATED__desc,}};
102#define _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT38)((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))
103static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT39,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT39
= { (((1) << 10) + (((4) & 255) << 2)),
{&SCode_Encapsulated_NOT__ENCAPSULATED__desc,}};
104#define _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT39)((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3))
105#define _OMC_LIT40_data"Ignoring constraint class because replaceable prefix is not present!\n" "Ignoring constraint class because replaceable prefix is not present!\n"
106static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT40,69,_OMC_LIT40_data)struct { mmc_uint_t header; const char data[(69)+1]; } _OMC_LIT_STRUCT40
= { ((((mmc_uint_t)69)<<(3))+((1<<(3+3))+5)), "Ignoring constraint class because replaceable prefix is not present!\n"
}
;
107#define _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT40)((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))
108static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT41,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT41
= { (((1) << 10) + (((4) & 255) << 2)),
{&SCode_Replaceable_NOT__REPLACEABLE__desc,}};
109#define _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT41)((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))
110static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT42,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT42
= { (((1) << 10) + (((3) & 255) << 2)),
{&SCode_Redeclare_REDECLARE__desc,}};
111#define _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT42)((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))
112static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT43,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT43
= { (((1) << 10) + (((4) & 255) << 2)),
{&SCode_Redeclare_NOT__REDECLARE__desc,}};
113#define _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT43)((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))
114static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT44,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT44
= { (((1) << 10) + (((3) & 255) << 2)),
{&SCode_Each_EACH__desc,}};
115#define _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT44)((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))
116static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT45,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT45
= { (((1) << 10) + (((4) & 255) << 2)),
{&SCode_Each_NOT__EACH__desc,}};
117#define _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT45)((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))
118static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT46,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT46
= { (((1) << 10) + (((3) & 255) << 2)),
{&SCode_Visibility_PUBLIC__desc,}};
119#define _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT46)((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))
120#define _OMC_LIT47_data"SCodeUtil.getStatementInfo failed" "SCodeUtil.getStatementInfo failed"
121static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT47,33,_OMC_LIT47_data)struct { mmc_uint_t header; const char data[(33)+1]; } _OMC_LIT_STRUCT47
= { ((((mmc_uint_t)33)<<(3))+((1<<(3+3))+5)), "SCodeUtil.getStatementInfo failed"
}
;
122#define _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT47)((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))
123#define _OMC_LIT48_data"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo" "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
124static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT48,95,_OMC_LIT48_data)struct { mmc_uint_t header; const char data[(95)+1]; } _OMC_LIT_STRUCT48
= { ((((mmc_uint_t)95)<<(3))+((1<<(3+3))+5)), "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
}
;
125#define _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT48)((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))
126static const MMC_DEFREALLIT(_OMC_LIT_STRUCT49_6,1588090879.0)struct mmc_real_lit _OMC_LIT_STRUCT49_6 = {0,(((8/8) <<
10) + 9),1588090879.0}
;
127#define _OMC_LIT49_6((void*)((char*)(&(_OMC_LIT_STRUCT49_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT49_6)((void*)((char*)(&(_OMC_LIT_STRUCT49_6).header) + 3))
128static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT49,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT49
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(2676))((void*)(((((mmc_uint_t) (2676)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(9))((void*)(((((mmc_uint_t) (9)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(2676))((void*)(((((mmc_uint_t) (2676)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(82))((void*)(((((mmc_uint_t) (82)) << 1)+0))),_OMC_LIT49_6((void*)((char*)(&(_OMC_LIT_STRUCT49_6).header) + 3))}};
129#define _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT49)((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))
130#define _OMC_LIT50_data"sin" "sin"
131static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT50,3,_OMC_LIT50_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT50
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "sin"
}
;
132#define _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT50)((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))
133#define _OMC_LIT51_data"cos" "cos"
134static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT51,3,_OMC_LIT51_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT51
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "cos"
}
;
135#define _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT51)((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))
136#define _OMC_LIT52_data"tan" "tan"
137static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT52,3,_OMC_LIT52_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT52
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "tan"
}
;
138#define _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT52)((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3))
139#define _OMC_LIT53_data"asin" "asin"
140static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT53,4,_OMC_LIT53_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT53
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "asin"
}
;
141#define _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT53)((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3))
142#define _OMC_LIT54_data"acos" "acos"
143static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT54,4,_OMC_LIT54_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT54
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "acos"
}
;
144#define _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT54)((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))
145#define _OMC_LIT55_data"atan" "atan"
146static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT55,4,_OMC_LIT55_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT55
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "atan"
}
;
147#define _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT55)((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))
148#define _OMC_LIT56_data"atan2" "atan2"
149static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT56,5,_OMC_LIT56_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT56
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "atan2"
}
;
150#define _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT56)((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3))
151#define _OMC_LIT57_data"sinh" "sinh"
152static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT57,4,_OMC_LIT57_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT57
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "sinh"
}
;
153#define _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT57)((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3))
154#define _OMC_LIT58_data"cosh" "cosh"
155static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT58,4,_OMC_LIT58_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT58
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "cosh"
}
;
156#define _OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT58)((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3))
157#define _OMC_LIT59_data"tanh" "tanh"
158static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT59,4,_OMC_LIT59_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT59
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "tanh"
}
;
159#define _OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT59)((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3))
160#define _OMC_LIT60_data"exp" "exp"
161static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT60,3,_OMC_LIT60_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT60
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "exp"
}
;
162#define _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT60)((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3))
163#define _OMC_LIT61_data"log" "log"
164static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT61,3,_OMC_LIT61_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT61
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "log"
}
;
165#define _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT61)((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3))
166#define _OMC_LIT62_data"log10" "log10"
167static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT62,5,_OMC_LIT62_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT62
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "log10"
}
;
168#define _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT62)((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3))
169#define _OMC_LIT63_data"sqrt" "sqrt"
170static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT63,4,_OMC_LIT63_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT63
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "sqrt"
}
;
171#define _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT63)((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3))
172static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT64,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT64
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
173#define _OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT64)((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3))
174static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT65,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT65
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)),_OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3))}};
175#define _OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT65)((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3))
176static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT66,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT66
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)),_OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3))}};
177#define _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT66)((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3))
178static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT67,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT67
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)),_OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3))}};
179#define _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT67)((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3))
180static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT68,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT68
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)),_OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3))}};
181#define _OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT68)((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3))
182static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT69,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT69
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)),_OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3))}};
183#define _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT69)((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3))
184static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT70,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT70
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)),_OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3))}};
185#define _OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT70)((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3))
186static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT71,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT71
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)),_OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3))}};
187#define _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT71)((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3))
188static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT72,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT72
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)),_OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3))}};
189#define _OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT72)((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3))
190static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT73,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT73
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)),_OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3))}};
191#define _OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT73)((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3))
192static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT74,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT74
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)),_OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3))}};
193#define _OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT74)((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3))
194static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT75,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT75
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)),_OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3))}};
195#define _OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT75)((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3))
196static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT76,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT76
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)),_OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3))}};
197#define _OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT76)((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3))
198static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT77,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT77
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)),_OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3))}};
199#define _OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT77)((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3))
200#define _OMC_LIT78_data"C" "C"
201static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT78,1,_OMC_LIT78_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT78
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "C"
}
;
202#define _OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT78)((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3))
203#define _OMC_LIT79_data"assert" "assert"
204static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT79,6,_OMC_LIT79_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT79
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "assert"
}
;
205#define _OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT79)((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3))
206static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT80,3,5)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT80
= { (((3) << 10) + (((5) & 255) << 2)),
{&Absyn_ComponentRef_CREF__IDENT__desc,_OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
207#define _OMC_LIT80((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT80)((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3))
208#define _OMC_LIT81_data"terminate" "terminate"
209static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT81,9,_OMC_LIT81_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT81
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "terminate"
}
;
210#define _OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT81)((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3))
211static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT82,3,5)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT82
= { (((3) << 10) + (((5) & 255) << 2)),
{&Absyn_ComponentRef_CREF__IDENT__desc,_OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
212#define _OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT82)((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3))
213#define _OMC_LIT83_data"reinit" "reinit"
214static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT83,6,_OMC_LIT83_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT83
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "reinit"
}
;
215#define _OMC_LIT83((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT83)((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3))
216static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT84,3,5)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT84
= { (((3) << 10) + (((5) & 255) << 2)),
{&Absyn_ComponentRef_CREF__IDENT__desc,_OMC_LIT83((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
217#define _OMC_LIT84((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT84)((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3))
218static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT85,1,10)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT85
= { (((1) << 10) + (((10) & 255) << 2)),
{&Absyn_Algorithm_ALG__RETURN__desc,}};
219#define _OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT85)((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3))
220static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT86,1,11)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT86
= { (((1) << 10) + (((11) & 255) << 2)),
{&Absyn_Algorithm_ALG__BREAK__desc,}};
221#define _OMC_LIT86((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT86)((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3))
222static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT87,1,14)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT87
= { (((1) << 10) + (((14) & 255) << 2)),
{&Absyn_Algorithm_ALG__CONTINUE__desc,}};
223#define _OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT87)((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3))
224static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT88,1,6)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT88
= { (((1) << 10) + (((6) & 255) << 2)),
{&SCode_Variability_CONST__desc,}};
225#define _OMC_LIT88((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT88)((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3))
226static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT89,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT89
= { (((1) << 10) + (((5) & 255) << 2)),
{&SCode_Variability_PARAM__desc,}};
227#define _OMC_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT89)((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3))
228static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT90,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT90
= { (((1) << 10) + (((4) & 255) << 2)),
{&SCode_Variability_DISCRETE__desc,}};
229#define _OMC_LIT90((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT90)((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3))
230static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT91,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT91
= { (((1) << 10) + (((3) & 255) << 2)),
{&SCode_Variability_VAR__desc,}};
231#define _OMC_LIT91((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT91)((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3))
232static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT92,1,6)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT92
= { (((1) << 10) + (((6) & 255) << 2)),
{&Absyn_InnerOuter_NOT__INNER__OUTER__desc,}};
233#define _OMC_LIT92((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT92)((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3))
234static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT93,6,3)struct { mmc_uint_t header; const void *data[6]; } _OMC_LIT_STRUCT93
= { (((6) << 10) + (((3) & 255) << 2)),
{&SCode_Prefixes_PREFIXES__desc,_OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)),_OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)),_OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)),_OMC_LIT92((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3)),_OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))}};
235#define _OMC_LIT93((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT93)((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3))
236static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT94,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT94
= { (((1) << 10) + (((5) & 255) << 2)),
{&SCode_Parallelism_NON__PARALLEL__desc,}};
237#define _OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT94)((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3))
238static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT95,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT95
= { (((1) << 10) + (((5) & 255) << 2)),
{&Absyn_Direction_BIDIR__desc,}};
239#define _OMC_LIT95((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT95)((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3))
240static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT96,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT96
= { (((1) << 10) + (((3) & 255) << 2)),
{&Absyn_IsField_NONFIELD__desc,}};
241#define _OMC_LIT96((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT96)((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3))
242static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT97,7,3)struct { mmc_uint_t header; const void *data[7]; } _OMC_LIT_STRUCT97
= { (((7) << 10) + (((3) & 255) << 2)),
{&SCode_Attributes_ATTR__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),_OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)),_OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3)),_OMC_LIT88((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3)),_OMC_LIT95((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3)),_OMC_LIT96((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3))}};
243#define _OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT97)((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3))
244#define _OMC_LIT98_data"EnumType" "EnumType"
245static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT98,8,_OMC_LIT98_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT98
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "EnumType"
}
;
246#define _OMC_LIT98((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT98)((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3))
247static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT99,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT99
= { (((2) << 10) + (((4) & 255) << 2)),
{&Absyn_Path_IDENT__desc,_OMC_LIT98((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3))}};
248#define _OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT99)((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3))
249static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT100,3,3)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT100
= { (((3) << 10) + (((3) & 255) << 2)),
{&Absyn_TypeSpec_TPATH__desc,_OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3)),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3))}};
250#define _OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT100)((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3))
251#include "util/modelica.h"
252
253#include "SCodeUtil_includes.h"
254
255
256/* default, do not make protected functions static */
257#if !defined(PROTECTED_FUNCTION_STATIC)
258#define PROTECTED_FUNCTION_STATIC
259#endif
260PROTECTED_FUNCTION_STATIC modelica_boolean omc_SCodeUtil_hasExternalObjectConstructor(threadData_t *threadData, modelica_metatype _inEls);
261PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SCodeUtil_hasExternalObjectConstructor(threadData_t *threadData, modelica_metatype _inEls);
262static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_hasExternalObjectConstructor,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_hasExternalObjectConstructor
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_hasExternalObjectConstructor,0}};
263#define boxvar_SCodeUtil_hasExternalObjectConstructor((void*)((char*)(&(boxvar_lit_SCodeUtil_hasExternalObjectConstructor
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_hasExternalObjectConstructor)((void*)((char*)(&(boxvar_lit_SCodeUtil_hasExternalObjectConstructor
).header) + 3))
264PROTECTED_FUNCTION_STATIC modelica_boolean omc_SCodeUtil_hasExternalObjectDestructor(threadData_t *threadData, modelica_metatype _inEls);
265PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SCodeUtil_hasExternalObjectDestructor(threadData_t *threadData, modelica_metatype _inEls);
266static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_hasExternalObjectDestructor,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_hasExternalObjectDestructor
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_hasExternalObjectDestructor,0}};
267#define boxvar_SCodeUtil_hasExternalObjectDestructor((void*)((char*)(&(boxvar_lit_SCodeUtil_hasExternalObjectDestructor
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_hasExternalObjectDestructor)((void*)((char*)(&(boxvar_lit_SCodeUtil_hasExternalObjectDestructor
).header) + 3))
268PROTECTED_FUNCTION_STATIC modelica_boolean omc_SCodeUtil_hasExtendsOfExternalObject(threadData_t *threadData, modelica_metatype _inEls);
269PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SCodeUtil_hasExtendsOfExternalObject(threadData_t *threadData, modelica_metatype _inEls);
270static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_hasExtendsOfExternalObject,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_hasExtendsOfExternalObject
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_hasExtendsOfExternalObject,0}};
271#define boxvar_SCodeUtil_hasExtendsOfExternalObject((void*)((char*)(&(boxvar_lit_SCodeUtil_hasExtendsOfExternalObject
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_hasExtendsOfExternalObject)((void*)((char*)(&(boxvar_lit_SCodeUtil_hasExtendsOfExternalObject
).header) + 3))
272PROTECTED_FUNCTION_STATIC modelica_metatype omc_SCodeUtil_removeSub(threadData_t *threadData, modelica_metatype _inSub, modelica_metatype _inOld);
273static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_removeSub,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_removeSub
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_removeSubomc_SCodeUtil_removeSub,0}};
274#define boxvar_SCodeUtil_removeSub((void*)((char*)(&(boxvar_lit_SCodeUtil_removeSub).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_removeSub)((void*)((char*)(&(boxvar_lit_SCodeUtil_removeSub).header
) + 3))
275PROTECTED_FUNCTION_STATIC modelica_metatype omc_SCodeUtil_mergeSubMods(threadData_t *threadData, modelica_metatype _inNew, modelica_metatype _inOld);
276static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_mergeSubMods,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_mergeSubMods
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_mergeSubModsomc_SCodeUtil_mergeSubMods,0}};
277#define boxvar_SCodeUtil_mergeSubMods((void*)((char*)(&(boxvar_lit_SCodeUtil_mergeSubMods).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_mergeSubMods)((void*)((char*)(&(boxvar_lit_SCodeUtil_mergeSubMods).header
) + 3))
278PROTECTED_FUNCTION_STATIC modelica_metatype omc_SCodeUtil_mergeBindings(threadData_t *threadData, modelica_metatype _inNew, modelica_metatype _inOld);
279static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_mergeBindings,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_mergeBindings
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_mergeBindingsomc_SCodeUtil_mergeBindings,0}};
280#define boxvar_SCodeUtil_mergeBindings((void*)((char*)(&(boxvar_lit_SCodeUtil_mergeBindings).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_mergeBindings)((void*)((char*)(&(boxvar_lit_SCodeUtil_mergeBindings).header
) + 3))
281PROTECTED_FUNCTION_STATIC modelica_metatype omc_SCodeUtil_partitionElements2(threadData_t *threadData, modelica_metatype _inElements, modelica_metatype _inComponents, modelica_metatype _inClasses, modelica_metatype _inExtends, modelica_metatype _inImports, modelica_metatype _inDefineUnits, modelica_metatype *out_outClasses, modelica_metatype *out_outExtends, modelica_metatype *out_outImports, modelica_metatype *out_outDefineUnits);
282static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_partitionElements2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_partitionElements2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_partitionElements2omc_SCodeUtil_partitionElements2,0}};
283#define boxvar_SCodeUtil_partitionElements2((void*)((char*)(&(boxvar_lit_SCodeUtil_partitionElements2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_partitionElements2)((void*)((char*)(&(boxvar_lit_SCodeUtil_partitionElements2
).header) + 3))
284PROTECTED_FUNCTION_STATIC modelica_metatype omc_SCodeUtil_setClassDefMod(threadData_t *threadData, modelica_metatype _inClassDef, modelica_metatype _inMod);
285static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_setClassDefMod,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_setClassDefMod
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_setClassDefModomc_SCodeUtil_setClassDefMod,0}};
286#define boxvar_SCodeUtil_setClassDefMod((void*)((char*)(&(boxvar_lit_SCodeUtil_setClassDefMod).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_setClassDefMod)((void*)((char*)(&(boxvar_lit_SCodeUtil_setClassDefMod).header
) + 3))
287PROTECTED_FUNCTION_STATIC modelica_metatype omc_SCodeUtil_getElementWithId(threadData_t *threadData, modelica_metatype _inProgram, modelica_string _inId);
288static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_getElementWithId,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_getElementWithId
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_getElementWithIdomc_SCodeUtil_getElementWithId,0}};
289#define boxvar_SCodeUtil_getElementWithId((void*)((char*)(&(boxvar_lit_SCodeUtil_getElementWithId)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_getElementWithId)((void*)((char*)(&(boxvar_lit_SCodeUtil_getElementWithId)
.header) + 3))
290PROTECTED_FUNCTION_STATIC modelica_boolean omc_SCodeUtil_isInlineTypeSubMod(threadData_t *threadData, modelica_metatype _inSubMod);
291PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SCodeUtil_isInlineTypeSubMod(threadData_t *threadData, modelica_metatype _inSubMod);
292static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_isInlineTypeSubMod,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_isInlineTypeSubMod
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_isInlineTypeSubMod,0}};
293#define boxvar_SCodeUtil_isInlineTypeSubMod((void*)((char*)(&(boxvar_lit_SCodeUtil_isInlineTypeSubMod
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_isInlineTypeSubMod)((void*)((char*)(&(boxvar_lit_SCodeUtil_isInlineTypeSubMod
).header) + 3))
294PROTECTED_FUNCTION_STATIC modelica_metatype omc_SCodeUtil_getInlineTypeAnnotation(threadData_t *threadData, modelica_metatype _inAnnotation);
295static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_getInlineTypeAnnotation,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_getInlineTypeAnnotation
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_getInlineTypeAnnotationomc_SCodeUtil_getInlineTypeAnnotation,0}};
296#define boxvar_SCodeUtil_getInlineTypeAnnotation((void*)((char*)(&(boxvar_lit_SCodeUtil_getInlineTypeAnnotation
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_getInlineTypeAnnotation)((void*)((char*)(&(boxvar_lit_SCodeUtil_getInlineTypeAnnotation
).header) + 3))
297PROTECTED_FUNCTION_STATIC modelica_boolean omc_SCodeUtil_hasBooleanNamedAnnotation2(threadData_t *threadData, modelica_metatype _inSubMod, modelica_string _inName);
298PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SCodeUtil_hasBooleanNamedAnnotation2(threadData_t *threadData, modelica_metatype _inSubMod, modelica_metatype _inName);
299static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_hasBooleanNamedAnnotation2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_hasBooleanNamedAnnotation2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_hasBooleanNamedAnnotation2,0}};
300#define boxvar_SCodeUtil_hasBooleanNamedAnnotation2((void*)((char*)(&(boxvar_lit_SCodeUtil_hasBooleanNamedAnnotation2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_hasBooleanNamedAnnotation2)((void*)((char*)(&(boxvar_lit_SCodeUtil_hasBooleanNamedAnnotation2
).header) + 3))
301PROTECTED_FUNCTION_STATIC modelica_boolean omc_SCodeUtil_hasNamedAnnotation(threadData_t *threadData, modelica_metatype _inSubMod, modelica_string _inName);
302PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SCodeUtil_hasNamedAnnotation(threadData_t *threadData, modelica_metatype _inSubMod, modelica_metatype _inName);
303static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_hasNamedAnnotation,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_hasNamedAnnotation
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_hasNamedAnnotation,0}};
304#define boxvar_SCodeUtil_hasNamedAnnotation((void*)((char*)(&(boxvar_lit_SCodeUtil_hasNamedAnnotation
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_hasNamedAnnotation)((void*)((char*)(&(boxvar_lit_SCodeUtil_hasNamedAnnotation
).header) + 3))
305PROTECTED_FUNCTION_STATIC modelica_boolean omc_SCodeUtil_isNotBuiltinClass(threadData_t *threadData, modelica_metatype _inClass);
306PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SCodeUtil_isNotBuiltinClass(threadData_t *threadData, modelica_metatype _inClass);
307static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_isNotBuiltinClass,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_isNotBuiltinClass
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_isNotBuiltinClass,0}};
308#define boxvar_SCodeUtil_isNotBuiltinClass((void*)((char*)(&(boxvar_lit_SCodeUtil_isNotBuiltinClass
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_isNotBuiltinClass)((void*)((char*)(&(boxvar_lit_SCodeUtil_isNotBuiltinClass
).header) + 3))
309PROTECTED_FUNCTION_STATIC modelica_metatype omc_SCodeUtil_traverseBranchExps(threadData_t *threadData, modelica_metatype _inBranch, modelica_fnptr _traverser, modelica_metatype _inArg, modelica_metatype *out_outArg);
310static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_traverseBranchExps,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_traverseBranchExps
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_traverseBranchExpsomc_SCodeUtil_traverseBranchExps,0}};
311#define boxvar_SCodeUtil_traverseBranchExps((void*)((char*)(&(boxvar_lit_SCodeUtil_traverseBranchExps
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_traverseBranchExps)((void*)((char*)(&(boxvar_lit_SCodeUtil_traverseBranchExps
).header) + 3))
312PROTECTED_FUNCTION_STATIC modelica_metatype omc_SCodeUtil_traverseBranchStatements(threadData_t *threadData, modelica_metatype _inBranch, modelica_metatype _inTuple, modelica_metatype *out_outTuple);
313static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_traverseBranchStatements,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_traverseBranchStatements
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_traverseBranchStatementsomc_SCodeUtil_traverseBranchStatements,0}};
314#define boxvar_SCodeUtil_traverseBranchStatements((void*)((char*)(&(boxvar_lit_SCodeUtil_traverseBranchStatements
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_traverseBranchStatements)((void*)((char*)(&(boxvar_lit_SCodeUtil_traverseBranchStatements
).header) + 3))
315PROTECTED_FUNCTION_STATIC modelica_metatype omc_SCodeUtil_traverseForIteratorExps(threadData_t *threadData, modelica_metatype _inIterator, modelica_fnptr _inFunc, modelica_metatype _inArg, modelica_metatype *out_outArg);
316static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_traverseForIteratorExps,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_traverseForIteratorExps
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_traverseForIteratorExpsomc_SCodeUtil_traverseForIteratorExps,0}};
317#define boxvar_SCodeUtil_traverseForIteratorExps((void*)((char*)(&(boxvar_lit_SCodeUtil_traverseForIteratorExps
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_traverseForIteratorExps)((void*)((char*)(&(boxvar_lit_SCodeUtil_traverseForIteratorExps
).header) + 3))
318PROTECTED_FUNCTION_STATIC modelica_metatype omc_SCodeUtil_traverseNamedArgExps(threadData_t *threadData, modelica_metatype _inArg, modelica_metatype _inTuple, modelica_metatype *out_outTuple);
319static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_traverseNamedArgExps,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_traverseNamedArgExps
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_traverseNamedArgExpsomc_SCodeUtil_traverseNamedArgExps,0}};
320#define boxvar_SCodeUtil_traverseNamedArgExps((void*)((char*)(&(boxvar_lit_SCodeUtil_traverseNamedArgExps
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_traverseNamedArgExps)((void*)((char*)(&(boxvar_lit_SCodeUtil_traverseNamedArgExps
).header) + 3))
321PROTECTED_FUNCTION_STATIC modelica_metatype omc_SCodeUtil_traverseElseWhenExps(threadData_t *threadData, modelica_metatype _inElseWhen, modelica_fnptr _traverser, modelica_metatype _inArg, modelica_metatype *out_outArg);
322static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_traverseElseWhenExps,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_traverseElseWhenExps
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_traverseElseWhenExpsomc_SCodeUtil_traverseElseWhenExps,0}};
323#define boxvar_SCodeUtil_traverseElseWhenExps((void*)((char*)(&(boxvar_lit_SCodeUtil_traverseElseWhenExps
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_traverseElseWhenExps)((void*)((char*)(&(boxvar_lit_SCodeUtil_traverseElseWhenExps
).header) + 3))
324PROTECTED_FUNCTION_STATIC modelica_metatype omc_SCodeUtil_traverseSubscriptExps(threadData_t *threadData, modelica_metatype _inSubscript, modelica_fnptr _inFunc, modelica_metatype _inArg, modelica_metatype *out_outArg);
325static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_traverseSubscriptExps,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_traverseSubscriptExps
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_traverseSubscriptExpsomc_SCodeUtil_traverseSubscriptExps,0}};
326#define boxvar_SCodeUtil_traverseSubscriptExps((void*)((char*)(&(boxvar_lit_SCodeUtil_traverseSubscriptExps
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_traverseSubscriptExps)((void*)((char*)(&(boxvar_lit_SCodeUtil_traverseSubscriptExps
).header) + 3))
327PROTECTED_FUNCTION_STATIC modelica_metatype omc_SCodeUtil_traverseComponentRefExps(threadData_t *threadData, modelica_metatype _inCref, modelica_fnptr _inFunc, modelica_metatype _inArg, modelica_metatype *out_outArg);
328static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_traverseComponentRefExps,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_traverseComponentRefExps
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_traverseComponentRefExpsomc_SCodeUtil_traverseComponentRefExps,0}};
329#define boxvar_SCodeUtil_traverseComponentRefExps((void*)((char*)(&(boxvar_lit_SCodeUtil_traverseComponentRefExps
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_traverseComponentRefExps)((void*)((char*)(&(boxvar_lit_SCodeUtil_traverseComponentRefExps
).header) + 3))
330PROTECTED_FUNCTION_STATIC modelica_metatype omc_SCodeUtil_traverseElseWhenEEquations(threadData_t *threadData, modelica_metatype _inElseWhen, modelica_metatype _inTuple, modelica_metatype *out_outTuple);
331static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_traverseElseWhenEEquations,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_traverseElseWhenEEquations
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_traverseElseWhenEEquationsomc_SCodeUtil_traverseElseWhenEEquations,0}};
332#define boxvar_SCodeUtil_traverseElseWhenEEquations((void*)((char*)(&(boxvar_lit_SCodeUtil_traverseElseWhenEEquations
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_traverseElseWhenEEquations)((void*)((char*)(&(boxvar_lit_SCodeUtil_traverseElseWhenEEquations
).header) + 3))
333PROTECTED_FUNCTION_STATIC modelica_metatype omc_SCodeUtil_filterComponents2(threadData_t *threadData, modelica_metatype _inElement, modelica_string *out_outName);
334static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_filterComponents2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_filterComponents2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_filterComponents2omc_SCodeUtil_filterComponents2,0}};
335#define boxvar_SCodeUtil_filterComponents2((void*)((char*)(&(boxvar_lit_SCodeUtil_filterComponents2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_filterComponents2)((void*)((char*)(&(boxvar_lit_SCodeUtil_filterComponents2
).header) + 3))
336PROTECTED_FUNCTION_STATIC modelica_metatype omc_SCodeUtil_filterComponents(threadData_t *threadData, modelica_metatype _inElements, modelica_metatype *out_outComponentNames);
337static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_filterComponents,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_filterComponents
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_filterComponentsomc_SCodeUtil_filterComponents,0}};
338#define boxvar_SCodeUtil_filterComponents((void*)((char*)(&(boxvar_lit_SCodeUtil_filterComponents)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_filterComponents)((void*)((char*)(&(boxvar_lit_SCodeUtil_filterComponents)
.header) + 3))
339PROTECTED_FUNCTION_STATIC modelica_boolean omc_SCodeUtil_arrayDimEqual(threadData_t *threadData, modelica_metatype _iad1, modelica_metatype _iad2);
340PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SCodeUtil_arrayDimEqual(threadData_t *threadData, modelica_metatype _iad1, modelica_metatype _iad2);
341static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_arrayDimEqual,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_arrayDimEqual
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_arrayDimEqual,0}};
342#define boxvar_SCodeUtil_arrayDimEqual((void*)((char*)(&(boxvar_lit_SCodeUtil_arrayDimEqual).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_arrayDimEqual)((void*)((char*)(&(boxvar_lit_SCodeUtil_arrayDimEqual).header
) + 3))
343PROTECTED_FUNCTION_STATIC modelica_boolean omc_SCodeUtil_subscriptsEqual(threadData_t *threadData, modelica_metatype _inSs1, modelica_metatype _inSs2);
344PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SCodeUtil_subscriptsEqual(threadData_t *threadData, modelica_metatype _inSs1, modelica_metatype _inSs2);
345static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_subscriptsEqual,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_subscriptsEqual
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_subscriptsEqual,0}};
346#define boxvar_SCodeUtil_subscriptsEqual((void*)((char*)(&(boxvar_lit_SCodeUtil_subscriptsEqual).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_subscriptsEqual)((void*)((char*)(&(boxvar_lit_SCodeUtil_subscriptsEqual).
header) + 3))
347PROTECTED_FUNCTION_STATIC modelica_boolean omc_SCodeUtil_subModsEqual(threadData_t *threadData, modelica_metatype _inSubModLst1, modelica_metatype _inSubModLst2);
348PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SCodeUtil_subModsEqual(threadData_t *threadData, modelica_metatype _inSubModLst1, modelica_metatype _inSubModLst2);
349static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_subModsEqual,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_subModsEqual
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_subModsEqual,0}};
350#define boxvar_SCodeUtil_subModsEqual((void*)((char*)(&(boxvar_lit_SCodeUtil_subModsEqual).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_subModsEqual)((void*)((char*)(&(boxvar_lit_SCodeUtil_subModsEqual).header
) + 3))
351PROTECTED_FUNCTION_STATIC modelica_boolean omc_SCodeUtil_equationEqual22(threadData_t *threadData, modelica_metatype _inTb1, modelica_metatype _inTb2);
352PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SCodeUtil_equationEqual22(threadData_t *threadData, modelica_metatype _inTb1, modelica_metatype _inTb2);
353static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_equationEqual22,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_equationEqual22
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_equationEqual22,0}};
354#define boxvar_SCodeUtil_equationEqual22((void*)((char*)(&(boxvar_lit_SCodeUtil_equationEqual22).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_equationEqual22)((void*)((char*)(&(boxvar_lit_SCodeUtil_equationEqual22).
header) + 3))
355PROTECTED_FUNCTION_STATIC modelica_boolean omc_SCodeUtil_equationEqual2(threadData_t *threadData, modelica_metatype _eq1, modelica_metatype _eq2);
356PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SCodeUtil_equationEqual2(threadData_t *threadData, modelica_metatype _eq1, modelica_metatype _eq2);
357static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_equationEqual2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_equationEqual2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_equationEqual2,0}};
358#define boxvar_SCodeUtil_equationEqual2((void*)((char*)(&(boxvar_lit_SCodeUtil_equationEqual2).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_equationEqual2)((void*)((char*)(&(boxvar_lit_SCodeUtil_equationEqual2).header
) + 3))
359PROTECTED_FUNCTION_STATIC modelica_boolean omc_SCodeUtil_algorithmEqual2(threadData_t *threadData, modelica_metatype _ai1, modelica_metatype _ai2);
360PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SCodeUtil_algorithmEqual2(threadData_t *threadData, modelica_metatype _ai1, modelica_metatype _ai2);
361static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_algorithmEqual2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_algorithmEqual2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_algorithmEqual2,0}};
362#define boxvar_SCodeUtil_algorithmEqual2((void*)((char*)(&(boxvar_lit_SCodeUtil_algorithmEqual2).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_algorithmEqual2)((void*)((char*)(&(boxvar_lit_SCodeUtil_algorithmEqual2).
header) + 3))
363PROTECTED_FUNCTION_STATIC modelica_boolean omc_SCodeUtil_algorithmEqual(threadData_t *threadData, modelica_metatype _alg1, modelica_metatype _alg2);
364PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SCodeUtil_algorithmEqual(threadData_t *threadData, modelica_metatype _alg1, modelica_metatype _alg2);
365static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_algorithmEqual,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_algorithmEqual
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_algorithmEqual,0}};
366#define boxvar_SCodeUtil_algorithmEqual((void*)((char*)(&(boxvar_lit_SCodeUtil_algorithmEqual).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_algorithmEqual)((void*)((char*)(&(boxvar_lit_SCodeUtil_algorithmEqual).header
) + 3))
367PROTECTED_FUNCTION_STATIC modelica_boolean omc_SCodeUtil_subscriptEqual(threadData_t *threadData, modelica_metatype _sub1, modelica_metatype _sub2);
368PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SCodeUtil_subscriptEqual(threadData_t *threadData, modelica_metatype _sub1, modelica_metatype _sub2);
369static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_subscriptEqual,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_subscriptEqual
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_subscriptEqual,0}};
370#define boxvar_SCodeUtil_subscriptEqual((void*)((char*)(&(boxvar_lit_SCodeUtil_subscriptEqual).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_subscriptEqual)((void*)((char*)(&(boxvar_lit_SCodeUtil_subscriptEqual).header
) + 3))
371PROTECTED_FUNCTION_STATIC modelica_boolean omc_SCodeUtil_arraydimOptEqual(threadData_t *threadData, modelica_metatype _adopt1, modelica_metatype _adopt2);
372PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SCodeUtil_arraydimOptEqual(threadData_t *threadData, modelica_metatype _adopt1, modelica_metatype _adopt2);
373static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_arraydimOptEqual,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_arraydimOptEqual
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_arraydimOptEqual,0}};
374#define boxvar_SCodeUtil_arraydimOptEqual((void*)((char*)(&(boxvar_lit_SCodeUtil_arraydimOptEqual)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_arraydimOptEqual)((void*)((char*)(&(boxvar_lit_SCodeUtil_arraydimOptEqual)
.header) + 3))
375PROTECTED_FUNCTION_STATIC modelica_boolean omc_SCodeUtil_classDefEqual(threadData_t *threadData, modelica_metatype _cdef1, modelica_metatype _cdef2);
376PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SCodeUtil_classDefEqual(threadData_t *threadData, modelica_metatype _cdef1, modelica_metatype _cdef2);
377static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_classDefEqual,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_classDefEqual
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_classDefEqual,0}};
378#define boxvar_SCodeUtil_classDefEqual((void*)((char*)(&(boxvar_lit_SCodeUtil_classDefEqual).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_classDefEqual)((void*)((char*)(&(boxvar_lit_SCodeUtil_classDefEqual).header
) + 3))
379PROTECTED_FUNCTION_STATIC modelica_metatype omc_SCodeUtil_elementNamesWork(threadData_t *threadData, modelica_metatype _e, modelica_metatype _acc);
380static const MMC_DEFSTRUCTLIT(boxvar_lit_SCodeUtil_elementNamesWork,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_SCodeUtil_elementNamesWork
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_SCodeUtil_elementNamesWorkomc_SCodeUtil_elementNamesWork,0}};
381#define boxvar_SCodeUtil_elementNamesWork((void*)((char*)(&(boxvar_lit_SCodeUtil_elementNamesWork)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_SCodeUtil_elementNamesWork)((void*)((char*)(&(boxvar_lit_SCodeUtil_elementNamesWork)
.header) + 3))
382
383DLLExport
384modelica_metatype omc_SCodeUtil_mergeSCodeMods(threadData_t *threadData, modelica_metatype _inModOuter, modelica_metatype _inModInner)
385{
386 modelica_metatype _outMod = NULL((void*)0);
387 modelica_metatype tmpMeta[8] __attribute__((unused)) = {0};
388 MMC_SO()mmc_check_stackoverflow(threadData);
389 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
390 // _outMod has no default value.
391#line 391 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
392 { /* match expression */
393 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
394 tmp3_1 = _inModOuter;
395 tmp3_2 = _inModInner;
396 {
397 modelica_metatype _f1 = NULL((void*)0);
398 modelica_metatype _e1 = NULL((void*)0);
399 modelica_metatype _subMods1 = NULL((void*)0);
400 modelica_metatype _subMods2 = NULL((void*)0);
401 modelica_metatype _b1 = NULL((void*)0);
402 modelica_metatype _b2 = NULL((void*)0);
403 modelica_metatype _info = NULL((void*)0);
404 volatile mmc_switch_type tmp3;
405 int tmp4;
406 // _f1 has no default value.
407 // _e1 has no default value.
408 // _subMods1 has no default value.
409 // _subMods2 has no default value.
410 // _b1 has no default value.
411 // _b2 has no default value.
412 // _info has no default value.
413 tmp3 = 0;
414 for (; tmp3 < 2; tmp3++) {
415 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
416 case 0: {
417 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,2,0)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((0 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
418
419 /* Pattern matching succeeded */
420#line 5735 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
421 tmpMeta[0] = _inModOuter;
422#line 422 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
423 goto tmp2_done;
424 }
425 case 1: {
426 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;
427 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
428 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
429 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
430 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
431 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
432 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,0,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((5 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
433 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
434 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(5)))))
;
435
436 _f1 = tmpMeta[1];
437 _e1 = tmpMeta[2];
438 _subMods1 = tmpMeta[3];
439 _b1 = tmpMeta[4];
440 _info = tmpMeta[5];
441 _subMods2 = tmpMeta[6];
442 _b2 = tmpMeta[7];
443 /* Pattern matching succeeded */
444#line 5740 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
445 _subMods2 = listAppend(_subMods1, _subMods2);
446#line 446 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
447
448#line 5741 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
449 _b1 = (isSome(_b1)(0==((((((*(mmc_uint_t*)((void*)((char*)(_b1) - 3)))) & (
7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(_b1) - 3)))) >>
(3+3))) : (((*(mmc_uint_t*)((void*)((char*)(_b1) - 3)))) >>
10)) ? 0 : 1)
?_b1:_b2);
450#line 450 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
451#line 5742 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
452 tmpMeta[1] = mmc_mk_box6(3, &SCode_Mod_MOD__desc, _f1, _e1, _subMods2, _b1, _info);
453#line 5742 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
454 tmpMeta[0] = tmpMeta[1];
455#line 455 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
456 goto tmp2_done;
457 }
458 }
459 goto tmp2_end;
460 tmp2_end: ;
461 }
462 goto goto_1;
463 goto_1:;
464 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
465 goto tmp2_done;
466 tmp2_done:;
467 }
468 }
469 _outMod = tmpMeta[0];
470 _return: OMC_LABEL_UNUSED__attribute__((unused))
471 return _outMod;
472}
473
474DLLExport
475modelica_metatype omc_SCodeUtil_mergeSCodeOptAnn(threadData_t *threadData, modelica_metatype _inModOuter, modelica_metatype _inModInner)
476{
477 modelica_metatype _outMod = NULL((void*)0);
478 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
479 MMC_SO()mmc_check_stackoverflow(threadData);
480 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
481 // _outMod has no default value.
482#line 482 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
483 { /* match expression */
484 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
485 tmp3_1 = _inModOuter;
486 tmp3_2 = _inModInner;
487 {
488 modelica_metatype _mod1 = NULL((void*)0);
489 modelica_metatype _mod2 = NULL((void*)0);
490 modelica_metatype _mod = NULL((void*)0);
491 volatile mmc_switch_type tmp3;
492 int tmp4;
493 // _mod1 has no default value.
494 // _mod2 has no default value.
495 // _mod has no default value.
496 tmp3 = 0;
497 for (; tmp3 < 3; tmp3++) {
498 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
499 case 0: {
500 if (!optionNone(tmp3_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
501
502 /* Pattern matching succeeded */
503#line 5713 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
504 tmpMeta[0] = _inModInner;
505#line 505 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
506 goto tmp2_done;
507 }
508 case 1: {
509 if (!optionNone(tmp3_2)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_2
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
510
511 /* Pattern matching succeeded */
512#line 5714 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
513 tmpMeta[0] = _inModOuter;
514#line 514 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
515 goto tmp2_done;
516 }
517 case 2: {
518 if (optionNone(tmp3_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
519 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
520 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
521 if (optionNone(tmp3_2)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_2
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
522 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
523 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
524 _mod1 = tmpMeta[2];
525 _mod2 = tmpMeta[4];
526 /* Pattern matching succeeded */
527#line 5717 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
528 _mod = omc_SCodeUtil_mergeSCodeMods(threadData, _mod1, _mod2);
529#line 529 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
530#line 5718 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
531 tmpMeta[1] = mmc_mk_box2(3, &SCode_Annotation_ANNOTATION__desc, _mod);
532#line 5718 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
533 tmpMeta[0] = mmc_mk_some(tmpMeta[1]);
534#line 534 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
535 goto tmp2_done;
536 }
537 }
538 goto tmp2_end;
539 tmp2_end: ;
540 }
541 goto goto_1;
542 goto_1:;
543 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
544 goto tmp2_done;
545 tmp2_done:;
546 }
547 }
548 _outMod = tmpMeta[0];
549 _return: OMC_LABEL_UNUSED__attribute__((unused))
550 return _outMod;
551}
552
553DLLExport
554modelica_boolean omc_SCodeUtil_isRedeclareElement(threadData_t *threadData, modelica_metatype _element)
555{
556 modelica_boolean _isElement;
557 modelica_boolean tmp1 = 0;
558 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
559 MMC_SO()mmc_check_stackoverflow(threadData);
560 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
561 // _isElement has no default value.
562#line 562 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
563 { /* match expression */
564 modelica_metatype tmp4_1;
565 tmp4_1 = _element;
566 {
567 volatile mmc_switch_type tmp4;
568 int tmp5;
569 tmp4 = 0;
570 for (; tmp4 < 4; tmp4++) {
571 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
572 case 0: {
573 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,3,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((8 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
574 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
575 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
576 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],0,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((0 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
577
578 /* Pattern matching succeeded */
579#line 5692 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
580 tmp1 = 1;
581#line 581 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
582 goto tmp3_done;
583 }
584 case 1: {
585 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
586 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(7)))))
;
587 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],1,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((2 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
588
589 /* Pattern matching succeeded */
590#line 5695 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
591 tmp1 = 0;
592#line 592 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
593 goto tmp3_done;
594 }
595 case 2: {
596 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
597 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
598 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
599 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],0,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((0 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
600
601 /* Pattern matching succeeded */
602#line 5698 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
603 tmp1 = 1;
604#line 604 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
605 goto tmp3_done;
606 }
607 case 3: {
608
609 /* Pattern matching succeeded */
610#line 5699 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
611 tmp1 = 0;
612#line 612 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
613 goto tmp3_done;
614 }
615 }
616 goto tmp3_end;
617 tmp3_end: ;
618 }
619 goto goto_2;
620 goto_2:;
621 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
622 goto tmp3_done;
623 tmp3_done:;
624 }
625 }
626 _isElement = tmp1;
627 _return: OMC_LABEL_UNUSED__attribute__((unused))
628 return _isElement;
629}
630modelica_metatype boxptr_SCodeUtil_isRedeclareElement(threadData_t *threadData, modelica_metatype _element)
631{
632 modelica_boolean _isElement;
633 modelica_metatype out_isElement;
634 _isElement = omc_SCodeUtil_isRedeclareElement(threadData, _element);
635 out_isElement = mmc_mk_icon(_isElement);
636 return out_isElement;
637}
638
639DLLExport
640void omc_SCodeUtil_checkValidEnumLiteral(threadData_t *threadData, modelica_string _inLiteral, modelica_metatype _inInfo)
641{
642 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
643 MMC_SO()mmc_check_stackoverflow(threadData);
644 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
645#line 5678 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
646 if(listMember(_inLiteral, _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))))
647#line 5678 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
648 {
649#line 5679 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
650 tmpMeta[0] = mmc_mk_cons(_inLiteral, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
651#line 5679 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
652 omc_Error_addSourceMessage(threadData, _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)), tmpMeta[0], _inInfo);
653#line 653 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
654
655#line 5680 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
656 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
657#line 657 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
658 }
659 _return: OMC_LABEL_UNUSED__attribute__((unused))
660 return;
661}
662
663DLLExport
664modelica_metatype omc_SCodeUtil_stripCommentsFromStatementBranch(threadData_t *threadData, modelica_metatype _D_24in_branch, modelica_boolean _stripAnn, modelica_boolean _stripCmt)
665{
666 modelica_metatype _branch = NULL((void*)0);
667 modelica_metatype _cond = NULL((void*)0);
668 modelica_metatype _body = NULL((void*)0);
669 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
670 MMC_SO()mmc_check_stackoverflow(threadData);
671 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
672 _branch = _D_24in_branch;
673 // _cond has no default value.
674 // _body has no default value.
675#line 5669 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
676 /* Pattern-matching assignment */
677#line 5669 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
678 tmpMeta[0] = _branch;
679#line 5669 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
680 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
681#line 5669 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
682 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
683#line 5669 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
684 _cond = tmpMeta[1];
685#line 5669 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
686 _body = tmpMeta[2];
687#line 687 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
688
689#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
690 {
691#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
692 modelica_metatype _D_24tmpVar1;
693#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
694 modelica_metatype* tmp1;
695#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
696 modelica_metatype _D_24tmpVar0;
697#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
698 int tmp2;
699#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
700 modelica_metatype _s_loopVar = 0;
701#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
702 modelica_metatype _s;
703#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
704 _s_loopVar = _body;
705#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
706 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
707#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
708 _D_24tmpVar1 = tmpMeta[1]; /* defaultValue */
709#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
710 tmp1 = &_D_24tmpVar1;
711#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
712 while(1) {
713#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
714 tmp2 = 1;
715#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
716 if (!listEmpty(_s_loopVar)((*(mmc_uint_t*)((void*)((char*)(_s_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
717#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
718 _s = MMC_CAR(_s_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_s_loopVar) - 3
))) + (1)))))
;
719#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
720 _s_loopVar = MMC_CDR(_s_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_s_loopVar) - 3
))) + (2)))))
;
721#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
722 tmp2--;
723#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
724 }
725#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
726 if (tmp2 == 0) {
727#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
728 _D_24tmpVar0 = omc_SCodeUtil_stripCommentsFromStatement(threadData, _s, _stripAnn, _stripCmt);
729#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
730 *tmp1 = mmc_mk_cons(_D_24tmpVar0,0);
731#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
732 tmp1 = &MMC_CDR(*tmp1)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp1) - 3))) +
(2)))))
;
733#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
734 } else if (tmp2 == 1) {
735#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
736 break;
737#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
738 } else {
739#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
740 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
741#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
742 }
743#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
744 }
745#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
746 *tmp1 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
747#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
748 tmpMeta[0] = _D_24tmpVar1;
749#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
750 }
751#line 5670 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
752 _body = tmpMeta[0];
753#line 753 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
754
755#line 5671 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
756 tmpMeta[0] = mmc_mk_box2(0, _cond, _body);
757#line 5671 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
758 _branch = tmpMeta[0];
759#line 759 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
760 _return: OMC_LABEL_UNUSED__attribute__((unused))
761 return _branch;
762}
763modelica_metatype boxptr_SCodeUtil_stripCommentsFromStatementBranch(threadData_t *threadData, modelica_metatype _D_24in_branch, modelica_metatype _stripAnn, modelica_metatype _stripCmt)
764{
765 modelica_integer tmp1;
766 modelica_integer tmp2;
767 modelica_metatype _branch = NULL((void*)0);
768 tmp1 = mmc_unbox_integer(_stripAnn)(((mmc_sint_t) (_stripAnn)) >> 1);
769 tmp2 = mmc_unbox_integer(_stripCmt)(((mmc_sint_t) (_stripCmt)) >> 1);
770 _branch = omc_SCodeUtil_stripCommentsFromStatementBranch(threadData, _D_24in_branch, tmp1, tmp2);
771 /* skip box _branch; tuple<Absyn.Exp, list<SCode.Statement>> */
772 return _branch;
773}
774
775DLLExport
776modelica_metatype omc_SCodeUtil_stripCommentsFromStatement(threadData_t *threadData, modelica_metatype _D_24in_stmt, modelica_boolean _stripAnn, modelica_boolean _stripCmt)
777{
778 modelica_metatype _stmt = NULL((void*)0);
779 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
780 MMC_SO()mmc_check_stackoverflow(threadData);
781 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
782 _stmt = _D_24in_stmt;
783#line 783 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
784 { /* match expression */
785 modelica_metatype tmp3_1;
786 tmp3_1 = _stmt;
787 {
788 int tmp3;
789 {
790 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> 2
) & 255))
) {
791 case 3: {
792
793 /* Pattern matching succeeded */
794#line 5561 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
795 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(6))((void*)((char*)(mmc_alloc_words(6)) + 3));
796#line 5561 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
797 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 6*sizeof(modelica_metatype));
798#line 5561 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
799 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[4] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(4)))))
), _stripAnn, _stripCmt);
800#line 5561 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
801 _stmt = tmpMeta[0];
802#line 802 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
803#line 803 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
804 goto tmp2_done;
805 }
806 case 4: {
807
808 /* Pattern matching succeeded */
809#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
810 {
811#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
812 modelica_metatype _D_24tmpVar3;
813#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
814 modelica_metatype* tmp4;
815#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
816 modelica_metatype _D_24tmpVar2;
817#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
818 int tmp5;
819#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
820 modelica_metatype _s_loopVar = 0;
821#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
822 modelica_metatype _s;
823#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
824 _s_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(3)))))
);
825#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
826 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
827#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
828 _D_24tmpVar3 = tmpMeta[2]; /* defaultValue */
829#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
830 tmp4 = &_D_24tmpVar3;
831#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
832 while(1) {
833#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
834 tmp5 = 1;
835#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
836 if (!listEmpty(_s_loopVar)((*(mmc_uint_t*)((void*)((char*)(_s_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
837#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
838 _s = MMC_CAR(_s_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_s_loopVar) - 3
))) + (1)))))
;
839#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
840 _s_loopVar = MMC_CDR(_s_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_s_loopVar) - 3
))) + (2)))))
;
841#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
842 tmp5--;
843#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
844 }
845#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
846 if (tmp5 == 0) {
847#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
848 _D_24tmpVar2 = omc_SCodeUtil_stripCommentsFromStatement(threadData, _s, _stripAnn, _stripCmt);
849#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
850 *tmp4 = mmc_mk_cons(_D_24tmpVar2,0);
851#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
852 tmp4 = &MMC_CDR(*tmp4)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp4) - 3))) +
(2)))))
;
853#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
854 } else if (tmp5 == 1) {
855#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
856 break;
857#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
858 } else {
859#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
860 goto goto_1;
861#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
862 }
863#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
864 }
865#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
866 *tmp4 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
867#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
868 tmpMeta[1] = _D_24tmpVar3;
869#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
870 }
871#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
872 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(8))((void*)((char*)(mmc_alloc_words(8)) + 3));
873#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
874 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 8*sizeof(modelica_metatype));
875#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
876 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[3] = tmpMeta[1];
877#line 5567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
878 _stmt = tmpMeta[0];
879#line 879 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
880
881#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
882 {
883#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
884 modelica_metatype _D_24tmpVar5;
885#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
886 modelica_metatype* tmp6;
887#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
888 modelica_metatype _D_24tmpVar4;
889#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
890 int tmp7;
891#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
892 modelica_metatype _b_loopVar = 0;
893#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
894 modelica_metatype _b;
895#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
896 _b_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(4)))))
);
897#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
898 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
899#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
900 _D_24tmpVar5 = tmpMeta[2]; /* defaultValue */
901#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
902 tmp6 = &_D_24tmpVar5;
903#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
904 while(1) {
905#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
906 tmp7 = 1;
907#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
908 if (!listEmpty(_b_loopVar)((*(mmc_uint_t*)((void*)((char*)(_b_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
909#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
910 _b = MMC_CAR(_b_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_b_loopVar) - 3
))) + (1)))))
;
911#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
912 _b_loopVar = MMC_CDR(_b_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_b_loopVar) - 3
))) + (2)))))
;
913#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
914 tmp7--;
915#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
916 }
917#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
918 if (tmp7 == 0) {
919#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
920 _D_24tmpVar4 = omc_SCodeUtil_stripCommentsFromStatementBranch(threadData, _b, _stripAnn, _stripCmt);
921#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
922 *tmp6 = mmc_mk_cons(_D_24tmpVar4,0);
923#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
924 tmp6 = &MMC_CDR(*tmp6)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp6) - 3))) +
(2)))))
;
925#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
926 } else if (tmp7 == 1) {
927#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
928 break;
929#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
930 } else {
931#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
932 goto goto_1;
933#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
934 }
935#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
936 }
937#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
938 *tmp6 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
939#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
940 tmpMeta[1] = _D_24tmpVar5;
941#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
942 }
943#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
944 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(8))((void*)((char*)(mmc_alloc_words(8)) + 3));
945#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
946 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 8*sizeof(modelica_metatype));
947#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
948 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[4] = tmpMeta[1];
949#line 5568 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
950 _stmt = tmpMeta[0];
951#line 951 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
952
953#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
954 {
955#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
956 modelica_metatype _D_24tmpVar7;
957#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
958 modelica_metatype* tmp8;
959#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
960 modelica_metatype _D_24tmpVar6;
961#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
962 int tmp9;
963#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
964 modelica_metatype _s_loopVar = 0;
965#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
966 modelica_metatype _s;
967#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
968 _s_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(5)))))
);
969#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
970 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
971#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
972 _D_24tmpVar7 = tmpMeta[2]; /* defaultValue */
973#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
974 tmp8 = &_D_24tmpVar7;
975#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
976 while(1) {
977#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
978 tmp9 = 1;
979#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
980 if (!listEmpty(_s_loopVar)((*(mmc_uint_t*)((void*)((char*)(_s_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
981#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
982 _s = MMC_CAR(_s_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_s_loopVar) - 3
))) + (1)))))
;
983#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
984 _s_loopVar = MMC_CDR(_s_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_s_loopVar) - 3
))) + (2)))))
;
985#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
986 tmp9--;
987#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
988 }
989#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
990 if (tmp9 == 0) {
991#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
992 _D_24tmpVar6 = omc_SCodeUtil_stripCommentsFromStatement(threadData, _s, _stripAnn, _stripCmt);
993#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
994 *tmp8 = mmc_mk_cons(_D_24tmpVar6,0);
995#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
996 tmp8 = &MMC_CDR(*tmp8)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp8) - 3))) +
(2)))))
;
997#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
998 } else if (tmp9 == 1) {
999#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1000 break;
1001#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1002 } else {
1003#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1004 goto goto_1;
1005#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1006 }
1007#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1008 }
1009#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1010 *tmp8 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
1011#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1012 tmpMeta[1] = _D_24tmpVar7;
1013#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1014 }
1015#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1016 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(8))((void*)((char*)(mmc_alloc_words(8)) + 3));
1017#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1018 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 8*sizeof(modelica_metatype));
1019#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1020 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[5] = tmpMeta[1];
1021#line 5569 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1022 _stmt = tmpMeta[0];
1023#line 1023 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1024
1025#line 5570 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1026 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(8))((void*)((char*)(mmc_alloc_words(8)) + 3));
1027#line 5570 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1028 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 8*sizeof(modelica_metatype));
1029#line 5570 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1030 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[6] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 6))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(6)))))
), _stripAnn, _stripCmt);
1031#line 5570 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1032 _stmt = tmpMeta[0];
1033#line 1033 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1034#line 1034 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1035 goto tmp2_done;
1036 }
1037 case 5: {
1038
1039 /* Pattern matching succeeded */
1040#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1041 {
1042#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1043 modelica_metatype _D_24tmpVar9;
1044#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1045 modelica_metatype* tmp10;
1046#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1047 modelica_metatype _D_24tmpVar8;
1048#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1049 int tmp11;
1050#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1051 modelica_metatype _s_loopVar = 0;
1052#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1053 modelica_metatype _s;
1054#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1055 _s_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(4)))))
);
1056#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1057 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1058#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1059 _D_24tmpVar9 = tmpMeta[2]; /* defaultValue */
1060#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1061 tmp10 = &_D_24tmpVar9;
1062#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1063 while(1) {
1064#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1065 tmp11 = 1;
1066#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1067 if (!listEmpty(_s_loopVar)((*(mmc_uint_t*)((void*)((char*)(_s_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
1068#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1069 _s = MMC_CAR(_s_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_s_loopVar) - 3
))) + (1)))))
;
1070#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1071 _s_loopVar = MMC_CDR(_s_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_s_loopVar) - 3
))) + (2)))))
;
1072#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1073 tmp11--;
1074#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1075 }
1076#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1077 if (tmp11 == 0) {
1078#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1079 _D_24tmpVar8 = omc_SCodeUtil_stripCommentsFromStatement(threadData, _s, _stripAnn, _stripCmt);
1080#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1081 *tmp10 = mmc_mk_cons(_D_24tmpVar8,0);
1082#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1083 tmp10 = &MMC_CDR(*tmp10)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp10) - 3))) +
(2)))))
;
1084#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1085 } else if (tmp11 == 1) {
1086#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1087 break;
1088#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1089 } else {
1090#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1091 goto goto_1;
1092#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1093 }
1094#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1095 }
1096#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1097 *tmp10 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
1098#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1099 tmpMeta[1] = _D_24tmpVar9;
1100#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1101 }
1102#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1103 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
1104#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1105 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 7*sizeof(modelica_metatype));
1106#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1107 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[4] = tmpMeta[1];
1108#line 5576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1109 _stmt = tmpMeta[0];
1110#line 1110 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1111
1112#line 5577 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1113 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
1114#line 5577 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1115 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 7*sizeof(modelica_metatype));
1116#line 5577 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1117 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[5] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(5)))))
), _stripAnn, _stripCmt);
1118#line 5577 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1119 _stmt = tmpMeta[0];
1120#line 1120 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1121#line 1121 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1122 goto tmp2_done;
1123 }
1124 case 6: {
1125
1126 /* Pattern matching succeeded */
1127#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1128 {
1129#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1130 modelica_metatype _D_24tmpVar11;
1131#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1132 modelica_metatype* tmp12;
1133#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1134 modelica_metatype _D_24tmpVar10;
1135#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1136 int tmp13;
1137#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1138 modelica_metatype _s_loopVar = 0;
1139#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1140 modelica_metatype _s;
1141#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1142 _s_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(4)))))
);
1143#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1144 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1145#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1146 _D_24tmpVar11 = tmpMeta[2]; /* defaultValue */
1147#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1148 tmp12 = &_D_24tmpVar11;
1149#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1150 while(1) {
1151#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1152 tmp13 = 1;
1153#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1154 if (!listEmpty(_s_loopVar)((*(mmc_uint_t*)((void*)((char*)(_s_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
1155#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1156 _s = MMC_CAR(_s_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_s_loopVar) - 3
))) + (1)))))
;
1157#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1158 _s_loopVar = MMC_CDR(_s_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_s_loopVar) - 3
))) + (2)))))
;
1159#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1160 tmp13--;
1161#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1162 }
1163#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1164 if (tmp13 == 0) {
1165#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1166 _D_24tmpVar10 = omc_SCodeUtil_stripCommentsFromStatement(threadData, _s, _stripAnn, _stripCmt);
1167#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1168 *tmp12 = mmc_mk_cons(_D_24tmpVar10,0);
1169#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1170 tmp12 = &MMC_CDR(*tmp12)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp12) - 3))) +
(2)))))
;
1171#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1172 } else if (tmp13 == 1) {
1173#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1174 break;
1175#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1176 } else {
1177#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1178 goto goto_1;
1179#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1180 }
1181#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1182 }
1183#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1184 *tmp12 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
1185#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1186 tmpMeta[1] = _D_24tmpVar11;
1187#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1188 }
1189#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1190 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
1191#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1192 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 7*sizeof(modelica_metatype));
1193#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1194 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[4] = tmpMeta[1];
1195#line 5583 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1196 _stmt = tmpMeta[0];
1197#line 1197 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1198
1199#line 5584 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1200 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
1201#line 5584 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1202 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 7*sizeof(modelica_metatype));
1203#line 5584 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1204 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[5] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(5)))))
), _stripAnn, _stripCmt);
1205#line 5584 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1206 _stmt = tmpMeta[0];
1207#line 1207 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1208#line 1208 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1209 goto tmp2_done;
1210 }
1211 case 7: {
1212
1213 /* Pattern matching succeeded */
1214#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1215 {
1216#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1217 modelica_metatype _D_24tmpVar13;
1218#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1219 modelica_metatype* tmp14;
1220#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1221 modelica_metatype _D_24tmpVar12;
1222#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1223 int tmp15;
1224#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1225 modelica_metatype _s_loopVar = 0;
1226#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1227 modelica_metatype _s;
1228#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1229 _s_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(3)))))
);
1230#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1231 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1232#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1233 _D_24tmpVar13 = tmpMeta[2]; /* defaultValue */
1234#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1235 tmp14 = &_D_24tmpVar13;
1236#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1237 while(1) {
1238#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1239 tmp15 = 1;
1240#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1241 if (!listEmpty(_s_loopVar)((*(mmc_uint_t*)((void*)((char*)(_s_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
1242#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1243 _s = MMC_CAR(_s_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_s_loopVar) - 3
))) + (1)))))
;
1244#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1245 _s_loopVar = MMC_CDR(_s_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_s_loopVar) - 3
))) + (2)))))
;
1246#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1247 tmp15--;
1248#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1249 }
1250#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1251 if (tmp15 == 0) {
1252#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1253 _D_24tmpVar12 = omc_SCodeUtil_stripCommentsFromStatement(threadData, _s, _stripAnn, _stripCmt);
1254#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1255 *tmp14 = mmc_mk_cons(_D_24tmpVar12,0);
1256#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1257 tmp14 = &MMC_CDR(*tmp14)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp14) - 3))) +
(2)))))
;
1258#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1259 } else if (tmp15 == 1) {
1260#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1261 break;
1262#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1263 } else {
1264#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1265 goto goto_1;
1266#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1267 }
1268#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1269 }
1270#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1271 *tmp14 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
1272#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1273 tmpMeta[1] = _D_24tmpVar13;
1274#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1275 }
1276#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1277 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(6))((void*)((char*)(mmc_alloc_words(6)) + 3));
1278#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1279 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 6*sizeof(modelica_metatype));
1280#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1281 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[3] = tmpMeta[1];
1282#line 5590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1283 _stmt = tmpMeta[0];
1284#line 1284 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1285
1286#line 5591 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1287 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(6))((void*)((char*)(mmc_alloc_words(6)) + 3));
1288#line 5591 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1289 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 6*sizeof(modelica_metatype));
1290#line 5591 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1291 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[4] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(4)))))
), _stripAnn, _stripCmt);
1292#line 5591 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1293 _stmt = tmpMeta[0];
1294#line 1294 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1295#line 1295 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1296 goto tmp2_done;
1297 }
1298 case 8: {
1299
1300 /* Pattern matching succeeded */
1301#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1302 {
1303#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1304 modelica_metatype _D_24tmpVar15;
1305#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1306 modelica_metatype* tmp16;
1307#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1308 modelica_metatype _D_24tmpVar14;
1309#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1310 int tmp17;
1311#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1312 modelica_metatype _b_loopVar = 0;
1313#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1314 modelica_metatype _b;
1315#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1316 _b_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(2)))))
);
1317#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1318 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1319#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1320 _D_24tmpVar15 = tmpMeta[2]; /* defaultValue */
1321#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1322 tmp16 = &_D_24tmpVar15;
1323#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1324 while(1) {
1325#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1326 tmp17 = 1;
1327#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1328 if (!listEmpty(_b_loopVar)((*(mmc_uint_t*)((void*)((char*)(_b_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
1329#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1330 _b = MMC_CAR(_b_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_b_loopVar) - 3
))) + (1)))))
;
1331#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1332 _b_loopVar = MMC_CDR(_b_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_b_loopVar) - 3
))) + (2)))))
;
1333#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1334 tmp17--;
1335#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1336 }
1337#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1338 if (tmp17 == 0) {
1339#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1340 _D_24tmpVar14 = omc_SCodeUtil_stripCommentsFromStatementBranch(threadData, _b, _stripAnn, _stripCmt);
1341#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1342 *tmp16 = mmc_mk_cons(_D_24tmpVar14,0);
1343#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1344 tmp16 = &MMC_CDR(*tmp16)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp16) - 3))) +
(2)))))
;
1345#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1346 } else if (tmp17 == 1) {
1347#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1348 break;
1349#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1350 } else {
1351#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1352 goto goto_1;
1353#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1354 }
1355#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1356 }
1357#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1358 *tmp16 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
1359#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1360 tmpMeta[1] = _D_24tmpVar15;
1361#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1362 }
1363#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1364 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(5))((void*)((char*)(mmc_alloc_words(5)) + 3));
1365#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1366 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 5*sizeof(modelica_metatype));
1367#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1368 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[2] = tmpMeta[1];
1369#line 5597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1370 _stmt = tmpMeta[0];
1371#line 1371 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1372
1373#line 5598 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1374 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(5))((void*)((char*)(mmc_alloc_words(5)) + 3));
1375#line 5598 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1376 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 5*sizeof(modelica_metatype));
1377#line 5598 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1378 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[3] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(3)))))
), _stripAnn, _stripCmt);
1379#line 5598 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1380 _stmt = tmpMeta[0];
1381#line 1381 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1382#line 1382 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1383 goto tmp2_done;
1384 }
1385 case 9: {
1386
1387 /* Pattern matching succeeded */
1388#line 5604 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1389 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
1390#line 5604 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1391 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 7*sizeof(modelica_metatype));
1392#line 5604 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1393 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[5] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(5)))))
), _stripAnn, _stripCmt);
1394#line 5604 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1395 _stmt = tmpMeta[0];
1396#line 1396 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1397#line 1397 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1398 goto tmp2_done;
1399 }
1400 case 10: {
1401
1402 /* Pattern matching succeeded */
1403#line 5610 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1404 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(5))((void*)((char*)(mmc_alloc_words(5)) + 3));
1405#line 5610 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1406 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 5*sizeof(modelica_metatype));
1407#line 5610 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1408 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[3] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(3)))))
), _stripAnn, _stripCmt);
1409#line 5610 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1410 _stmt = tmpMeta[0];
1411#line 1411 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1412#line 1412 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1413 goto tmp2_done;
1414 }
1415 case 11: {
1416
1417 /* Pattern matching succeeded */
1418#line 5616 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1419 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(6))((void*)((char*)(mmc_alloc_words(6)) + 3));
1420#line 5616 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1421 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 6*sizeof(modelica_metatype));
1422#line 5616 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1423 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[4] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(4)))))
), _stripAnn, _stripCmt);
1424#line 5616 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1425 _stmt = tmpMeta[0];
1426#line 1426 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1427#line 1427 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1428 goto tmp2_done;
1429 }
1430 case 12: {
1431
1432 /* Pattern matching succeeded */
1433#line 5622 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1434 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(5))((void*)((char*)(mmc_alloc_words(5)) + 3));
1435#line 5622 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1436 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 5*sizeof(modelica_metatype));
1437#line 5622 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1438 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[3] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(3)))))
), _stripAnn, _stripCmt);
1439#line 5622 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1440 _stmt = tmpMeta[0];
1441#line 1441 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1442#line 1442 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1443 goto tmp2_done;
1444 }
1445 case 13: {
1446
1447 /* Pattern matching succeeded */
1448#line 5628 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1449 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(4))((void*)((char*)(mmc_alloc_words(4)) + 3));
1450#line 5628 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1451 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 4*sizeof(modelica_metatype));
1452#line 5628 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1453 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[2] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(2)))))
), _stripAnn, _stripCmt);
1454#line 5628 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1455 _stmt = tmpMeta[0];
1456#line 1456 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1457#line 1457 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1458 goto tmp2_done;
1459 }
1460 case 14: {
1461
1462 /* Pattern matching succeeded */
1463#line 5634 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1464 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(4))((void*)((char*)(mmc_alloc_words(4)) + 3));
1465#line 5634 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1466 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 4*sizeof(modelica_metatype));
1467#line 5634 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1468 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[2] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(2)))))
), _stripAnn, _stripCmt);
1469#line 5634 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1470 _stmt = tmpMeta[0];
1471#line 1471 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1472#line 1472 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1473 goto tmp2_done;
1474 }
1475 case 15: {
1476
1477 /* Pattern matching succeeded */
1478#line 5640 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1479 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(5))((void*)((char*)(mmc_alloc_words(5)) + 3));
1480#line 5640 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1481 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 5*sizeof(modelica_metatype));
1482#line 5640 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1483 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[3] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(3)))))
), _stripAnn, _stripCmt);
1484#line 5640 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1485 _stmt = tmpMeta[0];
1486#line 1486 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1487#line 1487 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1488 goto tmp2_done;
1489 }
1490 case 16: {
1491
1492 /* Pattern matching succeeded */
1493#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1494 {
1495#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1496 modelica_metatype _D_24tmpVar17;
1497#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1498 modelica_metatype* tmp18;
1499#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1500 modelica_metatype _D_24tmpVar16;
1501#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1502 int tmp19;
1503#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1504 modelica_metatype _s_loopVar = 0;
1505#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1506 modelica_metatype _s;
1507#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1508 _s_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(2)))))
);
1509#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1510 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1511#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1512 _D_24tmpVar17 = tmpMeta[2]; /* defaultValue */
1513#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1514 tmp18 = &_D_24tmpVar17;
1515#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1516 while(1) {
1517#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1518 tmp19 = 1;
1519#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1520 if (!listEmpty(_s_loopVar)((*(mmc_uint_t*)((void*)((char*)(_s_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
1521#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1522 _s = MMC_CAR(_s_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_s_loopVar) - 3
))) + (1)))))
;
1523#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1524 _s_loopVar = MMC_CDR(_s_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_s_loopVar) - 3
))) + (2)))))
;
1525#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1526 tmp19--;
1527#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1528 }
1529#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1530 if (tmp19 == 0) {
1531#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1532 _D_24tmpVar16 = omc_SCodeUtil_stripCommentsFromStatement(threadData, _s, _stripAnn, _stripCmt);
1533#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1534 *tmp18 = mmc_mk_cons(_D_24tmpVar16,0);
1535#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1536 tmp18 = &MMC_CDR(*tmp18)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp18) - 3))) +
(2)))))
;
1537#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1538 } else if (tmp19 == 1) {
1539#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1540 break;
1541#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1542 } else {
1543#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1544 goto goto_1;
1545#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1546 }
1547#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1548 }
1549#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1550 *tmp18 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
1551#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1552 tmpMeta[1] = _D_24tmpVar17;
1553#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1554 }
1555#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1556 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(6))((void*)((char*)(mmc_alloc_words(6)) + 3));
1557#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1558 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 6*sizeof(modelica_metatype));
1559#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1560 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[2] = tmpMeta[1];
1561#line 5646 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1562 _stmt = tmpMeta[0];
1563#line 1563 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1564
1565#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1566 {
1567#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1568 modelica_metatype _D_24tmpVar19;
1569#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1570 modelica_metatype* tmp20;
1571#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1572 modelica_metatype _D_24tmpVar18;
1573#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1574 int tmp21;
1575#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1576 modelica_metatype _s_loopVar = 0;
1577#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1578 modelica_metatype _s;
1579#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1580 _s_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(3)))))
);
1581#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1582 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1583#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1584 _D_24tmpVar19 = tmpMeta[2]; /* defaultValue */
1585#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1586 tmp20 = &_D_24tmpVar19;
1587#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1588 while(1) {
1589#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1590 tmp21 = 1;
1591#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1592 if (!listEmpty(_s_loopVar)((*(mmc_uint_t*)((void*)((char*)(_s_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
1593#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1594 _s = MMC_CAR(_s_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_s_loopVar) - 3
))) + (1)))))
;
1595#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1596 _s_loopVar = MMC_CDR(_s_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_s_loopVar) - 3
))) + (2)))))
;
1597#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1598 tmp21--;
1599#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1600 }
1601#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1602 if (tmp21 == 0) {
1603#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1604 _D_24tmpVar18 = omc_SCodeUtil_stripCommentsFromStatement(threadData, _s, _stripAnn, _stripCmt);
1605#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1606 *tmp20 = mmc_mk_cons(_D_24tmpVar18,0);
1607#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1608 tmp20 = &MMC_CDR(*tmp20)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp20) - 3))) +
(2)))))
;
1609#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1610 } else if (tmp21 == 1) {
1611#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1612 break;
1613#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1614 } else {
1615#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1616 goto goto_1;
1617#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1618 }
1619#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1620 }
1621#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1622 *tmp20 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
1623#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1624 tmpMeta[1] = _D_24tmpVar19;
1625#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1626 }
1627#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1628 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(6))((void*)((char*)(mmc_alloc_words(6)) + 3));
1629#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1630 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 6*sizeof(modelica_metatype));
1631#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1632 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[3] = tmpMeta[1];
1633#line 5647 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1634 _stmt = tmpMeta[0];
1635#line 1635 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1636
1637#line 5648 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1638 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(6))((void*)((char*)(mmc_alloc_words(6)) + 3));
1639#line 5648 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1640 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 6*sizeof(modelica_metatype));
1641#line 5648 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1642 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[4] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(4)))))
), _stripAnn, _stripCmt);
1643#line 5648 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1644 _stmt = tmpMeta[0];
1645#line 1645 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1646#line 1646 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1647 goto tmp2_done;
1648 }
1649 case 17: {
1650
1651 /* Pattern matching succeeded */
1652#line 5654 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1653 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(4))((void*)((char*)(mmc_alloc_words(4)) + 3));
1654#line 5654 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1655 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_stmt)((void*)((char*)(_stmt) - 3)), 4*sizeof(modelica_metatype));
1656#line 5654 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1657 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[2] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_stmt), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_stmt) - 3))) +
(2)))))
), _stripAnn, _stripCmt);
1658#line 5654 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1659 _stmt = tmpMeta[0];
1660#line 1660 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1661#line 1661 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1662 goto tmp2_done;
1663 }
1664 }
1665 goto tmp2_end;
1666 tmp2_end: ;
1667 }
1668 goto goto_1;
1669 goto_1:;
1670 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1671 goto tmp2_done;
1672 tmp2_done:;
1673 }
1674 }
1675 ;
1676 _return: OMC_LABEL_UNUSED__attribute__((unused))
1677 return _stmt;
1678}
1679modelica_metatype boxptr_SCodeUtil_stripCommentsFromStatement(threadData_t *threadData, modelica_metatype _D_24in_stmt, modelica_metatype _stripAnn, modelica_metatype _stripCmt)
1680{
1681 modelica_integer tmp1;
1682 modelica_integer tmp2;
1683 modelica_metatype _stmt = NULL((void*)0);
1684 tmp1 = mmc_unbox_integer(_stripAnn)(((mmc_sint_t) (_stripAnn)) >> 1);
1685 tmp2 = mmc_unbox_integer(_stripCmt)(((mmc_sint_t) (_stripCmt)) >> 1);
1686 _stmt = omc_SCodeUtil_stripCommentsFromStatement(threadData, _D_24in_stmt, tmp1, tmp2);
1687 /* skip box _stmt; SCode.Statement */
1688 return _stmt;
1689}
1690
1691DLLExport
1692modelica_metatype omc_SCodeUtil_stripCommentsFromAlgorithm(threadData_t *threadData, modelica_metatype _D_24in_alg, modelica_boolean _stripAnn, modelica_boolean _stripCmt)
1693{
1694 modelica_metatype _alg = NULL((void*)0);
1695 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1696 MMC_SO()mmc_check_stackoverflow(threadData);
1697 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1698 _alg = _D_24in_alg;
1699#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1700 {
1701#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1702 modelica_metatype _D_24tmpVar21;
1703#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1704 modelica_metatype* tmp1;
1705#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1706 modelica_metatype _D_24tmpVar20;
1707#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1708 int tmp2;
1709#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1710 modelica_metatype _s_loopVar = 0;
1711#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1712 modelica_metatype _s;
1713#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1714 _s_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_alg), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_alg) - 3))) + (
2)))))
);
1715#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1716 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1717#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1718 _D_24tmpVar21 = tmpMeta[2]; /* defaultValue */
1719#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1720 tmp1 = &_D_24tmpVar21;
1721#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1722 while(1) {
1723#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1724 tmp2 = 1;
1725#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1726 if (!listEmpty(_s_loopVar)((*(mmc_uint_t*)((void*)((char*)(_s_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
1727#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1728 _s = MMC_CAR(_s_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_s_loopVar) - 3
))) + (1)))))
;
1729#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1730 _s_loopVar = MMC_CDR(_s_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_s_loopVar) - 3
))) + (2)))))
;
1731#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1732 tmp2--;
1733#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1734 }
1735#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1736 if (tmp2 == 0) {
1737#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1738 _D_24tmpVar20 = omc_SCodeUtil_stripCommentsFromStatement(threadData, _s, _stripAnn, _stripCmt);
1739#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1740 *tmp1 = mmc_mk_cons(_D_24tmpVar20,0);
1741#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1742 tmp1 = &MMC_CDR(*tmp1)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp1) - 3))) +
(2)))))
;
1743#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1744 } else if (tmp2 == 1) {
1745#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1746 break;
1747#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1748 } else {
1749#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1750 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1751#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1752 }
1753#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1754 }
1755#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1756 *tmp1 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
1757#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1758 tmpMeta[1] = _D_24tmpVar21;
1759#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1760 }
1761#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1762 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(3))((void*)((char*)(mmc_alloc_words(3)) + 3));
1763#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1764 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_alg)((void*)((char*)(_alg) - 3)), 3*sizeof(modelica_metatype));
1765#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1766 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[2] = tmpMeta[1];
1767#line 5550 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1768 _alg = tmpMeta[0];
1769#line 1769 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1770 _return: OMC_LABEL_UNUSED__attribute__((unused))
1771 return _alg;
1772}
1773modelica_metatype boxptr_SCodeUtil_stripCommentsFromAlgorithm(threadData_t *threadData, modelica_metatype _D_24in_alg, modelica_metatype _stripAnn, modelica_metatype _stripCmt)
1774{
1775 modelica_integer tmp1;
1776 modelica_integer tmp2;
1777 modelica_metatype _alg = NULL((void*)0);
1778 tmp1 = mmc_unbox_integer(_stripAnn)(((mmc_sint_t) (_stripAnn)) >> 1);
1779 tmp2 = mmc_unbox_integer(_stripCmt)(((mmc_sint_t) (_stripCmt)) >> 1);
1780 _alg = omc_SCodeUtil_stripCommentsFromAlgorithm(threadData, _D_24in_alg, tmp1, tmp2);
1781 /* skip box _alg; SCode.AlgorithmSection */
1782 return _alg;
1783}
1784
1785DLLExport
1786modelica_metatype omc_SCodeUtil_stripCommentsFromWhenEqBranch(threadData_t *threadData, modelica_metatype _D_24in_branch, modelica_boolean _stripAnn, modelica_boolean _stripCmt)
1787{
1788 modelica_metatype _branch = NULL((void*)0);
1789 modelica_metatype _cond = NULL((void*)0);
1790 modelica_metatype _body = NULL((void*)0);
1791 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1792 MMC_SO()mmc_check_stackoverflow(threadData);
1793 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1794 _branch = _D_24in_branch;
1795 // _cond has no default value.
1796 // _body has no default value.
1797#line 5540 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1798 /* Pattern-matching assignment */
1799#line 5540 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1800 tmpMeta[0] = _branch;
1801#line 5540 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1802 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1803#line 5540 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1804 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1805#line 5540 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1806 _cond = tmpMeta[1];
1807#line 5540 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1808 _body = tmpMeta[2];
1809#line 1809 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1810
1811#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1812 {
1813#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1814 modelica_metatype _D_24tmpVar23;
1815#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1816 modelica_metatype* tmp1;
1817#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1818 modelica_metatype _D_24tmpVar22;
1819#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1820 int tmp2;
1821#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1822 modelica_metatype _e_loopVar = 0;
1823#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1824 modelica_metatype _e;
1825#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1826 _e_loopVar = _body;
1827#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1828 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1829#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1830 _D_24tmpVar23 = tmpMeta[1]; /* defaultValue */
1831#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1832 tmp1 = &_D_24tmpVar23;
1833#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1834 while(1) {
1835#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1836 tmp2 = 1;
1837#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1838 if (!listEmpty(_e_loopVar)((*(mmc_uint_t*)((void*)((char*)(_e_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
1839#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1840 _e = MMC_CAR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (1)))))
;
1841#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1842 _e_loopVar = MMC_CDR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (2)))))
;
1843#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1844 tmp2--;
1845#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1846 }
1847#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1848 if (tmp2 == 0) {
1849#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1850 _D_24tmpVar22 = omc_SCodeUtil_stripCommentsFromEEquation(threadData, _e, _stripAnn, _stripCmt);
1851#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1852 *tmp1 = mmc_mk_cons(_D_24tmpVar22,0);
1853#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1854 tmp1 = &MMC_CDR(*tmp1)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp1) - 3))) +
(2)))))
;
1855#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1856 } else if (tmp2 == 1) {
1857#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1858 break;
1859#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1860 } else {
1861#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1862 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1863#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1864 }
1865#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1866 }
1867#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1868 *tmp1 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
1869#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1870 tmpMeta[0] = _D_24tmpVar23;
1871#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1872 }
1873#line 5541 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1874 _body = tmpMeta[0];
1875#line 1875 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1876
1877#line 5542 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1878 tmpMeta[0] = mmc_mk_box2(0, _cond, _body);
1879#line 5542 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1880 _branch = tmpMeta[0];
1881#line 1881 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1882 _return: OMC_LABEL_UNUSED__attribute__((unused))
1883 return _branch;
1884}
1885modelica_metatype boxptr_SCodeUtil_stripCommentsFromWhenEqBranch(threadData_t *threadData, modelica_metatype _D_24in_branch, modelica_metatype _stripAnn, modelica_metatype _stripCmt)
1886{
1887 modelica_integer tmp1;
1888 modelica_integer tmp2;
1889 modelica_metatype _branch = NULL((void*)0);
1890 tmp1 = mmc_unbox_integer(_stripAnn)(((mmc_sint_t) (_stripAnn)) >> 1);
1891 tmp2 = mmc_unbox_integer(_stripCmt)(((mmc_sint_t) (_stripCmt)) >> 1);
1892 _branch = omc_SCodeUtil_stripCommentsFromWhenEqBranch(threadData, _D_24in_branch, tmp1, tmp2);
1893 /* skip box _branch; tuple<Absyn.Exp, list<SCode.EEquation>> */
1894 return _branch;
1895}
1896
1897DLLExport
1898modelica_metatype omc_SCodeUtil_stripCommentsFromEEquation(threadData_t *threadData, modelica_metatype _D_24in_eq, modelica_boolean _stripAnn, modelica_boolean _stripCmt)
1899{
1900 modelica_metatype _eq = NULL((void*)0);
1901 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
1902 MMC_SO()mmc_check_stackoverflow(threadData);
1903 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1904 _eq = _D_24in_eq;
1905#line 1905 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
1906 { /* match expression */
1907 modelica_metatype tmp3_1;
1908 tmp3_1 = _eq;
1909 {
1910 int tmp3;
1911 {
1912 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> 2
) & 255))
) {
1913 case 3: {
1914
1915 /* Pattern matching succeeded */
1916#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1917 {
1918#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1919 modelica_metatype _D_24tmpVar27;
1920#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1921 modelica_metatype* tmp4;
1922#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1923 modelica_metatype _D_24tmpVar26;
1924#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1925 int tmp7;
1926#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1927 modelica_metatype _branch_loopVar = 0;
1928#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1929 modelica_metatype _branch;
1930#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1931 _branch_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
3)))))
);
1932#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1933 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1934#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1935 _D_24tmpVar27 = tmpMeta[2]; /* defaultValue */
1936#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1937 tmp4 = &_D_24tmpVar27;
1938#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1939 while(1) {
1940#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1941 tmp7 = 1;
1942#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1943 if (!listEmpty(_branch_loopVar)((*(mmc_uint_t*)((void*)((char*)(_branch_loopVar) - 3))) == (
((0) << 10) + (((0) & 255) << 2)))
) {
1944#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1945 _branch = MMC_CAR(_branch_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_branch_loopVar
) - 3))) + (1)))))
;
1946#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1947 _branch_loopVar = MMC_CDR(_branch_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_branch_loopVar
) - 3))) + (2)))))
;
1948#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1949 tmp7--;
1950#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1951 }
1952#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1953 if (tmp7 == 0) {
1954#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1955 {
1956#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1957 modelica_metatype _D_24tmpVar25;
1958#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1959 modelica_metatype* tmp5;
1960#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1961 modelica_metatype _D_24tmpVar24;
1962#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1963 int tmp6;
1964#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1965 modelica_metatype _e_loopVar = 0;
1966#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1967 modelica_metatype _e;
1968#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1969 _e_loopVar = _branch;
1970#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1971 tmpMeta[4] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1972#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1973 _D_24tmpVar25 = tmpMeta[4]; /* defaultValue */
1974#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1975 tmp5 = &_D_24tmpVar25;
1976#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1977 while(1) {
1978#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1979 tmp6 = 1;
1980#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1981 if (!listEmpty(_e_loopVar)((*(mmc_uint_t*)((void*)((char*)(_e_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
1982#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1983 _e = MMC_CAR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (1)))))
;
1984#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1985 _e_loopVar = MMC_CDR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (2)))))
;
1986#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1987 tmp6--;
1988#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1989 }
1990#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1991 if (tmp6 == 0) {
1992#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1993 _D_24tmpVar24 = omc_SCodeUtil_stripCommentsFromEEquation(threadData, _e, _stripAnn, _stripCmt);
1994#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1995 *tmp5 = mmc_mk_cons(_D_24tmpVar24,0);
1996#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1997 tmp5 = &MMC_CDR(*tmp5)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp5) - 3))) +
(2)))))
;
1998#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
1999 } else if (tmp6 == 1) {
2000#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2001 break;
2002#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2003 } else {
2004#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2005 goto goto_1;
2006#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2007 }
2008#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2009 }
2010#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2011 *tmp5 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
2012#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2013 tmpMeta[3] = _D_24tmpVar25;
2014#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2015 }
2016#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2017 _D_24tmpVar26 = tmpMeta[3];
2018#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2019 *tmp4 = mmc_mk_cons(_D_24tmpVar26,0);
2020#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2021 tmp4 = &MMC_CDR(*tmp4)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp4) - 3))) +
(2)))))
;
2022#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2023 } else if (tmp7 == 1) {
2024#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2025 break;
2026#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2027 } else {
2028#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2029 goto goto_1;
2030#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2031 }
2032#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2033 }
2034#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2035 *tmp4 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
2036#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2037 tmpMeta[1] = _D_24tmpVar27;
2038#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2039 }
2040#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2041 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
2042#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2043 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_eq)((void*)((char*)(_eq) - 3)), 7*sizeof(modelica_metatype));
2044#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2045 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[3] = tmpMeta[1];
2046#line 5464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2047 _eq = tmpMeta[0];
2048#line 2048 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2049
2050#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2051 {
2052#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2053 modelica_metatype _D_24tmpVar29;
2054#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2055 modelica_metatype* tmp8;
2056#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2057 modelica_metatype _D_24tmpVar28;
2058#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2059 int tmp9;
2060#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2061 modelica_metatype _e_loopVar = 0;
2062#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2063 modelica_metatype _e;
2064#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2065 _e_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
4)))))
);
2066#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2067 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2068#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2069 _D_24tmpVar29 = tmpMeta[2]; /* defaultValue */
2070#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2071 tmp8 = &_D_24tmpVar29;
2072#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2073 while(1) {
2074#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2075 tmp9 = 1;
2076#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2077 if (!listEmpty(_e_loopVar)((*(mmc_uint_t*)((void*)((char*)(_e_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
2078#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2079 _e = MMC_CAR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (1)))))
;
2080#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2081 _e_loopVar = MMC_CDR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (2)))))
;
2082#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2083 tmp9--;
2084#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2085 }
2086#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2087 if (tmp9 == 0) {
2088#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2089 _D_24tmpVar28 = omc_SCodeUtil_stripCommentsFromEEquation(threadData, _e, _stripAnn, _stripCmt);
2090#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2091 *tmp8 = mmc_mk_cons(_D_24tmpVar28,0);
2092#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2093 tmp8 = &MMC_CDR(*tmp8)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp8) - 3))) +
(2)))))
;
2094#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2095 } else if (tmp9 == 1) {
2096#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2097 break;
2098#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2099 } else {
2100#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2101 goto goto_1;
2102#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2103 }
2104#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2105 }
2106#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2107 *tmp8 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
2108#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2109 tmpMeta[1] = _D_24tmpVar29;
2110#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2111 }
2112#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2113 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
2114#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2115 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_eq)((void*)((char*)(_eq) - 3)), 7*sizeof(modelica_metatype));
2116#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2117 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[4] = tmpMeta[1];
2118#line 5467 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2119 _eq = tmpMeta[0];
2120#line 2120 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2121
2122#line 5468 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2123 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
2124#line 5468 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2125 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_eq)((void*)((char*)(_eq) - 3)), 7*sizeof(modelica_metatype));
2126#line 5468 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2127 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[5] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
5)))))
), _stripAnn, _stripCmt);
2128#line 5468 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2129 _eq = tmpMeta[0];
2130#line 2130 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2131#line 2131 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2132 goto tmp2_done;
2133 }
2134 case 4: {
2135
2136 /* Pattern matching succeeded */
2137#line 5474 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2138 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(6))((void*)((char*)(mmc_alloc_words(6)) + 3));
2139#line 5474 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2140 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_eq)((void*)((char*)(_eq) - 3)), 6*sizeof(modelica_metatype));
2141#line 5474 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2142 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[4] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
4)))))
), _stripAnn, _stripCmt);
2143#line 5474 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2144 _eq = tmpMeta[0];
2145#line 2145 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2146#line 2146 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2147 goto tmp2_done;
2148 }
2149 case 5: {
2150
2151 /* Pattern matching succeeded */
2152#line 5480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2153 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
2154#line 5480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2155 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_eq)((void*)((char*)(_eq) - 3)), 7*sizeof(modelica_metatype));
2156#line 5480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2157 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[5] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
5)))))
), _stripAnn, _stripCmt);
2158#line 5480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2159 _eq = tmpMeta[0];
2160#line 2160 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2161#line 2161 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2162 goto tmp2_done;
2163 }
2164 case 6: {
2165
2166 /* Pattern matching succeeded */
2167#line 5486 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2168 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(6))((void*)((char*)(mmc_alloc_words(6)) + 3));
2169#line 5486 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2170 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_eq)((void*)((char*)(_eq) - 3)), 6*sizeof(modelica_metatype));
2171#line 5486 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2172 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[4] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
4)))))
), _stripAnn, _stripCmt);
2173#line 5486 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2174 _eq = tmpMeta[0];
2175#line 2175 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2176#line 2176 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2177 goto tmp2_done;
2178 }
2179 case 7: {
2180
2181 /* Pattern matching succeeded */
2182#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2183 {
2184#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2185 modelica_metatype _D_24tmpVar31;
2186#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2187 modelica_metatype* tmp10;
2188#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2189 modelica_metatype _D_24tmpVar30;
2190#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2191 int tmp11;
2192#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2193 modelica_metatype _e_loopVar = 0;
2194#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2195 modelica_metatype _e;
2196#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2197 _e_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
4)))))
);
2198#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2199 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2200#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2201 _D_24tmpVar31 = tmpMeta[2]; /* defaultValue */
2202#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2203 tmp10 = &_D_24tmpVar31;
2204#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2205 while(1) {
2206#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2207 tmp11 = 1;
2208#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2209 if (!listEmpty(_e_loopVar)((*(mmc_uint_t*)((void*)((char*)(_e_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
2210#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2211 _e = MMC_CAR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (1)))))
;
2212#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2213 _e_loopVar = MMC_CDR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (2)))))
;
2214#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2215 tmp11--;
2216#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2217 }
2218#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2219 if (tmp11 == 0) {
2220#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2221 _D_24tmpVar30 = omc_SCodeUtil_stripCommentsFromEEquation(threadData, _e, _stripAnn, _stripCmt);
2222#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2223 *tmp10 = mmc_mk_cons(_D_24tmpVar30,0);
2224#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2225 tmp10 = &MMC_CDR(*tmp10)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp10) - 3))) +
(2)))))
;
2226#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2227 } else if (tmp11 == 1) {
2228#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2229 break;
2230#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2231 } else {
2232#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2233 goto goto_1;
2234#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2235 }
2236#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2237 }
2238#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2239 *tmp10 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
2240#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2241 tmpMeta[1] = _D_24tmpVar31;
2242#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2243 }
2244#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2245 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
2246#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2247 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_eq)((void*)((char*)(_eq) - 3)), 7*sizeof(modelica_metatype));
2248#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2249 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[4] = tmpMeta[1];
2250#line 5492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2251 _eq = tmpMeta[0];
2252#line 2252 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2253
2254#line 5493 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2255 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
2256#line 5493 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2257 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_eq)((void*)((char*)(_eq) - 3)), 7*sizeof(modelica_metatype));
2258#line 5493 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2259 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[5] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
5)))))
), _stripAnn, _stripCmt);
2260#line 5493 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2261 _eq = tmpMeta[0];
2262#line 2262 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2263#line 2263 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2264 goto tmp2_done;
2265 }
2266 case 8: {
2267
2268 /* Pattern matching succeeded */
2269#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2270 {
2271#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2272 modelica_metatype _D_24tmpVar33;
2273#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2274 modelica_metatype* tmp12;
2275#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2276 modelica_metatype _D_24tmpVar32;
2277#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2278 int tmp13;
2279#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2280 modelica_metatype _e_loopVar = 0;
2281#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2282 modelica_metatype _e;
2283#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2284 _e_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
3)))))
);
2285#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2286 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2287#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2288 _D_24tmpVar33 = tmpMeta[2]; /* defaultValue */
2289#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2290 tmp12 = &_D_24tmpVar33;
2291#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2292 while(1) {
2293#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2294 tmp13 = 1;
2295#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2296 if (!listEmpty(_e_loopVar)((*(mmc_uint_t*)((void*)((char*)(_e_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
2297#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2298 _e = MMC_CAR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (1)))))
;
2299#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2300 _e_loopVar = MMC_CDR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (2)))))
;
2301#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2302 tmp13--;
2303#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2304 }
2305#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2306 if (tmp13 == 0) {
2307#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2308 _D_24tmpVar32 = omc_SCodeUtil_stripCommentsFromEEquation(threadData, _e, _stripAnn, _stripCmt);
2309#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2310 *tmp12 = mmc_mk_cons(_D_24tmpVar32,0);
2311#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2312 tmp12 = &MMC_CDR(*tmp12)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp12) - 3))) +
(2)))))
;
2313#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2314 } else if (tmp13 == 1) {
2315#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2316 break;
2317#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2318 } else {
2319#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2320 goto goto_1;
2321#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2322 }
2323#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2324 }
2325#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2326 *tmp12 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
2327#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2328 tmpMeta[1] = _D_24tmpVar33;
2329#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2330 }
2331#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2332 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
2333#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2334 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_eq)((void*)((char*)(_eq) - 3)), 7*sizeof(modelica_metatype));
2335#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2336 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[3] = tmpMeta[1];
2337#line 5499 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2338 _eq = tmpMeta[0];
2339#line 2339 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2340
2341#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2342 {
2343#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2344 modelica_metatype _D_24tmpVar35;
2345#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2346 modelica_metatype* tmp14;
2347#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2348 modelica_metatype _D_24tmpVar34;
2349#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2350 int tmp15;
2351#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2352 modelica_metatype _b_loopVar = 0;
2353#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2354 modelica_metatype _b;
2355#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2356 _b_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
4)))))
);
2357#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2358 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2359#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2360 _D_24tmpVar35 = tmpMeta[2]; /* defaultValue */
2361#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2362 tmp14 = &_D_24tmpVar35;
2363#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2364 while(1) {
2365#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2366 tmp15 = 1;
2367#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2368 if (!listEmpty(_b_loopVar)((*(mmc_uint_t*)((void*)((char*)(_b_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
2369#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2370 _b = MMC_CAR(_b_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_b_loopVar) - 3
))) + (1)))))
;
2371#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2372 _b_loopVar = MMC_CDR(_b_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_b_loopVar) - 3
))) + (2)))))
;
2373#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2374 tmp15--;
2375#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2376 }
2377#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2378 if (tmp15 == 0) {
2379#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2380 _D_24tmpVar34 = omc_SCodeUtil_stripCommentsFromWhenEqBranch(threadData, _b, _stripAnn, _stripCmt);
2381#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2382 *tmp14 = mmc_mk_cons(_D_24tmpVar34,0);
2383#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2384 tmp14 = &MMC_CDR(*tmp14)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp14) - 3))) +
(2)))))
;
2385#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2386 } else if (tmp15 == 1) {
2387#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2388 break;
2389#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2390 } else {
2391#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2392 goto goto_1;
2393#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2394 }
2395#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2396 }
2397#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2398 *tmp14 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
2399#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2400 tmpMeta[1] = _D_24tmpVar35;
2401#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2402 }
2403#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2404 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
2405#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2406 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_eq)((void*)((char*)(_eq) - 3)), 7*sizeof(modelica_metatype));
2407#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2408 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[4] = tmpMeta[1];
2409#line 5500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2410 _eq = tmpMeta[0];
2411#line 2411 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2412
2413#line 5501 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2414 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
2415#line 5501 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2416 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_eq)((void*)((char*)(_eq) - 3)), 7*sizeof(modelica_metatype));
2417#line 5501 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2418 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[5] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
5)))))
), _stripAnn, _stripCmt);
2419#line 5501 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2420 _eq = tmpMeta[0];
2421#line 2421 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2422#line 2422 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2423 goto tmp2_done;
2424 }
2425 case 9: {
2426
2427 /* Pattern matching succeeded */
2428#line 5507 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2429 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
2430#line 5507 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2431 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_eq)((void*)((char*)(_eq) - 3)), 7*sizeof(modelica_metatype));
2432#line 5507 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2433 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[5] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
5)))))
), _stripAnn, _stripCmt);
2434#line 5507 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2435 _eq = tmpMeta[0];
2436#line 2436 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2437#line 2437 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2438 goto tmp2_done;
2439 }
2440 case 10: {
2441
2442 /* Pattern matching succeeded */
2443#line 5513 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2444 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(5))((void*)((char*)(mmc_alloc_words(5)) + 3));
2445#line 5513 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2446 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_eq)((void*)((char*)(_eq) - 3)), 5*sizeof(modelica_metatype));
2447#line 5513 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2448 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[3] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
3)))))
), _stripAnn, _stripCmt);
2449#line 5513 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2450 _eq = tmpMeta[0];
2451#line 2451 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2452#line 2452 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2453 goto tmp2_done;
2454 }
2455 case 11: {
2456
2457 /* Pattern matching succeeded */
2458#line 5519 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2459 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(6))((void*)((char*)(mmc_alloc_words(6)) + 3));
2460#line 5519 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2461 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_eq)((void*)((char*)(_eq) - 3)), 6*sizeof(modelica_metatype));
2462#line 5519 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2463 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[4] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
4)))))
), _stripAnn, _stripCmt);
2464#line 5519 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2465 _eq = tmpMeta[0];
2466#line 2466 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2467#line 2467 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2468 goto tmp2_done;
2469 }
2470 case 12: {
2471
2472 /* Pattern matching succeeded */
2473#line 5525 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2474 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(5))((void*)((char*)(mmc_alloc_words(5)) + 3));
2475#line 5525 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2476 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_eq)((void*)((char*)(_eq) - 3)), 5*sizeof(modelica_metatype));
2477#line 5525 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2478 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[3] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
3)))))
), _stripAnn, _stripCmt);
2479#line 5525 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2480 _eq = tmpMeta[0];
2481#line 2481 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2482#line 2482 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2483 goto tmp2_done;
2484 }
2485 }
2486 goto tmp2_end;
2487 tmp2_end: ;
2488 }
2489 goto goto_1;
2490 goto_1:;
2491 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2492 goto tmp2_done;
2493 tmp2_done:;
2494 }
2495 }
2496 ;
2497 _return: OMC_LABEL_UNUSED__attribute__((unused))
2498 return _eq;
2499}
2500modelica_metatype boxptr_SCodeUtil_stripCommentsFromEEquation(threadData_t *threadData, modelica_metatype _D_24in_eq, modelica_metatype _stripAnn, modelica_metatype _stripCmt)
2501{
2502 modelica_integer tmp1;
2503 modelica_integer tmp2;
2504 modelica_metatype _eq = NULL((void*)0);
2505 tmp1 = mmc_unbox_integer(_stripAnn)(((mmc_sint_t) (_stripAnn)) >> 1);
2506 tmp2 = mmc_unbox_integer(_stripCmt)(((mmc_sint_t) (_stripCmt)) >> 1);
2507 _eq = omc_SCodeUtil_stripCommentsFromEEquation(threadData, _D_24in_eq, tmp1, tmp2);
2508 /* skip box _eq; SCode.EEquation */
2509 return _eq;
2510}
2511
2512DLLExport
2513modelica_metatype omc_SCodeUtil_stripCommentsFromEquation(threadData_t *threadData, modelica_metatype _D_24in_eq, modelica_boolean _stripAnn, modelica_boolean _stripCmt)
2514{
2515 modelica_metatype _eq = NULL((void*)0);
2516 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
2517 MMC_SO()mmc_check_stackoverflow(threadData);
2518 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2519 _eq = _D_24in_eq;
2520#line 5453 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2521 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(3))((void*)((char*)(mmc_alloc_words(3)) + 3));
2522#line 5453 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2523 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_eq)((void*)((char*)(_eq) - 3)), 3*sizeof(modelica_metatype));
2524#line 5453 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2525 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[2] = omc_SCodeUtil_stripCommentsFromEEquation(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_eq), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_eq) - 3))) + (
2)))))
), _stripAnn, _stripCmt);
2526#line 5453 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2527 _eq = tmpMeta[0];
2528#line 2528 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2529 _return: OMC_LABEL_UNUSED__attribute__((unused))
2530 return _eq;
2531}
2532modelica_metatype boxptr_SCodeUtil_stripCommentsFromEquation(threadData_t *threadData, modelica_metatype _D_24in_eq, modelica_metatype _stripAnn, modelica_metatype _stripCmt)
2533{
2534 modelica_integer tmp1;
2535 modelica_integer tmp2;
2536 modelica_metatype _eq = NULL((void*)0);
2537 tmp1 = mmc_unbox_integer(_stripAnn)(((mmc_sint_t) (_stripAnn)) >> 1);
2538 tmp2 = mmc_unbox_integer(_stripCmt)(((mmc_sint_t) (_stripCmt)) >> 1);
2539 _eq = omc_SCodeUtil_stripCommentsFromEquation(threadData, _D_24in_eq, tmp1, tmp2);
2540 /* skip box _eq; SCode.Equation */
2541 return _eq;
2542}
2543
2544DLLExport
2545modelica_metatype omc_SCodeUtil_stripCommentsFromExternalDecl(threadData_t *threadData, modelica_metatype _D_24in_extDecl, modelica_boolean _stripAnn, modelica_boolean _stripCmt)
2546{
2547 modelica_metatype _extDecl = NULL((void*)0);
2548 modelica_metatype _ext_decl = NULL((void*)0);
2549 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2550 MMC_SO()mmc_check_stackoverflow(threadData);
2551 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2552 _extDecl = _D_24in_extDecl;
2553 // _ext_decl has no default value.
2554#line 5441 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2555 if((isSome(_extDecl)(0==((((((*(mmc_uint_t*)((void*)((char*)(_extDecl) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(_extDecl) -
3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(_extDecl
) - 3)))) >> 10)) ? 0 : 1)
&& _stripAnn))
2556#line 5441 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2557 {
2558#line 5442 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2559 /* Pattern-matching assignment */
2560#line 5442 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2561 tmpMeta[0] = _extDecl;
2562#line 5442 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2563 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);};
2564#line 5442 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2565 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2566#line 5442 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2567 _ext_decl = tmpMeta[1];
2568#line 2568 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2569
2570#line 5443 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2571 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
2572#line 5443 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2573 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_ext_decl)((void*)((char*)(_ext_decl) - 3)), 7*sizeof(modelica_metatype));
2574#line 5443 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2575 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[6] = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
2576#line 5443 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2577 _ext_decl = tmpMeta[0];
2578#line 2578 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2579
2580#line 5444 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2581 _extDecl = mmc_mk_some(_ext_decl);
2582#line 2582 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2583 }
2584 _return: OMC_LABEL_UNUSED__attribute__((unused))
2585 return _extDecl;
2586}
2587modelica_metatype boxptr_SCodeUtil_stripCommentsFromExternalDecl(threadData_t *threadData, modelica_metatype _D_24in_extDecl, modelica_metatype _stripAnn, modelica_metatype _stripCmt)
2588{
2589 modelica_integer tmp1;
2590 modelica_integer tmp2;
2591 modelica_metatype _extDecl = NULL((void*)0);
2592 tmp1 = mmc_unbox_integer(_stripAnn)(((mmc_sint_t) (_stripAnn)) >> 1);
2593 tmp2 = mmc_unbox_integer(_stripCmt)(((mmc_sint_t) (_stripCmt)) >> 1);
2594 _extDecl = omc_SCodeUtil_stripCommentsFromExternalDecl(threadData, _D_24in_extDecl, tmp1, tmp2);
2595 /* skip box _extDecl; Option<SCode.ExternalDecl> */
2596 return _extDecl;
2597}
2598
2599DLLExport
2600modelica_metatype omc_SCodeUtil_stripCommentsFromComment(threadData_t *threadData, modelica_metatype _D_24in_cmt, modelica_boolean _stripAnn, modelica_boolean _stripCmt)
2601{
2602 modelica_metatype _cmt = NULL((void*)0);
2603 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
2604 MMC_SO()mmc_check_stackoverflow(threadData);
2605 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2606 _cmt = _D_24in_cmt;
2607#line 5425 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2608 if(_stripAnn)
2609#line 5425 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2610 {
2611#line 5426 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2612 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(4))((void*)((char*)(mmc_alloc_words(4)) + 3));
2613#line 5426 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2614 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_cmt)((void*)((char*)(_cmt) - 3)), 4*sizeof(modelica_metatype));
2615#line 5426 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2616 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[2] = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
2617#line 5426 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2618 _cmt = tmpMeta[0];
2619#line 2619 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2620 }
2621
2622#line 5429 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2623 if(_stripCmt)
2624#line 5429 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2625 {
2626#line 5430 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2627 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(4))((void*)((char*)(mmc_alloc_words(4)) + 3));
2628#line 5430 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2629 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_cmt)((void*)((char*)(_cmt) - 3)), 4*sizeof(modelica_metatype));
2630#line 5430 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2631 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[3] = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
2632#line 5430 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2633 _cmt = tmpMeta[0];
2634#line 2634 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2635 }
2636 _return: OMC_LABEL_UNUSED__attribute__((unused))
2637 return _cmt;
2638}
2639modelica_metatype boxptr_SCodeUtil_stripCommentsFromComment(threadData_t *threadData, modelica_metatype _D_24in_cmt, modelica_metatype _stripAnn, modelica_metatype _stripCmt)
2640{
2641 modelica_integer tmp1;
2642 modelica_integer tmp2;
2643 modelica_metatype _cmt = NULL((void*)0);
2644 tmp1 = mmc_unbox_integer(_stripAnn)(((mmc_sint_t) (_stripAnn)) >> 1);
2645 tmp2 = mmc_unbox_integer(_stripCmt)(((mmc_sint_t) (_stripCmt)) >> 1);
2646 _cmt = omc_SCodeUtil_stripCommentsFromComment(threadData, _D_24in_cmt, tmp1, tmp2);
2647 /* skip box _cmt; SCode.Comment */
2648 return _cmt;
2649}
2650
2651DLLExport
2652modelica_metatype omc_SCodeUtil_stripCommentsFromEnum(threadData_t *threadData, modelica_metatype _D_24in_enum, modelica_boolean _stripAnn, modelica_boolean _stripCmt)
2653{
2654 modelica_metatype _enum = NULL((void*)0);
2655 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
2656 MMC_SO()mmc_check_stackoverflow(threadData);
2657 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2658 _enum = _D_24in_enum;
2659#line 5417 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2660 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(4))((void*)((char*)(mmc_alloc_words(4)) + 3));
2661#line 5417 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2662 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_enum)((void*)((char*)(_enum) - 3)), 4*sizeof(modelica_metatype));
2663#line 5417 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2664 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[3] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_enum), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_enum) - 3))) +
(3)))))
), _stripAnn, _stripCmt);
2665#line 5417 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2666 _enum = tmpMeta[0];
2667#line 2667 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2668 _return: OMC_LABEL_UNUSED__attribute__((unused))
2669 return _enum;
2670}
2671modelica_metatype boxptr_SCodeUtil_stripCommentsFromEnum(threadData_t *threadData, modelica_metatype _D_24in_enum, modelica_metatype _stripAnn, modelica_metatype _stripCmt)
2672{
2673 modelica_integer tmp1;
2674 modelica_integer tmp2;
2675 modelica_metatype _enum = NULL((void*)0);
2676 tmp1 = mmc_unbox_integer(_stripAnn)(((mmc_sint_t) (_stripAnn)) >> 1);
2677 tmp2 = mmc_unbox_integer(_stripCmt)(((mmc_sint_t) (_stripCmt)) >> 1);
2678 _enum = omc_SCodeUtil_stripCommentsFromEnum(threadData, _D_24in_enum, tmp1, tmp2);
2679 /* skip box _enum; SCode.Enum */
2680 return _enum;
2681}
2682
2683DLLExport
2684modelica_metatype omc_SCodeUtil_stripCommentsFromClassDef(threadData_t *threadData, modelica_metatype _D_24in_cdef, modelica_boolean _stripAnn, modelica_boolean _stripCmt)
2685{
2686 modelica_metatype _cdef = NULL((void*)0);
2687 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2688 MMC_SO()mmc_check_stackoverflow(threadData);
2689 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2690 _cdef = _D_24in_cdef;
2691#line 2691 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2692 { /* match expression */
2693 modelica_metatype tmp3_1;
2694 tmp3_1 = _cdef;
2695 {
2696 modelica_metatype _el = NULL((void*)0);
2697 modelica_metatype _eql = NULL((void*)0);
2698 modelica_metatype _ieql = NULL((void*)0);
2699 modelica_metatype _alg = NULL((void*)0);
2700 modelica_metatype _ialg = NULL((void*)0);
2701 modelica_metatype _ext = NULL((void*)0);
2702 int tmp3;
2703 // _el has no default value.
2704 // _eql has no default value.
2705 // _ieql has no default value.
2706 // _alg has no default value.
2707 // _ialg has no default value.
2708 // _ext has no default value.
2709 {
2710 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> 2
) & 255))
) {
2711 case 3: {
2712
2713 /* Pattern matching succeeded */
2714#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2715 {
2716#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2717 modelica_metatype _D_24tmpVar37;
2718#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2719 modelica_metatype* tmp4;
2720#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2721 modelica_metatype _D_24tmpVar36;
2722#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2723 int tmp5;
2724#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2725 modelica_metatype _e_loopVar = 0;
2726#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2727 modelica_metatype _e;
2728#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2729 _e_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cdef), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_cdef) - 3))) +
(2)))))
);
2730#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2731 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2732#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2733 _D_24tmpVar37 = tmpMeta[2]; /* defaultValue */
2734#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2735 tmp4 = &_D_24tmpVar37;
2736#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2737 while(1) {
2738#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2739 tmp5 = 1;
2740#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2741 if (!listEmpty(_e_loopVar)((*(mmc_uint_t*)((void*)((char*)(_e_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
2742#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2743 _e = MMC_CAR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (1)))))
;
2744#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2745 _e_loopVar = MMC_CDR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (2)))))
;
2746#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2747 tmp5--;
2748#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2749 }
2750#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2751 if (tmp5 == 0) {
2752#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2753 _D_24tmpVar36 = omc_SCodeUtil_stripCommentsFromElement(threadData, _e, _stripAnn, _stripCmt);
2754#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2755 *tmp4 = mmc_mk_cons(_D_24tmpVar36,0);
2756#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2757 tmp4 = &MMC_CDR(*tmp4)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp4) - 3))) +
(2)))))
;
2758#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2759 } else if (tmp5 == 1) {
2760#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2761 break;
2762#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2763 } else {
2764#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2765 goto goto_1;
2766#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2767 }
2768#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2769 }
2770#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2771 *tmp4 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
2772#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2773 tmpMeta[1] = _D_24tmpVar37;
2774#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2775 }
2776#line 5380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2777 _el = tmpMeta[1];
2778#line 2778 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2779
2780#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2781 {
2782#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2783 modelica_metatype _D_24tmpVar39;
2784#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2785 modelica_metatype* tmp6;
2786#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2787 modelica_metatype _D_24tmpVar38;
2788#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2789 int tmp7;
2790#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2791 modelica_metatype _eq_loopVar = 0;
2792#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2793 modelica_metatype _eq;
2794#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2795 _eq_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cdef), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_cdef) - 3))) +
(3)))))
);
2796#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2797 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2798#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2799 _D_24tmpVar39 = tmpMeta[2]; /* defaultValue */
2800#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2801 tmp6 = &_D_24tmpVar39;
2802#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2803 while(1) {
2804#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2805 tmp7 = 1;
2806#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2807 if (!listEmpty(_eq_loopVar)((*(mmc_uint_t*)((void*)((char*)(_eq_loopVar) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) {
2808#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2809 _eq = MMC_CAR(_eq_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_eq_loopVar) - 3
))) + (1)))))
;
2810#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2811 _eq_loopVar = MMC_CDR(_eq_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_eq_loopVar) - 3
))) + (2)))))
;
2812#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2813 tmp7--;
2814#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2815 }
2816#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2817 if (tmp7 == 0) {
2818#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2819 _D_24tmpVar38 = omc_SCodeUtil_stripCommentsFromEquation(threadData, _eq, _stripAnn, _stripCmt);
2820#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2821 *tmp6 = mmc_mk_cons(_D_24tmpVar38,0);
2822#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2823 tmp6 = &MMC_CDR(*tmp6)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp6) - 3))) +
(2)))))
;
2824#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2825 } else if (tmp7 == 1) {
2826#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2827 break;
2828#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2829 } else {
2830#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2831 goto goto_1;
2832#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2833 }
2834#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2835 }
2836#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2837 *tmp6 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
2838#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2839 tmpMeta[1] = _D_24tmpVar39;
2840#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2841 }
2842#line 5381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2843 _eql = tmpMeta[1];
2844#line 2844 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2845
2846#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2847 {
2848#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2849 modelica_metatype _D_24tmpVar41;
2850#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2851 modelica_metatype* tmp8;
2852#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2853 modelica_metatype _D_24tmpVar40;
2854#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2855 int tmp9;
2856#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2857 modelica_metatype _ieq_loopVar = 0;
2858#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2859 modelica_metatype _ieq;
2860#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2861 _ieq_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cdef), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_cdef) - 3))) +
(4)))))
);
2862#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2863 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2864#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2865 _D_24tmpVar41 = tmpMeta[2]; /* defaultValue */
2866#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2867 tmp8 = &_D_24tmpVar41;
2868#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2869 while(1) {
2870#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2871 tmp9 = 1;
2872#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2873 if (!listEmpty(_ieq_loopVar)((*(mmc_uint_t*)((void*)((char*)(_ieq_loopVar) - 3))) == (((0
) << 10) + (((0) & 255) << 2)))
) {
2874#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2875 _ieq = MMC_CAR(_ieq_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_ieq_loopVar) -
3))) + (1)))))
;
2876#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2877 _ieq_loopVar = MMC_CDR(_ieq_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_ieq_loopVar) -
3))) + (2)))))
;
2878#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2879 tmp9--;
2880#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2881 }
2882#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2883 if (tmp9 == 0) {
2884#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2885 _D_24tmpVar40 = omc_SCodeUtil_stripCommentsFromEquation(threadData, _ieq, _stripAnn, _stripCmt);
2886#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2887 *tmp8 = mmc_mk_cons(_D_24tmpVar40,0);
2888#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2889 tmp8 = &MMC_CDR(*tmp8)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp8) - 3))) +
(2)))))
;
2890#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2891 } else if (tmp9 == 1) {
2892#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2893 break;
2894#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2895 } else {
2896#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2897 goto goto_1;
2898#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2899 }
2900#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2901 }
2902#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2903 *tmp8 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
2904#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2905 tmpMeta[1] = _D_24tmpVar41;
2906#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2907 }
2908#line 5382 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2909 _ieql = tmpMeta[1];
2910#line 2910 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2911
2912#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2913 {
2914#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2915 modelica_metatype _D_24tmpVar43;
2916#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2917 modelica_metatype* tmp10;
2918#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2919 modelica_metatype _D_24tmpVar42;
2920#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2921 int tmp11;
2922#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2923 modelica_metatype _a_loopVar = 0;
2924#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2925 modelica_metatype _a;
2926#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2927 _a_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cdef), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_cdef) - 3))) +
(5)))))
);
2928#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2929 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2930#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2931 _D_24tmpVar43 = tmpMeta[2]; /* defaultValue */
2932#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2933 tmp10 = &_D_24tmpVar43;
2934#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2935 while(1) {
2936#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2937 tmp11 = 1;
2938#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2939 if (!listEmpty(_a_loopVar)((*(mmc_uint_t*)((void*)((char*)(_a_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
2940#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2941 _a = MMC_CAR(_a_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_a_loopVar) - 3
))) + (1)))))
;
2942#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2943 _a_loopVar = MMC_CDR(_a_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_a_loopVar) - 3
))) + (2)))))
;
2944#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2945 tmp11--;
2946#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2947 }
2948#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2949 if (tmp11 == 0) {
2950#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2951 _D_24tmpVar42 = omc_SCodeUtil_stripCommentsFromAlgorithm(threadData, _a, _stripAnn, _stripCmt);
2952#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2953 *tmp10 = mmc_mk_cons(_D_24tmpVar42,0);
2954#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2955 tmp10 = &MMC_CDR(*tmp10)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp10) - 3))) +
(2)))))
;
2956#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2957 } else if (tmp11 == 1) {
2958#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2959 break;
2960#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2961 } else {
2962#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2963 goto goto_1;
2964#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2965 }
2966#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2967 }
2968#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2969 *tmp10 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
2970#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2971 tmpMeta[1] = _D_24tmpVar43;
2972#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2973 }
2974#line 5383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2975 _alg = tmpMeta[1];
2976#line 2976 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
2977
2978#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2979 {
2980#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2981 modelica_metatype _D_24tmpVar45;
2982#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2983 modelica_metatype* tmp12;
2984#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2985 modelica_metatype _D_24tmpVar44;
2986#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2987 int tmp13;
2988#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2989 modelica_metatype _ia_loopVar = 0;
2990#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2991 modelica_metatype _ia;
2992#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2993 _ia_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cdef), 6))(*(void**)(((void*)((void**)(((void*)((char*)(_cdef) - 3))) +
(6)))))
);
2994#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2995 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2996#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2997 _D_24tmpVar45 = tmpMeta[2]; /* defaultValue */
2998#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
2999 tmp12 = &_D_24tmpVar45;
3000#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3001 while(1) {
3002#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3003 tmp13 = 1;
3004#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3005 if (!listEmpty(_ia_loopVar)((*(mmc_uint_t*)((void*)((char*)(_ia_loopVar) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) {
3006#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3007 _ia = MMC_CAR(_ia_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_ia_loopVar) - 3
))) + (1)))))
;
3008#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3009 _ia_loopVar = MMC_CDR(_ia_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_ia_loopVar) - 3
))) + (2)))))
;
3010#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3011 tmp13--;
3012#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3013 }
3014#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3015 if (tmp13 == 0) {
3016#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3017 _D_24tmpVar44 = omc_SCodeUtil_stripCommentsFromAlgorithm(threadData, _ia, _stripAnn, _stripCmt);
3018#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3019 *tmp12 = mmc_mk_cons(_D_24tmpVar44,0);
3020#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3021 tmp12 = &MMC_CDR(*tmp12)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp12) - 3))) +
(2)))))
;
3022#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3023 } else if (tmp13 == 1) {
3024#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3025 break;
3026#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3027 } else {
3028#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3029 goto goto_1;
3030#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3031 }
3032#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3033 }
3034#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3035 *tmp12 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
3036#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3037 tmpMeta[1] = _D_24tmpVar45;
3038#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3039 }
3040#line 5384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3041 _ialg = tmpMeta[1];
3042#line 3042 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3043
3044#line 5385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3045 _ext = omc_SCodeUtil_stripCommentsFromExternalDecl(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cdef), 9))(*(void**)(((void*)((void**)(((void*)((char*)(_cdef) - 3))) +
(9)))))
), _stripAnn, _stripCmt);
3046#line 3046 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3047#line 5386 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3048 tmpMeta[1] = mmc_mk_box9(3, &SCode_ClassDef_PARTS__desc, _el, _eql, _ieql, _alg, _ialg, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cdef), 7))(*(void**)(((void*)((void**)(((void*)((char*)(_cdef) - 3))) +
(7)))))
), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cdef), 8))(*(void**)(((void*)((void**)(((void*)((char*)(_cdef) - 3))) +
(8)))))
), _ext);
3049#line 5386 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3050 tmpMeta[0] = tmpMeta[1];
3051#line 3051 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3052 goto tmp2_done;
3053 }
3054 case 4: {
3055
3056 /* Pattern matching succeeded */
3057#line 5391 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3058 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(4))((void*)((char*)(mmc_alloc_words(4)) + 3));
3059#line 5391 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3060 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_cdef)((void*)((char*)(_cdef) - 3)), 4*sizeof(modelica_metatype));
3061#line 5391 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3062 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[2] = omc_SCodeUtil_stripCommentsFromMod(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cdef), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_cdef) - 3))) +
(2)))))
), _stripAnn, _stripCmt);
3063#line 5391 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3064 _cdef = tmpMeta[1];
3065#line 3065 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3066
3067#line 5392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3068 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(4))((void*)((char*)(mmc_alloc_words(4)) + 3));
3069#line 5392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3070 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_cdef)((void*)((char*)(_cdef) - 3)), 4*sizeof(modelica_metatype));
3071#line 5392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3072 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[3] = omc_SCodeUtil_stripCommentsFromClassDef(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cdef), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_cdef) - 3))) +
(3)))))
), _stripAnn, _stripCmt);
3073#line 5392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3074 _cdef = tmpMeta[1];
3075#line 3075 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3076#line 5393 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3077 tmpMeta[0] = _cdef;
3078#line 3078 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3079 goto tmp2_done;
3080 }
3081 case 5: {
3082
3083 /* Pattern matching succeeded */
3084#line 5398 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3085 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(5))((void*)((char*)(mmc_alloc_words(5)) + 3));
3086#line 5398 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3087 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_cdef)((void*)((char*)(_cdef) - 3)), 5*sizeof(modelica_metatype));
3088#line 5398 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3089 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[3] = omc_SCodeUtil_stripCommentsFromMod(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cdef), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_cdef) - 3))) +
(3)))))
), _stripAnn, _stripCmt);
3090#line 5398 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3091 _cdef = tmpMeta[1];
3092#line 3092 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3093#line 5399 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3094 tmpMeta[0] = _cdef;
3095#line 3095 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3096 goto tmp2_done;
3097 }
3098 case 6: {
3099
3100 /* Pattern matching succeeded */
3101#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3102 {
3103#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3104 modelica_metatype _D_24tmpVar47;
3105#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3106 modelica_metatype* tmp14;
3107#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3108 modelica_metatype _D_24tmpVar46;
3109#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3110 int tmp15;
3111#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3112 modelica_metatype _e_loopVar = 0;
3113#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3114 modelica_metatype _e;
3115#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3116 _e_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cdef), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_cdef) - 3))) +
(2)))))
);
3117#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3118 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3119#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3120 _D_24tmpVar47 = tmpMeta[3]; /* defaultValue */
3121#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3122 tmp14 = &_D_24tmpVar47;
3123#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3124 while(1) {
3125#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3126 tmp15 = 1;
3127#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3128 if (!listEmpty(_e_loopVar)((*(mmc_uint_t*)((void*)((char*)(_e_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
3129#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3130 _e = MMC_CAR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (1)))))
;
3131#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3132 _e_loopVar = MMC_CDR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (2)))))
;
3133#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3134 tmp15--;
3135#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3136 }
3137#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3138 if (tmp15 == 0) {
3139#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3140 _D_24tmpVar46 = omc_SCodeUtil_stripCommentsFromEnum(threadData, _e, _stripAnn, _stripCmt);
3141#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3142 *tmp14 = mmc_mk_cons(_D_24tmpVar46,0);
3143#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3144 tmp14 = &MMC_CDR(*tmp14)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp14) - 3))) +
(2)))))
;
3145#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3146 } else if (tmp15 == 1) {
3147#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3148 break;
3149#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3150 } else {
3151#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3152 goto goto_1;
3153#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3154 }
3155#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3156 }
3157#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3158 *tmp14 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
3159#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3160 tmpMeta[2] = _D_24tmpVar47;
3161#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3162 }
3163#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3164 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(3))((void*)((char*)(mmc_alloc_words(3)) + 3));
3165#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3166 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_cdef)((void*)((char*)(_cdef) - 3)), 3*sizeof(modelica_metatype));
3167#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3168 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[2] = tmpMeta[2];
3169#line 5404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3170 _cdef = tmpMeta[1];
3171#line 3171 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3172#line 5405 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3173 tmpMeta[0] = _cdef;
3174#line 3174 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3175 goto tmp2_done;
3176 }
3177 default:
3178 tmp2_default: OMC_LABEL_UNUSED__attribute__((unused)); {
3179
3180 /* Pattern matching succeeded */
3181#line 5408 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3182 tmpMeta[0] = _cdef;
3183#line 3183 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3184 goto tmp2_done;
3185 }
3186 }
3187 goto tmp2_end;
3188 tmp2_end: ;
3189 }
3190 goto goto_1;
3191 goto_1:;
3192 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3193 goto tmp2_done;
3194 tmp2_done:;
3195 }
3196 }
3197 _cdef = tmpMeta[0];
3198 _return: OMC_LABEL_UNUSED__attribute__((unused))
3199 return _cdef;
3200}
3201modelica_metatype boxptr_SCodeUtil_stripCommentsFromClassDef(threadData_t *threadData, modelica_metatype _D_24in_cdef, modelica_metatype _stripAnn, modelica_metatype _stripCmt)
3202{
3203 modelica_integer tmp1;
3204 modelica_integer tmp2;
3205 modelica_metatype _cdef = NULL((void*)0);
3206 tmp1 = mmc_unbox_integer(_stripAnn)(((mmc_sint_t) (_stripAnn)) >> 1);
3207 tmp2 = mmc_unbox_integer(_stripCmt)(((mmc_sint_t) (_stripCmt)) >> 1);
3208 _cdef = omc_SCodeUtil_stripCommentsFromClassDef(threadData, _D_24in_cdef, tmp1, tmp2);
3209 /* skip box _cdef; SCode.ClassDef */
3210 return _cdef;
3211}
3212
3213DLLExport
3214modelica_metatype omc_SCodeUtil_stripCommentsFromSubMod(threadData_t *threadData, modelica_metatype _D_24in_submod, modelica_boolean _stripAnn, modelica_boolean _stripCmt)
3215{
3216 modelica_metatype _submod = NULL((void*)0);
3217 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3218 MMC_SO()mmc_check_stackoverflow(threadData);
3219 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3220 _submod = _D_24in_submod;
3221#line 5363 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3222 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(4))((void*)((char*)(mmc_alloc_words(4)) + 3));
3223#line 5363 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3224 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_submod)((void*)((char*)(_submod) - 3)), 4*sizeof(modelica_metatype));
3225#line 5363 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3226 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[3] = omc_SCodeUtil_stripCommentsFromMod(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_submod), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_submod) - 3)))
+ (3)))))
), _stripAnn, _stripCmt);
3227#line 5363 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3228 _submod = tmpMeta[0];
3229#line 3229 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3230 _return: OMC_LABEL_UNUSED__attribute__((unused))
3231 return _submod;
3232}
3233modelica_metatype boxptr_SCodeUtil_stripCommentsFromSubMod(threadData_t *threadData, modelica_metatype _D_24in_submod, modelica_metatype _stripAnn, modelica_metatype _stripCmt)
3234{
3235 modelica_integer tmp1;
3236 modelica_integer tmp2;
3237 modelica_metatype _submod = NULL((void*)0);
3238 tmp1 = mmc_unbox_integer(_stripAnn)(((mmc_sint_t) (_stripAnn)) >> 1);
3239 tmp2 = mmc_unbox_integer(_stripCmt)(((mmc_sint_t) (_stripCmt)) >> 1);
3240 _submod = omc_SCodeUtil_stripCommentsFromSubMod(threadData, _D_24in_submod, tmp1, tmp2);
3241 /* skip box _submod; SCode.SubMod */
3242 return _submod;
3243}
3244
3245DLLExport
3246modelica_metatype omc_SCodeUtil_stripCommentsFromMod(threadData_t *threadData, modelica_metatype _D_24in_mod, modelica_boolean _stripAnn, modelica_boolean _stripCmt)
3247{
3248 modelica_metatype _mod = NULL((void*)0);
3249 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
3250 MMC_SO()mmc_check_stackoverflow(threadData);
3251 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3252 _mod = _D_24in_mod;
3253#line 3253 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3254 { /* match expression */
3255 modelica_metatype tmp3_1;
3256 tmp3_1 = _mod;
3257 {
3258 int tmp3;
3259 {
3260 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> 2
) & 255))
) {
3261 case 3: {
3262
3263 /* Pattern matching succeeded */
3264#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3265 {
3266#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3267 modelica_metatype _D_24tmpVar49;
3268#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3269 modelica_metatype* tmp4;
3270#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3271 modelica_metatype _D_24tmpVar48;
3272#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3273 int tmp5;
3274#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3275 modelica_metatype _m_loopVar = 0;
3276#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3277 modelica_metatype _m;
3278#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3279 _m_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_mod), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_mod) - 3))) + (
4)))))
);
3280#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3281 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3282#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3283 _D_24tmpVar49 = tmpMeta[2]; /* defaultValue */
3284#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3285 tmp4 = &_D_24tmpVar49;
3286#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3287 while(1) {
3288#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3289 tmp5 = 1;
3290#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3291 if (!listEmpty(_m_loopVar)((*(mmc_uint_t*)((void*)((char*)(_m_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
3292#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3293 _m = MMC_CAR(_m_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_m_loopVar) - 3
))) + (1)))))
;
3294#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3295 _m_loopVar = MMC_CDR(_m_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_m_loopVar) - 3
))) + (2)))))
;
3296#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3297 tmp5--;
3298#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3299 }
3300#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3301 if (tmp5 == 0) {
3302#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3303 _D_24tmpVar48 = omc_SCodeUtil_stripCommentsFromSubMod(threadData, _m, _stripAnn, _stripCmt);
3304#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3305 *tmp4 = mmc_mk_cons(_D_24tmpVar48,0);
3306#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3307 tmp4 = &MMC_CDR(*tmp4)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp4) - 3))) +
(2)))))
;
3308#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3309 } else if (tmp5 == 1) {
3310#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3311 break;
3312#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3313 } else {
3314#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3315 goto goto_1;
3316#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3317 }
3318#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3319 }
3320#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3321 *tmp4 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
3322#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3323 tmpMeta[1] = _D_24tmpVar49;
3324#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3325 }
3326#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3327 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
3328#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3329 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_mod)((void*)((char*)(_mod) - 3)), 7*sizeof(modelica_metatype));
3330#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3331 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[4] = tmpMeta[1];
3332#line 5344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3333 _mod = tmpMeta[0];
3334#line 3334 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3335#line 3335 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3336 goto tmp2_done;
3337 }
3338 case 4: {
3339
3340 /* Pattern matching succeeded */
3341#line 5350 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3342 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(5))((void*)((char*)(mmc_alloc_words(5)) + 3));
3343#line 5350 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3344 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_mod)((void*)((char*)(_mod) - 3)), 5*sizeof(modelica_metatype));
3345#line 5350 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3346 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[4] = omc_SCodeUtil_stripCommentsFromElement(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_mod), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_mod) - 3))) + (
4)))))
), _stripAnn, _stripCmt);
3347#line 5350 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3348 _mod = tmpMeta[0];
3349#line 3349 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3350#line 3350 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3351 goto tmp2_done;
3352 }
3353 default:
3354 tmp2_default: OMC_LABEL_UNUSED__attribute__((unused)); {
3355
3356 /* Pattern matching succeeded */
3357#line 3357 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3358 goto tmp2_done;
3359 }
3360 }
3361 goto tmp2_end;
3362 tmp2_end: ;
3363 }
3364 goto goto_1;
3365 goto_1:;
3366 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3367 goto tmp2_done;
3368 tmp2_done:;
3369 }
3370 }
3371 ;
3372 _return: OMC_LABEL_UNUSED__attribute__((unused))
3373 return _mod;
3374}
3375modelica_metatype boxptr_SCodeUtil_stripCommentsFromMod(threadData_t *threadData, modelica_metatype _D_24in_mod, modelica_metatype _stripAnn, modelica_metatype _stripCmt)
3376{
3377 modelica_integer tmp1;
3378 modelica_integer tmp2;
3379 modelica_metatype _mod = NULL((void*)0);
3380 tmp1 = mmc_unbox_integer(_stripAnn)(((mmc_sint_t) (_stripAnn)) >> 1);
3381 tmp2 = mmc_unbox_integer(_stripCmt)(((mmc_sint_t) (_stripCmt)) >> 1);
3382 _mod = omc_SCodeUtil_stripCommentsFromMod(threadData, _D_24in_mod, tmp1, tmp2);
3383 /* skip box _mod; SCode.Mod */
3384 return _mod;
3385}
3386
3387DLLExport
3388modelica_metatype omc_SCodeUtil_stripCommentsFromElement(threadData_t *threadData, modelica_metatype _D_24in_element, modelica_boolean _stripAnn, modelica_boolean _stripCmt)
3389{
3390 modelica_metatype _element = NULL((void*)0);
3391 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3392 MMC_SO()mmc_check_stackoverflow(threadData);
3393 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3394 _element = _D_24in_element;
3395#line 3395 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3396 { /* match expression */
3397 modelica_metatype tmp3_1;
3398 tmp3_1 = _element;
3399 {
3400 int tmp3;
3401 {
3402 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> 2
) & 255))
) {
3403 case 4: {
3404
3405 /* Pattern matching succeeded */
3406#line 5310 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3407 if(_stripAnn)
3408#line 5310 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3409 {
3410#line 5311 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3411 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
3412#line 5311 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3413 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_element)((void*)((char*)(_element) - 3)), 7*sizeof(modelica_metatype));
3414#line 5311 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3415 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[5] = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
3416#line 5311 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3417 _element = tmpMeta[0];
3418#line 3418 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3419 }
3420
3421#line 5314 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3422 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(7))((void*)((char*)(mmc_alloc_words(7)) + 3));
3423#line 5314 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3424 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_element)((void*)((char*)(_element) - 3)), 7*sizeof(modelica_metatype));
3425#line 5314 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3426 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[4] = omc_SCodeUtil_stripCommentsFromMod(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_element), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_element) - 3))
) + (4)))))
), _stripAnn, _stripCmt);
3427#line 5314 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3428 _element = tmpMeta[0];
3429#line 3429 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3430#line 3430 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3431 goto tmp2_done;
3432 }
3433 case 5: {
3434
3435 /* Pattern matching succeeded */
3436#line 5320 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3437 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(10))((void*)((char*)(mmc_alloc_words(10)) + 3));
3438#line 5320 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3439 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_element)((void*)((char*)(_element) - 3)), 10*sizeof(modelica_metatype));
3440#line 5320 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3441 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[7] = omc_SCodeUtil_stripCommentsFromClassDef(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_element), 7))(*(void**)(((void*)((void**)(((void*)((char*)(_element) - 3))
) + (7)))))
), _stripAnn, _stripCmt);
3442#line 5320 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3443 _element = tmpMeta[0];
3444#line 3444 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3445
3446#line 5321 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3447 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(10))((void*)((char*)(mmc_alloc_words(10)) + 3));
3448#line 5321 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3449 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_element)((void*)((char*)(_element) - 3)), 10*sizeof(modelica_metatype));
3450#line 5321 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3451 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[8] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_element), 8))(*(void**)(((void*)((void**)(((void*)((char*)(_element) - 3))
) + (8)))))
), _stripAnn, _stripCmt);
3452#line 5321 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3453 _element = tmpMeta[0];
3454#line 3454 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3455#line 3455 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3456 goto tmp2_done;
3457 }
3458 case 6: {
3459
3460 /* Pattern matching succeeded */
3461#line 5327 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3462 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(10))((void*)((char*)(mmc_alloc_words(10)) + 3));
3463#line 5327 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3464 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_element)((void*)((char*)(_element) - 3)), 10*sizeof(modelica_metatype));
3465#line 5327 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3466 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[6] = omc_SCodeUtil_stripCommentsFromMod(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_element), 6))(*(void**)(((void*)((void**)(((void*)((char*)(_element) - 3))
) + (6)))))
), _stripAnn, _stripCmt);
3467#line 5327 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3468 _element = tmpMeta[0];
3469#line 3469 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3470
3471#line 5328 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3472 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(10))((void*)((char*)(mmc_alloc_words(10)) + 3));
3473#line 5328 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3474 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_element)((void*)((char*)(_element) - 3)), 10*sizeof(modelica_metatype));
3475#line 5328 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3476 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[7] = omc_SCodeUtil_stripCommentsFromComment(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_element), 7))(*(void**)(((void*)((void**)(((void*)((char*)(_element) - 3))
) + (7)))))
), _stripAnn, _stripCmt);
3477#line 5328 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3478 _element = tmpMeta[0];
3479#line 3479 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3480#line 3480 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3481 goto tmp2_done;
3482 }
3483 default:
3484 tmp2_default: OMC_LABEL_UNUSED__attribute__((unused)); {
3485
3486 /* Pattern matching succeeded */
3487#line 3487 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3488 goto tmp2_done;
3489 }
3490 }
3491 goto tmp2_end;
3492 tmp2_end: ;
3493 }
3494 goto goto_1;
3495 goto_1:;
3496 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3497 goto tmp2_done;
3498 tmp2_done:;
3499 }
3500 }
3501 ;
3502 _return: OMC_LABEL_UNUSED__attribute__((unused))
3503 return _element;
3504}
3505modelica_metatype boxptr_SCodeUtil_stripCommentsFromElement(threadData_t *threadData, modelica_metatype _D_24in_element, modelica_metatype _stripAnn, modelica_metatype _stripCmt)
3506{
3507 modelica_integer tmp1;
3508 modelica_integer tmp2;
3509 modelica_metatype _element = NULL((void*)0);
3510 tmp1 = mmc_unbox_integer(_stripAnn)(((mmc_sint_t) (_stripAnn)) >> 1);
3511 tmp2 = mmc_unbox_integer(_stripCmt)(((mmc_sint_t) (_stripCmt)) >> 1);
3512 _element = omc_SCodeUtil_stripCommentsFromElement(threadData, _D_24in_element, tmp1, tmp2);
3513 /* skip box _element; SCode.Element */
3514 return _element;
3515}
3516
3517DLLExport
3518modelica_metatype omc_SCodeUtil_stripCommentsFromProgram(threadData_t *threadData, modelica_metatype _D_24in_program, modelica_boolean _stripAnnotations, modelica_boolean _stripComments)
3519{
3520 modelica_metatype _program = NULL((void*)0);
3521 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3522 MMC_SO()mmc_check_stackoverflow(threadData);
3523 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3524 _program = _D_24in_program;
3525#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3526 {
3527#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3528 modelica_metatype _D_24tmpVar51;
3529#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3530 modelica_metatype* tmp1;
3531#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3532 modelica_metatype _D_24tmpVar50;
3533#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3534 int tmp2;
3535#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3536 modelica_metatype _e_loopVar = 0;
3537#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3538 modelica_metatype _e;
3539#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3540 _e_loopVar = _program;
3541#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3542 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3543#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3544 _D_24tmpVar51 = tmpMeta[1]; /* defaultValue */
3545#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3546 tmp1 = &_D_24tmpVar51;
3547#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3548 while(1) {
3549#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3550 tmp2 = 1;
3551#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3552 if (!listEmpty(_e_loopVar)((*(mmc_uint_t*)((void*)((char*)(_e_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
3553#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3554 _e = MMC_CAR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (1)))))
;
3555#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3556 _e_loopVar = MMC_CDR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (2)))))
;
3557#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3558 tmp2--;
3559#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3560 }
3561#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3562 if (tmp2 == 0) {
3563#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3564 _D_24tmpVar50 = omc_SCodeUtil_stripCommentsFromElement(threadData, _e, _stripAnnotations, _stripComments);
3565#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3566 *tmp1 = mmc_mk_cons(_D_24tmpVar50,0);
3567#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3568 tmp1 = &MMC_CDR(*tmp1)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp1) - 3))) +
(2)))))
;
3569#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3570 } else if (tmp2 == 1) {
3571#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3572 break;
3573#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3574 } else {
3575#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3576 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3577#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3578 }
3579#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3580 }
3581#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3582 *tmp1 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
3583#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3584 tmpMeta[0] = _D_24tmpVar51;
3585#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3586 }
3587#line 5299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3588 _program = tmpMeta[0];
3589#line 3589 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3590 _return: OMC_LABEL_UNUSED__attribute__((unused))
3591 return _program;
3592}
3593modelica_metatype boxptr_SCodeUtil_stripCommentsFromProgram(threadData_t *threadData, modelica_metatype _D_24in_program, modelica_metatype _stripAnnotations, modelica_metatype _stripComments)
3594{
3595 modelica_integer tmp1;
3596 modelica_integer tmp2;
3597 modelica_metatype _program = NULL((void*)0);
3598 tmp1 = mmc_unbox_integer(_stripAnnotations)(((mmc_sint_t) (_stripAnnotations)) >> 1);
3599 tmp2 = mmc_unbox_integer(_stripComments)(((mmc_sint_t) (_stripComments)) >> 1);
3600 _program = omc_SCodeUtil_stripCommentsFromProgram(threadData, _D_24in_program, tmp1, tmp2);
3601 /* skip box _program; list<SCode.Element> */
3602 return _program;
3603}
3604
3605DLLExport
3606modelica_boolean omc_SCodeUtil_isEmptyClassDef(threadData_t *threadData, modelica_metatype _cdef)
3607{
3608 modelica_boolean _isEmpty;
3609 modelica_boolean tmp1 = 0;
3610 MMC_SO()mmc_check_stackoverflow(threadData);
3611 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3612 // _isEmpty has no default value.
3613#line 3613 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3614 { /* match expression */
3615 modelica_metatype tmp4_1;
3616 tmp4_1 = _cdef;
3617 {
3618 int tmp4;
3619 {
3620 switch (MMC_SWITCH_CAST(valueConstructor(tmp4_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> 2
) & 255))
) {
3621 case 3: {
3622
3623 /* Pattern matching succeeded */
3624#line 5280 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3625 tmp1 = (((((listEmpty((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cdef), 2))))((*(mmc_uint_t*)((void*)((char*)(((*(void**)(((void*)((void**
)(((void*)((char*)(_cdef) - 3))) + (2))))))) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
&& listEmpty((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cdef), 3))))((*(mmc_uint_t*)((void*)((char*)(((*(void**)(((void*)((void**
)(((void*)((char*)(_cdef) - 3))) + (3))))))) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) && listEmpty((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cdef), 4))))((*(mmc_uint_t*)((void*)((char*)(((*(void**)(((void*)((void**
)(((void*)((char*)(_cdef) - 3))) + (4))))))) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) && listEmpty((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cdef), 5))))((*(mmc_uint_t*)((void*)((char*)(((*(void**)(((void*)((void**
)(((void*)((char*)(_cdef) - 3))) + (5))))))) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) && listEmpty((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cdef), 6))))((*(mmc_uint_t*)((void*)((char*)(((*(void**)(((void*)((void**
)(((void*)((char*)(_cdef) - 3))) + (6))))))) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) && isNone((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cdef), 9))))(0==((((((*(mmc_uint_t*)((void*)((char*)(((*(void**)(((void*)
((void**)(((void*)((char*)(_cdef) - 3))) + (9))))))) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(((*(void**)
(((void*)((void**)(((void*)((char*)(_cdef) - 3))) + (9)))))))
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(((*(void**)(((void*)((void**)(((void*)((char*)(_cdef) - 3)))
+ (9))))))) - 3)))) >> 10)) ? 1 : 0)
);
3626#line 3626 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3627 goto tmp3_done;
3628 }
3629 case 4: {
3630
3631 /* Pattern matching succeeded */
3632#line 5287 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3633 /* Tail recursive call */
3634#line 5287 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3635 _cdef = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cdef), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_cdef) - 3))) +
(3)))))
);
3636#line 5287 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3637 goto _tailrecursive;
3638#line 5287 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3639 /* TODO: Make sure any eventual dead code below is never generated */
3640#line 3640 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3641 goto tmp3_done;
3642 }
3643 case 6: {
3644
3645 /* Pattern matching succeeded */
3646#line 5288 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3647 tmp1 = listEmpty((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cdef), 2))))((*(mmc_uint_t*)((void*)((char*)(((*(void**)(((void*)((void**
)(((void*)((char*)(_cdef) - 3))) + (2))))))) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
;
3648#line 3648 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3649 goto tmp3_done;
3650 }
3651 default:
3652 tmp3_default: OMC_LABEL_UNUSED__attribute__((unused)); {
3653
3654 /* Pattern matching succeeded */
3655#line 5289 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3656 tmp1 = 1;
3657#line 3657 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3658 goto tmp3_done;
3659 }
3660 }
3661 goto tmp3_end;
3662 tmp3_end: ;
3663 }
3664 goto goto_2;
3665 goto_2:;
3666 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3667 goto tmp3_done;
3668 tmp3_done:;
3669 }
3670 }
3671 _isEmpty = tmp1;
3672 _return: OMC_LABEL_UNUSED__attribute__((unused))
3673 return _isEmpty;
3674}
3675modelica_metatype boxptr_SCodeUtil_isEmptyClassDef(threadData_t *threadData, modelica_metatype _cdef)
3676{
3677 modelica_boolean _isEmpty;
3678 modelica_metatype out_isEmpty;
3679 _isEmpty = omc_SCodeUtil_isEmptyClassDef(threadData, _cdef);
3680 out_isEmpty = mmc_mk_icon(_isEmpty);
3681 return out_isEmpty;
3682}
3683
3684DLLExport
3685modelica_metatype omc_SCodeUtil_getConstrainingMod(threadData_t *threadData, modelica_metatype _element)
3686{
3687 modelica_metatype _mod = NULL((void*)0);
3688 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
3689 MMC_SO()mmc_check_stackoverflow(threadData);
3690 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3691 // _mod has no default value.
3692#line 3692 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3693 { /* match expression */
3694 modelica_metatype tmp3_1;
3695 tmp3_1 = _element;
3696 {
3697 volatile mmc_switch_type tmp3;
3698 int tmp4;
3699 tmp3 = 0;
3700 for (; tmp3 < 5; tmp3++) {
3701 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3702 case 0: {
3703 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;
3704 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
3705 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (6)))))
;
3706 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3707 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
3708 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;
3709 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (1)))))
;
3710 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (3)))))
;
3711
3712 _mod = tmpMeta[5];
3713 /* Pattern matching succeeded */
3714#line 5265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3715 tmpMeta[0] = _mod;
3716#line 3716 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3717 goto tmp2_done;
3718 }
3719 case 1: {
3720 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;
3721 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
3722 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],2,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((3 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
3723 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
3724
3725 _mod = tmpMeta[2];
3726 /* Pattern matching succeeded */
3727#line 5266 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3728 tmpMeta[0] = _mod;
3729#line 3729 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3730 goto tmp2_done;
3731 }
3732 case 2: {
3733 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,3,8)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((8 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
3734 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
3735 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (6)))))
;
3736 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3737 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
3738 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;
3739 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (1)))))
;
3740 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (3)))))
;
3741
3742 _mod = tmpMeta[5];
3743 /* Pattern matching succeeded */
3744#line 5268 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3745 tmpMeta[0] = _mod;
3746#line 3746 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3747 goto tmp2_done;
3748 }
3749 case 3: {
3750 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,3,8)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((8 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
3751 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
3752
3753 _mod = tmpMeta[1];
3754 /* Pattern matching succeeded */
3755#line 5269 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3756 tmpMeta[0] = _mod;
3757#line 3757 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3758 goto tmp2_done;
3759 }
3760 case 4: {
3761
3762 /* Pattern matching succeeded */
3763#line 5270 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3764 tmpMeta[0] = _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3));
3765#line 3765 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3766 goto tmp2_done;
3767 }
3768 }
3769 goto tmp2_end;
3770 tmp2_end: ;
3771 }
3772 goto goto_1;
3773 goto_1:;
3774 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3775 goto tmp2_done;
3776 tmp2_done:;
3777 }
3778 }
3779 _mod = tmpMeta[0];
3780 _return: OMC_LABEL_UNUSED__attribute__((unused))
3781 return _mod;
3782}
3783
3784DLLExport
3785modelica_boolean omc_SCodeUtil_isEmptyMod(threadData_t *threadData, modelica_metatype _mod)
3786{
3787 modelica_boolean _isEmpty;
3788 modelica_boolean tmp1 = 0;
3789 MMC_SO()mmc_check_stackoverflow(threadData);
3790 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3791 // _isEmpty has no default value.
3792#line 3792 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3793 { /* match expression */
3794 modelica_metatype tmp4_1;
3795 tmp4_1 = _mod;
3796 {
3797 volatile mmc_switch_type tmp4;
3798 int tmp5;
3799 tmp4 = 0;
3800 for (; tmp4 < 2; tmp4++) {
3801 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3802 case 0: {
3803 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,2,0)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((0 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
3804 /* Pattern matching succeeded */
3805#line 5254 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3806 tmp1 = 1;
3807#line 3807 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3808 goto tmp3_done;
3809 }
3810 case 1: {
3811
3812 /* Pattern matching succeeded */
3813#line 5255 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3814 tmp1 = 0;
3815#line 3815 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3816 goto tmp3_done;
3817 }
3818 }
3819 goto tmp3_end;
3820 tmp3_end: ;
3821 }
3822 goto goto_2;
3823 goto_2:;
3824 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3825 goto tmp3_done;
3826 tmp3_done:;
3827 }
3828 }
3829 _isEmpty = tmp1;
3830 _return: OMC_LABEL_UNUSED__attribute__((unused))
3831 return _isEmpty;
3832}
3833modelica_metatype boxptr_SCodeUtil_isEmptyMod(threadData_t *threadData, modelica_metatype _mod)
3834{
3835 modelica_boolean _isEmpty;
3836 modelica_metatype out_isEmpty;
3837 _isEmpty = omc_SCodeUtil_isEmptyMod(threadData, _mod);
3838 out_isEmpty = mmc_mk_icon(_isEmpty);
3839 return out_isEmpty;
3840}
3841
3842DLLExport
3843modelica_boolean omc_SCodeUtil_isArrayComponent(threadData_t *threadData, modelica_metatype _inElement)
3844{
3845 modelica_boolean _outIsArray;
3846 modelica_boolean tmp1 = 0;
3847 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
3848 MMC_SO()mmc_check_stackoverflow(threadData);
3849 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3850 // _outIsArray has no default value.
3851#line 3851 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3852 { /* match expression */
3853 modelica_metatype tmp4_1;
3854 tmp4_1 = _inElement;
3855 {
3856 volatile mmc_switch_type tmp4;
3857 int tmp5;
3858 tmp4 = 0;
3859 for (; tmp4 < 2; tmp4++) {
3860 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3861 case 0: {
3862 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,3,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((8 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
3863 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
3864 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3865 if (listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
3866 tmpMeta[2] = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
3867 tmpMeta[3] = MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3868
3869 /* Pattern matching succeeded */
3870#line 5244 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3871 tmp1 = 1;
3872#line 3872 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3873 goto tmp3_done;
3874 }
3875 case 1: {
3876
3877 /* Pattern matching succeeded */
3878#line 5245 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3879 tmp1 = 0;
3880#line 3880 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3881 goto tmp3_done;
3882 }
3883 }
3884 goto tmp3_end;
3885 tmp3_end: ;
3886 }
3887 goto goto_2;
3888 goto_2:;
3889 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3890 goto tmp3_done;
3891 tmp3_done:;
3892 }
3893 }
3894 _outIsArray = tmp1;
3895 _return: OMC_LABEL_UNUSED__attribute__((unused))
3896 return _outIsArray;
3897}
3898modelica_metatype boxptr_SCodeUtil_isArrayComponent(threadData_t *threadData, modelica_metatype _inElement)
3899{
3900 modelica_boolean _outIsArray;
3901 modelica_metatype out_outIsArray;
3902 _outIsArray = omc_SCodeUtil_isArrayComponent(threadData, _inElement);
3903 out_outIsArray = mmc_mk_icon(_outIsArray);
3904 return out_outIsArray;
3905}
3906
3907DLLExport
3908modelica_metatype omc_SCodeUtil_setComponentName(threadData_t *threadData, modelica_metatype _inE, modelica_string _inName)
3909{
3910 modelica_metatype _outE = NULL((void*)0);
3911 modelica_string _n = NULL((void*)0);
3912 modelica_metatype _pr = NULL((void*)0);
3913 modelica_metatype _atr = NULL((void*)0);
3914 modelica_metatype _ts = NULL((void*)0);
3915 modelica_metatype _cmt = NULL((void*)0);
3916 modelica_metatype _cnd = NULL((void*)0);
3917 modelica_metatype _bc = NULL((void*)0);
3918 modelica_metatype _v = NULL((void*)0);
3919 modelica_metatype _m = NULL((void*)0);
3920 modelica_metatype _a = NULL((void*)0);
3921 modelica_metatype _i = NULL((void*)0);
3922 modelica_metatype tmpMeta[9] __attribute__((unused)) = {0};
3923 MMC_SO()mmc_check_stackoverflow(threadData);
3924 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3925 // _outE has no default value.
3926 // _n has no default value.
3927 // _pr has no default value.
3928 // _atr has no default value.
3929 // _ts has no default value.
3930 // _cmt has no default value.
3931 // _cnd has no default value.
3932 // _bc has no default value.
3933 // _v has no default value.
3934 // _m has no default value.
3935 // _a has no default value.
3936 // _i has no default value.
3937#line 5235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3938 /* Pattern-matching assignment */
3939#line 5235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3940 tmpMeta[0] = _inE;
3941#line 5235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3942 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],3,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((8 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3943#line 5235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3944 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3945#line 5235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3946 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
3947#line 5235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3948 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
3949#line 5235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3950 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
3951#line 5235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3952 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (6)))))
;
3953#line 5235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3954 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (7)))))
;
3955#line 5235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3956 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (8)))))
;
3957#line 5235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3958 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (9)))))
;
3959#line 5235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3960 _n = tmpMeta[1];
3961#line 5235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3962 _pr = tmpMeta[2];
3963#line 5235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3964 _atr = tmpMeta[3];
3965#line 5235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3966 _ts = tmpMeta[4];
3967#line 5235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3968 _m = tmpMeta[5];
3969#line 5235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3970 _cmt = tmpMeta[6];
3971#line 5235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3972 _cnd = tmpMeta[7];
3973#line 5235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3974 _i = tmpMeta[8];
3975#line 3975 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3976
3977#line 5236 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3978 tmpMeta[0] = mmc_mk_box9(6, &SCode_Element_COMPONENT__desc, _inName, _pr, _atr, _ts, _m, _cmt, _cnd, _i);
3979#line 5236 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3980 _outE = tmpMeta[0];
3981#line 3981 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
3982 _return: OMC_LABEL_UNUSED__attribute__((unused))
3983 return _outE;
3984}
3985
3986DLLExport
3987modelica_metatype omc_SCodeUtil_checkSameRestriction(threadData_t *threadData, modelica_metatype _inResNew, modelica_metatype _inResOrig, modelica_metatype _inInfoNew, modelica_metatype _inInfoOrig, modelica_metatype *out_outInfo)
3988{
3989 modelica_metatype _outRes = NULL((void*)0);
3990 modelica_metatype _outInfo = NULL((void*)0);
3991 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3992 MMC_SO()mmc_check_stackoverflow(threadData);
3993 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3994 // _outRes has no default value.
3995 // _outInfo has no default value.
3996#line 5207 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3997
3998#line 5207 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
3999
4000#line 4000 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4001 { /* match expression */
4002 {
4003 volatile mmc_switch_type tmp4;
4004 int tmp5;
4005 tmp4 = 0;
4006 for (; tmp4 < 1; tmp4++) {
4007 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4008 case 0: {
4009 /* Pattern matching succeeded */
4010#line 5211 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4011 tmpMeta[0+0] = _inResNew;
4012#line 5211 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4013 tmpMeta[0+1] = _inInfoNew;
4014#line 4014 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4015 goto tmp3_done;
4016 }
4017 }
4018 goto tmp3_end;
4019 tmp3_end: ;
4020 }
4021 goto goto_2;
4022 goto_2:;
4023 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4024 goto tmp3_done;
4025 tmp3_done:;
4026 }
4027 }
4028 _outRes = tmpMeta[0+0];
4029 _outInfo = tmpMeta[0+1];
4030 _return: OMC_LABEL_UNUSED__attribute__((unused))
4031 if (out_outInfo) { *out_outInfo = _outInfo; }
4032 return _outRes;
4033}
4034
4035DLLExport
4036modelica_boolean omc_SCodeUtil_isInitial(threadData_t *threadData, modelica_metatype _inInitial)
4037{
4038 modelica_boolean _isIn;
4039 modelica_boolean tmp1 = 0;
4040 MMC_SO()mmc_check_stackoverflow(threadData);
4041 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4042 // _isIn has no default value.
4043#line 4043 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4044 { /* match expression */
4045 modelica_metatype tmp4_1;
4046 tmp4_1 = _inInitial;
4047 {
4048 volatile mmc_switch_type tmp4;
4049 int tmp5;
4050 tmp4 = 0;
4051 for (; tmp4 < 2; tmp4++) {
4052 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4053 case 0: {
4054 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,0)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((0 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
4055 /* Pattern matching succeeded */
4056#line 5193 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4057 tmp1 = 1;
4058#line 4058 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4059 goto tmp3_done;
4060 }
4061 case 1: {
4062
4063 /* Pattern matching succeeded */
4064#line 5194 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4065 tmp1 = 0;
4066#line 4066 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4067 goto tmp3_done;
4068 }
4069 }
4070 goto tmp3_end;
4071 tmp3_end: ;
4072 }
4073 goto goto_2;
4074 goto_2:;
4075 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4076 goto tmp3_done;
4077 tmp3_done:;
4078 }
4079 }
4080 _isIn = tmp1;
4081 _return: OMC_LABEL_UNUSED__attribute__((unused))
4082 return _isIn;
4083}
4084modelica_metatype boxptr_SCodeUtil_isInitial(threadData_t *threadData, modelica_metatype _inInitial)
4085{
4086 modelica_boolean _isIn;
4087 modelica_metatype out_isIn;
4088 _isIn = omc_SCodeUtil_isInitial(threadData, _inInitial);
4089 out_isIn = mmc_mk_icon(_isIn);
4090 return out_isIn;
4091}
4092
4093DLLExport
4094modelica_boolean omc_SCodeUtil_isInstantiableClassRestriction(threadData_t *threadData, modelica_metatype _inRestriction)
4095{
4096 modelica_boolean _outIsInstantiable;
4097 modelica_boolean tmp1 = 0;
4098 MMC_SO()mmc_check_stackoverflow(threadData);
4099 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4100 // _outIsInstantiable has no default value.
4101#line 4101 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4102 { /* match expression */
4103 modelica_metatype tmp4_1;
4104 tmp4_1 = _inRestriction;
4105 {
4106 int tmp4;
4107 {
4108 switch (MMC_SWITCH_CAST(valueConstructor(tmp4_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> 2
) & 255))
) {
4109 case 3: {
4110
4111 /* Pattern matching succeeded */
4112#line 5177 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4113 tmp1 = 1;
4114#line 4114 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4115 goto tmp3_done;
4116 }
4117 case 5: {
4118
4119 /* Pattern matching succeeded */
4120#line 5178 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4121 tmp1 = 1;
4122#line 4122 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4123 goto tmp3_done;
4124 }
4125 case 6: {
4126
4127 /* Pattern matching succeeded */
4128#line 5179 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4129 tmp1 = 1;
4130#line 4130 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4131 goto tmp3_done;
4132 }
4133 case 7: {
4134
4135 /* Pattern matching succeeded */
4136#line 5180 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4137 tmp1 = 1;
4138#line 4138 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4139 goto tmp3_done;
4140 }
4141 case 8: {
4142
4143 /* Pattern matching succeeded */
4144#line 5181 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4145 tmp1 = 1;
4146#line 4146 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4147 goto tmp3_done;
4148 }
4149 case 10: {
4150
4151 /* Pattern matching succeeded */
4152#line 5182 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4153 tmp1 = 1;
4154#line 4154 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4155 goto tmp3_done;
4156 }
4157 case 13: {
4158
4159 /* Pattern matching succeeded */
4160#line 5183 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4161 tmp1 = 1;
4162#line 4162 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4163 goto tmp3_done;
4164 }
4165 default:
4166 tmp3_default: OMC_LABEL_UNUSED__attribute__((unused)); {
4167
4168 /* Pattern matching succeeded */
4169#line 5184 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4170 tmp1 = 0;
4171#line 4171 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4172 goto tmp3_done;
4173 }
4174 }
4175 goto tmp3_end;
4176 tmp3_end: ;
4177 }
4178 goto goto_2;
4179 goto_2:;
4180 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4181 goto tmp3_done;
4182 tmp3_done:;
4183 }
4184 }
4185 _outIsInstantiable = tmp1;
4186 _return: OMC_LABEL_UNUSED__attribute__((unused))
4187 return _outIsInstantiable;
4188}
4189modelica_metatype boxptr_SCodeUtil_isInstantiableClassRestriction(threadData_t *threadData, modelica_metatype _inRestriction)
4190{
4191 modelica_boolean _outIsInstantiable;
4192 modelica_metatype out_outIsInstantiable;
4193 _outIsInstantiable = omc_SCodeUtil_isInstantiableClassRestriction(threadData, _inRestriction);
4194 out_outIsInstantiable = mmc_mk_icon(_outIsInstantiable);
4195 return out_outIsInstantiable;
4196}
4197
4198DLLExport
4199modelica_metatype omc_SCodeUtil_getExternalObjectConstructor(threadData_t *threadData, modelica_metatype _inEls)
4200{
4201 modelica_metatype _cl = NULL((void*)0);
4202 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
4203 MMC_SO()mmc_check_stackoverflow(threadData);
4204 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4205 // _cl has no default value.
4206#line 4206 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4207 { /* match expression */
4208 modelica_metatype tmp3_1;
4209 tmp3_1 = _inEls;
4210 {
4211 modelica_metatype _els = NULL((void*)0);
4212 volatile mmc_switch_type tmp3;
4213 int tmp4;
4214 // _els has no default value.
4215 tmp3 = 0;
4216 for (; tmp3 < 2; tmp3++) {
4217 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4218 case 0: {
4219 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
4220 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
4221 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
4222 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
4223 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
4224 if (11 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT16)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT16).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp2_end;
4225
4226 _cl = tmpMeta[1];
4227 /* Pattern matching succeeded */
4228#line 5167 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4229 tmpMeta[0] = _cl;
4230#line 4230 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4231 goto tmp2_done;
4232 }
4233 case 1: {
4234 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
4235 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
4236 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
4237 _els = tmpMeta[2];
4238 /* Pattern matching succeeded */
4239#line 5168 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4240 /* Tail recursive call */
4241#line 5168 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4242 _inEls = _els;
4243#line 5168 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4244 goto _tailrecursive;
4245#line 5168 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4246 /* TODO: Make sure any eventual dead code below is never generated */
4247#line 4247 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4248 goto tmp2_done;
4249 }
4250 }
4251 goto tmp2_end;
4252 tmp2_end: ;
4253 }
4254 goto goto_1;
4255 goto_1:;
4256 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4257 goto tmp2_done;
4258 tmp2_done:;
4259 }
4260 }
4261 _cl = tmpMeta[0];
4262 _return: OMC_LABEL_UNUSED__attribute__((unused))
4263 return _cl;
4264}
4265
4266DLLExport
4267modelica_metatype omc_SCodeUtil_getExternalObjectDestructor(threadData_t *threadData, modelica_metatype _inEls)
4268{
4269 modelica_metatype _cl = NULL((void*)0);
4270 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
4271 MMC_SO()mmc_check_stackoverflow(threadData);
4272 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4273 // _cl has no default value.
4274#line 4274 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4275 { /* match expression */
4276 modelica_metatype tmp3_1;
4277 tmp3_1 = _inEls;
4278 {
4279 modelica_metatype _els = NULL((void*)0);
4280 volatile mmc_switch_type tmp3;
4281 int tmp4;
4282 // _els has no default value.
4283 tmp3 = 0;
4284 for (; tmp3 < 2; tmp3++) {
4285 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4286 case 0: {
4287 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
4288 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
4289 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
4290 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
4291 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
4292 if (10 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT17)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT17).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp2_end;
4293
4294 _cl = tmpMeta[1];
4295 /* Pattern matching succeeded */
4296#line 5155 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4297 tmpMeta[0] = _cl;
4298#line 4298 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4299 goto tmp2_done;
4300 }
4301 case 1: {
4302 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
4303 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
4304 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
4305 _els = tmpMeta[2];
4306 /* Pattern matching succeeded */
4307#line 5156 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4308 /* Tail recursive call */
4309#line 5156 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4310 _inEls = _els;
4311#line 5156 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4312 goto _tailrecursive;
4313#line 5156 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4314 /* TODO: Make sure any eventual dead code below is never generated */
4315#line 4315 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4316 goto tmp2_done;
4317 }
4318 }
4319 goto tmp2_end;
4320 tmp2_end: ;
4321 }
4322 goto goto_1;
4323 goto_1:;
4324 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4325 goto tmp2_done;
4326 tmp2_done:;
4327 }
4328 }
4329 _cl = tmpMeta[0];
4330 _return: OMC_LABEL_UNUSED__attribute__((unused))
4331 return _cl;
4332}
4333
4334PROTECTED_FUNCTION_STATIC modelica_boolean omc_SCodeUtil_hasExternalObjectConstructor(threadData_t *threadData, modelica_metatype _inEls)
4335{
4336 modelica_boolean _res;
4337 modelica_boolean tmp1 = 0;
4338 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
4339 MMC_SO()mmc_check_stackoverflow(threadData);
4340 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4341 // _res has no default value.
4342#line 4342 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4343 { /* match expression */
4344 modelica_metatype tmp4_1;
4345 tmp4_1 = _inEls;
4346 {
4347 modelica_metatype _els = NULL((void*)0);
4348 volatile mmc_switch_type tmp4;
4349 int tmp5;
4350 // _els has no default value.
4351 tmp4 = 0;
4352 for (; tmp4 < 3; tmp4++) {
4353 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4354 case 0: {
4355 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4356 tmpMeta[0] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
4357 tmpMeta[1] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
4358 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
4359 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
4360 if (11 != MMC_STRLEN(tmpMeta[2])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT16)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT16).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[2])(((struct mmc_string*)((void*)((char*)(tmpMeta[2]) - 3)))->
data)
) != 0) goto tmp3_end;
4361
4362 /* Pattern matching succeeded */
4363#line 5142 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4364 tmp1 = 1;
4365#line 4365 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4366 goto tmp3_done;
4367 }
4368 case 1: {
4369 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4370 tmpMeta[0] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
4371 tmpMeta[1] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
4372 _els = tmpMeta[1];
4373 /* Pattern matching succeeded */
4374#line 5143 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4375 /* Tail recursive call */
4376#line 5143 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4377 _inEls = _els;
4378#line 5143 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4379 goto _tailrecursive;
4380#line 5143 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4381 /* TODO: Make sure any eventual dead code below is never generated */
4382#line 4382 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4383 goto tmp3_done;
4384 }
4385 case 2: {
4386
4387 /* Pattern matching succeeded */
4388#line 5144 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4389 tmp1 = 0;
4390#line 4390 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4391 goto tmp3_done;
4392 }
4393 }
4394 goto tmp3_end;
4395 tmp3_end: ;
4396 }
4397 goto goto_2;
4398 goto_2:;
4399 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4400 goto tmp3_done;
4401 tmp3_done:;
4402 }
4403 }
4404 _res = tmp1;
4405 _return: OMC_LABEL_UNUSED__attribute__((unused))
4406 return _res;
4407}
4408PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SCodeUtil_hasExternalObjectConstructor(threadData_t *threadData, modelica_metatype _inEls)
4409{
4410 modelica_boolean _res;
4411 modelica_metatype out_res;
4412 _res = omc_SCodeUtil_hasExternalObjectConstructor(threadData, _inEls);
4413 out_res = mmc_mk_icon(_res);
4414 return out_res;
4415}
4416
4417PROTECTED_FUNCTION_STATIC modelica_boolean omc_SCodeUtil_hasExternalObjectDestructor(threadData_t *threadData, modelica_metatype _inEls)
4418{
4419 modelica_boolean _res;
4420 modelica_boolean tmp1 = 0;
4421 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
4422 MMC_SO()mmc_check_stackoverflow(threadData);
4423 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4424 // _res has no default value.
4425#line 4425 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4426 { /* match expression */
4427 modelica_metatype tmp4_1;
4428 tmp4_1 = _inEls;
4429 {
4430 modelica_metatype _els = NULL((void*)0);
4431 volatile mmc_switch_type tmp4;
4432 int tmp5;
4433 // _els has no default value.
4434 tmp4 = 0;
4435 for (; tmp4 < 3; tmp4++) {
4436 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4437 case 0: {
4438 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4439 tmpMeta[0] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
4440 tmpMeta[1] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
4441 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
4442 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
4443 if (10 != MMC_STRLEN(tmpMeta[2])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT17)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT17).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[2])(((struct mmc_string*)((void*)((char*)(tmpMeta[2]) - 3)))->
data)
) != 0) goto tmp3_end;
4444
4445 /* Pattern matching succeeded */
4446#line 5129 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4447 tmp1 = 1;
4448#line 4448 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4449 goto tmp3_done;
4450 }
4451 case 1: {
4452 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4453 tmpMeta[0] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
4454 tmpMeta[1] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
4455 _els = tmpMeta[1];
4456 /* Pattern matching succeeded */
4457#line 5130 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4458 /* Tail recursive call */
4459#line 5130 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4460 _inEls = _els;
4461#line 5130 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4462 goto _tailrecursive;
4463#line 5130 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4464 /* TODO: Make sure any eventual dead code below is never generated */
4465#line 4465 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4466 goto tmp3_done;
4467 }
4468 case 2: {
4469
4470 /* Pattern matching succeeded */
4471#line 5131 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4472 tmp1 = 0;
4473#line 4473 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4474 goto tmp3_done;
4475 }
4476 }
4477 goto tmp3_end;
4478 tmp3_end: ;
4479 }
4480 goto goto_2;
4481 goto_2:;
4482 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4483 goto tmp3_done;
4484 tmp3_done:;
4485 }
4486 }
4487 _res = tmp1;
4488 _return: OMC_LABEL_UNUSED__attribute__((unused))
4489 return _res;
4490}
4491PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SCodeUtil_hasExternalObjectDestructor(threadData_t *threadData, modelica_metatype _inEls)
4492{
4493 modelica_boolean _res;
4494 modelica_metatype out_res;
4495 _res = omc_SCodeUtil_hasExternalObjectDestructor(threadData, _inEls);
4496 out_res = mmc_mk_icon(_res);
4497 return out_res;
4498}
4499
4500PROTECTED_FUNCTION_STATIC modelica_boolean omc_SCodeUtil_hasExtendsOfExternalObject(threadData_t *threadData, modelica_metatype _inEls)
4501{
4502 modelica_boolean _res;
4503 modelica_boolean tmp1 = 0;
4504 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
4505 MMC_SO()mmc_check_stackoverflow(threadData);
4506 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4507 // _res has no default value.
4508#line 4508 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4509 { /* match expression */
4510 modelica_metatype tmp4_1;
4511 tmp4_1 = _inEls;
4512 {
4513 modelica_metatype _els = NULL((void*)0);
4514 modelica_metatype _path = NULL((void*)0);
4515 volatile mmc_switch_type tmp4;
4516 int tmp5;
4517 // _els has no default value.
4518 // _path has no default value.
4519 tmp4 = 0;
4520 for (; tmp4 < 3; tmp4++) {
4521 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4522 case 0: {
4523 if (!listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4524 /* Pattern matching succeeded */
4525#line 5115 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4526 tmp1 = 0;
4527#line 4527 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4528 goto tmp3_done;
4529 }
4530 case 1: {
4531 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4532 tmpMeta[0] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
4533 tmpMeta[1] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
4534 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],1,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((5 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
4535 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
4536
4537 _path = tmpMeta[2];
4538 /* Pattern matching succeeded */
4539 /* Check guard condition after assignments */
4540 if (!omc_AbsynUtil_pathEqual(threadData, _path, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)))) goto tmp3_end;
4541#line 5117 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4542 tmp1 = 1;
4543#line 4543 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4544 goto tmp3_done;
4545 }
4546 case 2: {
4547 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
4548 tmpMeta[0] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
4549 tmpMeta[1] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
4550 _els = tmpMeta[1];
4551 /* Pattern matching succeeded */
4552#line 5118 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4553 /* Tail recursive call */
4554#line 5118 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4555 _inEls = _els;
4556#line 5118 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4557 goto _tailrecursive;
4558#line 5118 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4559 /* TODO: Make sure any eventual dead code below is never generated */
4560#line 4560 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4561 goto tmp3_done;
4562 }
4563 }
4564 goto tmp3_end;
4565 tmp3_end: ;
4566 }
4567 goto goto_2;
4568 goto_2:;
4569 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4570 goto tmp3_done;
4571 tmp3_done:;
4572 }
4573 }
4574 _res = tmp1;
4575 _return: OMC_LABEL_UNUSED__attribute__((unused))
4576 return _res;
4577}
4578PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_SCodeUtil_hasExtendsOfExternalObject(threadData_t *threadData, modelica_metatype _inEls)
4579{
4580 modelica_boolean _res;
4581 modelica_metatype out_res;
4582 _res = omc_SCodeUtil_hasExtendsOfExternalObject(threadData, _inEls);
4583 out_res = mmc_mk_icon(_res);
4584 return out_res;
4585}
4586
4587DLLExport
4588modelica_boolean omc_SCodeUtil_isExternalObject(threadData_t *threadData, modelica_metatype _els)
4589{
4590 modelica_boolean _res;
4591 modelica_boolean tmp1 = 0;
4592 MMC_SO()mmc_check_stackoverflow(threadData);
4593 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4594 // _res has no default value.
4595#line 4595 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4596 { /* matchcontinue expression */
4597 {
4598 volatile mmc_switch_type tmp4;
4599 int tmp5;
4600 tmp4 = 0;
4601 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
4602 tmp3_top:
4603 threadData->mmc_jumper = &new_mmc_jumper;
4604 for (; tmp4 < 2; tmp4++) {
4605 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4606 case 0: {
4607 modelica_integer tmp6;
4608 modelica_boolean tmp7;
4609 modelica_boolean tmp8;
4610 modelica_boolean tmp9;
4611 /* Pattern matching succeeded */
4612#line 5095 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4613 /* Pattern-matching assignment */
4614#line 5095 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4615 tmp6 = listLength(_els);
4616#line 5095 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4617 if (3 != tmp6) goto goto_2;
4618#line 4618 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4619
4620#line 5096 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4621 /* Pattern-matching assignment */
4622#line 5096 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4623 tmp7 = omc_SCodeUtil_hasExtendsOfExternalObject(threadData, _els);
4624#line 5096 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4625 if (1 != tmp7) goto goto_2;
4626#line 4626 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4627
4628#line 5097 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4629 /* Pattern-matching assignment */
4630#line 5097 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4631 tmp8 = omc_SCodeUtil_hasExternalObjectDestructor(threadData, _els);
4632#line 5097 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4633 if (1 != tmp8) goto goto_2;
4634#line 4634 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4635
4636#line 5098 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4637 /* Pattern-matching assignment */
4638#line 5098 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4639 tmp9 = omc_SCodeUtil_hasExternalObjectConstructor(threadData, _els);
4640#line 5098 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4641 if (1 != tmp9) goto goto_2;
4642#line 4642 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4643#line 5099 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4644 tmp1 = 1;
4645#line 4645 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4646 goto tmp3_done;
4647 }
4648 case 1: {
4649 /* Pattern matching succeeded */
4650#line 5102 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4651 tmp1 = 0;
4652#line 4652 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4653 goto tmp3_done;
4654 }
4655 }
4656 goto tmp3_end;
4657 tmp3_end: ;
4658 }
4659 goto goto_2;
4660 tmp3_done:
4661 (void)tmp4;
4662 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4663 goto tmp3_done2;
4664 goto_2:;
4665 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4666 if (++tmp4 < 2) {
4667 goto tmp3_top;
4668 }
4669 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4670 tmp3_done2:;
4671 }
4672 }
4673 _res = tmp1;
4674 _return: OMC_LABEL_UNUSED__attribute__((unused))
4675 return _res;
4676}
4677modelica_metatype boxptr_SCodeUtil_isExternalObject(threadData_t *threadData, modelica_metatype _els)
4678{
4679 modelica_boolean _res;
4680 modelica_metatype out_res;
4681 _res = omc_SCodeUtil_isExternalObject(threadData, _els);
4682 out_res = mmc_mk_icon(_res);
4683 return out_res;
4684}
4685
4686DLLExport
4687modelica_boolean omc_SCodeUtil_classIsExternalObject(threadData_t *threadData, modelica_metatype _cl)
4688{
4689 modelica_boolean _res;
4690 modelica_boolean tmp1 = 0;
4691 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
4692 MMC_SO()mmc_check_stackoverflow(threadData);
4693 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4694 // _res has no default value.
4695#line 4695 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4696 { /* match expression */
4697 modelica_metatype tmp4_1;
4698 tmp4_1 = _cl;
4699 {
4700 modelica_metatype _els = NULL((void*)0);
4701 volatile mmc_switch_type tmp4;
4702 int tmp5;
4703 // _els has no default value.
4704 tmp4 = 0;
4705 for (; tmp4 < 2; tmp4++) {
4706 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4707 case 0: {
4708 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
4709 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(7)))))
;
4710 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],0,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((8 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
4711 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
4712
4713 _els = tmpMeta[1];
4714 /* Pattern matching succeeded */
4715#line 5079 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4716 tmp1 = omc_SCodeUtil_isExternalObject(threadData, _els);
4717#line 4717 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4718 goto tmp3_done;
4719 }
4720 case 1: {
4721
4722 /* Pattern matching succeeded */
4723#line 5081 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4724 tmp1 = 0;
4725#line 4725 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4726 goto tmp3_done;
4727 }
4728 }
4729 goto tmp3_end;
4730 tmp3_end: ;
4731 }
4732 goto goto_2;
4733 goto_2:;
4734 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4735 goto tmp3_done;
4736 tmp3_done:;
4737 }
4738 }
4739 _res = tmp1;
4740 _return: OMC_LABEL_UNUSED__attribute__((unused))
4741 return _res;
4742}
4743modelica_metatype boxptr_SCodeUtil_classIsExternalObject(threadData_t *threadData, modelica_metatype _cl)
4744{
4745 modelica_boolean _res;
4746 modelica_metatype out_res;
4747 _res = omc_SCodeUtil_classIsExternalObject(threadData, _cl);
4748 out_res = mmc_mk_icon(_res);
4749 return out_res;
4750}
4751
4752DLLExport
4753modelica_boolean omc_SCodeUtil_isValidPackageElement(threadData_t *threadData, modelica_metatype _inElement)
4754{
4755 modelica_boolean _outIsValid;
4756 modelica_boolean tmp1 = 0;
4757 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
4758 MMC_SO()mmc_check_stackoverflow(threadData);
4759 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4760 // _outIsValid has no default value.
4761#line 4761 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4762 { /* match expression */
4763 modelica_metatype tmp4_1;
4764 tmp4_1 = _inElement;
4765 {
4766 volatile mmc_switch_type tmp4;
4767 int tmp5;
4768 tmp4 = 0;
4769 for (; tmp4 < 3; tmp4++) {
4770 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4771 case 0: {
4772 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,3,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((8 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
4773 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
4774 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
4775 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],3,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((0 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
4776
4777 /* Pattern matching succeeded */
4778#line 5062 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4779 tmp1 = 1;
4780#line 4780 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4781 goto tmp3_done;
4782 }
4783 case 1: {
4784 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,3,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((8 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
4785
4786 /* Pattern matching succeeded */
4787#line 5063 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4788 tmp1 = 0;
4789#line 4789 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4790 goto tmp3_done;
4791 }
4792 case 2: {
4793
4794 /* Pattern matching succeeded */
4795#line 5064 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4796 tmp1 = 1;
4797#line 4797 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4798 goto tmp3_done;
4799 }
4800 }
4801 goto tmp3_end;
4802 tmp3_end: ;
4803 }
4804 goto goto_2;
4805 goto_2:;
4806 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4807 goto tmp3_done;
4808 tmp3_done:;
4809 }
4810 }
4811 _outIsValid = tmp1;
4812 _return: OMC_LABEL_UNUSED__attribute__((unused))
4813 return _outIsValid;
4814}
4815modelica_metatype boxptr_SCodeUtil_isValidPackageElement(threadData_t *threadData, modelica_metatype _inElement)
4816{
4817 modelica_boolean _outIsValid;
4818 modelica_metatype out_outIsValid;
4819 _outIsValid = omc_SCodeUtil_isValidPackageElement(threadData, _inElement);
4820 out_outIsValid = mmc_mk_icon(_outIsValid);
4821 return out_outIsValid;
4822}
4823
4824DLLExport
4825modelica_boolean omc_SCodeUtil_isPartial(threadData_t *threadData, modelica_metatype _inClass)
4826{
4827 modelica_boolean _outBoolean;
4828 modelica_boolean tmp1 = 0;
4829 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
4830 MMC_SO()mmc_check_stackoverflow(threadData);
4831 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4832 // _outBoolean has no default value.
4833#line 4833 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4834 { /* match expression */
4835 modelica_metatype tmp4_1;
4836 tmp4_1 = _inClass;
4837 {
4838 volatile mmc_switch_type tmp4;
4839 int tmp5;
4840 tmp4 = 0;
4841 for (; tmp4 < 2; tmp4++) {
4842 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4843 case 0: {
4844 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
4845 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(5)))))
;
4846 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],0,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((0 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
4847
4848 /* Pattern matching succeeded */
4849#line 5050 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4850 tmp1 = 1;
4851#line 4851 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4852 goto tmp3_done;
4853 }
4854 case 1: {
4855
4856 /* Pattern matching succeeded */
4857#line 5051 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4858 tmp1 = 0;
4859#line 4859 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4860 goto tmp3_done;
4861 }
4862 }
4863 goto tmp3_end;
4864 tmp3_end: ;
4865 }
4866 goto goto_2;
4867 goto_2:;
4868 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4869 goto tmp3_done;
4870 tmp3_done:;
4871 }
4872 }
4873 _outBoolean = tmp1;
4874 _return: OMC_LABEL_UNUSED__attribute__((unused))
4875 return _outBoolean;
4876}
4877modelica_metatype boxptr_SCodeUtil_isPartial(threadData_t *threadData, modelica_metatype _inClass)
4878{
4879 modelica_boolean _outBoolean;
4880 modelica_metatype out_outBoolean;
4881 _outBoolean = omc_SCodeUtil_isPartial(threadData, _inClass);
4882 out_outBoolean = mmc_mk_icon(_outBoolean);
4883 return out_outBoolean;
4884}
4885
4886DLLExport
4887modelica_boolean omc_SCodeUtil_isPackage(threadData_t *threadData, modelica_metatype _inClass)
4888{
4889 modelica_boolean _outBoolean;
4890 modelica_boolean tmp1 = 0;
4891 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
4892 MMC_SO()mmc_check_stackoverflow(threadData);
4893 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4894 // _outBoolean has no default value.
4895#line 4895 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4896 { /* match expression */
4897 modelica_metatype tmp4_1;
4898 tmp4_1 = _inClass;
4899 {
4900 volatile mmc_switch_type tmp4;
4901 int tmp5;
4902 tmp4 = 0;
4903 for (; tmp4 < 2; tmp4++) {
4904 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4905 case 0: {
4906 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
4907 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
4908 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],8,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((0 +1)
<< 10) + (((8 +3) & 255) << 2)))
== 0) goto tmp3_end;
4909
4910 /* Pattern matching succeeded */
4911#line 5039 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4912 tmp1 = 1;
4913#line 4913 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4914 goto tmp3_done;
4915 }
4916 case 1: {
4917
4918 /* Pattern matching succeeded */
4919#line 5040 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4920 tmp1 = 0;
4921#line 4921 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4922 goto tmp3_done;
4923 }
4924 }
4925 goto tmp3_end;
4926 tmp3_end: ;
4927 }
4928 goto goto_2;
4929 goto_2:;
4930 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4931 goto tmp3_done;
4932 tmp3_done:;
4933 }
4934 }
4935 _outBoolean = tmp1;
4936 _return: OMC_LABEL_UNUSED__attribute__((unused))
4937 return _outBoolean;
4938}
4939modelica_metatype boxptr_SCodeUtil_isPackage(threadData_t *threadData, modelica_metatype _inClass)
4940{
4941 modelica_boolean _outBoolean;
4942 modelica_metatype out_outBoolean;
4943 _outBoolean = omc_SCodeUtil_isPackage(threadData, _inClass);
4944 out_outBoolean = mmc_mk_icon(_outBoolean);
4945 return out_outBoolean;
4946}
4947
4948DLLExport
4949modelica_metatype omc_SCodeUtil_propagatePrefixInnerOuter(threadData_t *threadData, modelica_metatype _inOriginalIO, modelica_metatype _inIO)
4950{
4951 modelica_metatype _outIO = NULL((void*)0);
4952 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
4953 MMC_SO()mmc_check_stackoverflow(threadData);
4954 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4955 // _outIO has no default value.
4956#line 4956 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4957 { /* match expression */
4958 modelica_metatype tmp3_1;
4959 tmp3_1 = _inIO;
4960 {
4961 volatile mmc_switch_type tmp3;
4962 int tmp4;
4963 tmp3 = 0;
4964 for (; tmp3 < 2; tmp3++) {
4965 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4966 case 0: {
4967 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,3,0)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((0 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
4968 /* Pattern matching succeeded */
4969#line 5028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4970 tmpMeta[0] = _inOriginalIO;
4971#line 4971 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4972 goto tmp2_done;
4973 }
4974 case 1: {
4975
4976 /* Pattern matching succeeded */
4977#line 5029 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
4978 tmpMeta[0] = _inIO;
4979#line 4979 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
4980 goto tmp2_done;
4981 }
4982 }
4983 goto tmp2_end;
4984 tmp2_end: ;
4985 }
4986 goto goto_1;
4987 goto_1:;
4988 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4989 goto tmp2_done;
4990 tmp2_done:;
4991 }
4992 }
4993 _outIO = tmpMeta[0];
4994 _return: OMC_LABEL_UNUSED__attribute__((unused))
4995 return _outIO;
4996}
4997
4998DLLExport
4999modelica_metatype omc_SCodeUtil_propagatePrefixes(threadData_t *threadData, modelica_metatype _inOriginalPrefixes, modelica_metatype _inNewPrefixes)
5000{
5001 modelica_metatype _outNewPrefixes = NULL((void*)0);
5002 modelica_metatype _vis1 = NULL((void*)0);
5003 modelica_metatype _vis2 = NULL((void*)0);
5004 modelica_metatype _io1 = NULL((void*)0);
5005 modelica_metatype _io2 = NULL((void*)0);
5006 modelica_metatype _rdp = NULL((void*)0);
5007 modelica_metatype _fp = NULL((void*)0);
5008 modelica_metatype _rpp = NULL((void*)0);
5009 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
5010 MMC_SO()mmc_check_stackoverflow(threadData);
5011 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5012 // _outNewPrefixes has no default value.
5013 // _vis1 has no default value.
5014 // _vis2 has no default value.
5015 // _io1 has no default value.
5016 // _io2 has no default value.
5017 // _rdp has no default value.
5018 // _fp has no default value.
5019 // _rpp has no default value.
5020#line 5016 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5021 /* Pattern-matching assignment */
5022#line 5016 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5023 tmpMeta[0] = _inOriginalPrefixes;
5024#line 5016 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5025 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
5026#line 5016 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5027 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
5028#line 5016 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5029 _vis1 = tmpMeta[1];
5030#line 5016 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5031 _io1 = tmpMeta[2];
5032#line 5032 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5033
5034#line 5017 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5035 /* Pattern-matching assignment */
5036#line 5017 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5037 tmpMeta[0] = _inNewPrefixes;
5038#line 5017 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5039 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
5040#line 5017 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5041 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
5042#line 5017 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5043 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
5044#line 5017 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5045 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
5046#line 5017 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5047 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (6)))))
;
5048#line 5017 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5049 _vis2 = tmpMeta[1];
5050#line 5017 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5051 _rdp = tmpMeta[2];
5052#line 5017 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5053 _fp = tmpMeta[3];
5054#line 5017 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5055 _io2 = tmpMeta[4];
5056#line 5017 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5057 _rpp = tmpMeta[5];
5058#line 5058 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5059
5060#line 5018 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5061 _io2 = omc_SCodeUtil_propagatePrefixInnerOuter(threadData, _io1, _io2);
5062#line 5062 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5063
5064#line 5019 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5065 tmpMeta[0] = mmc_mk_box6(3, &SCode_Prefixes_PREFIXES__desc, _vis2, _rdp, _fp, _io2, _rpp);
5066#line 5019 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5067 _outNewPrefixes = tmpMeta[0];
5068#line 5068 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5069 _return: OMC_LABEL_UNUSED__attribute__((unused))
5070 return _outNewPrefixes;
5071}
5072
5073DLLExport
5074modelica_metatype omc_SCodeUtil_propagateAttributesClass(threadData_t *threadData, modelica_metatype _inOriginalClass, modelica_metatype _inNewClass)
5075{
5076 modelica_metatype _outNewClass = NULL((void*)0);
5077 modelica_string _name = NULL((void*)0);
5078 modelica_metatype _pref1 = NULL((void*)0);
5079 modelica_metatype _pref2 = NULL((void*)0);
5080 modelica_metatype _ep = NULL((void*)0);
5081 modelica_metatype _pp = NULL((void*)0);
5082 modelica_metatype _res = NULL((void*)0);
5083 modelica_metatype _cdef = NULL((void*)0);
5084 modelica_metatype _cmt = NULL((void*)0);
5085 modelica_metatype _info = NULL((void*)0);
5086 modelica_metatype tmpMeta[9] __attribute__((unused)) = {0};
5087 MMC_SO()mmc_check_stackoverflow(threadData);
5088 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5089 // _outNewClass has no default value.
5090 // _name has no default value.
5091 // _pref1 has no default value.
5092 // _pref2 has no default value.
5093 // _ep has no default value.
5094 // _pp has no default value.
5095 // _res has no default value.
5096 // _cdef has no default value.
5097 // _cmt has no default value.
5098 // _info has no default value.
5099#line 4999 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5100 /* Pattern-matching assignment */
5101#line 4999 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5102 tmpMeta[0] = _inOriginalClass;
5103#line 4999 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5104 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5105#line 4999 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5106 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
5107#line 4999 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5108 _pref1 = tmpMeta[1];
5109#line 5109 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5110
5111#line 5000 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5112 /* Pattern-matching assignment */
5113#line 5000 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5114 tmpMeta[0] = _inNewClass;
5115#line 5000 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5116 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5117#line 5000 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5118 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
5119#line 5000 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5120 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
5121#line 5000 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5122 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
5123#line 5000 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5124 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
5125#line 5000 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5126 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (6)))))
;
5127#line 5000 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5128 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (7)))))
;
5129#line 5000 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5130 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (8)))))
;
5131#line 5000 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5132 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (9)))))
;
5133#line 5000 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5134 _name = tmpMeta[1];
5135#line 5000 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5136 _pref2 = tmpMeta[2];
5137#line 5000 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5138 _ep = tmpMeta[3];
5139#line 5000 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5140 _pp = tmpMeta[4];
5141#line 5000 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5142 _res = tmpMeta[5];
5143#line 5000 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5144 _cdef = tmpMeta[6];
5145#line 5000 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5146 _cmt = tmpMeta[7];
5147#line 5000 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5148 _info = tmpMeta[8];
5149#line 5149 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5150
5151#line 5001 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5152 _pref2 = omc_SCodeUtil_propagatePrefixes(threadData, _pref1, _pref2);
5153#line 5153 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5154
5155#line 5002 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5156 tmpMeta[0] = mmc_mk_box9(5, &SCode_Element_CLASS__desc, _name, _pref2, _ep, _pp, _res, _cdef, _cmt, _info);
5157#line 5002 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5158 _outNewClass = tmpMeta[0];
5159#line 5159 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5160 _return: OMC_LABEL_UNUSED__attribute__((unused))
5161 return _outNewClass;
5162}
5163
5164DLLExport
5165modelica_metatype omc_SCodeUtil_propagateAttributesVar(threadData_t *threadData, modelica_metatype _inOriginalVar, modelica_metatype _inNewVar, modelica_boolean _inNewTypeIsArray)
5166{
5167 modelica_metatype _outNewVar = NULL((void*)0);
5168 modelica_string _name = NULL((void*)0);
5169 modelica_metatype _pref1 = NULL((void*)0);
5170 modelica_metatype _pref2 = NULL((void*)0);
5171 modelica_metatype _attr1 = NULL((void*)0);
5172 modelica_metatype _attr2 = NULL((void*)0);
5173 modelica_metatype _ty = NULL((void*)0);
5174 modelica_metatype _mod = NULL((void*)0);
5175 modelica_metatype _cmt = NULL((void*)0);
5176 modelica_metatype _cond = NULL((void*)0);
5177 modelica_metatype _info = NULL((void*)0);
5178 modelica_metatype tmpMeta[9] __attribute__((unused)) = {0};
5179 MMC_SO()mmc_check_stackoverflow(threadData);
5180 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5181 // _outNewVar has no default value.
5182 // _name has no default value.
5183 // _pref1 has no default value.
5184 // _pref2 has no default value.
5185 // _attr1 has no default value.
5186 // _attr2 has no default value.
5187 // _ty has no default value.
5188 // _mod has no default value.
5189 // _cmt has no default value.
5190 // _cond has no default value.
5191 // _info has no default value.
5192#line 4978 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5193 /* Pattern-matching assignment */
5194#line 4978 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5195 tmpMeta[0] = _inOriginalVar;
5196#line 4978 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5197 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],3,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((8 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5198#line 4978 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5199 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
5200#line 4978 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5201 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
5202#line 4978 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5203 _pref1 = tmpMeta[1];
5204#line 4978 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5205 _attr1 = tmpMeta[2];
5206#line 5206 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5207
5208#line 4979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5209 /* Pattern-matching assignment */
5210#line 4979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5211 tmpMeta[0] = _inNewVar;
5212#line 4979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5213 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],3,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((8 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5214#line 4979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5215 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
5216#line 4979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5217 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
5218#line 4979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5219 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
5220#line 4979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5221 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
5222#line 4979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5223 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (6)))))
;
5224#line 4979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5225 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (7)))))
;
5226#line 4979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5227 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (8)))))
;
5228#line 4979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5229 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (9)))))
;
5230#line 4979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5231 _name = tmpMeta[1];
5232#line 4979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5233 _pref2 = tmpMeta[2];
5234#line 4979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5235 _attr2 = tmpMeta[3];
5236#line 4979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5237 _ty = tmpMeta[4];
5238#line 4979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5239 _mod = tmpMeta[5];
5240#line 4979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5241 _cmt = tmpMeta[6];
5242#line 4979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5243 _cond = tmpMeta[7];
5244#line 4979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5245 _info = tmpMeta[8];
5246#line 5246 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5247
5248#line 4980 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5249 _pref2 = omc_SCodeUtil_propagatePrefixes(threadData, _pref1, _pref2);
5250#line 5250 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5251
5252#line 4981 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5253 _attr2 = omc_SCodeUtil_propagateAttributes(threadData, _attr1, _attr2, _inNewTypeIsArray);
5254#line 5254 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5255
5256#line 4982 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5257 tmpMeta[0] = mmc_mk_box9(6, &SCode_Element_COMPONENT__desc, _name, _pref2, _attr2, _ty, _mod, _cmt, _cond, _info);
5258#line 4982 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5259 _outNewVar = tmpMeta[0];
5260#line 5260 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5261 _return: OMC_LABEL_UNUSED__attribute__((unused))
5262 return _outNewVar;
5263}
5264modelica_metatype boxptr_SCodeUtil_propagateAttributesVar(threadData_t *threadData, modelica_metatype _inOriginalVar, modelica_metatype _inNewVar, modelica_metatype _inNewTypeIsArray)
5265{
5266 modelica_integer tmp1;
5267 modelica_metatype _outNewVar = NULL((void*)0);
5268 tmp1 = mmc_unbox_integer(_inNewTypeIsArray)(((mmc_sint_t) (_inNewTypeIsArray)) >> 1);
5269 _outNewVar = omc_SCodeUtil_propagateAttributesVar(threadData, _inOriginalVar, _inNewVar, tmp1);
5270 /* skip box _outNewVar; SCode.Element */
5271 return _outNewVar;
5272}
5273
5274DLLExport
5275modelica_metatype omc_SCodeUtil_propagateIsField(threadData_t *threadData, modelica_metatype _inOriginalIsField, modelica_metatype _inNewIsField)
5276{
5277 modelica_metatype _outNewIsField = NULL((void*)0);
5278 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
5279 MMC_SO()mmc_check_stackoverflow(threadData);
5280 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5281 // _outNewIsField has no default value.
5282#line 5282 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5283 { /* matchcontinue expression */
5284 volatile modelica_metatype tmp3_1;
5285 tmp3_1 = _inNewIsField;
5286 {
5287 volatile mmc_switch_type tmp3;
5288 int tmp4;
5289 tmp3 = 0;
5290 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
5291 tmp2_top:
5292 threadData->mmc_jumper = &new_mmc_jumper;
5293 for (; tmp3 < 2; tmp3++) {
5294 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
5295 case 0: {
5296 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,0)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((0 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
5297 /* Pattern matching succeeded */
5298#line 4957 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5299 tmpMeta[0] = _inOriginalIsField;
5300#line 5300 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5301 goto tmp2_done;
5302 }
5303 case 1: {
5304
5305 /* Pattern matching succeeded */
5306#line 4958 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5307 tmpMeta[0] = _inNewIsField;
5308#line 5308 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5309 goto tmp2_done;
5310 }
5311 }
5312 goto tmp2_end;
5313 tmp2_end: ;
5314 }
5315 goto goto_1;
5316 tmp2_done:
5317 (void)tmp3;
5318 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
5319 goto tmp2_done2;
5320 goto_1:;
5321 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
5322 if (++tmp3 < 2) {
5323 goto tmp2_top;
5324 }
5325 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5326 tmp2_done2:;
5327 }
5328 }
5329 _outNewIsField = tmpMeta[0];
5330 _return: OMC_LABEL_UNUSED__attribute__((unused))
5331 return _outNewIsField;
5332}
5333
5334DLLExport
5335modelica_metatype omc_SCodeUtil_propagateDirection(threadData_t *threadData, modelica_metatype _inOriginalDirection, modelica_metatype _inNewDirection)
5336{
5337 modelica_metatype _outNewDirection = NULL((void*)0);
5338 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
5339 MMC_SO()mmc_check_stackoverflow(threadData);
5340 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5341 // _outNewDirection has no default value.
5342#line 5342 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5343 { /* match expression */
5344 modelica_metatype tmp3_1;
5345 tmp3_1 = _inNewDirection;
5346 {
5347 volatile mmc_switch_type tmp3;
5348 int tmp4;
5349 tmp3 = 0;
5350 for (; tmp3 < 2; tmp3++) {
5351 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
5352 case 0: {
5353 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,2,0)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((0 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
5354 /* Pattern matching succeeded */
5355#line 4946 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5356 tmpMeta[0] = _inOriginalDirection;
5357#line 5357 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5358 goto tmp2_done;
5359 }
5360 case 1: {
5361
5362 /* Pattern matching succeeded */
5363#line 4947 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5364 tmpMeta[0] = _inNewDirection;
5365#line 5365 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5366 goto tmp2_done;
5367 }
5368 }
5369 goto tmp2_end;
5370 tmp2_end: ;
5371 }
5372 goto goto_1;
5373 goto_1:;
5374 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5375 goto tmp2_done;
5376 tmp2_done:;
5377 }
5378 }
5379 _outNewDirection = tmpMeta[0];
5380 _return: OMC_LABEL_UNUSED__attribute__((unused))
5381 return _outNewDirection;
5382}
5383
5384DLLExport
5385modelica_metatype omc_SCodeUtil_propagateVariability(threadData_t *threadData, modelica_metatype _inOriginalVariability, modelica_metatype _inNewVariability)
5386{
5387 modelica_metatype _outNewVariability = NULL((void*)0);
5388 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
5389 MMC_SO()mmc_check_stackoverflow(threadData);
5390 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5391 // _outNewVariability has no default value.
5392#line 5392 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5393 { /* match expression */
5394 modelica_metatype tmp3_1;
5395 tmp3_1 = _inNewVariability;
5396 {
5397 volatile mmc_switch_type tmp3;
5398 int tmp4;
5399 tmp3 = 0;
5400 for (; tmp3 < 2; tmp3++) {
5401 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
5402 case 0: {
5403 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,0)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((0 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
5404 /* Pattern matching succeeded */
5405#line 4935 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5406 tmpMeta[0] = _inOriginalVariability;
5407#line 5407 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5408 goto tmp2_done;
5409 }
5410 case 1: {
5411
5412 /* Pattern matching succeeded */
5413#line 4936 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5414 tmpMeta[0] = _inNewVariability;
5415#line 5415 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5416 goto tmp2_done;
5417 }
5418 }
5419 goto tmp2_end;
5420 tmp2_end: ;
5421 }
5422 goto goto_1;
5423 goto_1:;
5424 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5425 goto tmp2_done;
5426 tmp2_done:;
5427 }
5428 }
5429 _outNewVariability = tmpMeta[0];
5430 _return: OMC_LABEL_UNUSED__attribute__((unused))
5431 return _outNewVariability;
5432}
5433
5434DLLExport
5435modelica_metatype omc_SCodeUtil_propagateParallelism(threadData_t *threadData, modelica_metatype _inOriginalParallelism, modelica_metatype _inNewParallelism)
5436{
5437 modelica_metatype _outNewParallelism = NULL((void*)0);
5438 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
5439 MMC_SO()mmc_check_stackoverflow(threadData);
5440 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5441 // _outNewParallelism has no default value.
5442#line 5442 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5443 { /* match expression */
5444 modelica_metatype tmp3_1;
5445 tmp3_1 = _inNewParallelism;
5446 {
5447 volatile mmc_switch_type tmp3;
5448 int tmp4;
5449 tmp3 = 0;
5450 for (; tmp3 < 2; tmp3++) {
5451 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
5452 case 0: {
5453 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,2,0)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((0 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
5454 /* Pattern matching succeeded */
5455#line 4924 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5456 tmpMeta[0] = _inOriginalParallelism;
5457#line 5457 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5458 goto tmp2_done;
5459 }
5460 case 1: {
5461
5462 /* Pattern matching succeeded */
5463#line 4925 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5464 tmpMeta[0] = _inNewParallelism;
5465#line 5465 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5466 goto tmp2_done;
5467 }
5468 }
5469 goto tmp2_end;
5470 tmp2_end: ;
5471 }
5472 goto goto_1;
5473 goto_1:;
5474 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5475 goto tmp2_done;
5476 tmp2_done:;
5477 }
5478 }
5479 _outNewParallelism = tmpMeta[0];
5480 _return: OMC_LABEL_UNUSED__attribute__((unused))
5481 return _outNewParallelism;
5482}
5483
5484DLLExport
5485modelica_metatype omc_SCodeUtil_propagateConnectorType(threadData_t *threadData, modelica_metatype _inOriginalConnectorType, modelica_metatype _inNewConnectorType)
5486{
5487 modelica_metatype _outNewConnectorType = NULL((void*)0);
5488 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
5489 MMC_SO()mmc_check_stackoverflow(threadData);
5490 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5491 // _outNewConnectorType has no default value.
5492#line 5492 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5493 { /* match expression */
5494 modelica_metatype tmp3_1;
5495 tmp3_1 = _inNewConnectorType;
5496 {
5497 volatile mmc_switch_type tmp3;
5498 int tmp4;
5499 tmp3 = 0;
5500 for (; tmp3 < 2; tmp3++) {
5501 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
5502 case 0: {
5503 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,0)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((0 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
5504 /* Pattern matching succeeded */
5505#line 4913 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5506 tmpMeta[0] = _inOriginalConnectorType;
5507#line 5507 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5508 goto tmp2_done;
5509 }
5510 case 1: {
5511
5512 /* Pattern matching succeeded */
5513#line 4914 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5514 tmpMeta[0] = _inNewConnectorType;
5515#line 5515 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5516 goto tmp2_done;
5517 }
5518 }
5519 goto tmp2_end;
5520 tmp2_end: ;
5521 }
5522 goto goto_1;
5523 goto_1:;
5524 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5525 goto tmp2_done;
5526 tmp2_done:;
5527 }
5528 }
5529 _outNewConnectorType = tmpMeta[0];
5530 _return: OMC_LABEL_UNUSED__attribute__((unused))
5531 return _outNewConnectorType;
5532}
5533
5534DLLExport
5535modelica_metatype omc_SCodeUtil_propagateArrayDimensions(threadData_t *threadData, modelica_metatype _inOriginalDims, modelica_metatype _inNewDims)
5536{
5537 modelica_metatype _outNewDims = NULL((void*)0);
5538 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
5539 MMC_SO()mmc_check_stackoverflow(threadData);
5540 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5541 // _outNewDims has no default value.
5542#line 5542 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5543 { /* match expression */
5544 modelica_metatype tmp3_1;
5545 tmp3_1 = _inNewDims;
5546 {
5547 volatile mmc_switch_type tmp3;
5548 int tmp4;
5549 tmp3 = 0;
5550 for (; tmp3 < 2; tmp3++) {
5551 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
5552 case 0: {
5553 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
5554 /* Pattern matching succeeded */
5555#line 4902 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5556 tmpMeta[0] = _inOriginalDims;
5557#line 5557 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5558 goto tmp2_done;
5559 }
5560 case 1: {
5561
5562 /* Pattern matching succeeded */
5563#line 4903 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5564 tmpMeta[0] = _inNewDims;
5565#line 5565 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5566 goto tmp2_done;
5567 }
5568 }
5569 goto tmp2_end;
5570 tmp2_end: ;
5571 }
5572 goto goto_1;
5573 goto_1:;
5574 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5575 goto tmp2_done;
5576 tmp2_done:;
5577 }
5578 }
5579 _outNewDims = tmpMeta[0];
5580 _return: OMC_LABEL_UNUSED__attribute__((unused))
5581 return _outNewDims;
5582}
5583
5584DLLExport
5585modelica_metatype omc_SCodeUtil_propagateAttributes(threadData_t *threadData, modelica_metatype _inOriginalAttributes, modelica_metatype _inNewAttributes, modelica_boolean _inNewTypeIsArray)
5586{
5587 modelica_metatype _outNewAttributes = NULL((void*)0);
5588 modelica_metatype _dims1 = NULL((void*)0);
5589 modelica_metatype _dims2 = NULL((void*)0);
5590 modelica_metatype _ct1 = NULL((void*)0);
5591 modelica_metatype _ct2 = NULL((void*)0);
5592 modelica_metatype _prl1 = NULL((void*)0);
5593 modelica_metatype _prl2 = NULL((void*)0);
5594 modelica_metatype _var1 = NULL((void*)0);
5595 modelica_metatype _var2 = NULL((void*)0);
5596 modelica_metatype _dir1 = NULL((void*)0);
5597 modelica_metatype _dir2 = NULL((void*)0);
5598 modelica_metatype _if1 = NULL((void*)0);
5599 modelica_metatype _if2 = NULL((void*)0);
5600 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
5601 MMC_SO()mmc_check_stackoverflow(threadData);
5602 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5603 // _outNewAttributes has no default value.
5604 // _dims1 has no default value.
5605 // _dims2 has no default value.
5606 // _ct1 has no default value.
5607 // _ct2 has no default value.
5608 // _prl1 has no default value.
5609 // _prl2 has no default value.
5610 // _var1 has no default value.
5611 // _var2 has no default value.
5612 // _dir1 has no default value.
5613 // _dir2 has no default value.
5614 // _if1 has no default value.
5615 // _if2 has no default value.
5616#line 4877 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5617 /* Pattern-matching assignment */
5618#line 4877 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5619 tmpMeta[0] = _inOriginalAttributes;
5620#line 4877 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5621 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
5622#line 4877 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5623 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
5624#line 4877 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5625 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
5626#line 4877 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5627 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
5628#line 4877 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5629 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (6)))))
;
5630#line 4877 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5631 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (7)))))
;
5632#line 4877 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5633 _dims1 = tmpMeta[1];
5634#line 4877 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5635 _ct1 = tmpMeta[2];
5636#line 4877 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5637 _prl1 = tmpMeta[3];
5638#line 4877 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5639 _var1 = tmpMeta[4];
5640#line 4877 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5641 _dir1 = tmpMeta[5];
5642#line 4877 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5643 _if1 = tmpMeta[6];
5644#line 5644 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5645
5646#line 4878 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5647 /* Pattern-matching assignment */
5648#line 4878 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5649 tmpMeta[0] = _inNewAttributes;
5650#line 4878 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5651 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
5652#line 4878 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5653 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
5654#line 4878 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5655 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
5656#line 4878 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5657 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
5658#line 4878 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5659 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (6)))))
;
5660#line 4878 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5661 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (7)))))
;
5662#line 4878 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5663 _dims2 = tmpMeta[1];
5664#line 4878 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5665 _ct2 = tmpMeta[2];
5666#line 4878 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5667 _prl2 = tmpMeta[3];
5668#line 4878 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5669 _var2 = tmpMeta[4];
5670#line 4878 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5671 _dir2 = tmpMeta[5];
5672#line 4878 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5673 _if2 = tmpMeta[6];
5674#line 5674 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5675
5676#line 4884 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5677 if((!_inNewTypeIsArray))
5678#line 4884 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5679 {
5680#line 4885 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5681 _dims2 = omc_SCodeUtil_propagateArrayDimensions(threadData, _dims1, _dims2);
5682#line 5682 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5683 }
5684
5685#line 4888 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5686 _ct2 = omc_SCodeUtil_propagateConnectorType(threadData, _ct1, _ct2);
5687#line 5687 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5688
5689#line 4889 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5690 _prl2 = omc_SCodeUtil_propagateParallelism(threadData, _prl1, _prl2);
5691#line 5691 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5692
5693#line 4890 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5694 _var2 = omc_SCodeUtil_propagateVariability(threadData, _var1, _var2);
5695#line 5695 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5696
5697#line 4891 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5698 _dir2 = omc_SCodeUtil_propagateDirection(threadData, _dir1, _dir2);
5699#line 5699 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5700
5701#line 4892 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5702 _if2 = omc_SCodeUtil_propagateIsField(threadData, _if1, _if2);
5703#line 5703 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5704
5705#line 4893 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5706 tmpMeta[0] = mmc_mk_box7(3, &SCode_Attributes_ATTR__desc, _dims2, _ct2, _prl2, _var2, _dir2, _if2);
5707#line 4893 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5708 _outNewAttributes = tmpMeta[0];
5709#line 5709 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5710 _return: OMC_LABEL_UNUSED__attribute__((unused))
5711 return _outNewAttributes;
5712}
5713modelica_metatype boxptr_SCodeUtil_propagateAttributes(threadData_t *threadData, modelica_metatype _inOriginalAttributes, modelica_metatype _inNewAttributes, modelica_metatype _inNewTypeIsArray)
5714{
5715 modelica_integer tmp1;
5716 modelica_metatype _outNewAttributes = NULL((void*)0);
5717 tmp1 = mmc_unbox_integer(_inNewTypeIsArray)(((mmc_sint_t) (_inNewTypeIsArray)) >> 1);
5718 _outNewAttributes = omc_SCodeUtil_propagateAttributes(threadData, _inOriginalAttributes, _inNewAttributes, tmp1);
5719 /* skip box _outNewAttributes; SCode.Attributes */
5720 return _outNewAttributes;
5721}
5722
5723DLLExport
5724modelica_metatype omc_SCodeUtil_mergeComponentModifiers(threadData_t *threadData, modelica_metatype _inNewComp, modelica_metatype _inOldComp)
5725{
5726 modelica_metatype _outComp = NULL((void*)0);
5727 modelica_metatype tmpMeta[10] __attribute__((unused)) = {0};
5728 MMC_SO()mmc_check_stackoverflow(threadData);
5729 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5730 // _outComp has no default value.
5731#line 5731 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5732 { /* match expression */
5733 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
5734 tmp3_1 = _inNewComp;
5735 tmp3_2 = _inOldComp;
5736 {
5737 modelica_string _n1 = NULL((void*)0);
5738 modelica_metatype _p1 = NULL((void*)0);
5739 modelica_metatype _a1 = NULL((void*)0);
5740 modelica_metatype _t1 = NULL((void*)0);
5741 modelica_metatype _m1 = NULL((void*)0);
5742 modelica_metatype _m2 = NULL((void*)0);
5743 modelica_metatype _m = NULL((void*)0);
5744 modelica_metatype _c1 = NULL((void*)0);
5745 modelica_metatype _cnd1 = NULL((void*)0);
5746 modelica_metatype _i1 = NULL((void*)0);
5747 volatile mmc_switch_type tmp3;
5748 int tmp4;
5749 // _n1 has no default value.
5750 // _p1 has no default value.
5751 // _a1 has no default value.
5752 // _t1 has no default value.
5753 // _m1 has no default value.
5754 // _m2 has no default value.
5755 // _m has no default value.
5756 // _c1 has no default value.
5757 // _cnd1 has no default value.
5758 // _i1 has no default value.
5759 tmp3 = 0;
5760 for (; tmp3 < 1; tmp3++) {
5761 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
5762 case 0: {
5763 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,3,8)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((8 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
5764 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
5765 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
5766 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
5767 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
5768 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
5769 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(7)))))
;
5770 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(8)))))
;
5771 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(9)))))
;
5772 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,3,8)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((8 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
5773 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(6)))))
;
5774
5775 _n1 = tmpMeta[1];
5776 _p1 = tmpMeta[2];
5777 _a1 = tmpMeta[3];
5778 _t1 = tmpMeta[4];
5779 _m1 = tmpMeta[5];
5780 _c1 = tmpMeta[6];
5781 _cnd1 = tmpMeta[7];
5782 _i1 = tmpMeta[8];
5783 _m2 = tmpMeta[9];
5784 /* Pattern matching succeeded */
5785#line 4856 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5786 _m = omc_SCodeUtil_mergeModifiers(threadData, _m1, _m2);
5787#line 5787 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5788#line 4857 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5789 tmpMeta[1] = mmc_mk_box9(6, &SCode_Element_COMPONENT__desc, _n1, _p1, _a1, _t1, _m, _c1, _cnd1, _i1);
5790#line 4857 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/SCodeUtil.mo"
5791 tmpMeta[0] = tmpMeta[1];
5792#line 5792 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/SCodeUtil.c"
5793