Bug Summary

File:OMCompiler/Compiler/boot/build/NFFunction.c
Warning:line 1821, column 15
Value stored to '_name' 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/NFFunction.c" OMC_BASE_FILE
3#else
4 #define OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c" "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5#endif
6#include "omc_simulation_settings.h"
7#include "NFFunction.h"
8#define _OMC_LIT0_data"NFFunction.Function.getBody2 got function with multiple algorithm sections" "NFFunction.Function.getBody2 got function with multiple algorithm sections"
9static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT0,74,_OMC_LIT0_data)struct { mmc_uint_t header; const char data[(74)+1]; } _OMC_LIT_STRUCT0
= { ((((mmc_uint_t)74)<<(3))+((1<<(3+3))+5)), "NFFunction.Function.getBody2 got function with multiple algorithm sections"
}
;
10#define _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT0)((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3))
11#define _OMC_LIT1_data"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo" "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
12static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT1,98,_OMC_LIT1_data)struct { mmc_uint_t header; const char data[(98)+1]; } _OMC_LIT_STRUCT1
= { ((((mmc_uint_t)98)<<(3))+((1<<(3+3))+5)), "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
}
;
13#define _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT1)((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))
14static const MMC_DEFREALLIT(_OMC_LIT_STRUCT2_6,1588090879.0)struct mmc_real_lit _OMC_LIT_STRUCT2_6 = {0,(((8/8) << 10
) + 9),1588090879.0}
;
15#define _OMC_LIT2_6((void*)((char*)(&(_OMC_LIT_STRUCT2_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT2_6)((void*)((char*)(&(_OMC_LIT_STRUCT2_6).header) + 3))
16static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT2,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT2
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(2210))((void*)(((((mmc_uint_t) (2210)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(11))((void*)(((((mmc_uint_t) (11)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(2210))((void*)(((((mmc_uint_t) (2210)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(117))((void*)(((((mmc_uint_t) (117)) << 1)+0))),_OMC_LIT2_6((void*)((char*)(&(_OMC_LIT_STRUCT2_6).header) + 3))}};
17#define _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT2)((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))
18#define _OMC_LIT3_data"NFFunction.Function.getBody2 got unknown function" "NFFunction.Function.getBody2 got unknown function"
19static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT3,49,_OMC_LIT3_data)struct { mmc_uint_t header; const char data[(49)+1]; } _OMC_LIT_STRUCT3
= { ((((mmc_uint_t)49)<<(3))+((1<<(3+3))+5)), "NFFunction.Function.getBody2 got unknown function"
}
;
20#define _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT3)((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3))
21static const MMC_DEFREALLIT(_OMC_LIT_STRUCT4_6,1588090879.0)struct mmc_real_lit _OMC_LIT_STRUCT4_6 = {0,(((8/8) << 10
) + 9),1588090879.0}
;
22#define _OMC_LIT4_6((void*)((char*)(&(_OMC_LIT_STRUCT4_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT4_6)((void*)((char*)(&(_OMC_LIT_STRUCT4_6).header) + 3))
23static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT4,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT4
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(2218))((void*)(((((mmc_uint_t) (2218)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(11))((void*)(((((mmc_uint_t) (11)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(2218))((void*)(((((mmc_uint_t) (2218)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(92))((void*)(((((mmc_uint_t) (92)) << 1)+0))),_OMC_LIT4_6((void*)((char*)(&(_OMC_LIT_STRUCT4_6).header) + 3))}};
24#define _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT4)((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))
25static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT5,1,12)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT5
= { (((1) << 10) + (((12) & 255) << 2)),
{&NFType_NORETCALL__desc,}};
26#define _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT5)((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))
27static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT6,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT6
= { (((1) << 10) + (((5) & 255) << 2)),
{&ErrorTypes_MessageType_TRANSLATION__desc,}};
28#define _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT6)((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))
29static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT7,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT7
= { (((1) << 10) + (((4) & 255) << 2)),
{&ErrorTypes_Severity_ERROR__desc,}};
30#define _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT7)((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))
31#define _OMC_LIT8_data"Invalid type %s for function component %s." "Invalid type %s for function component %s."
32static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT8,42,_OMC_LIT8_data)struct { mmc_uint_t header; const char data[(42)+1]; } _OMC_LIT_STRUCT8
= { ((((mmc_uint_t)42)<<(3))+((1<<(3+3))+5)), "Invalid type %s for function component %s."
}
;
33#define _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT8)((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))
34static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT9,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT9
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))}};
35#define _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT9)((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))
36static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT10,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT10
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(198))((void*)(((((mmc_uint_t) (198)) << 1)+0))),_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)),_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))}};
37#define _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT10)((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))
38#define _OMC_LIT11_data"NFFunction.Function.makeAttributes got non-function restriction" "NFFunction.Function.makeAttributes got non-function restriction"
39static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT11,63,_OMC_LIT11_data)struct { mmc_uint_t header; const char data[(63)+1]; } _OMC_LIT_STRUCT11
= { ((((mmc_uint_t)63)<<(3))+((1<<(3+3))+5)), "NFFunction.Function.makeAttributes got non-function restriction"
}
;
40#define _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT11)((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))
41static const MMC_DEFREALLIT(_OMC_LIT_STRUCT12_6,1588090879.0)struct mmc_real_lit _OMC_LIT_STRUCT12_6 = {0,(((8/8) <<
10) + 9),1588090879.0}
;
42#define _OMC_LIT12_6((void*)((char*)(&(_OMC_LIT_STRUCT12_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT12_6)((void*)((char*)(&(_OMC_LIT_STRUCT12_6).header) + 3))
43static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT12,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT12
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(2050))((void*)(((((mmc_uint_t) (2050)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(5))((void*)(((((mmc_uint_t) (5)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(2050))((void*)(((((mmc_uint_t) (2050)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(125))((void*)(((((mmc_uint_t) (125)) << 1)+0))),_OMC_LIT12_6((void*)((char*)(&(_OMC_LIT_STRUCT12_6).header) + 3))}};
44#define _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT12)((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))
45static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT13,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT13
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_FunctionParallelism_FP__NON__PARALLEL__desc,}};
46#define _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT13)((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))
47static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT14,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT14
= { (((1) << 10) + (((4) & 255) << 2)),
{&DAE_FunctionParallelism_FP__PARALLEL__FUNCTION__desc,}};
48#define _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT14)((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))
49static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT15,1,7)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT15
= { (((1) << 10) + (((7) & 255) << 2)),
{&DAE_InlineType_NO__INLINE__desc,}};
50#define _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT15)((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))
51static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT16,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT16
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_FunctionBuiltin_FUNCTION__NOT__BUILTIN__desc,}};
52#define _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT16)((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))
53static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT17,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT17
= { (((1) << 10) + (((5) & 255) << 2)),
{&DAE_FunctionParallelism_FP__KERNEL__FUNCTION__desc,}};
54#define _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT17)((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))
55#define _OMC_LIT18_data"__ModelicaAssociation_Impure" "__ModelicaAssociation_Impure"
56static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT18,28,_OMC_LIT18_data)struct { mmc_uint_t header; const char data[(28)+1]; } _OMC_LIT_STRUCT18
= { ((((mmc_uint_t)28)<<(3))+((1<<(3+3))+5)), "__ModelicaAssociation_Impure"
}
;
57#define _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT18)((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))
58static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT19,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT19
= { (((1) << 10) + (((5) & 255) << 2)),
{&SCode_Mod_NOMOD__desc,}};
59#define _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT19)((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))
60static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT20,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT20
= { (((1) << 10) + (((5) & 255) << 2)),
{&DAE_FunctionBuiltin_FUNCTION__BUILTIN__PTR__desc,}};
61#define _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT20)((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))
62#define _OMC_LIT21_data"__OpenModelica_Impure" "__OpenModelica_Impure"
63static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT21,21,_OMC_LIT21_data)struct { mmc_uint_t header; const char data[(21)+1]; } _OMC_LIT_STRUCT21
= { ((((mmc_uint_t)21)<<(3))+((1<<(3+3))+5)), "__OpenModelica_Impure"
}
;
64#define _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT21)((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))
65#define _OMC_LIT22_data"$in_" "$in_"
66static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT22,4,_OMC_LIT22_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT22
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "$in_"
}
;
67#define _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT22)((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))
68#define _OMC_LIT23_data"NFFunction.Function.makeSlot got invalid component" "NFFunction.Function.makeSlot got invalid component"
69static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT23,50,_OMC_LIT23_data)struct { mmc_uint_t header; const char data[(50)+1]; } _OMC_LIT_STRUCT23
= { ((((mmc_uint_t)50)<<(3))+((1<<(3+3))+5)), "NFFunction.Function.makeSlot got invalid component"
}
;
70#define _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT23)((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))
71static const MMC_DEFREALLIT(_OMC_LIT_STRUCT24_6,1588090879.0)struct mmc_real_lit _OMC_LIT_STRUCT24_6 = {0,(((8/8) <<
10) + 9),1588090879.0}
;
72#define _OMC_LIT24_6((void*)((char*)(&(_OMC_LIT_STRUCT24_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT24_6)((void*)((char*)(&(_OMC_LIT_STRUCT24_6).header) + 3))
73static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT24,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT24
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1985))((void*)(((((mmc_uint_t) (1985)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(7))((void*)(((((mmc_uint_t) (7)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1985))((void*)(((((mmc_uint_t) (1985)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(89))((void*)(((((mmc_uint_t) (89)) << 1)+0))),_OMC_LIT24_6((void*)((char*)(&(_OMC_LIT_STRUCT24_6).header) + 3))}};
74#define _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT24)((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))
75#define _OMC_LIT25_data"Invalid prefix %s on formal parameter %s." "Invalid prefix %s on formal parameter %s."
76static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT25,41,_OMC_LIT25_data)struct { mmc_uint_t header; const char data[(41)+1]; } _OMC_LIT_STRUCT25
= { ((((mmc_uint_t)41)<<(3))+((1<<(3+3))+5)), "Invalid prefix %s on formal parameter %s."
}
;
77#define _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT25)((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))
78static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT26,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT26
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))}};
79#define _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT26)((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))
80static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT27,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT27
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(227))((void*)(((((mmc_uint_t) (227)) << 1)+0))),_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)),_OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))}};
81#define _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT27)((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))
82static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT28,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT28
= { (((1) << 10) + (((5) & 255) << 2)),
{&ErrorTypes_Severity_WARNING__desc,}};
83#define _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT28)((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))
84#define _OMC_LIT29_data"Invalid public variable %s, function variables that are not input/output must be protected." "Invalid public variable %s, function variables that are not input/output must be protected."
85static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT29,91,_OMC_LIT29_data)struct { mmc_uint_t header; const char data[(91)+1]; } _OMC_LIT_STRUCT29
= { ((((mmc_uint_t)91)<<(3))+((1<<(3+3))+5)), "Invalid public variable %s, function variables that are not input/output must be protected."
}
;
86#define _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT29)((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3))
87static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT30,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT30
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3))}};
88#define _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT30)((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))
89static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT31,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT31
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(201))((void*)(((((mmc_uint_t) (201)) << 1)+0))),_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),_OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)),_OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))}};
90#define _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT31)((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))
91#define _OMC_LIT32_data"Invalid protected variable %s, function variables that are input/output must be public." "Invalid protected variable %s, function variables that are input/output must be public."
92static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT32,87,_OMC_LIT32_data)struct { mmc_uint_t header; const char data[(87)+1]; } _OMC_LIT_STRUCT32
= { ((((mmc_uint_t)87)<<(3))+((1<<(3+3))+5)), "Invalid protected variable %s, function variables that are input/output must be public."
}
;
93#define _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT32)((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))
94static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT33,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT33
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))}};
95#define _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT33)((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3))
96static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT34,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT34
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(202))((void*)(((((mmc_uint_t) (202)) << 1)+0))),_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)),_OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3))}};
97#define _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT34)((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))
98#define _OMC_LIT35_data"NFFunction.Function.collectParams got non-class node" "NFFunction.Function.collectParams got non-class node"
99static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT35,52,_OMC_LIT35_data)struct { mmc_uint_t header; const char data[(52)+1]; } _OMC_LIT_STRUCT35
= { ((((mmc_uint_t)52)<<(3))+((1<<(3+3))+5)), "NFFunction.Function.collectParams got non-class node"
}
;
100#define _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT35)((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3))
101static const MMC_DEFREALLIT(_OMC_LIT_STRUCT36_6,1588090879.0)struct mmc_real_lit _OMC_LIT_STRUCT36_6 = {0,(((8/8) <<
10) + 9),1588090879.0}
;
102#define _OMC_LIT36_6((void*)((char*)(&(_OMC_LIT_STRUCT36_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT36_6)((void*)((char*)(&(_OMC_LIT_STRUCT36_6).header) + 3))
103static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT36,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT36
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1868))((void*)(((((mmc_uint_t) (1868)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(5))((void*)(((((mmc_uint_t) (5)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1868))((void*)(((((mmc_uint_t) (1868)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(101))((void*)(((((mmc_uint_t) (101)) << 1)+0))),_OMC_LIT36_6((void*)((char*)(&(_OMC_LIT_STRUCT36_6).header) + 3))}};
104#define _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT36)((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))
105#define _OMC_LIT37_data"NFFunction.Function.collectParams got non-instantiated function" "NFFunction.Function.collectParams got non-instantiated function"
106static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT37,63,_OMC_LIT37_data)struct { mmc_uint_t header; const char data[(63)+1]; } _OMC_LIT_STRUCT37
= { ((((mmc_uint_t)63)<<(3))+((1<<(3+3))+5)), "NFFunction.Function.collectParams got non-instantiated function"
}
;
107#define _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT37)((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3))
108static const MMC_DEFREALLIT(_OMC_LIT_STRUCT38_6,1588090879.0)struct mmc_real_lit _OMC_LIT_STRUCT38_6 = {0,(((8/8) <<
10) + 9),1588090879.0}
;
109#define _OMC_LIT38_6((void*)((char*)(&(_OMC_LIT_STRUCT38_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT38_6)((void*)((char*)(&(_OMC_LIT_STRUCT38_6).header) + 3))
110static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT38,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT38
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1895))((void*)(((((mmc_uint_t) (1895)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(11))((void*)(((((mmc_uint_t) (11)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1895))((void*)(((((mmc_uint_t) (1895)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(101))((void*)(((((mmc_uint_t) (101)) << 1)+0))),_OMC_LIT38_6((void*)((char*)(&(_OMC_LIT_STRUCT38_6).header) + 3))}};
111#define _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT38)((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))
112#define _OMC_LIT39_data"NFFunction.Function.getLocalArguments got local component without binding" "NFFunction.Function.getLocalArguments got local component without binding"
113static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT39,73,_OMC_LIT39_data)struct { mmc_uint_t header; const char data[(73)+1]; } _OMC_LIT_STRUCT39
= { ((((mmc_uint_t)73)<<(3))+((1<<(3+3))+5)), "NFFunction.Function.getLocalArguments got local component without binding"
}
;
114#define _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT39)((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3))
115static const MMC_DEFREALLIT(_OMC_LIT_STRUCT40_6,1588090879.0)struct mmc_real_lit _OMC_LIT_STRUCT40_6 = {0,(((8/8) <<
10) + 9),1588090879.0}
;
116#define _OMC_LIT40_6((void*)((char*)(&(_OMC_LIT_STRUCT40_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT40_6)((void*)((char*)(&(_OMC_LIT_STRUCT40_6).header) + 3))
117static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT40,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT40
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1847))((void*)(((((mmc_uint_t) (1847)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(9))((void*)(((((mmc_uint_t) (9)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1848))((void*)(((((mmc_uint_t) (1848)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(84))((void*)(((((mmc_uint_t) (84)) << 1)+0))),_OMC_LIT40_6((void*)((char*)(&(_OMC_LIT_STRUCT40_6).header) + 3))}};
118#define _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT40)((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))
119#define _OMC_LIT41_data"__OpenModelica_optionalArgument" "__OpenModelica_optionalArgument"
120static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT41,31,_OMC_LIT41_data)struct { mmc_uint_t header; const char data[(31)+1]; } _OMC_LIT_STRUCT41
= { ((((mmc_uint_t)31)<<(3))+((1<<(3+3))+5)), "__OpenModelica_optionalArgument"
}
;
121#define _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT41)((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))
122#define _OMC_LIT42_data"__OpenModelica_UnboxArguments" "__OpenModelica_UnboxArguments"
123static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT42,29,_OMC_LIT42_data)struct { mmc_uint_t header; const char data[(29)+1]; } _OMC_LIT_STRUCT42
= { ((((mmc_uint_t)29)<<(3))+((1<<(3+3))+5)), "__OpenModelica_UnboxArguments"
}
;
124#define _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT42)((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))
125static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT43,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT43
= { (((1) << 10) + (((3) & 255) << 2)),
{&SCode_Visibility_PUBLIC__desc,}};
126#define _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT43)((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))
127static 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)),
{&DAE_Prefix_NOPRE__desc,}};
128#define _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT44)((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))
129#define _OMC_LIT45_data"" ""
130static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT45,0,_OMC_LIT45_data)struct { mmc_uint_t header; const char data[(0)+1]; } _OMC_LIT_STRUCT45
= { ((((mmc_uint_t)0)<<(3))+((1<<(3+3))+5)), "" }
;
131#define _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT45)((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))
132static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT46,1,11)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT46
= { (((1) << 10) + (((11) & 255) << 2)),
{&DAE_Type_T__UNKNOWN__desc,}};
133#define _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT46)((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))
134static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT47,4,4)struct { mmc_uint_t header; const void *data[4]; } _OMC_LIT_STRUCT47
= { (((4) << 10) + (((4) & 255) << 2)),
{&DAE_ComponentRef_CREF__IDENT__desc,_OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)),_OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
135#define _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT47)((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))
136static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT48,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT48
= { (((2) << 10) + (((0) & 255) << 2)),
{_OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)),_OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))}};
137#define _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT48)((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))
138static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT49,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT49
= { (((1) << 10) + (((4) & 255) << 2)),
{&DAE_InlineType_BUILTIN__EARLY__INLINE__desc,}};
139#define _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT49)((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))
140#define _OMC_LIT50_data"change" "change"
141static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT50,6,_OMC_LIT50_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT50
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "change"
}
;
142#define _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT50)((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))
143#define _OMC_LIT51_data"der" "der"
144static 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)), "der"
}
;
145#define _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT51)((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))
146#define _OMC_LIT52_data"pre" "pre"
147static 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)), "pre"
}
;
148#define _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT52)((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3))
149#define _OMC_LIT53_data"array" "array"
150static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT53,5,_OMC_LIT53_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT53
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "array"
}
;
151#define _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT53)((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3))
152#define _OMC_LIT54_data"actualStream" "actualStream"
153static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT54,12,_OMC_LIT54_data)struct { mmc_uint_t header; const char data[(12)+1]; } _OMC_LIT_STRUCT54
= { ((((mmc_uint_t)12)<<(3))+((1<<(3+3))+5)), "actualStream"
}
;
154#define _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT54)((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))
155#define _OMC_LIT55_data"branch" "branch"
156static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT55,6,_OMC_LIT55_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT55
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "branch"
}
;
157#define _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT55)((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))
158#define _OMC_LIT56_data"cardinality" "cardinality"
159static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT56,11,_OMC_LIT56_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT56
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "cardinality"
}
;
160#define _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT56)((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3))
161#define _OMC_LIT57_data"cat" "cat"
162static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT57,3,_OMC_LIT57_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT57
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "cat"
}
;
163#define _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT57)((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3))
164#define _OMC_LIT58_data"diagonal" "diagonal"
165static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT58,8,_OMC_LIT58_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT58
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "diagonal"
}
;
166#define _OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT58)((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3))
167#define _OMC_LIT59_data"edge" "edge"
168static 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)), "edge"
}
;
169#define _OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT59)((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3))
170#define _OMC_LIT60_data"fill" "fill"
171static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT60,4,_OMC_LIT60_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT60
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "fill"
}
;
172#define _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT60)((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3))
173#define _OMC_LIT61_data"getInstanceName" "getInstanceName"
174static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT61,15,_OMC_LIT61_data)struct { mmc_uint_t header; const char data[(15)+1]; } _OMC_LIT_STRUCT61
= { ((((mmc_uint_t)15)<<(3))+((1<<(3+3))+5)), "getInstanceName"
}
;
175#define _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT61)((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3))
176#define _OMC_LIT62_data"initial" "initial"
177static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT62,7,_OMC_LIT62_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT62
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "initial"
}
;
178#define _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT62)((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3))
179#define _OMC_LIT63_data"inStream" "inStream"
180static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT63,8,_OMC_LIT63_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT63
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "inStream"
}
;
181#define _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT63)((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3))
182#define _OMC_LIT64_data"isRoot" "isRoot"
183static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT64,6,_OMC_LIT64_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT64
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "isRoot"
}
;
184#define _OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT64)((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3))
185#define _OMC_LIT65_data"matrix" "matrix"
186static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT65,6,_OMC_LIT65_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT65
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "matrix"
}
;
187#define _OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT65)((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3))
188#define _OMC_LIT66_data"max" "max"
189static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT66,3,_OMC_LIT66_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT66
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "max"
}
;
190#define _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT66)((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3))
191#define _OMC_LIT67_data"min" "min"
192static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT67,3,_OMC_LIT67_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT67
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "min"
}
;
193#define _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT67)((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3))
194#define _OMC_LIT68_data"ndims" "ndims"
195static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT68,5,_OMC_LIT68_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT68
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "ndims"
}
;
196#define _OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT68)((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3))
197#define _OMC_LIT69_data"noEvent" "noEvent"
198static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT69,7,_OMC_LIT69_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT69
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "noEvent"
}
;
199#define _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT69)((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3))
200#define _OMC_LIT70_data"ones" "ones"
201static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT70,4,_OMC_LIT70_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT70
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "ones"
}
;
202#define _OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT70)((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3))
203#define _OMC_LIT71_data"potentialRoot" "potentialRoot"
204static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT71,13,_OMC_LIT71_data)struct { mmc_uint_t header; const char data[(13)+1]; } _OMC_LIT_STRUCT71
= { ((((mmc_uint_t)13)<<(3))+((1<<(3+3))+5)), "potentialRoot"
}
;
205#define _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT71)((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3))
206#define _OMC_LIT72_data"product" "product"
207static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT72,7,_OMC_LIT72_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT72
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "product"
}
;
208#define _OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT72)((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3))
209#define _OMC_LIT73_data"root" "root"
210static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT73,4,_OMC_LIT73_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT73
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "root"
}
;
211#define _OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT73)((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3))
212#define _OMC_LIT74_data"rooted" "rooted"
213static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT74,6,_OMC_LIT74_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT74
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "rooted"
}
;
214#define _OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT74)((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3))
215#define _OMC_LIT75_data"uniqueRoot" "uniqueRoot"
216static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT75,10,_OMC_LIT75_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT75
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "uniqueRoot"
}
;
217#define _OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT75)((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3))
218#define _OMC_LIT76_data"uniqueRootIndices" "uniqueRootIndices"
219static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT76,17,_OMC_LIT76_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT76
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "uniqueRootIndices"
}
;
220#define _OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT76)((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3))
221#define _OMC_LIT77_data"scalar" "scalar"
222static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT77,6,_OMC_LIT77_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT77
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "scalar"
}
;
223#define _OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT77)((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3))
224#define _OMC_LIT78_data"size" "size"
225static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT78,4,_OMC_LIT78_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT78
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "size"
}
;
226#define _OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT78)((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3))
227#define _OMC_LIT79_data"smooth" "smooth"
228static 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)), "smooth"
}
;
229#define _OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT79)((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3))
230#define _OMC_LIT80_data"sum" "sum"
231static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT80,3,_OMC_LIT80_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT80
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "sum"
}
;
232#define _OMC_LIT80((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT80)((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3))
233#define _OMC_LIT81_data"symmetric" "symmetric"
234static 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)), "symmetric"
}
;
235#define _OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT81)((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3))
236#define _OMC_LIT82_data"terminal" "terminal"
237static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT82,8,_OMC_LIT82_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT82
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "terminal"
}
;
238#define _OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT82)((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3))
239#define _OMC_LIT83_data"transpose" "transpose"
240static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT83,9,_OMC_LIT83_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT83
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "transpose"
}
;
241#define _OMC_LIT83((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT83)((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3))
242#define _OMC_LIT84_data"vector" "vector"
243static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT84,6,_OMC_LIT84_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT84
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "vector"
}
;
244#define _OMC_LIT84((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT84)((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3))
245#define _OMC_LIT85_data"zeros" "zeros"
246static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT85,5,_OMC_LIT85_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT85
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "zeros"
}
;
247#define _OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT85)((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3))
248#define _OMC_LIT86_data"sample" "sample"
249static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT86,6,_OMC_LIT86_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT86
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "sample"
}
;
250#define _OMC_LIT86((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT86)((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3))
251#define _OMC_LIT87_data"Type mismatch for named argument in %s(%s=%s). The argument has type:\n %s\nexpected type:\n %s" "Type mismatch for named argument in %s(%s=%s). The argument has type:\n %s\nexpected type:\n %s"
252static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT87,94,_OMC_LIT87_data)struct { mmc_uint_t header; const char data[(94)+1]; } _OMC_LIT_STRUCT87
= { ((((mmc_uint_t)94)<<(3))+((1<<(3+3))+5)), "Type mismatch for named argument in %s(%s=%s). The argument has type:\n %s\nexpected type:\n %s"
}
;
253#define _OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT87)((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3))
254static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT88,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT88
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3))}};
255#define _OMC_LIT88((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT88)((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3))
256static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT89,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT89
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(268))((void*)(((((mmc_uint_t) (268)) << 1)+0))),_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)),_OMC_LIT88((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3))}};
257#define _OMC_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT89)((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3))
258#define _OMC_LIT90_data"." "."
259static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT90,1,_OMC_LIT90_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT90
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "."
}
;
260#define _OMC_LIT90((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT90)((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3))
261#define _OMC_LIT91_data"Function %s has no input parameter named %s." "Function %s has no input parameter named %s."
262static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT91,44,_OMC_LIT91_data)struct { mmc_uint_t header; const char data[(44)+1]; } _OMC_LIT_STRUCT91
= { ((((mmc_uint_t)44)<<(3))+((1<<(3+3))+5)), "Function %s has no input parameter named %s."
}
;
263#define _OMC_LIT91((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT91)((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3))
264static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT92,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT92
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT91((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3))}};
265#define _OMC_LIT92((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT92)((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3))
266static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT93,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT93
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(343))((void*)(((((mmc_uint_t) (343)) << 1)+0))),_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)),_OMC_LIT92((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3))}};
267#define _OMC_LIT93((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT93)((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3))
268static const MMC_DEFREALLIT(_OMC_LIT_STRUCT94,0.0)struct mmc_real_lit _OMC_LIT_STRUCT94 = {0,(((8/8) << 10
) + 9),0.0}
;
269#define _OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT94)((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3))
270static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT95,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT95
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).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_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3))}};
271#define _OMC_LIT95((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT95)((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3))
272static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT96,4,3)struct { mmc_uint_t header; const void *data[4]; } _OMC_LIT_STRUCT96
= { (((4) << 10) + (((3) & 255) << 2)),
{&NFBinding_Binding_UNBOUND__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT95((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3))}};
273#define _OMC_LIT96((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT96)((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3))
274#define _OMC_LIT97_data"NFFunction.Function.typeRefCache got invalid function call reference" "NFFunction.Function.typeRefCache got invalid function call reference"
275static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT97,68,_OMC_LIT97_data)struct { mmc_uint_t header; const char data[(68)+1]; } _OMC_LIT_STRUCT97
= { ((((mmc_uint_t)68)<<(3))+((1<<(3+3))+5)), "NFFunction.Function.typeRefCache got invalid function call reference"
}
;
276#define _OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT97)((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3))
277static const MMC_DEFREALLIT(_OMC_LIT_STRUCT98_6,1588090879.0)struct mmc_real_lit _OMC_LIT_STRUCT98_6 = {0,(((8/8) <<
10) + 9),1588090879.0}
;
278#define _OMC_LIT98_6((void*)((char*)(&(_OMC_LIT_STRUCT98_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT98_6)((void*)((char*)(&(_OMC_LIT_STRUCT98_6).header) + 3))
279static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT98,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT98
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1242))((void*)(((((mmc_uint_t) (1242)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(11))((void*)(((((mmc_uint_t) (11)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1242))((void*)(((((mmc_uint_t) (1242)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(107))((void*)(((((mmc_uint_t) (107)) << 1)+0))),_OMC_LIT98_6((void*)((char*)(&(_OMC_LIT_STRUCT98_6).header) + 3))}};
280#define _OMC_LIT98((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT98)((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3))
281#define _OMC_LIT99_data"NFFunction:matchFunctions" "NFFunction:matchFunctions"
282static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT99,25,_OMC_LIT99_data)struct { mmc_uint_t header; const char data[(25)+1]; } _OMC_LIT_STRUCT99
= { ((((mmc_uint_t)25)<<(3))+((1<<(3+3))+5)), "NFFunction:matchFunctions"
}
;
283#define _OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT99)((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3))
284static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT100,1,7)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT100
= { (((1) << 10) + (((7) & 255) << 2)),
{&NFFunction_FunctionMatchKind_NOT__COMPATIBLE__desc,}};
285#define _OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT100)((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3))
286#define _OMC_LIT101_data"Failed to vectorize function call because arguments %s=%s and %s=%s have mismatched dimensions %s and %s." "Failed to vectorize function call because arguments %s=%s and %s=%s have mismatched dimensions %s and %s."
287static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT101,105,_OMC_LIT101_data)struct { mmc_uint_t header; const char data[(105)+1]; } _OMC_LIT_STRUCT101
= { ((((mmc_uint_t)105)<<(3))+((1<<(3+3))+5)), "Failed to vectorize function call because arguments %s=%s and %s=%s have mismatched dimensions %s and %s."
}
;
288#define _OMC_LIT101((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT101)((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3))
289static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT102,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT102
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT101((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3))}};
290#define _OMC_LIT102((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT102)((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3))
291static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT103,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT103
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(274))((void*)(((((mmc_uint_t) (274)) << 1)+0))),_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)),_OMC_LIT102((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3))}};
292#define _OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT103)((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3))
293static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT104,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT104
= { (((1) << 10) + (((3) & 255) << 2)),
{&NFFunction_FunctionMatchKind_EXACT__desc,}};
294#define _OMC_LIT104((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT104)((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3))
295static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT105,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT105
= { (((2) << 10) + (((3) & 255) << 2)),
{&NFExpression_INTEGER__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
296#define _OMC_LIT105((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT105)((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3))
297#define _OMC_LIT106_data"Function argument %s=%s in call to %s has variability %s which is not a %s expression." "Function argument %s=%s in call to %s has variability %s which is not a %s expression."
298static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT106,86,_OMC_LIT106_data)struct { mmc_uint_t header; const char data[(86)+1]; } _OMC_LIT_STRUCT106
= { ((((mmc_uint_t)86)<<(3))+((1<<(3+3))+5)), "Function argument %s=%s in call to %s has variability %s which is not a %s expression."
}
;
299#define _OMC_LIT106((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT106)((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3))
300static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT107,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT107
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT106((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3))}};
301#define _OMC_LIT107((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT107)((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3))
302static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT108,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT108
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(195))((void*)(((((mmc_uint_t) (195)) << 1)+0))),_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)),_OMC_LIT107((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3))}};
303#define _OMC_LIT108((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT108)((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3))
304#define _OMC_LIT109_data"Type mismatch for positional argument %s in %s(%s=%s). The argument has type:\n %s\nexpected type:\n %s" "Type mismatch for positional argument %s in %s(%s=%s). The argument has type:\n %s\nexpected type:\n %s"
305static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT109,102,_OMC_LIT109_data)struct { mmc_uint_t header; const char data[(102)+1]; } _OMC_LIT_STRUCT109
= { ((((mmc_uint_t)102)<<(3))+((1<<(3+3))+5)), "Type mismatch for positional argument %s in %s(%s=%s). The argument has type:\n %s\nexpected type:\n %s"
}
;
306#define _OMC_LIT109((void*)((char*)(&(_OMC_LIT_STRUCT109).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT109)((void*)((char*)(&(_OMC_LIT_STRUCT109).header) + 3))
307static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT110,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT110
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT109((void*)((char*)(&(_OMC_LIT_STRUCT109).header) + 3))}};
308#define _OMC_LIT110((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT110)((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3))
309static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT111,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT111
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(269))((void*)(((((mmc_uint_t) (269)) << 1)+0))),_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)),_OMC_LIT110((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3))}};
310#define _OMC_LIT111((void*)((char*)(&(_OMC_LIT_STRUCT111).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT111)((void*)((char*)(&(_OMC_LIT_STRUCT111).header) + 3))
311static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT112,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT112
= { (((1) << 10) + (((5) & 255) << 2)),
{&NFFunction_FunctionMatchKind_GENERIC__desc,}};
312#define _OMC_LIT112((void*)((char*)(&(_OMC_LIT_STRUCT112).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT112)((void*)((char*)(&(_OMC_LIT_STRUCT112).header) + 3))
313static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT113,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT113
= { (((1) << 10) + (((4) & 255) << 2)),
{&NFFunction_FunctionMatchKind_CAST__desc,}};
314#define _OMC_LIT113((void*)((char*)(&(_OMC_LIT_STRUCT113).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT113)((void*)((char*)(&(_OMC_LIT_STRUCT113).header) + 3))
315static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT114,1,8)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT114
= { (((1) << 10) + (((8) & 255) << 2)),
{&ErrorTypes_MessageType_SCRIPTING__desc,}};
316#define _OMC_LIT114((void*)((char*)(&(_OMC_LIT_STRUCT114).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT114)((void*)((char*)(&(_OMC_LIT_STRUCT114).header) + 3))
317#define _OMC_LIT115_data"The default value of %s causes a cyclic dependency." "The default value of %s causes a cyclic dependency."
318static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT115,51,_OMC_LIT115_data)struct { mmc_uint_t header; const char data[(51)+1]; } _OMC_LIT_STRUCT115
= { ((((mmc_uint_t)51)<<(3))+((1<<(3+3))+5)), "The default value of %s causes a cyclic dependency."
}
;
319#define _OMC_LIT115((void*)((char*)(&(_OMC_LIT_STRUCT115).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT115)((void*)((char*)(&(_OMC_LIT_STRUCT115).header) + 3))
320static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT116,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT116
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT115((void*)((char*)(&(_OMC_LIT_STRUCT115).header) + 3))}};
321#define _OMC_LIT116((void*)((char*)(&(_OMC_LIT_STRUCT116).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT116)((void*)((char*)(&(_OMC_LIT_STRUCT116).header) + 3))
322static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT117,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT117
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(267))((void*)(((((mmc_uint_t) (267)) << 1)+0))),_OMC_LIT114((void*)((char*)(&(_OMC_LIT_STRUCT114).header) + 3)),_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)),_OMC_LIT116((void*)((char*)(&(_OMC_LIT_STRUCT116).header) + 3))}};
323#define _OMC_LIT117((void*)((char*)(&(_OMC_LIT_STRUCT117).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT117)((void*)((char*)(&(_OMC_LIT_STRUCT117).header) + 3))
324#define _OMC_LIT118_data"Function parameter %s was not given by the function call, and does not have a default value." "Function parameter %s was not given by the function call, and does not have a default value."
325static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT118,92,_OMC_LIT118_data)struct { mmc_uint_t header; const char data[(92)+1]; } _OMC_LIT_STRUCT118
= { ((((mmc_uint_t)92)<<(3))+((1<<(3+3))+5)), "Function parameter %s was not given by the function call, and does not have a default value."
}
;
326#define _OMC_LIT118((void*)((char*)(&(_OMC_LIT_STRUCT118).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT118)((void*)((char*)(&(_OMC_LIT_STRUCT118).header) + 3))
327static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT119,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT119
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT118((void*)((char*)(&(_OMC_LIT_STRUCT118).header) + 3))}};
328#define _OMC_LIT119((void*)((char*)(&(_OMC_LIT_STRUCT119).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT119)((void*)((char*)(&(_OMC_LIT_STRUCT119).header) + 3))
329static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT120,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT120
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(203))((void*)(((((mmc_uint_t) (203)) << 1)+0))),_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)),_OMC_LIT119((void*)((char*)(&(_OMC_LIT_STRUCT119).header) + 3))}};
330#define _OMC_LIT120((void*)((char*)(&(_OMC_LIT_STRUCT120).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT120)((void*)((char*)(&(_OMC_LIT_STRUCT120).header) + 3))
331#define _OMC_LIT121_data"Slot %s already filled in a function call in component %s." "Slot %s already filled in a function call in component %s."
332static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT121,58,_OMC_LIT121_data)struct { mmc_uint_t header; const char data[(58)+1]; } _OMC_LIT_STRUCT121
= { ((((mmc_uint_t)58)<<(3))+((1<<(3+3))+5)), "Slot %s already filled in a function call in component %s."
}
;
333#define _OMC_LIT121((void*)((char*)(&(_OMC_LIT_STRUCT121).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT121)((void*)((char*)(&(_OMC_LIT_STRUCT121).header) + 3))
334static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT122,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT122
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT121((void*)((char*)(&(_OMC_LIT_STRUCT121).header) + 3))}};
335#define _OMC_LIT122((void*)((char*)(&(_OMC_LIT_STRUCT122).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT122)((void*)((char*)(&(_OMC_LIT_STRUCT122).header) + 3))
336static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT123,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT123
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(79))((void*)(((((mmc_uint_t) (79)) << 1)+0))),_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)),_OMC_LIT122((void*)((char*)(&(_OMC_LIT_STRUCT122).header) + 3))}};
337#define _OMC_LIT123((void*)((char*)(&(_OMC_LIT_STRUCT123).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT123)((void*)((char*)(&(_OMC_LIT_STRUCT123).header) + 3))
338#define _OMC_LIT124_data"Function %s has no parameter named %s." "Function %s has no parameter named %s."
339static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT124,38,_OMC_LIT124_data)struct { mmc_uint_t header; const char data[(38)+1]; } _OMC_LIT_STRUCT124
= { ((((mmc_uint_t)38)<<(3))+((1<<(3+3))+5)), "Function %s has no parameter named %s."
}
;
340#define _OMC_LIT124((void*)((char*)(&(_OMC_LIT_STRUCT124).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT124)((void*)((char*)(&(_OMC_LIT_STRUCT124).header) + 3))
341static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT125,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT125
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT124((void*)((char*)(&(_OMC_LIT_STRUCT124).header) + 3))}};
342#define _OMC_LIT125((void*)((char*)(&(_OMC_LIT_STRUCT125).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT125)((void*)((char*)(&(_OMC_LIT_STRUCT125).header) + 3))
343static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT126,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT126
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(80))((void*)(((((mmc_uint_t) (80)) << 1)+0))),_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)),_OMC_LIT125((void*)((char*)(&(_OMC_LIT_STRUCT125).header) + 3))}};
344#define _OMC_LIT126((void*)((char*)(&(_OMC_LIT_STRUCT126).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT126)((void*)((char*)(&(_OMC_LIT_STRUCT126).header) + 3))
345#define _OMC_LIT127_data"NFFunction.Function.toFlatString" "NFFunction.Function.toFlatString"
346static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT127,32,_OMC_LIT127_data)struct { mmc_uint_t header; const char data[(32)+1]; } _OMC_LIT_STRUCT127
= { ((((mmc_uint_t)32)<<(3))+((1<<(3+3))+5)), "NFFunction.Function.toFlatString"
}
;
347#define _OMC_LIT127((void*)((char*)(&(_OMC_LIT_STRUCT127).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT127)((void*)((char*)(&(_OMC_LIT_STRUCT127).header) + 3))
348static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT128,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT128
= { (((1) << 10) + (((4) & 255) << 2)),
{&IOStream_IOStreamType_LIST__desc,}};
349#define _OMC_LIT128((void*)((char*)(&(_OMC_LIT_STRUCT128).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT128)((void*)((char*)(&(_OMC_LIT_STRUCT128).header) + 3))
350#define _OMC_LIT129_data"function '" "function '"
351static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT129,10,_OMC_LIT129_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT129
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "function '"
}
;
352#define _OMC_LIT129((void*)((char*)(&(_OMC_LIT_STRUCT129).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT129)((void*)((char*)(&(_OMC_LIT_STRUCT129).header) + 3))
353#define _OMC_LIT130_data"'\n" "'\n"
354static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT130,2,_OMC_LIT130_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT130
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "'\n"
}
;
355#define _OMC_LIT130((void*)((char*)(&(_OMC_LIT_STRUCT130).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT130)((void*)((char*)(&(_OMC_LIT_STRUCT130).header) + 3))
356#define _OMC_LIT131_data" " " "
357static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT131,2,_OMC_LIT131_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT131
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), " "
}
;
358#define _OMC_LIT131((void*)((char*)(&(_OMC_LIT_STRUCT131).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT131)((void*)((char*)(&(_OMC_LIT_STRUCT131).header) + 3))
359#define _OMC_LIT132_data";\n" ";\n"
360static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT132,2,_OMC_LIT132_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT132
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), ";\n"
}
;
361#define _OMC_LIT132((void*)((char*)(&(_OMC_LIT_STRUCT132).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT132)((void*)((char*)(&(_OMC_LIT_STRUCT132).header) + 3))
362#define _OMC_LIT133_data"protected\n" "protected\n"
363static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT133,10,_OMC_LIT133_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT133
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "protected\n"
}
;
364#define _OMC_LIT133((void*)((char*)(&(_OMC_LIT_STRUCT133).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT133)((void*)((char*)(&(_OMC_LIT_STRUCT133).header) + 3))
365#define _OMC_LIT134_data"algorithm\n" "algorithm\n"
366static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT134,10,_OMC_LIT134_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT134
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "algorithm\n"
}
;
367#define _OMC_LIT134((void*)((char*)(&(_OMC_LIT_STRUCT134).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT134)((void*)((char*)(&(_OMC_LIT_STRUCT134).header) + 3))
368#define _OMC_LIT135_data"end '" "end '"
369static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT135,5,_OMC_LIT135_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT135
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "end '"
}
;
370#define _OMC_LIT135((void*)((char*)(&(_OMC_LIT_STRUCT135).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT135)((void*)((char*)(&(_OMC_LIT_STRUCT135).header) + 3))
371#define _OMC_LIT136_data"'" "'"
372static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT136,1,_OMC_LIT136_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT136
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "'"
}
;
373#define _OMC_LIT136((void*)((char*)(&(_OMC_LIT_STRUCT136).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT136)((void*)((char*)(&(_OMC_LIT_STRUCT136).header) + 3))
374#define _OMC_LIT137_data"<function>" "<function>"
375static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT137,10,_OMC_LIT137_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT137
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "<function>"
}
;
376#define _OMC_LIT137((void*)((char*)(&(_OMC_LIT_STRUCT137).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT137)((void*)((char*)(&(_OMC_LIT_STRUCT137).header) + 3))
377#define _OMC_LIT138_data"(" "("
378static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT138,1,_OMC_LIT138_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT138
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "("
}
;
379#define _OMC_LIT138((void*)((char*)(&(_OMC_LIT_STRUCT138).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT138)((void*)((char*)(&(_OMC_LIT_STRUCT138).header) + 3))
380#define _OMC_LIT139_data", " ", "
381static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT139,2,_OMC_LIT139_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT139
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), ", "
}
;
382#define _OMC_LIT139((void*)((char*)(&(_OMC_LIT_STRUCT139).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT139)((void*)((char*)(&(_OMC_LIT_STRUCT139).header) + 3))
383#define _OMC_LIT140_data") => " ") => "
384static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT140,5,_OMC_LIT140_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT140
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), ") => "
}
;
385#define _OMC_LIT140((void*)((char*)(&(_OMC_LIT_STRUCT140).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT140)((void*)((char*)(&(_OMC_LIT_STRUCT140).header) + 3))
386#define _OMC_LIT141_data" = " " = "
387static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT141,3,_OMC_LIT141_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT141
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), " = "
}
;
388#define _OMC_LIT141((void*)((char*)(&(_OMC_LIT_STRUCT141).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT141)((void*)((char*)(&(_OMC_LIT_STRUCT141).header) + 3))
389#define _OMC_LIT142_data")" ")"
390static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT142,1,_OMC_LIT142_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT142
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), ")"
}
;
391#define _OMC_LIT142((void*)((char*)(&(_OMC_LIT_STRUCT142).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT142)((void*)((char*)(&(_OMC_LIT_STRUCT142).header) + 3))
392#define _OMC_LIT143_data"\n " "\n "
393static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT143,3,_OMC_LIT143_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT143
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "\n "
}
;
394#define _OMC_LIT143((void*)((char*)(&(_OMC_LIT_STRUCT143).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT143)((void*)((char*)(&(_OMC_LIT_STRUCT143).header) + 3))
395#define _OMC_LIT144_data"$" "$"
396static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT144,1,_OMC_LIT144_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT144
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "$"
}
;
397#define _OMC_LIT144((void*)((char*)(&(_OMC_LIT_STRUCT144).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT144)((void*)((char*)(&(_OMC_LIT_STRUCT144).header) + 3))
398#define _OMC_LIT145_data" " " "
399static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT145,1,_OMC_LIT145_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT145
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), " "
}
;
400#define _OMC_LIT145((void*)((char*)(&(_OMC_LIT_STRUCT145).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT145)((void*)((char*)(&(_OMC_LIT_STRUCT145).header) + 3))
401#define _OMC_LIT146_data" => " " => "
402static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT146,4,_OMC_LIT146_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT146
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), " => "
}
;
403#define _OMC_LIT146((void*)((char*)(&(_OMC_LIT_STRUCT146).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT146)((void*)((char*)(&(_OMC_LIT_STRUCT146).header) + 3))
404static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT147,1,10)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT147
= { (((1) << 10) + (((10) & 255) << 2)),
{&NFInstNode_InstNode_EMPTY__NODE__desc,}};
405#define _OMC_LIT147((void*)((char*)(&(_OMC_LIT_STRUCT147).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT147)((void*)((char*)(&(_OMC_LIT_STRUCT147).header) + 3))
406static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT148,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT148
= { (((1) << 10) + (((5) & 255) << 2)),
{&NFSections_EMPTY__desc,}};
407#define _OMC_LIT148((void*)((char*)(&(_OMC_LIT_STRUCT148).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT148)((void*)((char*)(&(_OMC_LIT_STRUCT148).header) + 3))
408#define _OMC_LIT149_data"Function call %s contains subscripts." "Function call %s contains subscripts."
409static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT149,37,_OMC_LIT149_data)struct { mmc_uint_t header; const char data[(37)+1]; } _OMC_LIT_STRUCT149
= { ((((mmc_uint_t)37)<<(3))+((1<<(3+3))+5)), "Function call %s contains subscripts."
}
;
410#define _OMC_LIT149((void*)((char*)(&(_OMC_LIT_STRUCT149).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT149)((void*)((char*)(&(_OMC_LIT_STRUCT149).header) + 3))
411static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT150,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT150
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT149((void*)((char*)(&(_OMC_LIT_STRUCT149).header) + 3))}};
412#define _OMC_LIT150((void*)((char*)(&(_OMC_LIT_STRUCT150).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT150)((void*)((char*)(&(_OMC_LIT_STRUCT150).header) + 3))
413static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT151,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT151
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(113))((void*)(((((mmc_uint_t) (113)) << 1)+0))),_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)),_OMC_LIT150((void*)((char*)(&(_OMC_LIT_STRUCT150).header) + 3))}};
414#define _OMC_LIT151((void*)((char*)(&(_OMC_LIT_STRUCT151).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT151)((void*)((char*)(&(_OMC_LIT_STRUCT151).header) + 3))
415static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT152,1,13)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT152
= { (((1) << 10) + (((13) & 255) << 2)),
{&NFType_UNKNOWN__desc,}};
416#define _OMC_LIT152((void*)((char*)(&(_OMC_LIT_STRUCT152).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT152)((void*)((char*)(&(_OMC_LIT_STRUCT152).header) + 3))
417#include "util/modelica.h"
418
419#include "NFFunction_includes.h"
420
421
422/* default, do not make protected functions static */
423#if !defined(PROTECTED_FUNCTION_STATIC)
424#define PROTECTED_FUNCTION_STATIC
425#endif
426PROTECTED_FUNCTION_STATIC modelica_boolean omc_NFFunction_Function_isValidParamState(threadData_t *threadData, modelica_metatype _cls);
427PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_NFFunction_Function_isValidParamState(threadData_t *threadData, modelica_metatype _cls);
428static const MMC_DEFSTRUCTLIT(boxvar_lit_NFFunction_Function_isValidParamState,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFFunction_Function_isValidParamState
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFFunction_Function_isValidParamState,0}};
429#define boxvar_NFFunction_Function_isValidParamState((void*)((char*)(&(boxvar_lit_NFFunction_Function_isValidParamState
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFFunction_Function_isValidParamState)((void*)((char*)(&(boxvar_lit_NFFunction_Function_isValidParamState
).header) + 3))
430PROTECTED_FUNCTION_STATIC modelica_boolean omc_NFFunction_Function_isValidParamType(threadData_t *threadData, modelica_metatype _ty);
431PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_NFFunction_Function_isValidParamType(threadData_t *threadData, modelica_metatype _ty);
432static const MMC_DEFSTRUCTLIT(boxvar_lit_NFFunction_Function_isValidParamType,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFFunction_Function_isValidParamType
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFFunction_Function_isValidParamType,0}};
433#define boxvar_NFFunction_Function_isValidParamType((void*)((char*)(&(boxvar_lit_NFFunction_Function_isValidParamType
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFFunction_Function_isValidParamType)((void*)((char*)(&(boxvar_lit_NFFunction_Function_isValidParamType
).header) + 3))
434PROTECTED_FUNCTION_STATIC void omc_NFFunction_Function_checkParamTypes2(threadData_t *threadData, modelica_metatype _params);
435static const MMC_DEFSTRUCTLIT(boxvar_lit_NFFunction_Function_checkParamTypes2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFFunction_Function_checkParamTypes2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFFunction_Function_checkParamTypes2omc_NFFunction_Function_checkParamTypes2,0}};
436#define boxvar_NFFunction_Function_checkParamTypes2((void*)((char*)(&(boxvar_lit_NFFunction_Function_checkParamTypes2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFFunction_Function_checkParamTypes2)((void*)((char*)(&(boxvar_lit_NFFunction_Function_checkParamTypes2
).header) + 3))
437PROTECTED_FUNCTION_STATIC void omc_NFFunction_Function_checkParamTypes(threadData_t *threadData, modelica_metatype _fn);
438static const MMC_DEFSTRUCTLIT(boxvar_lit_NFFunction_Function_checkParamTypes,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFFunction_Function_checkParamTypes
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFFunction_Function_checkParamTypesomc_NFFunction_Function_checkParamTypes,0}};
439#define boxvar_NFFunction_Function_checkParamTypes((void*)((char*)(&(boxvar_lit_NFFunction_Function_checkParamTypes
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFFunction_Function_checkParamTypes)((void*)((char*)(&(boxvar_lit_NFFunction_Function_checkParamTypes
).header) + 3))
440PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFFunction_Function_makeAttributes(threadData_t *threadData, modelica_metatype _node, modelica_metatype _inputs, modelica_metatype _outputs);
441static const MMC_DEFSTRUCTLIT(boxvar_lit_NFFunction_Function_makeAttributes,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFFunction_Function_makeAttributes
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFFunction_Function_makeAttributesomc_NFFunction_Function_makeAttributes,0}};
442#define boxvar_NFFunction_Function_makeAttributes((void*)((char*)(&(boxvar_lit_NFFunction_Function_makeAttributes
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFFunction_Function_makeAttributes)((void*)((char*)(&(boxvar_lit_NFFunction_Function_makeAttributes
).header) + 3))
443PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFFunction_Function_mergeFunctionAnnotations(threadData_t *threadData, modelica_metatype _comments);
444static const MMC_DEFSTRUCTLIT(boxvar_lit_NFFunction_Function_mergeFunctionAnnotations,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFFunction_Function_mergeFunctionAnnotations
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFFunction_Function_mergeFunctionAnnotationsomc_NFFunction_Function_mergeFunctionAnnotations,0}};
445#define boxvar_NFFunction_Function_mergeFunctionAnnotations((void*)((char*)(&(boxvar_lit_NFFunction_Function_mergeFunctionAnnotations
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFFunction_Function_mergeFunctionAnnotations)((void*)((char*)(&(boxvar_lit_NFFunction_Function_mergeFunctionAnnotations
).header) + 3))
446PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFFunction_Function_getBuiltin(threadData_t *threadData, modelica_metatype _def);
447static const MMC_DEFSTRUCTLIT(boxvar_lit_NFFunction_Function_getBuiltin,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFFunction_Function_getBuiltin
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFFunction_Function_getBuiltinomc_NFFunction_Function_getBuiltin,0}};
448#define boxvar_NFFunction_Function_getBuiltin((void*)((char*)(&(boxvar_lit_NFFunction_Function_getBuiltin
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFFunction_Function_getBuiltin)((void*)((char*)(&(boxvar_lit_NFFunction_Function_getBuiltin
).header) + 3))
449PROTECTED_FUNCTION_STATIC modelica_boolean omc_NFFunction_Function_hasImpure(threadData_t *threadData, modelica_metatype _cmt);
450PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_NFFunction_Function_hasImpure(threadData_t *threadData, modelica_metatype _cmt);
451static const MMC_DEFSTRUCTLIT(boxvar_lit_NFFunction_Function_hasImpure,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFFunction_Function_hasImpure
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFFunction_Function_hasImpure,0}};
452#define boxvar_NFFunction_Function_hasImpure((void*)((char*)(&(boxvar_lit_NFFunction_Function_hasImpure
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFFunction_Function_hasImpure)((void*)((char*)(&(boxvar_lit_NFFunction_Function_hasImpure
).header) + 3))
453PROTECTED_FUNCTION_STATIC modelica_boolean omc_NFFunction_Function_hasOMPure(threadData_t *threadData, modelica_metatype _cmt);
454PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_NFFunction_Function_hasOMPure(threadData_t *threadData, modelica_metatype _cmt);
455static const MMC_DEFSTRUCTLIT(boxvar_lit_NFFunction_Function_hasOMPure,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFFunction_Function_hasOMPure
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFFunction_Function_hasOMPure,0}};
456#define boxvar_NFFunction_Function_hasOMPure((void*)((char*)(&(boxvar_lit_NFFunction_Function_hasOMPure
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFFunction_Function_hasOMPure)((void*)((char*)(&(boxvar_lit_NFFunction_Function_hasOMPure
).header) + 3))
457PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFFunction_Function_makeSlot(threadData_t *threadData, modelica_metatype _component, modelica_integer _index);
458PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_NFFunction_Function_makeSlot(threadData_t *threadData, modelica_metatype _component, modelica_metatype _index);
459static const MMC_DEFSTRUCTLIT(boxvar_lit_NFFunction_Function_makeSlot,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFFunction_Function_makeSlot
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFFunction_Function_makeSlot,0}};
460#define boxvar_NFFunction_Function_makeSlot((void*)((char*)(&(boxvar_lit_NFFunction_Function_makeSlot
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFFunction_Function_makeSlot)((void*)((char*)(&(boxvar_lit_NFFunction_Function_makeSlot
).header) + 3))
461PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFFunction_Function_makeSlots(threadData_t *threadData, modelica_metatype _inputs);
462static const MMC_DEFSTRUCTLIT(boxvar_lit_NFFunction_Function_makeSlots,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFFunction_Function_makeSlots
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFFunction_Function_makeSlotsomc_NFFunction_Function_makeSlots,0}};
463#define boxvar_NFFunction_Function_makeSlots((void*)((char*)(&(boxvar_lit_NFFunction_Function_makeSlots
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFFunction_Function_makeSlots)((void*)((char*)(&(boxvar_lit_NFFunction_Function_makeSlots
).header) + 3))
464PROTECTED_FUNCTION_STATIC modelica_integer omc_NFFunction_Function_paramDirection(threadData_t *threadData, modelica_metatype _component);
465PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_NFFunction_Function_paramDirection(threadData_t *threadData, modelica_metatype _component);
466static const MMC_DEFSTRUCTLIT(boxvar_lit_NFFunction_Function_paramDirection,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFFunction_Function_paramDirection
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFFunction_Function_paramDirection,0}};
467#define boxvar_NFFunction_Function_paramDirection((void*)((char*)(&(boxvar_lit_NFFunction_Function_paramDirection
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFFunction_Function_paramDirection)((void*)((char*)(&(boxvar_lit_NFFunction_Function_paramDirection
).header) + 3))
468PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFFunction_Function_collectParams(threadData_t *threadData, modelica_metatype _node, modelica_metatype _D_24in_inputs, modelica_metatype _D_24in_outputs, modelica_metatype _D_24in_locals, modelica_metatype *out_outputs, modelica_metatype *out_locals);
469static const MMC_DEFSTRUCTLIT(boxvar_lit_NFFunction_Function_collectParams,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_NFFunction_Function_collectParams
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_NFFunction_Function_collectParamsomc_NFFunction_Function_collectParams,0}};
470#define boxvar_NFFunction_Function_collectParams((void*)((char*)(&(boxvar_lit_NFFunction_Function_collectParams
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_NFFunction_Function_collectParams)((void*)((char*)(&(boxvar_lit_NFFunction_Function_collectParams
).header) + 3))
471
472DLLExport
473modelica_metatype omc_NFFunction_Function_analyseUnusedParametersExp2(threadData_t *threadData, modelica_metatype _exp, modelica_metatype _D_24in_params)
474{
475 modelica_metatype _params = NULL((void*)0);
476 MMC_SO()mmc_check_stackoverflow(threadData);
477 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
478 _params = _D_24in_params;
479#line 479 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
480 { /* match expression */
481 modelica_metatype tmp3_1;
482 tmp3_1 = _exp;
483 {
484 volatile mmc_switch_type tmp3;
485 int tmp4;
486 tmp3 = 0;
487 for (; tmp3 < 2; tmp3++) {
488 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
489 case 0: {
490 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
491
492 /* Pattern matching succeeded */
493#line 2256 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
494 _params = omc_List_deleteMemberOnTrue(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_exp), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_exp) - 3))) + (
3)))))
), _params, boxvar_NFComponentRef_containsNode((void*)((char*)(&(boxvar_lit_NFComponentRef_containsNode
).header) + 3))
, NULL((void*)0));
495#line 495 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
496#line 496 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
497 goto tmp2_done;
498 }
499 case 1: {
500
501 /* Pattern matching succeeded */
502#line 502 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
503 goto tmp2_done;
504 }
505 }
506 goto tmp2_end;
507 tmp2_end: ;
508 }
509 goto goto_1;
510 goto_1:;
511 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
512 goto tmp2_done;
513 tmp2_done:;
514 }
515 }
516 ;
517 _return: OMC_LABEL_UNUSED__attribute__((unused))
518 return _params;
519}
520
521DLLExport
522modelica_metatype omc_NFFunction_Function_analyseUnusedParametersExp(threadData_t *threadData, modelica_metatype _exp, modelica_metatype _D_24in_params)
523{
524 modelica_metatype _params = NULL((void*)0);
525 MMC_SO()mmc_check_stackoverflow(threadData);
526 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
527 _params = _D_24in_params;
528#line 2244 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
529 if((!listEmpty(_params)((*(mmc_uint_t*)((void*)((char*)(_params) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
))
530#line 2244 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
531 {
532#line 2245 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
533 _params = omc_NFExpression_fold(threadData, _exp, boxvar_NFFunction_Function_analyseUnusedParametersExp2((void*)((char*)(&(boxvar_lit_NFFunction_Function_analyseUnusedParametersExp2
).header) + 3))
, _params);
534#line 534 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
535 }
536 _return: OMC_LABEL_UNUSED__attribute__((unused))
537 return _params;
538}
539
540static modelica_metatype closure0_NFInstNode_InstNode_refEqual(threadData_t *thData, modelica_metatype closure, modelica_metatype node2)
541{
542 modelica_metatype node1 = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
543 return boxptr_NFInstNode_InstNode_refEqual(thData, node1, node2);
544}
545DLLExport
546modelica_metatype omc_NFFunction_Function_analyseUnusedParameters(threadData_t *threadData, modelica_metatype _fn)
547{
548 modelica_metatype _unusedInputs = NULL((void*)0);
549 modelica_metatype _inputs = NULL((void*)0);
550 modelica_integer _index;
551 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
552 MMC_SO()mmc_check_stackoverflow(threadData);
553 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
554 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
555 _unusedInputs = tmpMeta[0];
556 // _inputs has no default value.
557 // _index has no default value.
558#line 2232 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
559 _inputs = omc_NFFunction_Function_foldExp(threadData, _fn, boxvar_NFFunction_Function_analyseUnusedParametersExp((void*)((char*)(&(boxvar_lit_NFFunction_Function_analyseUnusedParametersExp
).header) + 3))
, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
4)))))
), 1, 1);
560#line 560 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
561
562#line 2234 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
563 {
564#line 2234 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
565 modelica_metatype _i;
566#line 2234 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
567 for (tmpMeta[1] = _inputs; !listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[1]=MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
)
568#line 2234 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
569 {
570#line 2234 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
571 _i = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
572#line 2235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
573 tmpMeta[2] = mmc_mk_box1(0, _i);
574#line 2235 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
575 _index = omc_List_positionOnTrue(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
4)))))
), (modelica_fnptr) mmc_mk_box2(0,closure0_NFInstNode_InstNode_refEqual,tmpMeta[2]));
576#line 576 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
577
578#line 2236 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
579 tmpMeta[2] = mmc_mk_cons(mmc_mk_integermmc_mk_icon(_index), _unusedInputs);
580#line 2236 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
581 _unusedInputs = tmpMeta[2];
582#line 582 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
583 }
584 }
585 _return: OMC_LABEL_UNUSED__attribute__((unused))
586 return _unusedInputs;
587}
588
589DLLExport
590modelica_metatype omc_NFFunction_Function_getBody2(threadData_t *threadData, modelica_metatype _node)
591{
592 modelica_metatype _body = NULL((void*)0);
593 modelica_metatype _cls = NULL((void*)0);
594 modelica_metatype _fn_body = NULL((void*)0);
595 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
596 MMC_SO()mmc_check_stackoverflow(threadData);
597 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
598 // _body has no default value.
599 _cls = omc_NFInstNode_InstNode_getClass(threadData, _node);
600 // _fn_body has no default value.
601#line 601 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
602 { /* match expression */
603 modelica_metatype tmp3_1;
604 tmp3_1 = _cls;
605 {
606 volatile mmc_switch_type tmp3;
607 int tmp4;
608 tmp3 = 0;
609 for (; tmp3 < 5; tmp3++) {
610 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
611 case 0: {
612 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
613 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
614 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],0,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((4 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
615 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (4)))))
;
616 if (listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
617 tmpMeta[3] = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
618 tmpMeta[4] = MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
619 if (!listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
620
621 _fn_body = tmpMeta[3];
622 /* Pattern matching succeeded */
623#line 2205 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
624 tmpMeta[0] = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn_body), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_fn_body) - 3))
) + (2)))))
);
625#line 625 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
626 goto tmp2_done;
627 }
628 case 1: {
629 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
630 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
631 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],2,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((0 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
632
633 /* Pattern matching succeeded */
634#line 2206 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
635 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
636#line 2206 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
637 tmpMeta[0] = tmpMeta[1];
638#line 638 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
639 goto tmp2_done;
640 }
641 case 2: {
642 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
643 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
644 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],0,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((4 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
645 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (4)))))
;
646 if (listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
647 tmpMeta[3] = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
648 tmpMeta[4] = MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
649
650 /* Pattern matching succeeded */
651#line 2210 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
652 omc_Error_assertion(threadData, 0, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)));
653#line 653 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
654#line 2211 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
655 goto goto_1;
656#line 656 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
657 goto tmp2_done;
658 }
659 case 3: {
660 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,7,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((7 +3) & 255) << 2)))
== 0) goto tmp2_end;
661
662 /* Pattern matching succeeded */
663#line 2214 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
664 /* Tail recursive call */
665#line 2214 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
666 _node = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cls), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_cls) - 3))) + (
3)))))
);
667#line 2214 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
668 goto _tailrecursive;
669#line 2214 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
670 /* TODO: Make sure any eventual dead code below is never generated */
671#line 671 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
672 goto tmp2_done;
673 }
674 case 4: {
675
676 /* Pattern matching succeeded */
677#line 2218 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
678 omc_Error_assertion(threadData, 0, _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)), _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)));
679#line 679 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
680#line 2219 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
681 goto goto_1;
682#line 682 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
683 goto tmp2_done;
684 }
685 }
686 goto tmp2_end;
687 tmp2_end: ;
688 }
689 goto goto_1;
690 goto_1:;
691 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
692 goto tmp2_done;
693 tmp2_done:;
694 }
695 }
696 _body = tmpMeta[0];
697 _return: OMC_LABEL_UNUSED__attribute__((unused))
698 return _body;
699}
700
701DLLExport
702modelica_metatype omc_NFFunction_Function_makeReturnType(threadData_t *threadData, modelica_metatype _fn)
703{
704 modelica_metatype _returnType = NULL((void*)0);
705 modelica_metatype _ret_tyl = NULL((void*)0);
706 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
707 MMC_SO()mmc_check_stackoverflow(threadData);
708 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
709 // _returnType has no default value.
710 // _ret_tyl has no default value.
711#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
712 {
713#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
714 modelica_metatype _D_24tmpVar1;
715#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
716 modelica_metatype* tmp1;
717#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
718 modelica_metatype _D_24tmpVar0;
719#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
720 int tmp2;
721#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
722 modelica_metatype _o_loopVar = 0;
723#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
724 modelica_metatype _o;
725#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
726 _o_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
5)))))
);
727#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
728 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
729#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
730 _D_24tmpVar1 = tmpMeta[1]; /* defaultValue */
731#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
732 tmp1 = &_D_24tmpVar1;
733#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
734 while(1) {
735#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
736 tmp2 = 1;
737#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
738 if (!listEmpty(_o_loopVar)((*(mmc_uint_t*)((void*)((char*)(_o_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
739#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
740 _o = MMC_CAR(_o_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_o_loopVar) - 3
))) + (1)))))
;
741#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
742 _o_loopVar = MMC_CDR(_o_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_o_loopVar) - 3
))) + (2)))))
;
743#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
744 tmp2--;
745#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
746 }
747#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
748 if (tmp2 == 0) {
749#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
750 _D_24tmpVar0 = omc_NFInstNode_InstNode_getType(threadData, _o);
751#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
752 *tmp1 = mmc_mk_cons(_D_24tmpVar0,0);
753#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
754 tmp1 = &MMC_CDR(*tmp1)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp1) - 3))) +
(2)))))
;
755#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
756 } else if (tmp2 == 1) {
757#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
758 break;
759#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
760 } else {
761#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
762 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
763#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
764 }
765#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
766 }
767#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
768 *tmp1 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
769#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
770 tmpMeta[0] = _D_24tmpVar1;
771#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
772 }
773#line 2188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
774 _ret_tyl = tmpMeta[0];
775#line 775 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
776
777#line 777 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
778 { /* match expression */
779 modelica_metatype tmp5_1;
780 tmp5_1 = _ret_tyl;
781 {
782 volatile mmc_switch_type tmp5;
783 int tmp6;
784 tmp5 = 0;
785 for (; tmp5 < 3; tmp5++) {
786 switch (MMC_SWITCH_CAST(tmp5)(tmp5)) {
787 case 0: {
788 if (!listEmpty(tmp5_1)((*(mmc_uint_t*)((void*)((char*)(tmp5_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp4_end;
789 /* Pattern matching succeeded */
790#line 2191 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
791 tmpMeta[0] = _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3));
792#line 792 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
793 goto tmp4_done;
794 }
795 case 1: {
796 if (listEmpty(tmp5_1)((*(mmc_uint_t*)((void*)((char*)(tmp5_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp4_end;
797 tmpMeta[1] = MMC_CAR(tmp5_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp5_1) - 3))) +
(1)))))
;
798 tmpMeta[2] = MMC_CDR(tmp5_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp5_1) - 3))) +
(2)))))
;
799 if (!listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp4_end;
800 _returnType = tmpMeta[1];
801 /* Pattern matching succeeded */
802#line 2192 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
803 tmpMeta[0] = _returnType;
804#line 804 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
805 goto tmp4_done;
806 }
807 case 2: {
808
809 /* Pattern matching succeeded */
810#line 2193 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
811 tmpMeta[1] = mmc_mk_box3(11, &NFType_TUPLE__desc, _ret_tyl, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
812#line 2193 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
813 tmpMeta[0] = tmpMeta[1];
814#line 814 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
815 goto tmp4_done;
816 }
817 }
818 goto tmp4_end;
819 tmp4_end: ;
820 }
821 goto goto_3;
822 goto_3:;
823 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
824 goto tmp4_done;
825 tmp4_done:;
826 }
827 }
828 _returnType = tmpMeta[0];
829 _return: OMC_LABEL_UNUSED__attribute__((unused))
830 return _returnType;
831}
832
833PROTECTED_FUNCTION_STATIC modelica_boolean omc_NFFunction_Function_isValidParamState(threadData_t *threadData, modelica_metatype _cls)
834{
835 modelica_boolean _isValid;
836 modelica_boolean tmp1 = 0;
837 MMC_SO()mmc_check_stackoverflow(threadData);
838 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
839 // _isValid has no default value.
840#line 840 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
841 { /* match expression */
842 modelica_metatype tmp4_1;
843 tmp4_1 = omc_NFClass_Class_restriction(threadData, omc_NFInstNode_InstNode_getClass(threadData, _cls));
844 {
845 int tmp4;
846 {
847 switch (MMC_SWITCH_CAST(valueConstructor(tmp4_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> 2
) & 255))
) {
848 case 10: {
849
850 /* Pattern matching succeeded */
851#line 2173 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
852 tmp1 = 1;
853#line 853 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
854 goto tmp3_done;
855 }
856 case 12: {
857
858 /* Pattern matching succeeded */
859#line 2174 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
860 tmp1 = 1;
861#line 861 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
862 goto tmp3_done;
863 }
864 case 9: {
865
866 /* Pattern matching succeeded */
867#line 2175 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
868 tmp1 = 1;
869#line 869 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
870 goto tmp3_done;
871 }
872 case 7: {
873
874 /* Pattern matching succeeded */
875#line 2176 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
876 tmp1 = 1;
877#line 877 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
878 goto tmp3_done;
879 }
880 case 6: {
881
882 /* Pattern matching succeeded */
883#line 2177 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
884 tmp1 = 1;
885#line 885 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
886 goto tmp3_done;
887 }
888 default:
889 tmp3_default: OMC_LABEL_UNUSED__attribute__((unused)); {
890
891 /* Pattern matching succeeded */
892#line 2178 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
893 tmp1 = 0;
894#line 894 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
895 goto tmp3_done;
896 }
897 }
898 goto tmp3_end;
899 tmp3_end: ;
900 }
901 goto goto_2;
902 goto_2:;
903 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
904 goto tmp3_done;
905 tmp3_done:;
906 }
907 }
908 _isValid = tmp1;
909 _return: OMC_LABEL_UNUSED__attribute__((unused))
910 return _isValid;
911}
912PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_NFFunction_Function_isValidParamState(threadData_t *threadData, modelica_metatype _cls)
913{
914 modelica_boolean _isValid;
915 modelica_metatype out_isValid;
916 _isValid = omc_NFFunction_Function_isValidParamState(threadData, _cls);
917 out_isValid = mmc_mk_icon(_isValid);
918 return out_isValid;
919}
920
921PROTECTED_FUNCTION_STATIC modelica_boolean omc_NFFunction_Function_isValidParamType(threadData_t *threadData, modelica_metatype _ty)
922{
923 modelica_boolean _isValid;
924 modelica_boolean tmp1 = 0;
925 MMC_SO()mmc_check_stackoverflow(threadData);
926 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
927 // _isValid has no default value.
928#line 928 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
929 { /* match expression */
930 modelica_metatype tmp4_1;
931 tmp4_1 = _ty;
932 {
933 int tmp4;
934 {
935 switch (MMC_SWITCH_CAST(valueConstructor(tmp4_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> 2
) & 255))
) {
936 case 3: {
937
938 /* Pattern matching succeeded */
939#line 2152 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
940 tmp1 = 1;
941#line 941 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
942 goto tmp3_done;
943 }
944 case 4: {
945
946 /* Pattern matching succeeded */
947#line 2153 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
948 tmp1 = 1;
949#line 949 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
950 goto tmp3_done;
951 }
952 case 5: {
953
954 /* Pattern matching succeeded */
955#line 2154 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
956 tmp1 = 1;
957#line 957 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
958 goto tmp3_done;
959 }
960 case 6: {
961
962 /* Pattern matching succeeded */
963#line 2155 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
964 tmp1 = 1;
965#line 965 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
966 goto tmp3_done;
967 }
968 case 7: {
969
970 /* Pattern matching succeeded */
971#line 2156 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
972 tmp1 = 1;
973#line 973 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
974 goto tmp3_done;
975 }
976 case 8: {
977
978 /* Pattern matching succeeded */
979#line 2157 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
980 tmp1 = 1;
981#line 981 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
982 goto tmp3_done;
983 }
984 case 9: {
985
986 /* Pattern matching succeeded */
987#line 2158 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
988 tmp1 = 1;
989#line 989 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
990 goto tmp3_done;
991 }
992 case 17: {
993
994 /* Pattern matching succeeded */
995#line 2159 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
996 tmp1 = 1;
997#line 997 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
998 goto tmp3_done;
999 }
1000 case 10: {
1001
1002 /* Pattern matching succeeded */
1003#line 2160 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1004 /* Tail recursive call */
1005#line 2160 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1006 _ty = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_ty), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_ty) - 3))) + (
2)))))
);
1007#line 2160 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1008 goto _tailrecursive;
1009#line 2160 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1010 /* TODO: Make sure any eventual dead code below is never generated */
1011#line 1011 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1012 goto tmp3_done;
1013 }
1014 case 14: {
1015
1016 /* Pattern matching succeeded */
1017#line 2161 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1018 tmp1 = omc_NFFunction_Function_isValidParamState(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_ty), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_ty) - 3))) + (
2)))))
));
1019#line 1019 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1020 goto tmp3_done;
1021 }
1022 case 15: {
1023
1024 /* Pattern matching succeeded */
1025#line 2162 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1026 tmp1 = 1;
1027#line 1027 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1028 goto tmp3_done;
1029 }
1030 case 16: {
1031
1032 /* Pattern matching succeeded */
1033#line 2163 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1034 /* Tail recursive call */
1035#line 2163 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1036 _ty = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_ty), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_ty) - 3))) + (
2)))))
);
1037#line 2163 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1038 goto _tailrecursive;
1039#line 2163 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1040 /* TODO: Make sure any eventual dead code below is never generated */
1041#line 1041 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1042 goto tmp3_done;
1043 }
1044 default:
1045 tmp3_default: OMC_LABEL_UNUSED__attribute__((unused)); {
1046
1047 /* Pattern matching succeeded */
1048#line 2164 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1049 tmp1 = 0;
1050#line 1050 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1051 goto tmp3_done;
1052 }
1053 }
1054 goto tmp3_end;
1055 tmp3_end: ;
1056 }
1057 goto goto_2;
1058 goto_2:;
1059 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1060 goto tmp3_done;
1061 tmp3_done:;
1062 }
1063 }
1064 _isValid = tmp1;
1065 _return: OMC_LABEL_UNUSED__attribute__((unused))
1066 return _isValid;
1067}
1068PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_NFFunction_Function_isValidParamType(threadData_t *threadData, modelica_metatype _ty)
1069{
1070 modelica_boolean _isValid;
1071 modelica_metatype out_isValid;
1072 _isValid = omc_NFFunction_Function_isValidParamType(threadData, _ty);
1073 out_isValid = mmc_mk_icon(_isValid);
1074 return out_isValid;
1075}
1076
1077PROTECTED_FUNCTION_STATIC void omc_NFFunction_Function_checkParamTypes2(threadData_t *threadData, modelica_metatype _params)
1078{
1079 modelica_metatype _ty = NULL((void*)0);
1080 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1081 MMC_SO()mmc_check_stackoverflow(threadData);
1082 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1083 // _ty has no default value.
1084#line 2136 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1085 {
1086#line 2136 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1087 modelica_metatype _p;
1088#line 2136 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1089 for (tmpMeta[0] = _params; !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
1090#line 2136 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1091 {
1092#line 2136 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1093 _p = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1094#line 2137 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1095 _ty = omc_NFInstNode_InstNode_getType(threadData, _p);
1096#line 1096 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1097
1098#line 2139 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1099 if((!omc_NFFunction_Function_isValidParamType(threadData, _ty)))
1100#line 2139 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1101 {
1102#line 2140 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1103 tmpMeta[1] = mmc_mk_cons(omc_NFType_toString(threadData, _ty), mmc_mk_cons(omc_NFInstNode_InstNode_name(threadData, _p), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))));
1104#line 2140 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1105 omc_Error_addSourceMessage(threadData, _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)), tmpMeta[1], omc_NFInstNode_InstNode_info(threadData, _p));
1106#line 1106 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1107
1108#line 2142 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1109 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1110#line 1110 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1111 }
1112 }
1113 }
1114 _return: OMC_LABEL_UNUSED__attribute__((unused))
1115 return;
1116}
1117
1118PROTECTED_FUNCTION_STATIC void omc_NFFunction_Function_checkParamTypes(threadData_t *threadData, modelica_metatype _fn)
1119{
1120 MMC_SO()mmc_check_stackoverflow(threadData);
1121 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1122#line 2126 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1123 omc_NFFunction_Function_checkParamTypes2(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
4)))))
));
1124#line 1124 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1125
1126#line 2127 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1127 omc_NFFunction_Function_checkParamTypes2(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
5)))))
));
1128#line 1128 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1129
1130#line 2128 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1131 omc_NFFunction_Function_checkParamTypes2(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 6))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
6)))))
));
1132#line 1132 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1133 _return: OMC_LABEL_UNUSED__attribute__((unused))
1134 return;
1135}
1136
1137PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFFunction_Function_makeAttributes(threadData_t *threadData, modelica_metatype _node, modelica_metatype _inputs, modelica_metatype _outputs)
1138{
1139 modelica_metatype _attr = NULL((void*)0);
1140 modelica_metatype _def = NULL((void*)0);
1141 modelica_metatype _params = NULL((void*)0);
1142 modelica_metatype _res = NULL((void*)0);
1143 modelica_metatype _fres = NULL((void*)0);
1144 modelica_boolean _is_partial;
1145 modelica_metatype _cmts = NULL((void*)0);
1146 modelica_metatype _cmt = NULL((void*)0);
1147 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1148 MMC_SO()mmc_check_stackoverflow(threadData);
1149 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1150 // _attr has no default value.
1151 // _def has no default value.
1152 // _params has no default value.
1153 // _res has no default value.
1154 // _fres has no default value.
1155 // _is_partial has no default value.
1156 // _cmts has no default value.
1157 // _cmt has no default value.
1158#line 2047 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1159 _def = omc_NFInstNode_InstNode_definition(threadData, _node);
1160#line 1160 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1161
1162#line 2048 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1163 _res = omc_SCodeUtil_getClassRestriction(threadData, _def);
1164#line 1164 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1165
1166#line 2050 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1167 omc_Error_assertion(threadData, omc_SCodeUtil_isFunctionRestriction(threadData, _res), _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)));
1168#line 1168 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1169
1170#line 2052 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1171 /* Pattern-matching assignment */
1172#line 2052 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1173 tmpMeta[0] = _res;
1174#line 2052 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1175 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],9,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((1 +1)
<< 10) + (((9 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1176#line 2052 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1177 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1178#line 2052 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1179 _fres = tmpMeta[1];
1180#line 1180 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1181
1182#line 2053 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1183 _is_partial = omc_SCodeUtil_isPartial(threadData, _def);
1184#line 1184 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1185
1186#line 2055 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1187 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1188#line 2055 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1189 _cmts = omc_NFInstNode_InstNode_getComments(threadData, _node, tmpMeta[0]);
1190#line 1190 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1191
1192#line 2056 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1193 _cmt = omc_NFFunction_Function_mergeFunctionAnnotations(threadData, _cmts);
1194#line 1194 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1195
1196#line 1196 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1197 { /* matchcontinue expression */
1198 volatile modelica_metatype tmp3_1;
1199 tmp3_1 = _fres;
1200 {
1201 modelica_boolean _is_impure;
1202 modelica_boolean _has_unbox_args;
1203 modelica_string _name = NULL((void*)0);
1204 modelica_metatype _in_params = NULL((void*)0);
1205 modelica_metatype _out_params = NULL((void*)0);
1206 modelica_metatype _inline_ty = NULL((void*)0);
1207 volatile mmc_switch_type tmp3;
1208 int tmp4;
1209 // _is_impure has no default value.
1210 // _has_unbox_args has no default value.
1211 // _name has no default value.
1212 // _in_params has no default value.
1213 // _out_params has no default value.
1214 // _inline_ty has no default value.
1215 tmp3 = 0;
1216 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) {
1217 tmp2_top:
1218 threadData->mmc_jumper = &new_mmc_jumper;
1219 for (; tmp3 < 5; tmp3++) {
1220 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1221 case 0: {
1222 modelica_integer tmp5;
1223 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1224 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1225 tmp5 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
1226 _is_impure = tmp5 /* pattern as ty=Boolean */;
1227 tmp3 += 3; /* Pattern matching succeeded; we may skip some cases if we fail */
1228#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1229 {
1230#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1231 modelica_metatype _D_24tmpVar3;
1232#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1233 modelica_metatype* tmp6;
1234#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1235 modelica_string _D_24tmpVar2;
1236#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1237 int tmp7;
1238#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1239 modelica_metatype _i_loopVar = 0;
1240#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1241 modelica_metatype _i;
1242#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1243 _i_loopVar = _inputs;
1244#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1245 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1246#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1247 _D_24tmpVar3 = tmpMeta[2]; /* defaultValue */
1248#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1249 tmp6 = &_D_24tmpVar3;
1250#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1251 while(1) {
1252#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1253 tmp7 = 1;
1254#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1255 if (!listEmpty(_i_loopVar)((*(mmc_uint_t*)((void*)((char*)(_i_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
1256#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1257 _i = MMC_CAR(_i_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_i_loopVar) - 3
))) + (1)))))
;
1258#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1259 _i_loopVar = MMC_CDR(_i_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_i_loopVar) - 3
))) + (2)))))
;
1260#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1261 tmp7--;
1262#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1263 }
1264#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1265 if (tmp7 == 0) {
1266#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1267 _D_24tmpVar2 = omc_NFInstNode_InstNode_name(threadData, _i);
1268#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1269 *tmp6 = mmc_mk_cons(_D_24tmpVar2,0);
1270#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1271 tmp6 = &MMC_CDR(*tmp6)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp6) - 3))) +
(2)))))
;
1272#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1273 } else if (tmp7 == 1) {
1274#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1275 break;
1276#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1277 } else {
1278#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1279 goto goto_1;
1280#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1281 }
1282#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1283 }
1284#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1285 *tmp6 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
1286#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1287 tmpMeta[1] = _D_24tmpVar3;
1288#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1289 }
1290#line 2069 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1291 _in_params = tmpMeta[1];
1292#line 1292 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1293
1294#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1295 {
1296#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1297 modelica_metatype _D_24tmpVar5;
1298#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1299 modelica_metatype* tmp8;
1300#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1301 modelica_string _D_24tmpVar4;
1302#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1303 int tmp9;
1304#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1305 modelica_metatype _o_loopVar = 0;
1306#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1307 modelica_metatype _o;
1308#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1309 _o_loopVar = _outputs;
1310#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1311 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1312#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1313 _D_24tmpVar5 = tmpMeta[2]; /* defaultValue */
1314#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1315 tmp8 = &_D_24tmpVar5;
1316#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1317 while(1) {
1318#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1319 tmp9 = 1;
1320#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1321 if (!listEmpty(_o_loopVar)((*(mmc_uint_t*)((void*)((char*)(_o_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
1322#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1323 _o = MMC_CAR(_o_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_o_loopVar) - 3
))) + (1)))))
;
1324#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1325 _o_loopVar = MMC_CDR(_o_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_o_loopVar) - 3
))) + (2)))))
;
1326#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1327 tmp9--;
1328#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1329 }
1330#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1331 if (tmp9 == 0) {
1332#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1333 _D_24tmpVar4 = omc_NFInstNode_InstNode_name(threadData, _o);
1334#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1335 *tmp8 = mmc_mk_cons(_D_24tmpVar4,0);
1336#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1337 tmp8 = &MMC_CDR(*tmp8)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp8) - 3))) +
(2)))))
;
1338#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1339 } else if (tmp9 == 1) {
1340#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1341 break;
1342#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1343 } else {
1344#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1345 goto goto_1;
1346#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1347 }
1348#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1349 }
1350#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1351 *tmp8 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
1352#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1353 tmpMeta[1] = _D_24tmpVar5;
1354#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1355 }
1356#line 2070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1357 _out_params = tmpMeta[1];
1358#line 1358 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1359
1360#line 2071 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1361 _name = omc_SCodeUtil_isBuiltinFunction(threadData, _def, _in_params, _out_params);
1362#line 1362 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1363
1364#line 2072 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1365 _inline_ty = omc_InstUtil_commentIsInlineFunc(threadData, _cmt);
1366#line 1366 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1367
1368#line 2073 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1369 _is_impure = (_is_impure || omc_NFFunction_Function_hasImpure(threadData, _cmt));
1370#line 1370 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1371
1372#line 2074 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1373 _has_unbox_args = omc_NFFunction_Function_hasUnboxArgsAnnotation(threadData, _cmt);
1374#line 1374 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1375#line 2075 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1376 tmpMeta[1] = mmc_mk_box3(4, &DAE_FunctionBuiltin_FUNCTION__BUILTIN__desc, mmc_mk_some(_name), mmc_mk_boolean(_has_unbox_args)((_has_unbox_args) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))
)
);
1377#line 2075 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1378 tmpMeta[2] = mmc_mk_box7(3, &DAE_FunctionAttributes_FUNCTION__ATTRIBUTES__desc, _inline_ty, mmc_mk_boolean(omc_NFFunction_Function_hasOMPure(threadData, _cmt))((omc_NFFunction_Function_hasOMPure(threadData, _cmt)) != 0 ?
(mmc_mk_icon(1)) : (mmc_mk_icon(0)))
, mmc_mk_boolean(_is_impure)((_is_impure) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), mmc_mk_boolean(_is_partial)((_is_partial) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), tmpMeta[1], _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
1379#line 2075 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1380 tmpMeta[0] = tmpMeta[2];
1381#line 1381 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1382 goto tmp2_done;
1383 }
1384 case 1: {
1385 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,4,0)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((0 +1) <<
10) + (((4 +3) & 255) << 2)))
== 0) goto tmp2_end;
1386 /* Pattern matching succeeded */
1387#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1388 {
1389#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1390 modelica_metatype _D_24tmpVar7;
1391#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1392 modelica_metatype* tmp10;
1393#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1394 modelica_string _D_24tmpVar6;
1395#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1396 int tmp11;
1397#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1398 modelica_metatype _i_loopVar = 0;
1399#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1400 modelica_metatype _i;
1401#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1402 _i_loopVar = _inputs;
1403#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1404 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1405#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1406 _D_24tmpVar7 = tmpMeta[2]; /* defaultValue */
1407#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1408 tmp10 = &_D_24tmpVar7;
1409#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1410 while(1) {
1411#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1412 tmp11 = 1;
1413#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1414 if (!listEmpty(_i_loopVar)((*(mmc_uint_t*)((void*)((char*)(_i_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
1415#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1416 _i = MMC_CAR(_i_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_i_loopVar) - 3
))) + (1)))))
;
1417#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1418 _i_loopVar = MMC_CDR(_i_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_i_loopVar) - 3
))) + (2)))))
;
1419#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1420 tmp11--;
1421#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1422 }
1423#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1424 if (tmp11 == 0) {
1425#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1426 _D_24tmpVar6 = omc_NFInstNode_InstNode_name(threadData, _i);
1427#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1428 *tmp10 = mmc_mk_cons(_D_24tmpVar6,0);
1429#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1430 tmp10 = &MMC_CDR(*tmp10)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp10) - 3))) +
(2)))))
;
1431#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1432 } else if (tmp11 == 1) {
1433#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1434 break;
1435#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1436 } else {
1437#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1438 goto goto_1;
1439#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1440 }
1441#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1442 }
1443#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1444 *tmp10 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
1445#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1446 tmpMeta[1] = _D_24tmpVar7;
1447#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1448 }
1449#line 2082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1450 _in_params = tmpMeta[1];
1451#line 1451 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1452
1453#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1454 {
1455#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1456 modelica_metatype _D_24tmpVar9;
1457#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1458 modelica_metatype* tmp12;
1459#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1460 modelica_string _D_24tmpVar8;
1461#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1462 int tmp13;
1463#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1464 modelica_metatype _o_loopVar = 0;
1465#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1466 modelica_metatype _o;
1467#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1468 _o_loopVar = _outputs;
1469#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1470 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1471#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1472 _D_24tmpVar9 = tmpMeta[2]; /* defaultValue */
1473#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1474 tmp12 = &_D_24tmpVar9;
1475#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1476 while(1) {
1477#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1478 tmp13 = 1;
1479#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1480 if (!listEmpty(_o_loopVar)((*(mmc_uint_t*)((void*)((char*)(_o_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
1481#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1482 _o = MMC_CAR(_o_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_o_loopVar) - 3
))) + (1)))))
;
1483#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1484 _o_loopVar = MMC_CDR(_o_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_o_loopVar) - 3
))) + (2)))))
;
1485#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1486 tmp13--;
1487#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1488 }
1489#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1490 if (tmp13 == 0) {
1491#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1492 _D_24tmpVar8 = omc_NFInstNode_InstNode_name(threadData, _o);
1493#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1494 *tmp12 = mmc_mk_cons(_D_24tmpVar8,0);
1495#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1496 tmp12 = &MMC_CDR(*tmp12)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp12) - 3))) +
(2)))))
;
1497#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1498 } else if (tmp13 == 1) {
1499#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1500 break;
1501#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1502 } else {
1503#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1504 goto goto_1;
1505#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1506 }
1507#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1508 }
1509#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1510 *tmp12 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
1511#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1512 tmpMeta[1] = _D_24tmpVar9;
1513#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1514 }
1515#line 2083 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1516 _out_params = tmpMeta[1];
1517#line 1517 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1518
1519#line 2084 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1520 _name = omc_SCodeUtil_isBuiltinFunction(threadData, _def, _in_params, _out_params);
1521#line 1521 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1522
1523#line 2085 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1524 _inline_ty = omc_InstUtil_commentIsInlineFunc(threadData, _cmt);
1525#line 1525 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1526
1527#line 2086 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1528 _has_unbox_args = omc_NFFunction_Function_hasUnboxArgsAnnotation(threadData, _cmt);
1529#line 1529 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1530#line 2087 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1531 tmpMeta[1] = mmc_mk_box3(4, &DAE_FunctionBuiltin_FUNCTION__BUILTIN__desc, mmc_mk_some(_name), mmc_mk_boolean(_has_unbox_args)((_has_unbox_args) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))
)
);
1532#line 2087 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1533 tmpMeta[2] = mmc_mk_box7(3, &DAE_FunctionAttributes_FUNCTION__ATTRIBUTES__desc, _inline_ty, mmc_mk_boolean(omc_NFFunction_Function_hasOMPure(threadData, _cmt))((omc_NFFunction_Function_hasOMPure(threadData, _cmt)) != 0 ?
(mmc_mk_icon(1)) : (mmc_mk_icon(0)))
, mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), mmc_mk_boolean(_is_partial)((_is_partial) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), tmpMeta[1], _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)));
1534#line 2087 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1535 tmpMeta[0] = tmpMeta[2];
1536#line 1536 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1537 goto tmp2_done;
1538 }
1539 case 2: {
1540 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,4,0)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((0 +1) <<
10) + (((4 +3) & 255) << 2)))
== 0) goto tmp2_end;
1541 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
1542#line 2094 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1543 _inline_ty = omc_InstUtil_commentIsInlineFunc(threadData, _cmt);
1544#line 1544 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1545#line 2095 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1546 tmpMeta[1] = mmc_mk_box7(3, &DAE_FunctionAttributes_FUNCTION__ATTRIBUTES__desc, _inline_ty, mmc_mk_boolean(omc_NFFunction_Function_hasOMPure(threadData, _cmt))((omc_NFFunction_Function_hasOMPure(threadData, _cmt)) != 0 ?
(mmc_mk_icon(1)) : (mmc_mk_icon(0)))
, mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), mmc_mk_boolean(_is_partial)((_is_partial) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), omc_NFFunction_Function_getBuiltin(threadData, _def), _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)));
1547#line 2095 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1548 tmpMeta[0] = tmpMeta[1];
1549#line 1549 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1550 goto tmp2_done;
1551 }
1552 case 3: {
1553 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,0)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((0 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
1554 /* Pattern matching succeeded */
1555#line 2101 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1556 tmpMeta[1] = mmc_mk_box7(3, &DAE_FunctionAttributes_FUNCTION__ATTRIBUTES__desc, _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)), mmc_mk_boolean(1)((1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), mmc_mk_boolean(_is_partial)((_is_partial) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)), _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)));
1557#line 2101 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1558 tmpMeta[0] = tmpMeta[1];
1559#line 1559 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1560 goto tmp2_done;
1561 }
1562 case 4: {
1563
1564 /* Pattern matching succeeded */
1565#line 2107 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1566 _inline_ty = omc_InstUtil_commentIsInlineFunc(threadData, _cmt);
1567#line 1567 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1568
1569#line 2110 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1570 _is_impure = (omc_SCodeUtil_isRestrictionImpure(threadData, _res, (omc_Config_languageStandardAtLeast(threadData, 6) || (!listEmpty(_outputs)((*(mmc_uint_t*)((void*)((char*)(_outputs) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
))) || omc_SCodeUtil_commentHasBooleanNamedAnnotation(threadData, _cmt, _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))));
1571#line 1571 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1572#line 2114 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1573 tmpMeta[1] = mmc_mk_box7(3, &DAE_FunctionAttributes_FUNCTION__ATTRIBUTES__desc, _inline_ty, mmc_mk_boolean(omc_NFFunction_Function_hasOMPure(threadData, _cmt))((omc_NFFunction_Function_hasOMPure(threadData, _cmt)) != 0 ?
(mmc_mk_icon(1)) : (mmc_mk_icon(0)))
, mmc_mk_boolean(_is_impure)((_is_impure) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), mmc_mk_boolean(_is_partial)((_is_partial) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), omc_NFFunction_Function_getBuiltin(threadData, _def), _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
1574#line 2114 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1575 tmpMeta[0] = tmpMeta[1];
1576#line 1576 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1577 goto tmp2_done;
1578 }
1579 }
1580 goto tmp2_end;
1581 tmp2_end: ;
1582 }
1583 goto goto_1;
1584 tmp2_done:
1585 (void)tmp3;
1586 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1587 goto tmp2_done2;
1588 goto_1:;
1589 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1590 if (++tmp3 < 5) {
1591 goto tmp2_top;
1592 }
1593 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1594 tmp2_done2:;
1595 }
1596 }
1597 _attr = tmpMeta[0];
1598 _return: OMC_LABEL_UNUSED__attribute__((unused))
1599 return _attr;
1600}
1601
1602PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFFunction_Function_mergeFunctionAnnotations(threadData_t *threadData, modelica_metatype _comments)
1603{
1604 modelica_metatype _outComment = NULL((void*)0);
1605 modelica_metatype _comment = NULL((void*)0);
1606 modelica_metatype _mod = NULL((void*)0);
1607 modelica_metatype _mod2 = NULL((void*)0);
1608 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
1609 MMC_SO()mmc_check_stackoverflow(threadData);
1610 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1611 // _outComment has no default value.
1612 _comment = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
1613 _mod = _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3));
1614 // _mod2 has no default value.
1615#line 2015 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1616 {
1617#line 2015 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1618 modelica_metatype _cmt;
1619#line 2015 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1620 for (tmpMeta[0] = _comments; !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
1621#line 2015 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1622 {
1623#line 2015 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1624 _cmt = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1625#line 2016 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1626 if(isNone(_comment)(0==((((((*(mmc_uint_t*)((void*)((char*)(_comment) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(_comment) -
3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(_comment
) - 3)))) >> 10)) ? 1 : 0)
)
1627#line 2016 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1628 {
1629#line 2017 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1630 _comment = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cmt), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_cmt) - 3))) + (
3)))))
);
1631#line 1631 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1632 }
1633
1634#line 1634 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1635 { /* match expression */
1636 modelica_metatype tmp3_1;
1637 tmp3_1 = _cmt;
1638 {
1639 volatile mmc_switch_type tmp3;
1640 int tmp4;
1641 tmp3 = 0;
1642 for (; tmp3 < 2; tmp3++) {
1643 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1644 case 0: {
1645 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1646 if (optionNone(tmpMeta[2])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[2]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1647 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
1648 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
1649
1650 _mod2 = tmpMeta[4];
1651 /* Pattern matching succeeded */
1652#line 2022 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1653 tmpMeta[1] = omc_SCodeUtil_mergeModifiers(threadData, _mod2, _mod);
1654#line 1654 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1655 goto tmp2_done;
1656 }
1657 case 1: {
1658
1659 /* Pattern matching succeeded */
1660#line 2023 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1661 tmpMeta[1] = _mod;
1662#line 1662 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1663 goto tmp2_done;
1664 }
1665 }
1666 goto tmp2_end;
1667 tmp2_end: ;
1668 }
1669 goto goto_1;
1670 goto_1:;
1671 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1672 goto tmp2_done;
1673 tmp2_done:;
1674 }
1675 }
1676 _mod = tmpMeta[1];
1677 }
1678 }
1679
1680#line 1680 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1681 { /* match expression */
1682 modelica_metatype tmp7_1;
1683 tmp7_1 = _mod;
1684 {
1685 volatile mmc_switch_type tmp7;
1686 int tmp8;
1687 tmp7 = 0;
1688 for (; tmp7 < 2; tmp7++) {
1689 switch (MMC_SWITCH_CAST(tmp7)(tmp7)) {
1690 case 0: {
1691 if (mmc__uniontype__metarecord__typedef__equal(tmp7_1,2,0)((*(mmc_uint_t*)((void*)((char*)(tmp7_1) - 3)))==(((0 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp6_end;
1692 /* Pattern matching succeeded */
1693#line 2028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1694 tmpMeta[1] = mmc_mk_box3(3, &SCode_Comment_COMMENT__desc, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _comment);
1695#line 2028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1696 tmpMeta[0] = tmpMeta[1];
1697#line 1697 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1698 goto tmp6_done;
1699 }
1700 case 1: {
1701
1702 /* Pattern matching succeeded */
1703#line 2029 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1704 tmpMeta[1] = mmc_mk_box2(3, &SCode_Annotation_ANNOTATION__desc, _mod);
1705#line 2029 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1706 tmpMeta[2] = mmc_mk_box3(3, &SCode_Comment_COMMENT__desc, mmc_mk_some(tmpMeta[1]), _comment);
1707#line 2029 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1708 tmpMeta[0] = tmpMeta[2];
1709#line 1709 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1710 goto tmp6_done;
1711 }
1712 }
1713 goto tmp6_end;
1714 tmp6_end: ;
1715 }
1716 goto goto_5;
1717 goto_5:;
1718 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1719 goto tmp6_done;
1720 tmp6_done:;
1721 }
1722 }
1723 _outComment = tmpMeta[0];
1724 _return: OMC_LABEL_UNUSED__attribute__((unused))
1725 return _outComment;
1726}
1727
1728PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFFunction_Function_getBuiltin(threadData_t *threadData, modelica_metatype _def)
1729{
1730 modelica_metatype _builtin = NULL((void*)0);
1731 MMC_SO()mmc_check_stackoverflow(threadData);
1732 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1733 _builtin = (omc_SCodeUtil_isBuiltinElement(threadData, _def)?_OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)):_OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)));
1734 _return: OMC_LABEL_UNUSED__attribute__((unused))
1735 return _builtin;
1736}
1737
1738PROTECTED_FUNCTION_STATIC modelica_boolean omc_NFFunction_Function_hasImpure(threadData_t *threadData, modelica_metatype _cmt)
1739{
1740 modelica_boolean _res;
1741 MMC_SO()mmc_check_stackoverflow(threadData);
1742 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1743 _res = omc_SCodeUtil_commentHasBooleanNamedAnnotation(threadData, _cmt, _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
1744 _return: OMC_LABEL_UNUSED__attribute__((unused))
1745 return _res;
1746}
1747PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_NFFunction_Function_hasImpure(threadData_t *threadData, modelica_metatype _cmt)
1748{
1749 modelica_boolean _res;
1750 modelica_metatype out_res;
1751 _res = omc_NFFunction_Function_hasImpure(threadData, _cmt);
1752 out_res = mmc_mk_icon(_res);
1753 return out_res;
1754}
1755
1756PROTECTED_FUNCTION_STATIC modelica_boolean omc_NFFunction_Function_hasOMPure(threadData_t *threadData, modelica_metatype _cmt)
1757{
1758 modelica_boolean _res;
1759 MMC_SO()mmc_check_stackoverflow(threadData);
1760 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1761 _res = (!omc_SCodeUtil_commentHasBooleanNamedAnnotation(threadData, _cmt, _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))));
1762 _return: OMC_LABEL_UNUSED__attribute__((unused))
1763 return _res;
1764}
1765PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_NFFunction_Function_hasOMPure(threadData_t *threadData, modelica_metatype _cmt)
1766{
1767 modelica_boolean _res;
1768 modelica_metatype out_res;
1769 _res = omc_NFFunction_Function_hasOMPure(threadData, _cmt);
1770 out_res = mmc_mk_icon(_res);
1771 return out_res;
1772}
1773
1774PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFFunction_Function_makeSlot(threadData_t *threadData, modelica_metatype _component, modelica_integer _index)
1775{
1776 modelica_metatype _slot = NULL((void*)0);
1777 modelica_metatype _comp = NULL((void*)0);
1778 modelica_metatype _default = NULL((void*)0);
1779 modelica_string _name = NULL((void*)0);
1780 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
1781 MMC_SO()mmc_check_stackoverflow(threadData);
1782 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1783 // _slot has no default value.
1784 // _comp has no default value.
1785 // _default has no default value.
1786 // _name has no default value.
1787#line 1787 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1788 { /* matchcontinue expression */
1789 {
1790 volatile mmc_switch_type tmp3;
1791 int tmp4;
1792 tmp3 = 0;
1793 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) {
1794 tmp2_top:
1795 threadData->mmc_jumper = &new_mmc_jumper;
1796 for (; tmp3 < 2; tmp3++) {
1797 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1798 case 0: {
1799 /* Pattern matching succeeded */
1800#line 1972 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1801 _comp = omc_NFInstNode_InstNode_component(threadData, _component);
1802#line 1802 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1803
1804#line 1973 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1805 _default = omc_NFBinding_Binding_typedExp(threadData, omc_NFComponent_Component_getImplicitBinding(threadData, _comp));
1806#line 1806 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1807
1808#line 1974 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1809 _name = omc_NFInstNode_InstNode_name(threadData, _component);
1810#line 1810 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1811
1812#line 1977 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1813 if((stringGet(_name, ((modelica_integer) 1))nobox_stringGet(threadData,_name,((modelica_integer) 1)) == ((modelica_integer) 36)))
1814#line 1977 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1815 {
1816#line 1978 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1817 if(((stringLength(_name)(((((*(mmc_uint_t*)((void*)((char*)(_name) - 3)))) >> (
3)) - 8))
> ((modelica_integer) 4)) && (stringEqual(substring(_name, ((modelica_integer) 1), ((modelica_integer) 4)), _OMC_LIT22)((((((*(mmc_uint_t*)((void*)((char*)(boxptr_substring(threadData
,_name,mmc_mk_icon(((modelica_integer) 1)),mmc_mk_icon(((modelica_integer
) 4)))) - 3)))) >> (3)) - 8)) == (((((*(mmc_uint_t*)((void
*)((char*)(((void*)((char*)(&(_OMC_LIT_STRUCT22).header) +
3))) - 3)))) >> (3)) - 8)) && !mmc_stringCompare
(boxptr_substring(threadData,_name,mmc_mk_icon(((modelica_integer
) 1)),mmc_mk_icon(((modelica_integer) 4))),((void*)((char*)(&
(_OMC_LIT_STRUCT22).header) + 3))))
)))
1818#line 1978 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1819 {
1820#line 1979 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1821 _name = substring(_name, ((modelica_integer) 5), stringLength(_name))boxptr_substring(threadData,_name,mmc_mk_icon(((modelica_integer
) 5)),mmc_mk_icon((((((*(mmc_uint_t*)((void*)((char*)(_name) -
3)))) >> (3)) - 8))))
;
Value stored to '_name' is never read
1822#line 1822 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1823 }
1824 }
1825
1826#line 1983 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1827 tmpMeta[0] = mmc_mk_box7(3, &NFFunction_Slot_SLOT__desc, omc_NFInstNode_InstNode_name(threadData, _component), mmc_mk_integermmc_mk_icon(3), _default, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), mmc_mk_integermmc_mk_icon(_index), mmc_mk_integermmc_mk_icon(1));
1828#line 1983 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1829 _slot = tmpMeta[0];
1830#line 1830 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1831#line 1831 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1832 goto tmp2_done;
1833 }
1834 case 1: {
1835 /* Pattern matching succeeded */
1836#line 1985 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1837 omc_Error_assertion(threadData, 0, _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)), _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)));
1838#line 1838 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1839#line 1839 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1840 goto tmp2_done;
1841 }
1842 }
1843 goto tmp2_end;
1844 tmp2_end: ;
1845 }
1846 goto goto_1;
1847 tmp2_done:
1848 (void)tmp3;
1849 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1850 goto tmp2_done2;
1851 goto_1:;
1852 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1853 if (++tmp3 < 2) {
1854 goto tmp2_top;
1855 }
1856 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1857 tmp2_done2:;
1858 }
1859 }
1860 ;
1861 _return: OMC_LABEL_UNUSED__attribute__((unused))
1862 return _slot;
1863}
1864PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_NFFunction_Function_makeSlot(threadData_t *threadData, modelica_metatype _component, modelica_metatype _index)
1865{
1866 modelica_integer tmp1;
1867 modelica_metatype _slot = NULL((void*)0);
1868 tmp1 = mmc_unbox_integer(_index)(((mmc_sint_t) (_index)) >> 1);
1869 _slot = omc_NFFunction_Function_makeSlot(threadData, _component, tmp1);
1870 /* skip box _slot; NFFunction.Slot */
1871 return _slot;
1872}
1873
1874PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFFunction_Function_makeSlots(threadData_t *threadData, modelica_metatype _inputs)
1875{
1876 modelica_metatype _slots = NULL((void*)0);
1877 modelica_integer _index;
1878 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1879 MMC_SO()mmc_check_stackoverflow(threadData);
1880 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1881 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1882 _slots = tmpMeta[0];
1883 _index = ((modelica_integer) 1);
1884#line 1954 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1885 {
1886#line 1954 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1887 modelica_metatype _i;
1888#line 1954 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1889 for (tmpMeta[1] = _inputs; !listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[1]=MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
)
1890#line 1954 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1891 {
1892#line 1954 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1893 _i = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
1894#line 1955 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1895 tmpMeta[2] = mmc_mk_cons(omc_NFFunction_Function_makeSlot(threadData, _i, _index), _slots);
1896#line 1955 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1897 _slots = tmpMeta[2];
1898#line 1898 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1899
1900#line 1956 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1901 _index = ((modelica_integer) 1) + _index;
1902#line 1902 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1903 }
1904 }
1905
1906#line 1959 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1907 _slots = listReverseInPlace(_slots);
1908#line 1908 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1909 _return: OMC_LABEL_UNUSED__attribute__((unused))
1910 return _slots;
1911}
1912
1913PROTECTED_FUNCTION_STATIC modelica_integer omc_NFFunction_Function_paramDirection(threadData_t *threadData, modelica_metatype _component)
1914{
1915 modelica_integer _direction;
1916 modelica_integer _cty;
1917 modelica_integer _io;
1918 modelica_integer _vis;
1919 modelica_integer _var;
1920 modelica_integer tmp1;
1921 modelica_integer tmp2;
1922 modelica_integer tmp3;
1923 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1924 MMC_SO()mmc_check_stackoverflow(threadData);
1925 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1926 // _direction has no default value.
1927 // _cty has no default value.
1928 // _io has no default value.
1929 // _vis has no default value.
1930 // _var has no default value.
1931#line 1910 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1932 /* Pattern-matching assignment */
1933#line 1910 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1934 tmpMeta[0] = omc_NFComponent_Component_getAttributes(threadData, omc_NFInstNode_InstNode_component(threadData, _component));
1935#line 1910 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1936 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) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1937#line 1910 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1938 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1939#line 1910 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1940 tmp1 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
1941#line 1910 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1942 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
1943#line 1910 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1944 tmp2 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
1945#line 1910 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1946 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (6)))))
;
1947#line 1910 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1948 tmp3 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
1949#line 1910 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1950 _cty = tmp1 /* pattern as ty=Integer */;
1951#line 1910 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1952 _direction = tmp2 /* pattern as ty=enumeration(NONE, INPUT, OUTPUT) */;
1953#line 1910 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1954 _io = tmp3 /* pattern as ty=enumeration(NOT_INNER_OUTER, INNER, OUTER, INNER_OUTER) */;
1955#line 1955 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1956
1957#line 1915 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1958 _vis = omc_NFInstNode_InstNode_visibility(threadData, _component);
1959#line 1959 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1960
1961#line 1916 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1962 _var = omc_NFComponent_Component_variability(threadData, omc_NFInstNode_InstNode_component(threadData, _component));
1963#line 1963 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1964
1965#line 1919 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1966 if(omc_NFPrefixes_ConnectorType_isFlowOrStream(threadData, _cty))
1967#line 1919 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1968 {
1969#line 1920 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1970 tmpMeta[0] = mmc_mk_cons(omc_NFPrefixes_ConnectorType_toString(threadData, _cty), mmc_mk_cons(omc_NFInstNode_InstNode_name(threadData, _component), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))));
1971#line 1920 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1972 omc_Error_addSourceMessage(threadData, _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)), tmpMeta[0], omc_NFInstNode_InstNode_info(threadData, _component));
1973#line 1973 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1974
1975#line 1923 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1976 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1977#line 1977 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1978 }
1979
1980#line 1927 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1981 if(((modelica_integer)_io != 1))
1982#line 1927 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1983 {
1984#line 1928 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1985 tmpMeta[0] = mmc_mk_cons(omc_NFPrefixes_innerOuterString(threadData, (modelica_integer)_io), mmc_mk_cons(omc_NFInstNode_InstNode_name(threadData, _component), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))));
1986#line 1928 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1987 omc_Error_addSourceMessage(threadData, _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)), tmpMeta[0], omc_NFInstNode_InstNode_info(threadData, _component));
1988#line 1988 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1989
1990#line 1931 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1991 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1992#line 1992 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
1993 }
1994
1995#line 1935 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1996 if(((modelica_integer)_direction != 1))
1997#line 1935 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
1998 {
1999#line 1936 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2000 if(((modelica_integer)_vis == 2))
2001#line 1936 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2002 {
2003#line 1937 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2004 tmpMeta[0] = mmc_mk_cons(omc_NFInstNode_InstNode_name(threadData, _component), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
2005#line 1937 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2006 omc_Error_addSourceMessage(threadData, _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)), tmpMeta[0], omc_NFInstNode_InstNode_info(threadData, _component));
2007#line 2007 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2008
2009#line 1939 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2010 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2011#line 2011 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2012 }
2013 }
2014 else
2015 {
2016 if(((modelica_integer)_vis == 1))
2017 {
2018#line 1942 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2019 tmpMeta[0] = mmc_mk_cons(omc_NFInstNode_InstNode_name(threadData, _component), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
2020#line 1942 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2021 omc_Error_addSourceMessageAsError(threadData, _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)), tmpMeta[0], omc_NFInstNode_InstNode_info(threadData, _component));
2022#line 2022 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2023
2024#line 1944 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2025 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2026#line 2026 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2027 }
2028 }
2029 _return: OMC_LABEL_UNUSED__attribute__((unused))
2030 return _direction;
2031}
2032PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_NFFunction_Function_paramDirection(threadData_t *threadData, modelica_metatype _component)
2033{
2034 modelica_integer _direction;
2035 modelica_metatype out_direction;
2036 _direction = omc_NFFunction_Function_paramDirection(threadData, _component);
2037 out_direction = mmc_mk_icon(_direction);
2038 return out_direction;
2039}
2040
2041PROTECTED_FUNCTION_STATIC modelica_metatype omc_NFFunction_Function_collectParams(threadData_t *threadData, modelica_metatype _node, modelica_metatype _D_24in_inputs, modelica_metatype _D_24in_outputs, modelica_metatype _D_24in_locals, modelica_metatype *out_outputs, modelica_metatype *out_locals)
2042{
2043 modelica_metatype _inputs = NULL((void*)0);
2044 modelica_metatype _outputs = NULL((void*)0);
2045 modelica_metatype _locals = NULL((void*)0);
2046 modelica_metatype _cls = NULL((void*)0);
2047 modelica_metatype _comps = NULL((void*)0);
2048 modelica_metatype _n = NULL((void*)0);
2049 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
2050 MMC_SO()mmc_check_stackoverflow(threadData);
2051 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2052 _inputs = _D_24in_inputs;
2053 _outputs = _D_24in_outputs;
2054 _locals = _D_24in_locals;
2055 // _cls has no default value.
2056 // _comps has no default value.
2057 // _n has no default value.
2058#line 1868 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2059 omc_Error_assertion(threadData, omc_NFInstNode_InstNode_isClass(threadData, _node), _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)), _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)));
2060#line 2060 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2061
2062#line 1869 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2063 _cls = omc_NFInstNode_InstNode_getClass(threadData, _node);
2064#line 2064 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2065
2066#line 2066 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2067 { /* match expression */
2068 modelica_metatype tmp3_1;
2069 tmp3_1 = _cls;
2070 {
2071 volatile mmc_switch_type tmp3;
2072 int tmp4;
2073 tmp3 = 0;
2074 for (; tmp3 < 3; tmp3++) {
2075 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2076 case 0: {
2077 modelica_integer tmp9;
2078 modelica_integer tmp10;
2079 modelica_integer tmp11;
2080 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
2081 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2082 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],3,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((5 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
2083 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
2084
2085 _comps = tmpMeta[1];
2086 /* Pattern matching succeeded */
2087#line 1874 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2088 tmp9 = arrayLength(_comps); tmp10 = ((modelica_integer) -1); tmp11 = ((modelica_integer) 1);
2089#line 1874 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2090 if(!(((tmp10 > 0) && (tmp9 > tmp11)) || ((tmp10 < 0) && (tmp9 < tmp11))))
2091#line 1874 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2092 {
2093#line 1874 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2094 modelica_integer _i;
2095#line 1874 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2096 for(_i = arrayLength(_comps); in_range_integer(_i, tmp9, tmp11); _i += tmp10)
2097#line 1874 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2098 {
2099#line 1875 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2100 _n = arrayGet(_comps,_i)nobox_arrayGet(threadData,_comps,_i) /* DAE.ASUB */;
2101#line 2101 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2102
2103#line 2103 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2104 { /* match expression */
2105 modelica_integer tmp7_1;
2106 tmp7_1 = omc_NFFunction_Function_paramDirection(threadData, _n);
2107 {
2108 volatile mmc_switch_type tmp7;
2109 int tmp8;
2110 tmp7 = 0;
2111 for (; tmp7 < 3; tmp7++) {
2112 switch (MMC_SWITCH_CAST(tmp7)(tmp7)) {
2113 case 0: {
2114 if (2 != tmp7_1) goto tmp6_end;
2115 /* Pattern matching succeeded */
2116#line 1879 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2117 tmpMeta[0] = mmc_mk_cons(_n, _inputs);
2118#line 1879 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2119 _inputs = tmpMeta[0];
2120#line 2120 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2121#line 2121 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2122 goto tmp6_done;
2123 }
2124 case 1: {
2125 if (3 != tmp7_1) goto tmp6_end;
2126 /* Pattern matching succeeded */
2127#line 1880 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2128 tmpMeta[0] = mmc_mk_cons(_n, _outputs);
2129#line 1880 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2130 _outputs = tmpMeta[0];
2131#line 2131 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2132#line 2132 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2133 goto tmp6_done;
2134 }
2135 case 2: {
2136 if (1 != tmp7_1) goto tmp6_end;
2137 /* Pattern matching succeeded */
2138#line 1881 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2139 tmpMeta[0] = mmc_mk_cons(_n, _locals);
2140#line 1881 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2141 _locals = tmpMeta[0];
2142#line 2142 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2143#line 2143 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2144 goto tmp6_done;
2145 }
2146 }
2147 goto tmp6_end;
2148 tmp6_end: ;
2149 }
2150 goto goto_5;
2151 goto_5:;
2152 goto goto_1;
2153 goto tmp6_done;
2154 tmp6_done:;
2155 }
2156 }
2157 ;
2158 }
2159 }
2160#line 2160 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2161 goto tmp2_done;
2162 }
2163 case 1: {
2164 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,4,6)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((6 +1) <<
10) + (((4 +3) & 255) << 2)))
== 0) goto tmp2_end;
2165
2166 /* Pattern matching succeeded */
2167#line 1889 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2168 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2169#line 1889 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2170 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2171#line 1889 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2172 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2173#line 1889 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2174 _inputs = omc_NFFunction_Function_collectParams(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_cls), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_cls) - 3))) + (
2)))))
), tmpMeta[0], tmpMeta[1], tmpMeta[2] ,&_outputs ,&_locals);
2175#line 2175 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2176#line 2176 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2177 goto tmp2_done;
2178 }
2179 case 2: {
2180
2181 /* Pattern matching succeeded */
2182#line 1895 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2183 omc_Error_assertion(threadData, 0, _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)), _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)));
2184#line 2184 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2185#line 1896 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2186 goto goto_1;
2187#line 2187 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2188 goto tmp2_done;
2189 }
2190 }
2191 goto tmp2_end;
2192 tmp2_end: ;
2193 }
2194 goto goto_1;
2195 goto_1:;
2196 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2197 goto tmp2_done;
2198 tmp2_done:;
2199 }
2200 }
2201 ;
2202 _return: OMC_LABEL_UNUSED__attribute__((unused))
2203 if (out_outputs) { *out_outputs = _outputs; }
2204 if (out_locals) { *out_locals = _locals; }
2205 return _inputs;
2206}
2207
2208DLLExport
2209modelica_metatype omc_NFFunction_Function_getLocalArguments(threadData_t *threadData, modelica_metatype _fn)
2210{
2211 modelica_metatype _localArgs = NULL((void*)0);
2212 modelica_metatype _binding = NULL((void*)0);
2213 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
2214 MMC_SO()mmc_check_stackoverflow(threadData);
2215 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2216 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2217 _localArgs = tmpMeta[0];
2218 // _binding has no default value.
2219#line 1844 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2220 {
2221#line 1844 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2222 modelica_metatype _l;
2223#line 1844 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2224 for (tmpMeta[1] = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 6))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
6)))))
); !listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[1]=MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
)
2225#line 1844 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2226 {
2227#line 1844 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2228 _l = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
2229#line 1845 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2230 if(omc_NFInstNode_InstNode_isComponent(threadData, _l))
2231#line 1845 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2232 {
2233#line 1846 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2234 _binding = omc_NFComponent_Component_getBinding(threadData, omc_NFInstNode_InstNode_component(threadData, _l));
2235#line 2235 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2236
2237#line 1847 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2238 omc_Error_assertion(threadData, omc_NFBinding_Binding_hasExp(threadData, _binding), _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)), _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)));
2239#line 2239 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2240
2241#line 1849 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2242 tmpMeta[2] = mmc_mk_cons(omc_NFBinding_Binding_getExp(threadData, _binding), _localArgs);
2243#line 1849 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2244 _localArgs = tmpMeta[2];
2245#line 2245 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2246 }
2247 }
2248 }
2249
2250#line 1853 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2251 _localArgs = listReverseInPlace(_localArgs);
2252#line 2252 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2253 _return: OMC_LABEL_UNUSED__attribute__((unused))
2254 return _localArgs;
2255}
2256
2257DLLExport
2258modelica_boolean omc_NFFunction_Function_isPartial(threadData_t *threadData, modelica_metatype _fn)
2259{
2260 modelica_boolean _isPartial;
2261 MMC_SO()mmc_check_stackoverflow(threadData);
2262 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2263 _isPartial = omc_NFInstNode_InstNode_isPartial(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
3)))))
));
2264 _return: OMC_LABEL_UNUSED__attribute__((unused))
2265 return _isPartial;
2266}
2267modelica_metatype boxptr_NFFunction_Function_isPartial(threadData_t *threadData, modelica_metatype _fn)
2268{
2269 modelica_boolean _isPartial;
2270 modelica_metatype out_isPartial;
2271 _isPartial = omc_NFFunction_Function_isPartial(threadData, _fn);
2272 out_isPartial = mmc_mk_icon(_isPartial);
2273 return out_isPartial;
2274}
2275
2276static modelica_metatype closure1_NFDimension_foldExp(threadData_t *thData, modelica_metatype closure, modelica_metatype dim, modelica_metatype arg)
2277{
2278 modelica_fnptr func = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
2279 return boxptr_NFDimension_foldExpomc_NFDimension_foldExp(thData, dim, func, arg);
2280}static modelica_metatype closure2_NFFunction_Function_foldExpParameter(threadData_t *thData, modelica_metatype closure, modelica_metatype node, modelica_metatype $in_arg)
2281{
2282 modelica_fnptr foldFn = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
2283 return boxptr_NFFunction_Function_foldExpParameteromc_NFFunction_Function_foldExpParameter(thData, node, foldFn, $in_arg);
2284}
2285DLLExport
2286modelica_metatype omc_NFFunction_Function_foldExpParameter(threadData_t *threadData, modelica_metatype _node, modelica_fnptr _foldFn, modelica_metatype _D_24in_arg)
2287{
2288 modelica_metatype _arg = NULL((void*)0);
2289 modelica_metatype _comp = NULL((void*)0);
2290 modelica_metatype _cls = NULL((void*)0);
2291 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
2292 MMC_SO()mmc_check_stackoverflow(threadData);
2293 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2294 _arg = _D_24in_arg;
2295 // _comp has no default value.
2296 // _cls has no default value.
2297#line 1816 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2298 _comp = omc_NFInstNode_InstNode_component(threadData, _node);
2299#line 2299 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2300
2301#line 1817 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2302 _arg = omc_NFBinding_Binding_foldExp(threadData, omc_NFComponent_Component_getBinding(threadData, _comp), ((modelica_fnptr) _foldFn), _arg);
2303#line 2303 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2304
2305#line 2305 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2306 { /* match expression */
2307 modelica_metatype tmp3_1;
2308 tmp3_1 = _comp;
2309 {
2310 volatile mmc_switch_type tmp3;
2311 int tmp4;
2312 tmp3 = 0;
2313 for (; tmp3 < 2; tmp3++) {
2314 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2315 case 0: {
2316 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;
2317
2318 /* Pattern matching succeeded */
2319#line 1822 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2320 tmpMeta[0] = mmc_mk_box1(0, ((modelica_fnptr) _foldFn));
2321#line 1822 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2322 _arg = omc_NFType_foldDims(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_comp), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_comp) - 3))) +
(3)))))
), (modelica_fnptr) mmc_mk_box2(0,closure1_NFDimension_foldExp,tmpMeta[0]), _arg);
2323#line 2323 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2324
2325#line 1823 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2326 _cls = omc_NFInstNode_InstNode_getClass(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_comp), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_comp) - 3))) +
(2)))))
));
2327#line 2327 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2328
2329#line 1824 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2330 tmpMeta[0] = mmc_mk_box1(0, ((modelica_fnptr) _foldFn));
2331#line 1824 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2332 _arg = omc_NFClassTree_ClassTree_foldComponents(threadData, omc_NFClass_Class_classTree(threadData, _cls), (modelica_fnptr) mmc_mk_box2(0,closure2_NFFunction_Function_foldExpParameter,tmpMeta[0]), _arg);
2333#line 2333 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2334#line 2334 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2335 goto tmp2_done;
2336 }
2337 case 1: {
2338
2339 /* Pattern matching succeeded */
2340#line 2340 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2341 goto tmp2_done;
2342 }
2343 }
2344 goto tmp2_end;
2345 tmp2_end: ;
2346 }
2347 goto goto_1;
2348 goto_1:;
2349 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2350 goto tmp2_done;
2351 tmp2_done:;
2352 }
2353 }
2354 ;
2355 _return: OMC_LABEL_UNUSED__attribute__((unused))
2356 return _arg;
2357}
2358
2359static modelica_metatype closure3_NFFunction_Function_foldExpParameter(threadData_t *thData, modelica_metatype closure, modelica_metatype node, modelica_metatype $in_arg)
2360{
2361 modelica_fnptr foldFn = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
2362 return boxptr_NFFunction_Function_foldExpParameteromc_NFFunction_Function_foldExpParameter(thData, node, foldFn, $in_arg);
2363}
2364DLLExport
2365modelica_metatype omc_NFFunction_Function_foldExp(threadData_t *threadData, modelica_metatype _fn, modelica_fnptr _foldFn, modelica_metatype _D_24in_arg, modelica_boolean _mapParameters, modelica_boolean _mapBody)
2366{
2367 modelica_metatype _arg = NULL((void*)0);
2368 modelica_metatype _cls = NULL((void*)0);
2369 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
2370 MMC_SO()mmc_check_stackoverflow(threadData);
2371 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2372 _arg = _D_24in_arg;
2373 // _cls has no default value.
2374#line 1791 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2375 _cls = omc_NFInstNode_InstNode_getClass(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
3)))))
));
2376#line 2376 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2377
2378#line 1793 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2379 if(_mapParameters)
2380#line 1793 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2381 {
2382#line 1794 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2383 tmpMeta[0] = mmc_mk_box1(0, ((modelica_fnptr) _foldFn));
2384#line 1794 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2385 _arg = omc_NFClassTree_ClassTree_foldComponents(threadData, omc_NFClass_Class_classTree(threadData, _cls), (modelica_fnptr) mmc_mk_box2(0,closure3_NFFunction_Function_foldExpParameter,tmpMeta[0]), _arg);
2386#line 2386 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2387 }
2388
2389#line 1798 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2390 if(_mapBody)
2391#line 1798 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2392 {
2393#line 1799 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2394 _arg = omc_NFSections_foldExp(threadData, omc_NFClass_Class_getSections(threadData, _cls), ((modelica_fnptr) _foldFn), _arg);
2395#line 2395 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2396 }
2397 _return: OMC_LABEL_UNUSED__attribute__((unused))
2398 return _arg;
2399}
2400modelica_metatype boxptr_NFFunction_Function_foldExp(threadData_t *threadData, modelica_metatype _fn, modelica_fnptr _foldFn, modelica_metatype _D_24in_arg, modelica_metatype _mapParameters, modelica_metatype _mapBody)
2401{
2402 modelica_integer tmp1;
2403 modelica_integer tmp2;
2404 modelica_metatype _arg = NULL((void*)0);
2405 tmp1 = mmc_unbox_integer(_mapParameters)(((mmc_sint_t) (_mapParameters)) >> 1);
2406 tmp2 = mmc_unbox_integer(_mapBody)(((mmc_sint_t) (_mapBody)) >> 1);
2407 _arg = omc_NFFunction_Function_foldExp(threadData, _fn, _foldFn, _D_24in_arg, tmp1, tmp2);
2408 /* skip box _arg; polymorphic<ArgT> */
2409 return _arg;
2410}
2411
2412static modelica_metatype closure4_NFDimension_mapExp(threadData_t *thData, modelica_metatype closure, modelica_metatype dim)
2413{
2414 modelica_fnptr func = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
2415 return boxptr_NFDimension_mapExpomc_NFDimension_mapExp(thData, dim, func);
2416}static void closure5_NFFunction_Function_mapExpParameter(threadData_t *thData, modelica_metatype closure, modelica_metatype node)
2417{
2418 modelica_fnptr mapFn = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
2419 boxptr_NFFunction_Function_mapExpParameteromc_NFFunction_Function_mapExpParameter(thData, node, mapFn);
2420}
2421DLLExport
2422void omc_NFFunction_Function_mapExpParameter(threadData_t *threadData, modelica_metatype _node, modelica_fnptr _mapFn)
2423{
2424 modelica_metatype _comp = NULL((void*)0);
2425 modelica_metatype _binding = NULL((void*)0);
2426 modelica_metatype _binding2 = NULL((void*)0);
2427 modelica_metatype _cls = NULL((void*)0);
2428 modelica_metatype _ty = NULL((void*)0);
2429 modelica_boolean _dirty;
2430 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
2431 MMC_SO()mmc_check_stackoverflow(threadData);
2432 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2433 // _comp has no default value.
2434 // _binding has no default value.
2435 // _binding2 has no default value.
2436 // _cls has no default value.
2437 // _ty has no default value.
2438 _dirty = 0;
2439#line 1744 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2440 _comp = omc_NFInstNode_InstNode_component(threadData, _node);
2441#line 2441 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2442
2443#line 1745 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2444 _binding = omc_NFComponent_Component_getBinding(threadData, _comp);
2445#line 2445 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2446
2447#line 1746 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2448 _binding2 = omc_NFBinding_Binding_mapExp(threadData, _binding, ((modelica_fnptr) _mapFn));
2449#line 2449 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2450
2451#line 1748 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2452 if((!referenceEq(_binding, _binding2)((_binding) == (_binding2))))
2453#line 1748 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2454 {
2455#line 1749 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2456 _comp = omc_NFComponent_Component_setBinding(threadData, _binding2, _comp);
2457#line 2457 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2458
2459#line 1750 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2460 _dirty = 1;
2461#line 2461 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2462 }
2463
2464#line 2464 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2465 { /* match expression */
2466 modelica_metatype tmp3_1;
2467 tmp3_1 = _comp;
2468 {
2469 volatile mmc_switch_type tmp3;
2470 int tmp4;
2471 tmp3 = 0;
2472 for (; tmp3 < 2; tmp3++) {
2473 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2474 case 0: {
2475 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;
2476
2477 /* Pattern matching succeeded */
2478#line 1756 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2479 tmpMeta[0] = mmc_mk_box1(0, ((modelica_fnptr) _mapFn));
2480#line 1756 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2481 _ty = omc_NFType_mapDims(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_comp), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_comp) - 3))) +
(3)))))
), (modelica_fnptr) mmc_mk_box2(0,closure4_NFDimension_mapExp,tmpMeta[0]));
2482#line 2482 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2483
2484#line 1758 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2485 if((!referenceEq(_ty, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_comp), 3))))((_ty) == (((*(void**)(((void*)((void**)(((void*)((char*)(_comp
) - 3))) + (3))))))))
))
2486#line 1758 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2487 {
2488#line 1759 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2489 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(10))((void*)((char*)(mmc_alloc_words(10)) + 3));
2490#line 1759 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2491 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_comp)((void*)((char*)(_comp) - 3)), 10*sizeof(modelica_metatype));
2492#line 1759 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2493 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[3] = _ty;
2494#line 1759 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2495 _comp = tmpMeta[0];
2496#line 2496 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2497
2498#line 1760 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2499 _dirty = 1;
2500#line 2500 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2501 }
2502
2503#line 1763 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2504 _cls = omc_NFInstNode_InstNode_getClass(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_comp), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_comp) - 3))) +
(2)))))
));
2505#line 2505 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2506
2507#line 1764 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2508 tmpMeta[0] = mmc_mk_box1(0, ((modelica_fnptr) _mapFn));
2509#line 1764 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2510 omc_NFClassTree_ClassTree_applyComponents(threadData, omc_NFClass_Class_classTree(threadData, _cls), (modelica_fnptr) mmc_mk_box2(0,closure5_NFFunction_Function_mapExpParameter,tmpMeta[0]));
2511#line 2511 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2512#line 2512 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2513 goto tmp2_done;
2514 }
2515 case 1: {
2516
2517 /* Pattern matching succeeded */
2518#line 2518 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2519 goto tmp2_done;
2520 }
2521 }
2522 goto tmp2_end;
2523 tmp2_end: ;
2524 }
2525 goto goto_1;
2526 goto_1:;
2527 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2528 goto tmp2_done;
2529 tmp2_done:;
2530 }
2531 }
2532 ;
2533
2534#line 1772 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2535 if(_dirty)
2536#line 1772 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2537 {
2538#line 1773 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2539 omc_NFInstNode_InstNode_updateComponent(threadData, _comp, _node);
2540#line 2540 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2541 }
2542 _return: OMC_LABEL_UNUSED__attribute__((unused))
2543 return;
2544}
2545
2546static void closure6_NFFunction_Function_mapExpParameter(threadData_t *thData, modelica_metatype closure, modelica_metatype node)
2547{
2548 modelica_fnptr mapFn = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
2549 boxptr_NFFunction_Function_mapExpParameteromc_NFFunction_Function_mapExpParameter(thData, node, mapFn);
2550}
2551DLLExport
2552modelica_metatype omc_NFFunction_Function_mapExp(threadData_t *threadData, modelica_metatype _D_24in_fn, modelica_fnptr _mapFn, modelica_boolean _mapParameters, modelica_boolean _mapBody)
2553{
2554 modelica_metatype _fn = NULL((void*)0);
2555 modelica_metatype _cls = NULL((void*)0);
2556 modelica_metatype _ctree = NULL((void*)0);
2557 modelica_metatype _comps = NULL((void*)0);
2558 modelica_metatype _sections = NULL((void*)0);
2559 modelica_metatype _comp = NULL((void*)0);
2560 modelica_metatype _binding = NULL((void*)0);
2561 modelica_metatype _binding2 = NULL((void*)0);
2562 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
2563 MMC_SO()mmc_check_stackoverflow(threadData);
2564 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2565 _fn = _D_24in_fn;
2566 // _cls has no default value.
2567 // _ctree has no default value.
2568 // _comps has no default value.
2569 // _sections has no default value.
2570 // _comp has no default value.
2571 // _binding has no default value.
2572 // _binding2 has no default value.
2573#line 1715 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2574 _cls = omc_NFInstNode_InstNode_getClass(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
3)))))
));
2575#line 2575 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2576
2577#line 1717 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2578 if(_mapParameters)
2579#line 1717 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2580 {
2581#line 1718 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2582 _ctree = omc_NFClass_Class_classTree(threadData, _cls);
2583#line 2583 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2584
2585#line 1719 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2586 tmpMeta[0] = mmc_mk_box1(0, ((modelica_fnptr) _mapFn));
2587#line 1719 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2588 omc_NFClassTree_ClassTree_applyComponents(threadData, _ctree, (modelica_fnptr) mmc_mk_box2(0,closure6_NFFunction_Function_mapExpParameter,tmpMeta[0]));
2589#line 2589 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2590
2591#line 1720 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2592 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(13))((void*)((char*)(mmc_alloc_words(13)) + 3));
2593#line 1720 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2594 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_fn)((void*)((char*)(_fn) - 3)), 13*sizeof(modelica_metatype));
2595#line 1720 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2596 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[8] = omc_NFFunction_Function_makeReturnType(threadData, _fn);
2597#line 1720 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2598 _fn = tmpMeta[0];
2599#line 2599 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2600 }
2601
2602#line 1723 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2603 if(_mapBody)
2604#line 1723 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2605 {
2606#line 1724 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2607 _sections = omc_NFSections_mapExp(threadData, omc_NFClass_Class_getSections(threadData, _cls), ((modelica_fnptr) _mapFn));
2608#line 2608 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2609
2610#line 1725 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2611 _cls = omc_NFClass_Class_setSections(threadData, _sections, _cls);
2612#line 2612 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2613
2614#line 1726 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2615 omc_NFInstNode_InstNode_updateClass(threadData, _cls, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
3)))))
));
2616#line 2616 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2617 }
2618 _return: OMC_LABEL_UNUSED__attribute__((unused))
2619 return _fn;
2620}
2621modelica_metatype boxptr_NFFunction_Function_mapExp(threadData_t *threadData, modelica_metatype _D_24in_fn, modelica_fnptr _mapFn, modelica_metatype _mapParameters, modelica_metatype _mapBody)
2622{
2623 modelica_integer tmp1;
2624 modelica_integer tmp2;
2625 modelica_metatype _fn = NULL((void*)0);
2626 tmp1 = mmc_unbox_integer(_mapParameters)(((mmc_sint_t) (_mapParameters)) >> 1);
2627 tmp2 = mmc_unbox_integer(_mapBody)(((mmc_sint_t) (_mapBody)) >> 1);
2628 _fn = omc_NFFunction_Function_mapExp(threadData, _D_24in_fn, _mapFn, tmp1, tmp2);
2629 /* skip box _fn; NFFunction.Function */
2630 return _fn;
2631}
2632
2633DLLExport
2634modelica_boolean omc_NFFunction_Function_hasOptionalArgument(threadData_t *threadData, modelica_metatype _component)
2635{
2636 modelica_boolean _res;
2637 MMC_SO()mmc_check_stackoverflow(threadData);
2638 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2639 _res = omc_SCodeUtil_hasBooleanNamedAnnotationInComponent(threadData, _component, _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)));
2640 _return: OMC_LABEL_UNUSED__attribute__((unused))
2641 return _res;
2642}
2643modelica_metatype boxptr_NFFunction_Function_hasOptionalArgument(threadData_t *threadData, modelica_metatype _component)
2644{
2645 modelica_boolean _res;
2646 modelica_metatype out_res;
2647 _res = omc_NFFunction_Function_hasOptionalArgument(threadData, _component);
2648 out_res = mmc_mk_icon(_res);
2649 return out_res;
2650}
2651
2652DLLExport
2653modelica_boolean omc_NFFunction_Function_hasUnboxArgsAnnotation(threadData_t *threadData, modelica_metatype _cmt)
2654{
2655 modelica_boolean _res;
2656 MMC_SO()mmc_check_stackoverflow(threadData);
2657 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2658 _res = omc_SCodeUtil_commentHasBooleanNamedAnnotation(threadData, _cmt, _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)));
2659 _return: OMC_LABEL_UNUSED__attribute__((unused))
2660 return _res;
2661}
2662modelica_metatype boxptr_NFFunction_Function_hasUnboxArgsAnnotation(threadData_t *threadData, modelica_metatype _cmt)
2663{
2664 modelica_boolean _res;
2665 modelica_metatype out_res;
2666 _res = omc_NFFunction_Function_hasUnboxArgsAnnotation(threadData, _cmt);
2667 out_res = mmc_mk_icon(_res);
2668 return out_res;
2669}
2670
2671DLLExport
2672modelica_boolean omc_NFFunction_Function_hasUnboxArgs(threadData_t *threadData, modelica_metatype _fn)
2673{
2674 modelica_boolean _res;
2675 modelica_boolean tmp1 = 0;
2676 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2677 MMC_SO()mmc_check_stackoverflow(threadData);
2678 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2679 // _res has no default value.
2680#line 2680 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2681 { /* match expression */
2682 modelica_metatype tmp4_1;
2683 tmp4_1 = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 9))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
9)))))
);
2684 {
2685 volatile mmc_switch_type tmp4;
2686 int tmp5;
2687 tmp4 = 0;
2688 for (; tmp4 < 2; tmp4++) {
2689 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2690 case 0: {
2691 modelica_integer tmp6;
2692 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(6)))))
;
2693 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;
2694 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
2695 tmp6 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
2696
2697 _res = tmp6 /* pattern as ty=Boolean */;
2698 /* Pattern matching succeeded */
2699#line 1683 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2700 tmp1 = _res;
2701#line 2701 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2702 goto tmp3_done;
2703 }
2704 case 1: {
2705
2706 /* Pattern matching succeeded */
2707#line 1684 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2708 tmp1 = 0;
2709#line 2709 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2710 goto tmp3_done;
2711 }
2712 }
2713 goto tmp3_end;
2714 tmp3_end: ;
2715 }
2716 goto goto_2;
2717 goto_2:;
2718 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2719 goto tmp3_done;
2720 tmp3_done:;
2721 }
2722 }
2723 _res = tmp1;
2724 _return: OMC_LABEL_UNUSED__attribute__((unused))
2725 return _res;
2726}
2727modelica_metatype boxptr_NFFunction_Function_hasUnboxArgs(threadData_t *threadData, modelica_metatype _fn)
2728{
2729 modelica_boolean _res;
2730 modelica_metatype out_res;
2731 _res = omc_NFFunction_Function_hasUnboxArgs(threadData, _fn);
2732 out_res = mmc_mk_icon(_res);
2733 return out_res;
2734}
2735
2736DLLExport
2737modelica_metatype omc_NFFunction_Function_getBody(threadData_t *threadData, modelica_metatype _fn)
2738{
2739 modelica_metatype _body = NULL((void*)0);
2740 MMC_SO()mmc_check_stackoverflow(threadData);
2741 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2742 _body = omc_NFFunction_Function_getBody2(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
3)))))
));
2743 _return: OMC_LABEL_UNUSED__attribute__((unused))
2744 return _body;
2745}
2746
2747DLLExport
2748modelica_metatype omc_NFFunction_Function_makeDAEType(threadData_t *threadData, modelica_metatype _fn, modelica_boolean _boxTypes)
2749{
2750 modelica_metatype _outType = NULL((void*)0);
2751 modelica_metatype _params = NULL((void*)0);
2752 modelica_string _pname = NULL((void*)0);
2753 modelica_metatype _ty = NULL((void*)0);
2754 modelica_metatype _ptype = NULL((void*)0);
2755 modelica_metatype _pconst = NULL((void*)0);
2756 modelica_metatype _ppar = NULL((void*)0);
2757 modelica_metatype _pdefault = NULL((void*)0);
2758 modelica_metatype _comp = NULL((void*)0);
2759 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2760 MMC_SO()mmc_check_stackoverflow(threadData);
2761 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2762 // _outType has no default value.
2763 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2764 _params = tmpMeta[0];
2765 // _pname has no default value.
2766 // _ty has no default value.
2767 // _ptype has no default value.
2768 // _pconst has no default value.
2769 // _ppar has no default value.
2770 // _pdefault has no default value.
2771 // _comp has no default value.
2772#line 1655 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2773 {
2774#line 1655 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2775 modelica_metatype _param;
2776#line 1655 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2777 for (tmpMeta[1] = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
4)))))
); !listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[1]=MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
)
2778#line 1655 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2779 {
2780#line 1655 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2781 _param = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
2782#line 1656 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2783 _comp = omc_NFInstNode_InstNode_component(threadData, _param);
2784#line 2784 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2785
2786#line 1657 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2787 _pname = omc_NFInstNode_InstNode_name(threadData, _param);
2788#line 2788 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2789
2790#line 1658 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2791 _ty = omc_NFComponent_Component_getType(threadData, _comp);
2792#line 2792 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2793
2794#line 1659 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2795 _ptype = omc_NFType_toDAE(threadData, (_boxTypes?omc_NFType_box(threadData, _ty):_ty), 1);
2796#line 2796 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2797
2798#line 1660 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2799 _pconst = omc_NFPrefixes_variabilityToDAEConst(threadData, omc_NFComponent_Component_variability(threadData, _comp));
2800#line 2800 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2801
2802#line 1661 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2803 _ppar = omc_NFPrefixes_parallelismToDAE(threadData, omc_NFComponent_Component_parallelism(threadData, _comp));
2804#line 2804 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2805
2806#line 1662 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2807 _pdefault = omc_Util_applyOption(threadData, omc_NFBinding_Binding_typedExp(threadData, omc_NFComponent_Component_getBinding(threadData, _comp)), boxvar_NFExpression_toDAE((void*)((char*)(&(boxvar_lit_NFExpression_toDAE).header)
+ 3))
);
2808#line 2808 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2809
2810#line 1663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2811 tmpMeta[3] = mmc_mk_box6(3, &DAE_FuncArg_FUNCARG__desc, _pname, _ptype, _pconst, _ppar, _pdefault);
2812#line 1663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2813 tmpMeta[2] = mmc_mk_cons(tmpMeta[3], _params);
2814#line 1663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2815 _params = tmpMeta[2];
2816#line 2816 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2817 }
2818 }
2819
2820#line 1666 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2821 _params = listReverse(_params);
2822#line 2822 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2823
2824#line 1667 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2825 _ty = (_boxTypes?omc_NFType_box(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 8))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
8)))))
)):(MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 8))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
8)))))
));
2826#line 2826 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2827
2828#line 1668 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2829 tmpMeta[1] = mmc_mk_box5(14, &DAE_Type_T__FUNCTION__desc, _params, omc_NFType_toDAE(threadData, _ty, 1), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 9))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
9)))))
), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
2)))))
));
2830#line 1668 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2831 _outType = tmpMeta[1];
2832#line 2832 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2833 _return: OMC_LABEL_UNUSED__attribute__((unused))
2834 return _outType;
2835}
2836modelica_metatype boxptr_NFFunction_Function_makeDAEType(threadData_t *threadData, modelica_metatype _fn, modelica_metatype _boxTypes)
2837{
2838 modelica_integer tmp1;
2839 modelica_metatype _outType = NULL((void*)0);
2840 tmp1 = mmc_unbox_integer(_boxTypes)(((mmc_sint_t) (_boxTypes)) >> 1);
2841 _outType = omc_NFFunction_Function_makeDAEType(threadData, _fn, tmp1);
2842 /* skip box _outType; DAE.Type */
2843 return _outType;
2844}
2845
2846DLLExport
2847modelica_metatype omc_NFFunction_Function_toDAE(threadData_t *threadData, modelica_metatype _fn, modelica_metatype _def)
2848{
2849 modelica_metatype _daeFn = NULL((void*)0);
2850 modelica_metatype _vis = NULL((void*)0);
2851 modelica_boolean _par;
2852 modelica_boolean _impr;
2853 modelica_metatype _ity = NULL((void*)0);
2854 modelica_metatype _ty = NULL((void*)0);
2855 modelica_metatype _defs = NULL((void*)0);
2856 modelica_metatype _unused_inputs = NULL((void*)0);
2857 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
2858 MMC_SO()mmc_check_stackoverflow(threadData);
2859 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2860 // _daeFn has no default value.
2861 // _vis has no default value.
2862 // _par has no default value.
2863 // _impr has no default value.
2864 // _ity has no default value.
2865 // _ty has no default value.
2866 // _defs has no default value.
2867 // _unused_inputs has no default value.
2868#line 1629 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2869 _vis = _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3));
2870#line 2870 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2871
2872#line 1630 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2873 _par = 0;
2874#line 2874 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2875
2876#line 1631 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2877 _impr = mmc_unbox_boolean((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 9)))), 4))))(((mmc_sint_t) (((*(void**)(((void*)((void**)(((void*)((char*
)(((*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) +
(9))))))) - 3))) + (4)))))))) >> 1)
;
2878#line 2878 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2879
2880#line 1632 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2881 _ity = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 9)))), 2))(*(void**)(((void*)((void**)(((void*)((char*)(((*(void**)(((void
*)((void**)(((void*)((char*)(_fn) - 3))) + (9))))))) - 3))) +
(2)))))
);
2882#line 2882 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2883
2884#line 1633 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2885 _ty = omc_NFFunction_Function_makeDAEType(threadData, _fn, 0);
2886#line 2886 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2887
2888#line 1634 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2889 _unused_inputs = omc_NFFunction_Function_analyseUnusedParameters(threadData, _fn);
2890#line 2890 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2891
2892#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2893 {
2894#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2895 modelica_metatype _D_24tmpVar11;
2896#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2897 modelica_metatype* tmp1;
2898#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2899 modelica_metatype _D_24tmpVar10;
2900#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2901 int tmp2;
2902#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2903 modelica_metatype _fn_der_loopVar = 0;
2904#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2905 modelica_metatype _fn_der;
2906#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2907 _fn_der_loopVar = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 10))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
10)))))
);
2908#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2909 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2910#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2911 _D_24tmpVar11 = tmpMeta[2]; /* defaultValue */
2912#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2913 tmp1 = &_D_24tmpVar11;
2914#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2915 while(1) {
2916#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2917 tmp2 = 1;
2918#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2919 if (!listEmpty(_fn_der_loopVar)((*(mmc_uint_t*)((void*)((char*)(_fn_der_loopVar) - 3))) == (
((0) << 10) + (((0) & 255) << 2)))
) {
2920#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2921 _fn_der = MMC_CAR(_fn_der_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_fn_der_loopVar
) - 3))) + (1)))))
;
2922#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2923 _fn_der_loopVar = MMC_CDR(_fn_der_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_fn_der_loopVar
) - 3))) + (2)))))
;
2924#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2925 tmp2--;
2926#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2927 }
2928#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2929 if (tmp2 == 0) {
2930#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2931 _D_24tmpVar10 = omc_NFFunctionDerivative_toDAE(threadData, _fn_der);
2932#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2933 *tmp1 = mmc_mk_cons(_D_24tmpVar10,0);
2934#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2935 tmp1 = &MMC_CDR(*tmp1)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp1) - 3))) +
(2)))))
;
2936#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2937 } else if (tmp2 == 1) {
2938#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2939 break;
2940#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2941 } else {
2942#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2943 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2944#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2945 }
2946#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2947 }
2948#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2949 *tmp1 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
2950#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2951 tmpMeta[1] = _D_24tmpVar11;
2952#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2953 }
2954#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2955 tmpMeta[0] = mmc_mk_cons(_def, tmpMeta[1]);
2956#line 1635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2957 _defs = tmpMeta[0];
2958#line 2958 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2959
2960#line 1636 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2961 tmpMeta[0] = mmc_mk_box11(3, &DAE_Function_FUNCTION__desc, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
2)))))
), _defs, _ty, _vis, mmc_mk_boolean(_par)((_par) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), mmc_mk_boolean(_impr)((_impr) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), _ity, _unused_inputs, omc_ElementSource_createElementSource(threadData, omc_NFInstNode_InstNode_info(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
3)))))
)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)), _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))), omc_SCodeUtil_getElementComment(threadData, omc_NFInstNode_InstNode_definition(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
3)))))
))));
2962#line 1636 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2963 _daeFn = tmpMeta[0];
2964#line 2964 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2965 _return: OMC_LABEL_UNUSED__attribute__((unused))
2966 return _daeFn;
2967}
2968
2969DLLExport
2970modelica_boolean omc_NFFunction_Function_isDefaultRecordConstructor(threadData_t *threadData, modelica_metatype _fn)
2971{
2972 modelica_boolean _isConstructor;
2973 modelica_boolean tmp1 = 0;
2974 MMC_SO()mmc_check_stackoverflow(threadData);
2975 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2976 // _isConstructor has no default value.
2977#line 2977 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2978 { /* match expression */
2979 modelica_metatype tmp4_1;
2980 tmp4_1 = omc_NFClass_Class_restriction(threadData, omc_NFInstNode_InstNode_getClass(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
3)))))
)));
2981 {
2982 volatile mmc_switch_type tmp4;
2983 int tmp5;
2984 tmp4 = 0;
2985 for (; tmp4 < 2; tmp4++) {
2986 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2987 case 0: {
2988 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,8,0)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((0 +1) <<
10) + (((8 +3) & 255) << 2)))
== 0) goto tmp3_end;
2989 /* Pattern matching succeeded */
2990#line 1612 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2991 tmp1 = 1;
2992#line 2992 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
2993 goto tmp3_done;
2994 }
2995 case 1: {
2996
2997 /* Pattern matching succeeded */
2998#line 1613 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
2999 tmp1 = 0;
3000#line 3000 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3001 goto tmp3_done;
3002 }
3003 }
3004 goto tmp3_end;
3005 tmp3_end: ;
3006 }
3007 goto goto_2;
3008 goto_2:;
3009 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3010 goto tmp3_done;
3011 tmp3_done:;
3012 }
3013 }
3014 _isConstructor = tmp1;
3015 _return: OMC_LABEL_UNUSED__attribute__((unused))
3016 return _isConstructor;
3017}
3018modelica_metatype boxptr_NFFunction_Function_isDefaultRecordConstructor(threadData_t *threadData, modelica_metatype _fn)
3019{
3020 modelica_boolean _isConstructor;
3021 modelica_metatype out_isConstructor;
3022 _isConstructor = omc_NFFunction_Function_isDefaultRecordConstructor(threadData, _fn);
3023 out_isConstructor = mmc_mk_icon(_isConstructor);
3024 return out_isConstructor;
3025}
3026
3027DLLExport
3028modelica_metatype omc_NFFunction_Function_inlineBuiltin(threadData_t *threadData, modelica_metatype _fn)
3029{
3030 modelica_metatype _inlineType = NULL((void*)0);
3031 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3032 MMC_SO()mmc_check_stackoverflow(threadData);
3033 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3034 // _inlineType has no default value.
3035#line 3035 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3036 { /* match expression */
3037 modelica_metatype tmp3_1;
3038 tmp3_1 = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 9)))), 6))(*(void**)(((void*)((void**)(((void*)((char*)(((*(void**)(((void
*)((void**)(((void*)((char*)(_fn) - 3))) + (9))))))) - 3))) +
(6)))))
);
3039 {
3040 volatile mmc_switch_type tmp3;
3041 int tmp4;
3042 tmp3 = 0;
3043 for (; tmp3 < 2; tmp3++) {
3044 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3045 case 0: {
3046 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;
3047 /* Pattern matching succeeded */
3048#line 1602 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3049 tmpMeta[0] = _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3));
3050#line 3050 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3051 goto tmp2_done;
3052 }
3053 case 1: {
3054
3055 /* Pattern matching succeeded */
3056#line 1603 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3057 tmpMeta[0] = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 9)))), 2))(*(void**)(((void*)((void**)(((void*)((char*)(((*(void**)(((void
*)((void**)(((void*)((char*)(_fn) - 3))) + (9))))))) - 3))) +
(2)))))
);
3058#line 3058 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3059 goto tmp2_done;
3060 }
3061 }
3062 goto tmp2_end;
3063 tmp2_end: ;
3064 }
3065 goto goto_1;
3066 goto_1:;
3067 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3068 goto tmp2_done;
3069 tmp2_done:;
3070 }
3071 }
3072 _inlineType = tmpMeta[0];
3073 _return: OMC_LABEL_UNUSED__attribute__((unused))
3074 return _inlineType;
3075}
3076
3077DLLExport
3078modelica_boolean omc_NFFunction_Function_isExternal(threadData_t *threadData, modelica_metatype _fn)
3079{
3080 modelica_boolean _isExternal;
3081 MMC_SO()mmc_check_stackoverflow(threadData);
3082 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3083 _isExternal = ((!omc_NFInstNode_InstNode_isEmpty(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
3)))))
))) && omc_NFClass_Class_isExternalFunction(threadData, omc_NFInstNode_InstNode_getClass(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
3)))))
))));
3084 _return: OMC_LABEL_UNUSED__attribute__((unused))
3085 return _isExternal;
3086}
3087modelica_metatype boxptr_NFFunction_Function_isExternal(threadData_t *threadData, modelica_metatype _fn)
3088{
3089 modelica_boolean _isExternal;
3090 modelica_metatype out_isExternal;
3091 _isExternal = omc_NFFunction_Function_isExternal(threadData, _fn);
3092 out_isExternal = mmc_mk_icon(_isExternal);
3093 return out_isExternal;
3094}
3095
3096DLLExport
3097modelica_metatype omc_NFFunction_Function_setFunctionPointer(threadData_t *threadData, modelica_boolean _isPointer, modelica_metatype _D_24in_fn)
3098{
3099 modelica_metatype _fn = NULL((void*)0);
3100 modelica_metatype _attr = NULL((void*)0);
3101 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3102 MMC_SO()mmc_check_stackoverflow(threadData);
3103 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3104 _fn = _D_24in_fn;
3105 _attr = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 9))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
9)))))
);
3106#line 1584 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3107 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(8))((void*)((char*)(mmc_alloc_words(8)) + 3));
3108#line 1584 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3109 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_attr)((void*)((char*)(_attr) - 3)), 8*sizeof(modelica_metatype));
3110#line 1584 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3111 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[5] = mmc_mk_boolean(_isPointer)((_isPointer) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0)));
3112#line 1584 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3113 _attr = tmpMeta[0];
3114#line 3114 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3115
3116#line 1585 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3117 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(13))((void*)((char*)(mmc_alloc_words(13)) + 3));
3118#line 1585 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3119 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_fn)((void*)((char*)(_fn) - 3)), 13*sizeof(modelica_metatype));
3120#line 1585 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3121 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[9] = _attr;
3122#line 1585 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3123 _fn = tmpMeta[0];
3124#line 3124 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3125 _return: OMC_LABEL_UNUSED__attribute__((unused))
3126 return _fn;
3127}
3128modelica_metatype boxptr_NFFunction_Function_setFunctionPointer(threadData_t *threadData, modelica_metatype _isPointer, modelica_metatype _D_24in_fn)
3129{
3130 modelica_integer tmp1;
3131 modelica_metatype _fn = NULL((void*)0);
3132 tmp1 = mmc_unbox_integer(_isPointer)(((mmc_sint_t) (_isPointer)) >> 1);
3133 _fn = omc_NFFunction_Function_setFunctionPointer(threadData, tmp1, _D_24in_fn);
3134 /* skip box _fn; NFFunction.Function */
3135 return _fn;
3136}
3137
3138DLLExport
3139modelica_boolean omc_NFFunction_Function_isFunctionPointer(threadData_t *threadData, modelica_metatype _fn)
3140{
3141 modelica_boolean _isPointer;
3142 MMC_SO()mmc_check_stackoverflow(threadData);
3143 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3144 _isPointer = mmc_unbox_boolean((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 9)))), 5))))(((mmc_sint_t) (((*(void**)(((void*)((void**)(((void*)((char*
)(((*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) +
(9))))))) - 3))) + (5)))))))) >> 1)
;
3145 _return: OMC_LABEL_UNUSED__attribute__((unused))
3146 return _isPointer;
3147}
3148modelica_metatype boxptr_NFFunction_Function_isFunctionPointer(threadData_t *threadData, modelica_metatype _fn)
3149{
3150 modelica_boolean _isPointer;
3151 modelica_metatype out_isPointer;
3152 _isPointer = omc_NFFunction_Function_isFunctionPointer(threadData, _fn);
3153 out_isPointer = mmc_mk_icon(_isPointer);
3154 return out_isPointer;
3155}
3156
3157DLLExport
3158modelica_boolean omc_NFFunction_Function_isOMImpure(threadData_t *threadData, modelica_metatype _fn)
3159{
3160 modelica_boolean _isImpure;
3161 MMC_SO()mmc_check_stackoverflow(threadData);
3162 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3163 _isImpure = (!mmc_unbox_boolean((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 9)))), 3))))(((mmc_sint_t) (((*(void**)(((void*)((void**)(((void*)((char*
)(((*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) +
(9))))))) - 3))) + (3)))))))) >> 1)
);
3164 _return: OMC_LABEL_UNUSED__attribute__((unused))
3165 return _isImpure;
3166}
3167modelica_metatype boxptr_NFFunction_Function_isOMImpure(threadData_t *threadData, modelica_metatype _fn)
3168{
3169 modelica_boolean _isImpure;
3170 modelica_metatype out_isImpure;
3171 _isImpure = omc_NFFunction_Function_isOMImpure(threadData, _fn);
3172 out_isImpure = mmc_mk_icon(_isImpure);
3173 return out_isImpure;
3174}
3175
3176DLLExport
3177modelica_boolean omc_NFFunction_Function_isImpure(threadData_t *threadData, modelica_metatype _fn)
3178{
3179 modelica_boolean _isImpure;
3180 MMC_SO()mmc_check_stackoverflow(threadData);
3181 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3182 _isImpure = mmc_unbox_boolean((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 9)))), 4))))(((mmc_sint_t) (((*(void**)(((void*)((void**)(((void*)((char*
)(((*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) +
(9))))))) - 3))) + (4)))))))) >> 1)
;
3183 _return: OMC_LABEL_UNUSED__attribute__((unused))
3184 return _isImpure;
3185}
3186modelica_metatype boxptr_NFFunction_Function_isImpure(threadData_t *threadData, modelica_metatype _fn)
3187{
3188 modelica_boolean _isImpure;
3189 modelica_metatype out_isImpure;
3190 _isImpure = omc_NFFunction_Function_isImpure(threadData, _fn);
3191 out_isImpure = mmc_mk_icon(_isImpure);
3192 return out_isImpure;
3193}
3194
3195DLLExport
3196modelica_boolean omc_NFFunction_Function_isSubscriptableBuiltin(threadData_t *threadData, modelica_metatype _fn)
3197{
3198 modelica_boolean _scalarBuiltin;
3199 modelica_boolean tmp1 = 0;
3200 MMC_SO()mmc_check_stackoverflow(threadData);
3201 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3202 // _scalarBuiltin has no default value.
3203#line 1551 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3204 if((!omc_NFFunction_Function_isBuiltin(threadData, _fn)))
3205#line 1551 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3206 {
3207#line 1552 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3208 _scalarBuiltin = 0;
3209#line 3209 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3210 }
3211 else
3212 {
3213#line 3213 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3214 { /* match expression */
3215 modelica_string tmp4_1;
3216 tmp4_1 = omc_AbsynUtil_pathFirstIdent(threadData, omc_NFFunction_Function_nameConsiderBuiltin(threadData, _fn));
3217 {
3218 volatile mmc_switch_type tmp4;
3219 int tmp5;
3220 tmp4 = 0;
3221 for (; tmp4 < 4; tmp4++) {
3222 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3223 case 0: {
3224 if (6 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT50)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT50).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
3225 /* Pattern matching succeeded */
3226#line 1555 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3227 tmp1 = 1;
3228#line 3228 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3229 goto tmp3_done;
3230 }
3231 case 1: {
3232 if (3 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT51)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT51).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
3233 /* Pattern matching succeeded */
3234#line 1556 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3235 tmp1 = 1;
3236#line 3236 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3237 goto tmp3_done;
3238 }
3239 case 2: {
3240 if (3 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT52)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT52).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
3241 /* Pattern matching succeeded */
3242#line 1557 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3243 tmp1 = 1;
3244#line 3244 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3245 goto tmp3_done;
3246 }
3247 case 3: {
3248
3249 /* Pattern matching succeeded */
3250#line 1558 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3251 tmp1 = 0;
3252#line 3252 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3253 goto tmp3_done;
3254 }
3255 }
3256 goto tmp3_end;
3257 tmp3_end: ;
3258 }
3259 goto goto_2;
3260 goto_2:;
3261 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3262 goto tmp3_done;
3263 tmp3_done:;
3264 }
3265 }
3266 _scalarBuiltin = tmp1;
3267 }
3268 _return: OMC_LABEL_UNUSED__attribute__((unused))
3269 return _scalarBuiltin;
3270}
3271modelica_metatype boxptr_NFFunction_Function_isSubscriptableBuiltin(threadData_t *threadData, modelica_metatype _fn)
3272{
3273 modelica_boolean _scalarBuiltin;
3274 modelica_metatype out_scalarBuiltin;
3275 _scalarBuiltin = omc_NFFunction_Function_isSubscriptableBuiltin(threadData, _fn);
3276 out_scalarBuiltin = mmc_mk_icon(_scalarBuiltin);
3277 return out_scalarBuiltin;
3278}
3279
3280DLLExport
3281modelica_boolean omc_NFFunction_Function_isSpecialBuiltin(threadData_t *threadData, modelica_metatype _fn)
3282{
3283 modelica_boolean _special;
3284 modelica_metatype _path = NULL((void*)0);
3285 modelica_boolean tmp1 = 0;
3286 MMC_SO()mmc_check_stackoverflow(threadData);
3287 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3288 // _special has no default value.
3289 // _path has no default value.
3290#line 1463 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3291 if((!omc_NFFunction_Function_isBuiltin(threadData, _fn)))
3292#line 1463 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3293 {
3294#line 1464 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3295 _special = 0;
3296#line 3296 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3297 }
3298 else
3299 {
3300#line 1466 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3301 _path = omc_NFFunction_Function_nameConsiderBuiltin(threadData, _fn);
3302#line 3302 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3303
3304#line 1468 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3305 if((!omc_AbsynUtil_pathIsIdent(threadData, _path)))
3306#line 1468 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3307 {
3308#line 1469 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3309 _special = 0;
3310#line 3310 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3311 }
3312 else
3313 {
3314#line 3314 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3315 { /* match expression */
3316 modelica_string tmp4_1;
3317 tmp4_1 = omc_AbsynUtil_pathFirstIdent(threadData, _path);
3318 {
3319 int tmp4;
3320 {
3321 switch (MMC_SWITCH_CAST(stringHashDjb2Mod(tmp4_1,2048))(stringHashDjb2Mod(tmp4_1,2048))) {
3322 case 1572 /* array */: {
3323 if (5 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT53)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT53).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3324 /* Pattern matching succeeded */
3325#line 1473 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3326 tmp1 = 1;
3327#line 3327 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3328 goto tmp3_done;
3329 }
3330 case 1515 /* actualStream */: {
3331 if (12 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT54)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT54).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3332 /* Pattern matching succeeded */
3333#line 1474 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3334 tmp1 = 1;
3335#line 3335 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3336 goto tmp3_done;
3337 }
3338 case 1459 /* branch */: {
3339 if (6 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT55)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT55).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3340 /* Pattern matching succeeded */
3341#line 1475 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3342 tmp1 = 1;
3343#line 3343 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3344 goto tmp3_done;
3345 }
3346 case 25 /* cardinality */: {
3347 if (11 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT56)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT56).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3348 /* Pattern matching succeeded */
3349#line 1476 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3350 tmp1 = 1;
3351#line 3351 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3352 goto tmp3_done;
3353 }
3354 case 1277 /* cat */: {
3355 if (3 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT57)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT57).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3356 /* Pattern matching succeeded */
3357#line 1477 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3358 tmp1 = 1;
3359#line 3359 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3360 goto tmp3_done;
3361 }
3362 case 459 /* change */: {
3363 if (6 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT50)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT50).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3364 /* Pattern matching succeeded */
3365#line 1480 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3366 tmp1 = 1;
3367#line 3367 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3368 goto tmp3_done;
3369 }
3370 case 448 /* der */: {
3371 if (3 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT51)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT51).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3372 /* Pattern matching succeeded */
3373#line 1481 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3374 tmp1 = 1;
3375#line 3375 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3376 goto tmp3_done;
3377 }
3378 case 1252 /* diagonal */: {
3379 if (8 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT58)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT58).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3380 /* Pattern matching succeeded */
3381#line 1482 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3382 tmp1 = 1;
3383#line 3383 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3384 goto tmp3_done;
3385 }
3386 case 218 /* edge */: {
3387 if (4 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT59)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT59).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3388 /* Pattern matching succeeded */
3389#line 1484 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3390 tmp1 = 1;
3391#line 3391 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3392 goto tmp3_done;
3393 }
3394 case 812 /* fill */: {
3395 if (4 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT60)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT60).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3396 /* Pattern matching succeeded */
3397#line 1486 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3398 tmp1 = 1;
3399#line 3399 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3400 goto tmp3_done;
3401 }
3402 case 1243 /* getInstanceName */: {
3403 if (15 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT61)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT61).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3404 /* Pattern matching succeeded */
3405#line 1487 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3406 tmp1 = 1;
3407#line 3407 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3408 goto tmp3_done;
3409 }
3410 case 559 /* initial */: {
3411 if (7 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT62)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT62).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3412 /* Pattern matching succeeded */
3413#line 1489 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3414 tmp1 = 1;
3415#line 3415 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3416 goto tmp3_done;
3417 }
3418 case 424 /* inStream */: {
3419 if (8 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT63)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT63).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3420 /* Pattern matching succeeded */
3421#line 1490 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3422 tmp1 = 1;
3423#line 3423 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3424 goto tmp3_done;
3425 }
3426 case 1733 /* isRoot */: {
3427 if (6 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT64)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT64).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3428 /* Pattern matching succeeded */
3429#line 1491 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3430 tmp1 = 1;
3431#line 3431 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3432 goto tmp3_done;
3433 }
3434 case 282 /* matrix */: {
3435 if (6 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT65)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT65).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3436 /* Pattern matching succeeded */
3437#line 1495 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3438 tmp1 = 1;
3439#line 3439 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3440 goto tmp3_done;
3441 }
3442 case 1931 /* max */: {
3443 if (3 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT66)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT66).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3444 /* Pattern matching succeeded */
3445#line 1498 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3446 tmp1 = 1;
3447#line 3447 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3448 goto tmp3_done;
3449 }
3450 case 137 /* min */: {
3451 if (3 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT67)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT67).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3452 /* Pattern matching succeeded */
3453#line 1501 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3454 tmp1 = 1;
3455#line 3455 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3456 goto tmp3_done;
3457 }
3458 case 672 /* ndims */: {
3459 if (5 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT68)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT68).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3460 /* Pattern matching succeeded */
3461#line 1503 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3462 tmp1 = 1;
3463#line 3463 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3464 goto tmp3_done;
3465 }
3466 case 484 /* noEvent */: {
3467 if (7 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT69)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT69).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3468 /* Pattern matching succeeded */
3469#line 1505 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3470 tmp1 = 1;
3471#line 3471 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3472 goto tmp3_done;
3473 }
3474 case 1786 /* ones */: {
3475 if (4 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT70)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT70).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3476 /* Pattern matching succeeded */
3477#line 1507 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3478 tmp1 = 1;
3479#line 3479 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3480 goto tmp3_done;
3481 }
3482 case 1817 /* potentialRoot */: {
3483 if (13 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT71)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT71).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3484 /* Pattern matching succeeded */
3485#line 1508 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3486 tmp1 = 1;
3487#line 3487 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3488 goto tmp3_done;
3489 }
3490 case 1644 /* pre */: {
3491 if (3 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT52)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT52).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3492 /* Pattern matching succeeded */
3493#line 1511 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3494 tmp1 = 1;
3495#line 3495 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3496 goto tmp3_done;
3497 }
3498 case 1606 /* product */: {
3499 if (7 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT72)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT72).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3500 /* Pattern matching succeeded */
3501#line 1513 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3502 tmp1 = 1;
3503#line 3503 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3504 goto tmp3_done;
3505 }
3506 case 425 /* root */: {
3507 if (4 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT73)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT73).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3508 /* Pattern matching succeeded */
3509#line 1514 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3510 tmp1 = 1;
3511#line 3511 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3512 goto tmp3_done;
3513 }
3514 case 1362 /* rooted */: {
3515 if (6 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT74)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT74).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3516 /* Pattern matching succeeded */
3517#line 1515 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3518 tmp1 = 1;
3519#line 3519 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3520 goto tmp3_done;
3521 }
3522 case 1472 /* uniqueRoot */: {
3523 if (10 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT75)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT75).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3524 /* Pattern matching succeeded */
3525#line 1516 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3526 tmp1 = 1;
3527#line 3527 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3528 goto tmp3_done;
3529 }
3530 case 1727 /* uniqueRootIndices */: {
3531 if (17 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT76)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT76).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3532 /* Pattern matching succeeded */
3533#line 1517 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3534 tmp1 = 1;
3535#line 3535 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3536 goto tmp3_done;
3537 }
3538 case 27 /* scalar */: {
3539 if (6 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT77)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT77).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3540 /* Pattern matching succeeded */
3541#line 1520 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3542 tmp1 = 1;
3543#line 3543 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3544 goto tmp3_done;
3545 }
3546 case 1504 /* size */: {
3547 if (4 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT78)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT78).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3548 /* Pattern matching succeeded */
3549#line 1522 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3550 tmp1 = 1;
3551#line 3551 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3552 goto tmp3_done;
3553 }
3554 case 415 /* smooth */: {
3555 if (6 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT79)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT79).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3556 /* Pattern matching succeeded */
3557#line 1524 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3558 tmp1 = 1;
3559#line 3559 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3560 goto tmp3_done;
3561 }
3562 case 922 /* sum */: {
3563 if (3 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT80)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT80).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3564 /* Pattern matching succeeded */
3565#line 1526 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3566 tmp1 = 1;
3567#line 3567 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3568 goto tmp3_done;
3569 }
3570 case 226 /* symmetric */: {
3571 if (9 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT81)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT81).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3572 /* Pattern matching succeeded */
3573#line 1528 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3574 tmp1 = 1;
3575#line 3575 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3576 goto tmp3_done;
3577 }
3578 case 865 /* terminal */: {
3579 if (8 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT82)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT82).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3580 /* Pattern matching succeeded */
3581#line 1530 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3582 tmp1 = 1;
3583#line 3583 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3584 goto tmp3_done;
3585 }
3586 case 356 /* transpose */: {
3587 if (9 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT83)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT83).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3588 /* Pattern matching succeeded */
3589#line 1532 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3590 tmp1 = 1;
3591#line 3591 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3592 goto tmp3_done;
3593 }
3594 case 1944 /* vector */: {
3595 if (6 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT84)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT84).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3596 /* Pattern matching succeeded */
3597#line 1535 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3598 tmp1 = 1;
3599#line 3599 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3600 goto tmp3_done;
3601 }
3602 case 920 /* zeros */: {
3603 if (5 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT85)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT85).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3604 /* Pattern matching succeeded */
3605#line 1537 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3606 tmp1 = 1;
3607#line 3607 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3608 goto tmp3_done;
3609 }
3610 case 1543 /* sample */: {
3611 if (6 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT86)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT86).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_default;
3612 /* Pattern matching succeeded */
3613#line 1539 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3614 tmp1 = 1;
3615#line 3615 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3616 goto tmp3_done;
3617 }
3618 default:
3619 tmp3_default: OMC_LABEL_UNUSED__attribute__((unused)); {
3620
3621 /* Pattern matching succeeded */
3622#line 1540 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3623 tmp1 = 0;
3624#line 3624 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3625 goto tmp3_done;
3626 }
3627 }
3628 goto tmp3_end;
3629 tmp3_end: ;
3630 }
3631 goto goto_2;
3632 goto_2:;
3633 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3634 goto tmp3_done;
3635 tmp3_done:;
3636 }
3637 }
3638 _special = tmp1;
3639 }
3640 }
3641 _return: OMC_LABEL_UNUSED__attribute__((unused))
3642 return _special;
3643}
3644modelica_metatype boxptr_NFFunction_Function_isSpecialBuiltin(threadData_t *threadData, modelica_metatype _fn)
3645{
3646 modelica_boolean _special;
3647 modelica_metatype out_special;
3648 _special = omc_NFFunction_Function_isSpecialBuiltin(threadData, _fn);
3649 out_special = mmc_mk_icon(_special);
3650 return out_special;
3651}
3652
3653DLLExport
3654modelica_boolean omc_NFFunction_Function_isBuiltinAttr(threadData_t *threadData, modelica_metatype _attrs)
3655{
3656 modelica_boolean _isBuiltin;
3657 modelica_boolean tmp1 = 0;
3658 MMC_SO()mmc_check_stackoverflow(threadData);
3659 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3660 // _isBuiltin has no default value.
3661#line 3661 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3662 { /* match expression */
3663 modelica_metatype tmp4_1;
3664 tmp4_1 = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_attrs), 6))(*(void**)(((void*)((void**)(((void*)((char*)(_attrs) - 3))) +
(6)))))
);
3665 {
3666 volatile mmc_switch_type tmp4;
3667 int tmp5;
3668 tmp4 = 0;
3669 for (; tmp4 < 2; tmp4++) {
3670 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3671 case 0: {
3672 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;
3673 /* Pattern matching succeeded */
3674#line 1452 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3675 tmp1 = 0;
3676#line 3676 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3677 goto tmp3_done;
3678 }
3679 case 1: {
3680
3681 /* Pattern matching succeeded */
3682#line 1453 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3683 tmp1 = 1;
3684#line 3684 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3685 goto tmp3_done;
3686 }
3687 }
3688 goto tmp3_end;
3689 tmp3_end: ;
3690 }
3691 goto goto_2;
3692 goto_2:;
3693 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3694 goto tmp3_done;
3695 tmp3_done:;
3696 }
3697 }
3698 _isBuiltin = tmp1;
3699 _return: OMC_LABEL_UNUSED__attribute__((unused))
3700 return _isBuiltin;
3701}
3702modelica_metatype boxptr_NFFunction_Function_isBuiltinAttr(threadData_t *threadData, modelica_metatype _attrs)
3703{
3704 modelica_boolean _isBuiltin;
3705 modelica_metatype out_isBuiltin;
3706 _isBuiltin = omc_NFFunction_Function_isBuiltinAttr(threadData, _attrs);
3707 out_isBuiltin = mmc_mk_icon(_isBuiltin);
3708 return out_isBuiltin;
3709}
3710
3711DLLExport
3712modelica_boolean omc_NFFunction_Function_isBuiltin(threadData_t *threadData, modelica_metatype _fn)
3713{
3714 modelica_boolean _isBuiltin;
3715 MMC_SO()mmc_check_stackoverflow(threadData);
3716 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3717 _isBuiltin = omc_NFFunction_Function_isBuiltinAttr(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 9))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
9)))))
));
3718 _return: OMC_LABEL_UNUSED__attribute__((unused))
3719 return _isBuiltin;
3720}
3721modelica_metatype boxptr_NFFunction_Function_isBuiltin(threadData_t *threadData, modelica_metatype _fn)
3722{
3723 modelica_boolean _isBuiltin;
3724 modelica_metatype out_isBuiltin;
3725 _isBuiltin = omc_NFFunction_Function_isBuiltin(threadData, _fn);
3726 out_isBuiltin = mmc_mk_icon(_isBuiltin);
3727 return out_isBuiltin;
3728}
3729
3730DLLExport
3731modelica_metatype omc_NFFunction_Function_applyPartialApplicationArg(threadData_t *threadData, modelica_string _argName, modelica_metatype _D_24in_argExp, modelica_metatype _argType, modelica_metatype _inputs, modelica_metatype _slots, modelica_metatype _fn, modelica_metatype _info, modelica_metatype *out_outInputs, modelica_metatype *out_outSlots)
3732{
3733 modelica_metatype _argExp = NULL((void*)0);
3734 modelica_metatype _outInputs = NULL((void*)0);
3735 modelica_metatype _outSlots = NULL((void*)0);
3736 modelica_metatype _i = NULL((void*)0);
3737 modelica_metatype _rest_inputs = NULL((void*)0);
3738 modelica_metatype _s = NULL((void*)0);
3739 modelica_metatype _rest_slots = NULL((void*)0);
3740 modelica_integer _mk;
3741 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
3742 MMC_SO()mmc_check_stackoverflow(threadData);
3743 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3744 _argExp = _D_24in_argExp;
3745 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3746 _outInputs = tmpMeta[0];
3747 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3748 _outSlots = tmpMeta[1];
3749 // _i has no default value.
3750 _rest_inputs = _inputs;
3751 // _s has no default value.
3752 _rest_slots = _slots;
3753 // _mk has no default value.
3754#line 1414 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3755 while(1)
3756#line 1414 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3757 {
3758#line 1414 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3759 if(!(!listEmpty(_rest_inputs)((*(mmc_uint_t*)((void*)((char*)(_rest_inputs) - 3))) == (((0
) << 10) + (((0) & 255) << 2)))
)) break;
3760#line 1415 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3761 /* Pattern-matching assignment */
3762#line 1415 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3763 tmpMeta[2] = _rest_inputs;
3764#line 1415 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3765 if (listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3766#line 1415 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3767 tmpMeta[3] = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
3768#line 1415 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3769 tmpMeta[4] = MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
3770#line 1415 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3771 _i = tmpMeta[3];
3772#line 1415 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3773 _rest_inputs = tmpMeta[4];
3774#line 3774 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3775
3776#line 1416 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3777 /* Pattern-matching assignment */
3778#line 1416 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3779 tmpMeta[2] = _rest_slots;
3780#line 1416 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3781 if (listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3782#line 1416 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3783 tmpMeta[3] = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
3784#line 1416 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3785 tmpMeta[4] = MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
3786#line 1416 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3787 _s = tmpMeta[3];
3788#line 1416 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3789 _rest_slots = tmpMeta[4];
3790#line 3790 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3791
3792#line 1418 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3793 if((stringEqual((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_s), 2))), _argName)((((((*(mmc_uint_t*)((void*)((char*)(((*(void**)(((void*)((void
**)(((void*)((char*)(_s) - 3))) + (2))))))) - 3)))) >> (
3)) - 8)) == (((((*(mmc_uint_t*)((void*)((char*)(_argName) - 3
)))) >> (3)) - 8)) && !mmc_stringCompare(((*(void
**)(((void*)((void**)(((void*)((char*)(_s) - 3))) + (2)))))),
_argName))
))
3794#line 1418 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3795 {
3796#line 1419 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3797 _argExp = omc_NFTypeCheck_matchTypes(threadData, _argType, omc_NFInstNode_InstNode_getType(threadData, _i), _argExp, 1 ,NULL((void*)0) ,&_mk);
3798#line 3798 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3799
3800#line 1421 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3801 if(omc_NFTypeCheck_isIncompatibleMatch(threadData, (modelica_integer)_mk))
3802#line 1421 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3803 {
3804#line 1422 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3805 tmpMeta[2] = mmc_mk_cons(omc_AbsynUtil_pathString(threadData, omc_NFFunction_Function_name(threadData, _fn), _OMC_LIT90((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3)), 1, 0), mmc_mk_cons(_argName, mmc_mk_cons(omc_NFExpression_toString(threadData, _argExp), mmc_mk_cons(omc_NFType_toString(threadData, _argType), mmc_mk_cons(omc_NFType_toString(threadData, omc_NFInstNode_InstNode_getType(threadData, _i)), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)))))));
3806#line 1422 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3807 omc_Error_addSourceMessage(threadData, _OMC_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3)), tmpMeta[2], _info);
3808#line 3808 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3809
3810#line 1425 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3811 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3812#line 3812 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3813 }
3814
3815#line 1428 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3816 _outInputs = listAppend(listReverseInPlace(_outInputs), _rest_inputs);
3817#line 3817 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3818
3819#line 1429 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3820 _outSlots = listAppend(listReverseInPlace(_outSlots), _rest_slots);
3821#line 3821 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3822
3823#line 1430 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3824 goto _return;
3825#line 3825 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3826 }
3827
3828#line 1433 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3829 tmpMeta[2] = mmc_mk_cons(_i, _outInputs);
3830#line 1433 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3831 _outInputs = tmpMeta[2];
3832#line 3832 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3833
3834#line 1434 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3835 tmpMeta[2] = mmc_mk_cons(_s, _outSlots);
3836#line 1434 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3837 _outSlots = tmpMeta[2];
3838#line 3838 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3839 }
3840
3841#line 1437 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3842 tmpMeta[2] = mmc_mk_cons(omc_AbsynUtil_pathString(threadData, omc_NFFunction_Function_name(threadData, _fn), _OMC_LIT90((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3)), 1, 0), mmc_mk_cons(_argName, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))));
3843#line 1437 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3844 omc_Error_addSourceMessage(threadData, _OMC_LIT93((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3)), tmpMeta[2], _info);
3845#line 3845 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3846
3847#line 1439 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3848 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3849#line 3849 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3850 _return: OMC_LABEL_UNUSED__attribute__((unused))
3851 if (out_outInputs) { *out_outInputs = _outInputs; }
3852 if (out_outSlots) { *out_outSlots = _outSlots; }
3853 return _argExp;
3854}
3855
3856DLLExport
3857modelica_metatype omc_NFFunction_Function_typePartialApplication(threadData_t *threadData, modelica_metatype _D_24in_exp, modelica_integer _origin, modelica_metatype _info, modelica_metatype *out_ty, modelica_integer *out_variability)
3858{
3859 modelica_metatype _exp = NULL((void*)0);
3860 modelica_metatype _ty = NULL((void*)0);
3861 modelica_integer _variability;
3862 modelica_metatype _fn_ref = NULL((void*)0);
3863 modelica_metatype _args = NULL((void*)0);
3864 modelica_metatype _ty_args = NULL((void*)0);
3865 modelica_metatype _arg_names = NULL((void*)0);
3866 modelica_metatype _rest_names = NULL((void*)0);
3867 modelica_string _arg_name = NULL((void*)0);
3868 modelica_metatype _arg_exp = NULL((void*)0);
3869 modelica_metatype _arg_ty = NULL((void*)0);
3870 modelica_integer _arg_var;
3871 modelica_metatype _fn = NULL((void*)0);
3872 modelica_integer _next_origin;
3873 modelica_metatype _inputs = NULL((void*)0);
3874 modelica_metatype _slots = NULL((void*)0);
3875 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
3876 MMC_SO()mmc_check_stackoverflow(threadData);
3877 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3878 _exp = _D_24in_exp;
3879 // _ty has no default value.
3880 // _variability has no default value.
3881 // _fn_ref has no default value.
3882 // _args has no default value.
3883 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3884 _ty_args = tmpMeta[0];
3885 // _arg_names has no default value.
3886 // _rest_names has no default value.
3887 // _arg_name has no default value.
3888 // _arg_exp has no default value.
3889 // _arg_ty has no default value.
3890 // _arg_var has no default value.
3891 // _fn has no default value.
3892 _next_origin = omc_NFTyping_ExpOrigin_setFlag(threadData, _origin, ((modelica_integer) 131072));
3893 // _inputs has no default value.
3894 // _slots has no default value.
3895#line 1370 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3896 /* Pattern-matching assignment */
3897#line 1370 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3898 tmpMeta[1] = _exp;
3899#line 1370 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3900 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],30,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((4 +1)
<< 10) + (((30 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3901#line 1370 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3902 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3903#line 1370 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3904 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
3905#line 1370 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3906 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (4)))))
;
3907#line 1370 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3908 _fn_ref = tmpMeta[2];
3909#line 1370 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3910 _args = tmpMeta[3];
3911#line 1370 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3912 _arg_names = tmpMeta[4];
3913#line 3913 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3914
3915#line 1372 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3916 /* Pattern-matching assignment */
3917#line 1372 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3918 tmpMeta[1] = omc_NFFunction_Function_typeRefCache(threadData, _fn_ref);
3919#line 1372 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3920 if (listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3921#line 1372 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3922 tmpMeta[2] = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
3923#line 1372 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3924 tmpMeta[3] = MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3925#line 1372 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3926 _fn = tmpMeta[2];
3927#line 3927 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3928
3929#line 1373 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3930 _inputs = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
4)))))
);
3931#line 3931 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3932
3933#line 1374 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3934 _slots = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 7))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
7)))))
);
3935#line 3935 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3936
3937#line 1375 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3938 _rest_names = _arg_names;
3939#line 3939 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3940
3941#line 1377 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3942 _variability = ((omc_NFFunction_Function_isImpure(threadData, _fn) || omc_NFFunction_Function_isOMImpure(threadData, _fn))?3:1);
3943#line 3943 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3944
3945#line 1380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3946 {
3947#line 1380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3948 modelica_metatype _arg;
3949#line 1380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3950 for (tmpMeta[1] = _args; !listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[1]=MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
)
3951#line 1380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3952 {
3953#line 1380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3954 _arg = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
3955#line 1381 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3956 _arg = omc_NFTyping_typeExp(threadData, _arg, _origin, _info ,&_arg_ty ,&_arg_var);
3957#line 3957 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3958
3959#line 1383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3960 /* Pattern-matching assignment */
3961#line 1383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3962 tmpMeta[2] = _rest_names;
3963#line 1383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3964 if (listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3965#line 1383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3966 tmpMeta[3] = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
3967#line 1383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3968 tmpMeta[4] = MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
3969#line 1383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3970 _arg_name = tmpMeta[3];
3971#line 1383 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3972 _rest_names = tmpMeta[4];
3973#line 3973 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3974
3975#line 1384 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3976 _arg = omc_NFFunction_Function_applyPartialApplicationArg(threadData, _arg_name, _arg, _arg_ty, _inputs, _slots, _fn, _info ,&_inputs ,&_slots);
3977#line 3977 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3978
3979#line 1387 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3980 tmpMeta[2] = mmc_mk_cons(omc_NFExpression_box(threadData, _arg), _ty_args);
3981#line 1387 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3982 _ty_args = tmpMeta[2];
3983#line 3983 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3984
3985#line 1388 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3986 _variability = omc_NFPrefixes_variabilityMax(threadData, (modelica_integer)_variability, (modelica_integer)_arg_var);
3987#line 3987 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
3988 }
3989 }
3990
3991#line 1391 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3992 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(13))((void*)((char*)(mmc_alloc_words(13)) + 3));
3993#line 1391 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3994 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_fn)((void*)((char*)(_fn) - 3)), 13*sizeof(modelica_metatype));
3995#line 1391 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3996 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[4] = _inputs;
3997#line 1391 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
3998 _fn = tmpMeta[1];
3999#line 3999 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4000
4001#line 1392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4002 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(13))((void*)((char*)(mmc_alloc_words(13)) + 3));
4003#line 1392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4004 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_fn)((void*)((char*)(_fn) - 3)), 13*sizeof(modelica_metatype));
4005#line 1392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4006 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[7] = _slots;
4007#line 1392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4008 _fn = tmpMeta[1];
4009#line 4009 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4010
4011#line 1393 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4012 tmpMeta[1] = mmc_mk_box3(15, &NFType_FUNCTION__desc, _fn, mmc_mk_integermmc_mk_icon(3));
4013#line 1393 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4014 _ty = tmpMeta[1];
4015#line 4015 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4016
4017#line 1394 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4018 tmpMeta[1] = mmc_mk_box5(33, &NFExpression_PARTIAL__FUNCTION__APPLICATION__desc, _fn_ref, listReverseInPlace(_ty_args), _arg_names, _ty);
4019#line 1394 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4020 _exp = tmpMeta[1];
4021#line 4021 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4022 _return: OMC_LABEL_UNUSED__attribute__((unused))
4023 if (out_ty) { *out_ty = _ty; }
4024 if (out_variability) { *out_variability = _variability; }
4025 return _exp;
4026}
4027modelica_metatype boxptr_NFFunction_Function_typePartialApplication(threadData_t *threadData, modelica_metatype _D_24in_exp, modelica_metatype _origin, modelica_metatype _info, modelica_metatype *out_ty, modelica_metatype *out_variability)
4028{
4029 modelica_integer tmp1;
4030 modelica_integer _variability;
4031 modelica_metatype _exp = NULL((void*)0);
4032 tmp1 = mmc_unbox_integer(_origin)(((mmc_sint_t) (_origin)) >> 1);
4033 _exp = omc_NFFunction_Function_typePartialApplication(threadData, _D_24in_exp, tmp1, _info, out_ty, &_variability);
4034 /* skip box _exp; NFExpression */
4035 /* skip box _ty; NFType */
4036 if (out_variability) { *out_variability = mmc_mk_icon(_variability); }
4037 return _exp;
4038}
4039
4040DLLExport
4041void omc_NFFunction_Function_boxFunctionParameter(threadData_t *threadData, modelica_metatype _component)
4042{
4043 modelica_metatype _comp = NULL((void*)0);
4044 MMC_SO()mmc_check_stackoverflow(threadData);
4045 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4046 // _comp has no default value.
4047#line 1346 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4048 _comp = omc_NFInstNode_InstNode_component(threadData, _component);
4049#line 4049 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4050
4051#line 1347 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4052 _comp = omc_NFComponent_Component_setType(threadData, omc_NFType_box(threadData, omc_NFComponent_Component_getType(threadData, _comp)), _comp);
4053#line 4053 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4054
4055#line 1348 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4056 omc_NFInstNode_InstNode_updateComponent(threadData, _comp, _component);
4057#line 4057 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4058 _return: OMC_LABEL_UNUSED__attribute__((unused))
4059 return;
4060}
4061
4062DLLExport
4063modelica_metatype omc_NFFunction_Function_typeFunctionBody(threadData_t *threadData, modelica_metatype _D_24in_fn)
4064{
4065 modelica_metatype _fn = NULL((void*)0);
4066 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
4067 MMC_SO()mmc_check_stackoverflow(threadData);
4068 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4069 _fn = _D_24in_fn;
4070#line 1324 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4071 {
4072#line 1324 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4073 modelica_metatype _c;
4074#line 1324 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4075 for (tmpMeta[0] = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
5)))))
); !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
4076#line 1324 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4077 {
4078#line 1324 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4079 _c = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
4080#line 1325 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4081 omc_NFTyping_typeComponentBinding(threadData, _c, ((modelica_integer) 1), 1);
4082#line 4082 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4083 }
4084 }
4085
4086#line 1328 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4087 {
4088#line 1328 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4089 modelica_metatype _c;
4090#line 1328 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4091 for (tmpMeta[0] = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 6))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
6)))))
); !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
4092#line 1328 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4093 {
4094#line 1328 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4095 _c = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
4096#line 1329 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4097 omc_NFTyping_typeComponentBinding(threadData, _c, ((modelica_integer) 1), 1);
4098#line 4098 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4099 }
4100 }
4101
4102#line 1333 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4103 omc_NFTyping_typeFunctionSections(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
3)))))
), ((modelica_integer) 1));
4104#line 4104 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4105
4106#line 1336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4107 {
4108#line 1336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4109 modelica_metatype _fn_der;
4110#line 1336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4111 for (tmpMeta[0] = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 10))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
10)))))
); !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
4112#line 1336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4113 {
4114#line 1336 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4115 _fn_der = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
4116#line 1337 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4117 omc_NFFunctionDerivative_typeDerivative(threadData, _fn_der);
4118#line 4118 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4119 }
4120 }
4121 _return: OMC_LABEL_UNUSED__attribute__((unused))
4122 return _fn;
4123}
4124
4125DLLExport
4126modelica_metatype omc_NFFunction_Function_typeFunctionSignature(threadData_t *threadData, modelica_metatype _D_24in_fn)
4127{
4128 modelica_metatype _fn = NULL((void*)0);
4129 modelica_metatype _attr = NULL((void*)0);
4130 modelica_metatype _node = NULL((void*)0);
4131 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
4132 MMC_SO()mmc_check_stackoverflow(threadData);
4133 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4134 _fn = _D_24in_fn;
4135 // _attr has no default value.
4136 _node = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
3)))))
);
4137#line 1294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4138 if((!omc_NFFunction_Function_isTyped(threadData, _fn)))
4139#line 1294 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4140 {
4141#line 1296 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4142 omc_NFTyping_typeClassType(threadData, _node, _OMC_LIT96((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3)), ((modelica_integer) 1), _node);
4143#line 4143 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4144
4145#line 1297 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4146 omc_NFTyping_typeComponents(threadData, _node, ((modelica_integer) 1));
4147#line 4147 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4148
4149#line 1299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4150 if(omc_NFInstNode_InstNode_isPartial(threadData, _node))
4151#line 1299 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4152 {
4153#line 1300 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4154 omc_NFClassTree_ClassTree_applyComponents(threadData, omc_NFClass_Class_classTree(threadData, omc_NFInstNode_InstNode_getClass(threadData, _node)), boxvar_NFFunction_Function_boxFunctionParameter((void*)((char*)(&(boxvar_lit_NFFunction_Function_boxFunctionParameter
).header) + 3))
);
4155#line 4155 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4156 }
4157
4158#line 1307 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4159 {
4160#line 1307 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4161 modelica_metatype _c;
4162#line 1307 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4163 for (tmpMeta[0] = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
4)))))
); !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
4164#line 1307 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4165 {
4166#line 1307 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4167 _c = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
4168#line 1308 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4169 omc_NFTyping_typeComponentBinding(threadData, _c, ((modelica_integer) 1), 1);
4170#line 4170 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4171 }
4172 }
4173
4174#line 1312 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4175 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(13))((void*)((char*)(mmc_alloc_words(13)) + 3));
4176#line 1312 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4177 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_fn)((void*)((char*)(_fn) - 3)), 13*sizeof(modelica_metatype));
4178#line 1312 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4179 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[7] = omc_NFFunction_Function_makeSlots(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
4)))))
));
4180#line 1312 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4181 _fn = tmpMeta[0];
4182#line 4182 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4183
4184#line 1313 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4185 omc_NFFunction_Function_checkParamTypes(threadData, _fn);
4186#line 4186 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4187
4188#line 1314 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4189 tmpMeta[0] = MMC_TAGPTR(mmc_alloc_words(13))((void*)((char*)(mmc_alloc_words(13)) + 3));
4190#line 1314 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4191 memcpy(MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)), MMC_UNTAGPTR(_fn)((void*)((char*)(_fn) - 3)), 13*sizeof(modelica_metatype));
4192#line 1314 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4193 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[0])((void*)((char*)(tmpMeta[0]) - 3)))[8] = omc_NFFunction_Function_makeReturnType(threadData, _fn);
4194#line 1314 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4195 _fn = tmpMeta[0];
4196#line 4196 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4197 }
4198 _return: OMC_LABEL_UNUSED__attribute__((unused))
4199 return _fn;
4200}
4201
4202DLLExport
4203modelica_metatype omc_NFFunction_Function_typeFunction(threadData_t *threadData, modelica_metatype _D_24in_fn)
4204{
4205 modelica_metatype _fn = NULL((void*)0);
4206 MMC_SO()mmc_check_stackoverflow(threadData);
4207 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4208 _fn = _D_24in_fn;
4209#line 1283 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4210 _fn = omc_NFFunction_Function_typeFunctionSignature(threadData, _fn);
4211#line 4211 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4212
4213#line 1284 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4214 _fn = omc_NFFunction_Function_typeFunctionBody(threadData, _fn);
4215#line 4215 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4216 _return: OMC_LABEL_UNUSED__attribute__((unused))
4217 return _fn;
4218}
4219
4220DLLExport
4221modelica_metatype omc_NFFunction_Function_getRefCache(threadData_t *threadData, modelica_metatype _fnRef)
4222{
4223 modelica_metatype _functions = NULL((void*)0);
4224 modelica_metatype _fn_node = NULL((void*)0);
4225 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
4226 MMC_SO()mmc_check_stackoverflow(threadData);
4227 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4228 // _functions has no default value.
4229 // _fn_node has no default value.
4230#line 1276 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4231 _fn_node = omc_NFInstNode_InstNode_classScope(threadData, omc_NFComponentRef_node(threadData, _fnRef));
4232#line 4232 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4233
4234#line 1277 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4235 /* Pattern-matching assignment */
4236#line 1277 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4237 tmpMeta[0] = omc_NFInstNode_InstNode_getFuncCache(threadData, _fn_node);
4238#line 1277 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4239 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],2,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((3 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4240#line 1277 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4241 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
4242#line 1277 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4243 _functions = tmpMeta[1];
4244#line 4244 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4245 _return: OMC_LABEL_UNUSED__attribute__((unused))
4246 return _functions;
4247}
4248
4249DLLExport
4250modelica_metatype omc_NFFunction_Function_typeNodeCache(threadData_t *threadData, modelica_metatype _functionNode)
4251{
4252 modelica_metatype _functions = NULL((void*)0);
4253 modelica_metatype _fn_node = NULL((void*)0);
4254 modelica_boolean _typed;
4255 modelica_boolean _special;
4256 modelica_string _name = NULL((void*)0);
4257 modelica_integer tmp1;
4258 modelica_integer tmp2;
4259 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
4260 MMC_SO()mmc_check_stackoverflow(threadData);
4261 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4262 // _functions has no default value.
4263 // _fn_node has no default value.
4264 // _typed has no default value.
4265 // _special has no default value.
4266 // _name has no default value.
4267#line 1258 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4268 _fn_node = omc_NFInstNode_InstNode_classScope(threadData, _functionNode);
4269#line 4269 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4270
4271#line 1259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4272 /* Pattern-matching assignment */
4273#line 1259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4274 tmpMeta[0] = omc_NFInstNode_InstNode_getFuncCache(threadData, _fn_node);
4275#line 1259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4276 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[0],2,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))==(((3 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4277#line 1259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4278 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
4279#line 1259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4280 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
4281#line 1259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4282 tmp1 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
4283#line 1259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4284 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
4285#line 1259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4286 tmp2 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
4287#line 1259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4288 _functions = tmpMeta[1];
4289#line 1259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4290 _typed = tmp1 /* pattern as ty=Boolean */;
4291#line 1259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4292 _special = tmp2 /* pattern as ty=Boolean */;
4293#line 4293 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4294
4295#line 1262 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4296 if((!_typed))
4297#line 1262 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4298 {
4299#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4300 {
4301#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4302 modelica_metatype _D_24tmpVar13;
4303#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4304 modelica_metatype* tmp3;
4305#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4306 modelica_metatype _D_24tmpVar12;
4307#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4308 int tmp4;
4309#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4310 modelica_metatype _f_loopVar = 0;
4311#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4312 modelica_metatype _f;
4313#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4314 _f_loopVar = _functions;
4315#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4316 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4317#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4318 _D_24tmpVar13 = tmpMeta[1]; /* defaultValue */
4319#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4320 tmp3 = &_D_24tmpVar13;
4321#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4322 while(1) {
4323#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4324 tmp4 = 1;
4325#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4326 if (!listEmpty(_f_loopVar)((*(mmc_uint_t*)((void*)((char*)(_f_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
4327#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4328 _f = MMC_CAR(_f_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_f_loopVar) - 3
))) + (1)))))
;
4329#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4330 _f_loopVar = MMC_CDR(_f_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_f_loopVar) - 3
))) + (2)))))
;
4331#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4332 tmp4--;
4333#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4334 }
4335#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4336 if (tmp4 == 0) {
4337#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4338 _D_24tmpVar12 = omc_NFFunction_Function_typeFunctionSignature(threadData, _f);
4339#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4340 *tmp3 = mmc_mk_cons(_D_24tmpVar12,0);
4341#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4342 tmp3 = &MMC_CDR(*tmp3)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp3) - 3))) +
(2)))))
;
4343#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4344 } else if (tmp4 == 1) {
4345#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4346 break;
4347#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4348 } else {
4349#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4350 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4351#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4352 }
4353#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4354 }
4355#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4356 *tmp3 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
4357#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4358 tmpMeta[0] = _D_24tmpVar13;
4359#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4360 }
4361#line 1263 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4362 _functions = tmpMeta[0];
4363#line 4363 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4364
4365#line 1264 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4366 tmpMeta[0] = mmc_mk_box4(5, &NFInstNode_CachedData_FUNCTION__desc, _functions, mmc_mk_boolean(1)((1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), mmc_mk_boolean(_special)((_special) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
4367#line 1264 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4368 omc_NFInstNode_InstNode_setFuncCache(threadData, _fn_node, tmpMeta[0]);
4369#line 4369 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4370
4371#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4372 {
4373#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4374 modelica_metatype _D_24tmpVar15;
4375#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4376 modelica_metatype* tmp5;
4377#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4378 modelica_metatype _D_24tmpVar14;
4379#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4380 int tmp6;
4381#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4382 modelica_metatype _f_loopVar = 0;
4383#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4384 modelica_metatype _f;
4385#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4386 _f_loopVar = _functions;
4387#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4388 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4389#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4390 _D_24tmpVar15 = tmpMeta[1]; /* defaultValue */
4391#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4392 tmp5 = &_D_24tmpVar15;
4393#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4394 while(1) {
4395#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4396 tmp6 = 1;
4397#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4398 if (!listEmpty(_f_loopVar)((*(mmc_uint_t*)((void*)((char*)(_f_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
4399#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4400 _f = MMC_CAR(_f_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_f_loopVar) - 3
))) + (1)))))
;
4401#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4402 _f_loopVar = MMC_CDR(_f_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_f_loopVar) - 3
))) + (2)))))
;
4403#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4404 tmp6--;
4405#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4406 }
4407#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4408 if (tmp6 == 0) {
4409#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4410 _D_24tmpVar14 = omc_NFFunction_Function_typeFunctionBody(threadData, _f);
4411#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4412 *tmp5 = mmc_mk_cons(_D_24tmpVar14,0);
4413#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4414 tmp5 = &MMC_CDR(*tmp5)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp5) - 3))) +
(2)))))
;
4415#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4416 } else if (tmp6 == 1) {
4417#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4418 break;
4419#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4420 } else {
4421#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4422 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4423#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4424 }
4425#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4426 }
4427#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4428 *tmp5 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
4429#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4430 tmpMeta[0] = _D_24tmpVar15;
4431#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4432 }
4433#line 1265 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4434 _functions = tmpMeta[0];
4435#line 4435 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4436
4437#line 1266 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4438 tmpMeta[0] = mmc_mk_box4(5, &NFInstNode_CachedData_FUNCTION__desc, _functions, mmc_mk_boolean(1)((1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), mmc_mk_boolean(_special)((_special) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
4439#line 1266 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4440 omc_NFInstNode_InstNode_setFuncCache(threadData, _fn_node, tmpMeta[0]);
4441#line 4441 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4442 }
4443 _return: OMC_LABEL_UNUSED__attribute__((unused))
4444 return _functions;
4445}
4446
4447DLLExport
4448modelica_metatype omc_NFFunction_Function_typeRefCache(threadData_t *threadData, modelica_metatype _functionRef)
4449{
4450 modelica_metatype _functions = NULL((void*)0);
4451 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
4452 MMC_SO()mmc_check_stackoverflow(threadData);
4453 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4454 // _functions has no default value.
4455#line 4455 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4456 { /* match expression */
4457 modelica_metatype tmp3_1;
4458 tmp3_1 = _functionRef;
4459 {
4460 volatile mmc_switch_type tmp3;
4461 int tmp4;
4462 tmp3 = 0;
4463 for (; tmp3 < 2; tmp3++) {
4464 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4465 case 0: {
4466 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;
4467
4468 /* Pattern matching succeeded */
4469#line 1239 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4470 tmpMeta[0] = omc_NFFunction_Function_typeNodeCache(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_functionRef), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_functionRef) -
3))) + (2)))))
));
4471#line 4471 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4472 goto tmp2_done;
4473 }
4474 case 1: {
4475
4476 /* Pattern matching succeeded */
4477#line 1242 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4478 omc_Error_assertion(threadData, 0, _OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)), _OMC_LIT98((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3)));
4479#line 4479 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4480#line 1243 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4481 goto goto_1;
4482#line 4482 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4483 goto tmp2_done;
4484 }
4485 }
4486 goto tmp2_end;
4487 tmp2_end: ;
4488 }
4489 goto goto_1;
4490 goto_1:;
4491 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4492 goto tmp2_done;
4493 tmp2_done:;
4494 }
4495 }
4496 _functions = tmpMeta[0];
4497 _return: OMC_LABEL_UNUSED__attribute__((unused))
4498 return _functions;
4499}
4500
4501DLLExport
4502modelica_boolean omc_NFFunction_Function_isTyped(threadData_t *threadData, modelica_metatype _fn)
4503{
4504 modelica_boolean _isTyped;
4505 modelica_boolean tmp1 = 0;
4506 MMC_SO()mmc_check_stackoverflow(threadData);
4507 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4508 // _isTyped has no default value.
4509#line 4509 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4510 { /* match expression */
4511 modelica_metatype tmp4_1;
4512 tmp4_1 = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_fn), 8))(*(void**)(((void*)((void**)(((void*)((char*)(_fn) - 3))) + (
8)))))
);
4513 {
4514 volatile mmc_switch_type tmp4;
4515 int tmp5;
4516 tmp4 = 0;
4517 for (; tmp4 < 2; tmp4++) {
4518 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
4519 case 0: {
4520 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,10,0)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((0 +1) <<
10) + (((10 +3) & 255) << 2)))
== 0) goto tmp3_end;
4521 /* Pattern matching succeeded */
4522#line 1227 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4523 tmp1 = 0;
4524#line 4524 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4525 goto tmp3_done;
4526 }
4527 case 1: {
4528
4529 /* Pattern matching succeeded */
4530#line 1228 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4531 tmp1 = 1;
4532#line 4532 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4533 goto tmp3_done;
4534 }
4535 }
4536 goto tmp3_end;
4537 tmp3_end: ;
4538 }
4539 goto goto_2;
4540 goto_2:;
4541 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4542 goto tmp3_done;
4543 tmp3_done:;
4544 }
4545 }
4546 _isTyped = tmp1;
4547 _return: OMC_LABEL_UNUSED__attribute__((unused))
4548 return _isTyped;
4549}
4550modelica_metatype boxptr_NFFunction_Function_isTyped(threadData_t *threadData, modelica_metatype _fn)
4551{
4552 modelica_boolean _isTyped;
4553 modelica_metatype out_isTyped;
4554 _isTyped = omc_NFFunction_Function_isTyped(threadData, _fn);
4555 out_isTyped = mmc_mk_icon(_isTyped);
4556 return out_isTyped;
4557}
4558
4559DLLExport
4560modelica_metatype omc_NFFunction_Function_matchFunctionsSilent(threadData_t *threadData, modelica_metatype _funcs, modelica_metatype _args, modelica_metatype _named_args, modelica_metatype _info, modelica_boolean _vectorize)
4561{
4562 modelica_metatype _matchedFunctions = NULL((void*)0);
4563 MMC_SO()mmc_check_stackoverflow(threadData);
4564 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4565 // _matchedFunctions has no default value.
4566#line 1217 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4567 omc_ErrorExt_setCheckpoint(threadData, _OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3)));
4568#line 4568 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4569
4570#line 1218 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4571 _matchedFunctions = omc_NFFunction_Function_matchFunctions(threadData, _funcs, _args, _named_args, _info, _vectorize);
4572#line 4572 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4573
4574#line 1219 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4575 omc_ErrorExt_rollBack(threadData, _OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3)));
4576#line 4576 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4577 _return: OMC_LABEL_UNUSED__attribute__((unused))
4578 return _matchedFunctions;
4579}
4580modelica_metatype boxptr_NFFunction_Function_matchFunctionsSilent(threadData_t *threadData, modelica_metatype _funcs, modelica_metatype _args, modelica_metatype _named_args, modelica_metatype _info, modelica_metatype _vectorize)
4581{
4582 modelica_integer tmp1;
4583 modelica_metatype _matchedFunctions = NULL((void*)0);
4584 tmp1 = mmc_unbox_integer(_vectorize)(((mmc_sint_t) (_vectorize)) >> 1);
4585 _matchedFunctions = omc_NFFunction_Function_matchFunctionsSilent(threadData, _funcs, _args, _named_args, _info, tmp1);
4586 /* skip box _matchedFunctions; list<NFFunction.MatchedFunction> */
4587 return _matchedFunctions;
4588}
4589
4590DLLExport
4591modelica_metatype omc_NFFunction_Function_matchFunctions(threadData_t *threadData, modelica_metatype _funcs, modelica_metatype _args, modelica_metatype _named_args, modelica_metatype _info, modelica_boolean _vectorize)
4592{
4593 modelica_metatype _matchedFunctions = NULL((void*)0);
4594 modelica_metatype _m_args = NULL((void*)0);
4595 modelica_metatype _matchKind = NULL((void*)0);
4596 modelica_boolean _matched;
4597 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
4598 MMC_SO()mmc_check_stackoverflow(threadData);
4599 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4600 // _matchedFunctions has no default value.
4601 // _m_args has no default value.
4602 // _matchKind has no default value.
4603 // _matched has no default value.
4604#line 1198 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4605 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4606#line 1198 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4607 _matchedFunctions = tmpMeta[0];
4608#line 4608 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4609
4610#line 1199 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4611 {
4612#line 1199 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4613 modelica_metatype _func;
4614#line 1199 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4615 for (tmpMeta[0] = _funcs; !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
4616#line 1199 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4617 {
4618#line 1199 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4619 _func = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
4620#line 1200 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4621 _m_args = omc_NFFunction_Function_matchFunction(threadData, _func, _args, _named_args, _info, _vectorize ,&_matchKind);
4622#line 4622 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4623
4624#line 1202 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4625 if(omc_NFFunction_FunctionMatchKind_isValid(threadData, _matchKind))
4626#line 1202 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4627 {
4628#line 1203 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4629 tmpMeta[2] = mmc_mk_box4(3, &NFFunction_MatchedFunction_MATCHED__FUNC__desc, _func, _m_args, _matchKind);
4630#line 1203 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4631 tmpMeta[1] = mmc_mk_cons(tmpMeta[2], _matchedFunctions);
4632#line 1203 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4633 _matchedFunctions = tmpMeta[1];
4634#line 4634 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4635 }
4636 }
4637 }
4638 _return: OMC_LABEL_UNUSED__attribute__((unused))
4639 return _matchedFunctions;
4640}
4641modelica_metatype boxptr_NFFunction_Function_matchFunctions(threadData_t *threadData, modelica_metatype _funcs, modelica_metatype _args, modelica_metatype _named_args, modelica_metatype _info, modelica_metatype _vectorize)
4642{
4643 modelica_integer tmp1;
4644 modelica_metatype _matchedFunctions = NULL((void*)0);
4645 tmp1 = mmc_unbox_integer(_vectorize)(((mmc_sint_t) (_vectorize)) >> 1);
4646 _matchedFunctions = omc_NFFunction_Function_matchFunctions(threadData, _funcs, _args, _named_args, _info, tmp1);
4647 /* skip box _matchedFunctions; list<NFFunction.MatchedFunction> */
4648 return _matchedFunctions;
4649}
4650
4651DLLExport
4652modelica_metatype omc_NFFunction_Function_matchFunction(threadData_t *threadData, modelica_metatype _func, modelica_metatype _args, modelica_metatype _named_args, modelica_metatype _info, modelica_boolean _vectorize, modelica_metatype *out_matchKind)
4653{
4654 modelica_metatype _out_args = NULL((void*)0);
4655 modelica_metatype _matchKind = NULL((void*)0);
4656 modelica_boolean _slot_matched;
4657 MMC_SO()mmc_check_stackoverflow(threadData);
4658 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4659 // _out_args has no default value.
4660 _matchKind = _OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3));
4661 // _slot_matched has no default value.
4662#line 1179 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4663 _out_args = omc_NFFunction_Function_fillArgs(threadData, _args, _named_args, _func, _info ,&_slot_matched);
4664#line 4664 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4665
4666#line 1181 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4667 if(_slot_matched)
4668#line 1181 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4669 {
4670#line 1182 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4671 _out_args = omc_NFFunction_Function_matchArgs(threadData, _func, _out_args, _info, _vectorize ,&_matchKind);
4672#line 4672 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4673 }
4674 _return: OMC_LABEL_UNUSED__attribute__((unused))
4675 if (out_matchKind) { *out_matchKind = _matchKind; }
4676 return _out_args;
4677}
4678modelica_metatype boxptr_NFFunction_Function_matchFunction(threadData_t *threadData, modelica_metatype _func, modelica_metatype _args, modelica_metatype _named_args, modelica_metatype _info, modelica_metatype _vectorize, modelica_metatype *out_matchKind)
4679{
4680 modelica_integer tmp1;
4681 modelica_metatype _out_args = NULL((void*)0);
4682 tmp1 = mmc_unbox_integer(_vectorize)(((mmc_sint_t) (_vectorize)) >> 1);
4683 _out_args = omc_NFFunction_Function_matchFunction(threadData, _func, _args, _named_args, _info, tmp1, out_matchKind);
4684 /* skip box _out_args; list<tuple<NFExpression, NFType, #enumeration(CONSTANT, STRUCTURAL_PARAMETER, PARAMETER, NON_STRUCTURAL_PARAMETER, DISCRETE, IMPLICITLY_DISCRETE, CONTINUOUS)>> */
4685 /* skip box _matchKind; NFFunction.FunctionMatchKind */
4686 return _out_args;
4687}
4688
4689DLLExport
4690modelica_metatype omc_NFFunction_Function_fillUnknownVectorizedDims(threadData_t *threadData, modelica_metatype _dims, modelica_metatype _argExp)
4691{
4692 modelica_metatype _outDims = NULL((void*)0);
4693 modelica_integer _i;
4694 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
4695 MMC_SO()mmc_check_stackoverflow(threadData);
4696 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4697 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4698 _outDims = tmpMeta[0];
4699 _i = ((modelica_integer) 1);
4700#line 1156 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4701 {
4702#line 1156 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4703 modelica_metatype _dim;
4704#line 1156 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4705 for (tmpMeta[1] = _dims; !listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[1]=MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
)
4706#line 1156 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4707 {
4708#line 1156 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4709 _dim = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
4710#line 1157 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4711 if(omc_NFDimension_isUnknown(threadData, _dim))
4712#line 1157 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4713 {
4714#line 1158 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4715 tmpMeta[2] = mmc_mk_box2(3, &NFExpression_INTEGER__desc, mmc_mk_integermmc_mk_icon(_i));
4716#line 1158 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4717 tmpMeta[3] = mmc_mk_box3(16, &NFExpression_SIZE__desc, _argExp, mmc_mk_some(tmpMeta[2]));
4718#line 1158 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4719 tmpMeta[4] = mmc_mk_box3(8, &NFDimension_EXP__desc, tmpMeta[3], mmc_mk_integermmc_mk_icon(7));
4720#line 1158 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4721 _dim = tmpMeta[4];
4722#line 4722 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4723 }
4724
4725#line 1161 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4726 tmpMeta[2] = mmc_mk_cons(_dim, _outDims);
4727#line 1161 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4728 _outDims = tmpMeta[2];
4729#line 4729 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4730
4731#line 1162 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4732 _i = ((modelica_integer) 1) + _i;
4733#line 4733 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4734 }
4735 }
4736
4737#line 1165 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4738 _outDims = listReverseInPlace(_outDims);
4739#line 4739 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4740 _return: OMC_LABEL_UNUSED__attribute__((unused))
4741 return _outDims;
4742}
4743
4744DLLExport
4745modelica_metatype omc_NFFunction_Function_matchArgVectorized(threadData_t *threadData, modelica_metatype _D_24in_argExp, modelica_metatype _D_24in_argTy, modelica_metatype _inputTy, modelica_metatype _D_24in_vectArg, modelica_metatype _D_24in_vectDims, modelica_metatype _info, modelica_metatype *out_argTy, modelica_metatype *out_vectArg, modelica_metatype *out_vectDims, modelica_integer *out_matchKind)
4746{
4747 modelica_metatype _argExp = NULL((void*)0);
4748 modelica_metatype _argTy = NULL((void*)0);
4749 modelica_metatype _vectArg = NULL((void*)0);
4750 modelica_metatype _vectDims = NULL((void*)0);
4751 modelica_integer _matchKind;
4752 modelica_metatype _arg_dims = NULL((void*)0);
4753 modelica_metatype _input_dims = NULL((void*)0);
4754 modelica_metatype _vect_dims = NULL((void*)0);
4755 modelica_metatype _rest_dims = NULL((void*)0);
4756 modelica_metatype _rest_ty = NULL((void*)0);
4757 modelica_integer _mk;
4758 modelica_integer _vect_dims_count;
4759 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
4760 MMC_SO()mmc_check_stackoverflow(threadData);
4761 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4762 _argExp = _D_24in_argExp;
4763 _argTy = _D_24in_argTy;
4764 _vectArg = _D_24in_vectArg;
4765 _vectDims = _D_24in_vectDims;
4766 // _matchKind has no default value.
4767 // _arg_dims has no default value.
4768 // _input_dims has no default value.
4769 // _vect_dims has no default value.
4770 // _rest_dims has no default value.
4771 // _rest_ty has no default value.
4772 // _mk has no default value.
4773 // _vect_dims_count has no default value.
4774#line 1118 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4775 _arg_dims = omc_NFType_arrayDims(threadData, _argTy);
4776#line 4776 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4777
4778#line 1119 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4779 _input_dims = omc_NFType_arrayDims(threadData, _inputTy);
4780#line 4780 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4781
4782#line 1120 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4783 _vect_dims_count = listLength(_arg_dims) - listLength(_input_dims);
4784#line 4784 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4785
4786#line 1123 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4787 if((_vect_dims_count < ((modelica_integer) 1)))
4788#line 1123 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4789 {
4790#line 1124 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4791 _matchKind = 7;
4792#line 4792 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4793
4794#line 1125 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4795 goto _return;
4796#line 4796 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4797 }
4798
4799#line 1128 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4800 _vect_dims = omc_List_split(threadData, _arg_dims, _vect_dims_count ,&_rest_dims);
4801#line 4801 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4802
4803#line 1131 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4804 if(listEmpty(_vectDims)((*(mmc_uint_t*)((void*)((char*)(_vectDims) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
)
4805#line 1131 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4806 {
4807#line 1132 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4808 _vectDims = omc_NFFunction_Function_fillUnknownVectorizedDims(threadData, _vect_dims, _argExp);
4809#line 4809 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4810
4811#line 1133 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4812 _vectArg = _argExp;
4813#line 4813 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4814 }
4815 else
4816 {
4817 if((!omc_List_isEqualOnTrue(threadData, _vectDims, _vect_dims, boxvar_NFDimension_isEqual((void*)((char*)(&(boxvar_lit_NFDimension_isEqual).header
) + 3))
)))
4818 {
4819#line 1135 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4820 tmpMeta[0] = mmc_mk_cons(_OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)), mmc_mk_cons(omc_NFExpression_toString(threadData, _vectArg), mmc_mk_cons(_OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)), mmc_mk_cons(omc_NFExpression_toString(threadData, _argExp), mmc_mk_cons(omc_NFDimension_toStringList(threadData, _vectDims), mmc_mk_cons(omc_NFDimension_toStringList(threadData, _vect_dims), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))))))));
4821#line 1135 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4822 omc_Error_addSourceMessage(threadData, _OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3)), tmpMeta[0], _info);
4823#line 4823 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4824 }
4825 }
4826
4827#line 1142 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4828 _rest_ty = omc_NFType_liftArrayLeftList(threadData, omc_NFType_arrayElementType(threadData, _argTy), _rest_dims);
4829#line 4829 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4830
4831#line 1143 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4832 _argExp = omc_NFTypeCheck_matchTypes(threadData, _rest_ty, _inputTy, _argExp, 0 ,&_argTy ,&_matchKind);
4833#line 4833 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4834 _return: OMC_LABEL_UNUSED__attribute__((unused))
4835 if (out_argTy) { *out_argTy = _argTy; }
4836 if (out_vectArg) { *out_vectArg = _vectArg; }
4837 if (out_vectDims) { *out_vectDims = _vectDims; }
4838 if (out_matchKind) { *out_matchKind = _matchKind; }
4839 return _argExp;
4840}
4841modelica_metatype boxptr_NFFunction_Function_matchArgVectorized(threadData_t *threadData, modelica_metatype _D_24in_argExp, modelica_metatype _D_24in_argTy, modelica_metatype _inputTy, modelica_metatype _D_24in_vectArg, modelica_metatype _D_24in_vectDims, modelica_metatype _info, modelica_metatype *out_argTy, modelica_metatype *out_vectArg, modelica_metatype *out_vectDims, modelica_metatype *out_matchKind)
4842{
4843 modelica_integer _matchKind;
4844 modelica_metatype _argExp = NULL((void*)0);
4845 _argExp = omc_NFFunction_Function_matchArgVectorized(threadData, _D_24in_argExp, _D_24in_argTy, _inputTy, _D_24in_vectArg, _D_24in_vectDims, _info, out_argTy, out_vectArg, out_vectDims, &_matchKind);
4846 /* skip box _argExp; NFExpression */
4847 /* skip box _argTy; NFType */
4848 /* skip box _vectArg; NFExpression */
4849 /* skip box _vectDims; list<NFDimension> */
4850 if (out_matchKind) { *out_matchKind = mmc_mk_icon(_matchKind); }
4851 return _argExp;
4852}
4853
4854DLLExport
4855modelica_metatype omc_NFFunction_Function_matchArgs(threadData_t *threadData, modelica_metatype _func, modelica_metatype _D_24in_args, modelica_metatype _info, modelica_boolean _vectorize, modelica_metatype *out_funcMatchKind)
4856{
4857 modelica_metatype _args = NULL((void*)0);
4858 modelica_metatype _funcMatchKind = NULL((void*)0);
4859 modelica_metatype _comp = NULL((void*)0);
4860 modelica_metatype _inputs = NULL((void*)0);
4861 modelica_metatype _input_node = NULL((void*)0);
4862 modelica_integer _arg_idx;
4863 modelica_metatype _checked_args = NULL((void*)0);
4864 modelica_metatype _arg_exp = NULL((void*)0);
4865 modelica_metatype _arg_ty = NULL((void*)0);
4866 modelica_metatype _input_ty = NULL((void*)0);
4867 modelica_metatype _ty = NULL((void*)0);
4868 modelica_integer _arg_var;
4869 modelica_integer _mk;
4870 modelica_metatype _vect_arg = NULL((void*)0);
4871 modelica_metatype _vect_dims = NULL((void*)0);
4872 modelica_boolean _matched;
4873 modelica_metatype _vectorized_args = NULL((void*)0);
4874 modelica_integer tmp1;
4875 modelica_metatype tmpMeta[8] __attribute__((unused)) = {0};
4876 MMC_SO()mmc_check_stackoverflow(threadData);
4877 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4878 _args = _D_24in_args;
4879 _funcMatchKind = _OMC_LIT104((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3));
4880 // _comp has no default value.
4881 _inputs = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_func), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_func) - 3))) +
(4)))))
);
4882 // _input_node has no default value.
4883 _arg_idx = ((modelica_integer) 1);
4884 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4885 _checked_args = tmpMeta[0];
4886 // _arg_exp has no default value.
4887 // _arg_ty has no default value.
4888 // _input_ty has no default value.
4889 // _ty has no default value.
4890 // _arg_var has no default value.
4891 // _mk has no default value.
4892 _vect_arg = _OMC_LIT105((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3));
4893 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4894 _vect_dims = tmpMeta[1];
4895 // _matched has no default value.
4896 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4897 _vectorized_args = tmpMeta[2];
4898#line 1047 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4899 {
4900#line 1047 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4901 modelica_metatype _arg;
4902#line 1047 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4903 for (tmpMeta[3] = _args; !listEmpty(tmpMeta[3])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[3]=MMC_CDR(tmpMeta[3])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
)
4904#line 1047 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4905 {
4906#line 1047 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4907 _arg = MMC_CAR(tmpMeta[3])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (1)))))
;
4908#line 1048 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4909 /* Pattern-matching assignment */
4910#line 1048 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4911 tmpMeta[4] = _arg;
4912#line 1048 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4913 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
4914#line 1048 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4915 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
4916#line 1048 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4917 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (3)))))
;
4918#line 1048 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4919 tmp1 = mmc_unbox_integer(tmpMeta[7])(((mmc_sint_t) (tmpMeta[7])) >> 1);
4920#line 1048 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4921 _arg_exp = tmpMeta[5];
4922#line 1048 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4923 _arg_ty = tmpMeta[6];
4924#line 1048 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4925 _arg_var = tmp1 /* pattern as ty=enumeration(CONSTANT, STRUCTURAL_PARAMETER, PARAMETER, NON_STRUCTURAL_PARAMETER, DISCRETE, IMPLICITLY_DISCRETE, CONTINUOUS) */;
4926#line 4926 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4927
4928#line 1050 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4929 /* Pattern-matching assignment */
4930#line 1050 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4931 tmpMeta[4] = _inputs;
4932#line 1050 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4933 if (listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4934#line 1050 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4935 tmpMeta[5] = MMC_CAR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
4936#line 1050 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4937 tmpMeta[6] = MMC_CDR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
4938#line 1050 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4939 _input_node = tmpMeta[5];
4940#line 1050 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4941 _inputs = tmpMeta[6];
4942#line 4942 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4943
4944#line 1051 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4945 _comp = omc_NFInstNode_InstNode_component(threadData, _input_node);
4946#line 4946 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4947
4948#line 1054 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4949 if(((modelica_integer)_arg_var > omc_NFComponent_Component_variability(threadData, _comp)))
4950#line 1054 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4951 {
4952#line 1055 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4953 tmpMeta[4] = mmc_mk_cons(omc_NFInstNode_InstNode_name(threadData, _input_node), mmc_mk_cons(omc_NFExpression_toString(threadData, _arg_exp), mmc_mk_cons(omc_AbsynUtil_pathString(threadData, omc_NFFunction_Function_name(threadData, _func), _OMC_LIT90((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3)), 1, 0), mmc_mk_cons(omc_NFPrefixes_variabilityString(threadData, (modelica_integer)_arg_var), mmc_mk_cons(omc_NFPrefixes_variabilityString(threadData, omc_NFComponent_Component_variability(threadData, _comp)), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)))))));
4954#line 1055 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4955 omc_Error_addSourceMessage(threadData, _OMC_LIT108((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3)), tmpMeta[4], _info);
4956#line 4956 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4957
4958#line 1059 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4959 _funcMatchKind = _OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3));
4960#line 4960 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4961
4962#line 1060 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4963 goto _return;
4964#line 4964 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4965 }
4966
4967#line 1064 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4968 _input_ty = omc_NFComponent_Component_getType(threadData, _comp);
4969#line 4969 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4970
4971#line 1065 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4972 _arg_exp = omc_NFTypeCheck_matchTypes(threadData, _arg_ty, _input_ty, _arg_exp, 1 ,&_ty ,&_mk);
4973#line 4973 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4974
4975#line 1066 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4976 _matched = omc_NFTypeCheck_isValidArgumentMatch(threadData, (modelica_integer)_mk);
4977#line 4977 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4978
4979#line 1068 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4980 if(((!_matched) && _vectorize))
4981#line 1068 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4982 {
4983#line 1070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4984 _arg_exp = omc_NFFunction_Function_matchArgVectorized(threadData, _arg_exp, _arg_ty, _input_ty, _vect_arg, _vect_dims, _info ,&_ty ,&_vect_arg ,&_vect_dims ,&_mk);
4985#line 4985 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4986
4987#line 1072 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4988 tmpMeta[4] = mmc_mk_cons(mmc_mk_integermmc_mk_icon(_arg_idx), _vectorized_args);
4989#line 1072 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4990 _vectorized_args = tmpMeta[4];
4991#line 4991 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4992
4993#line 1073 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4994 _matched = omc_NFTypeCheck_isValidArgumentMatch(threadData, (modelica_integer)_mk);
4995#line 4995 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
4996 }
4997
4998#line 1076 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
4999 if((!_matched))
5000#line 1076 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5001 {
5002#line 1078 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5003 tmpMeta[4] = mmc_mk_cons(intString(_arg_idx), mmc_mk_cons(omc_AbsynUtil_pathString(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_func), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_func) - 3))) +
(2)))))
), _OMC_LIT90((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3)), 1, 0), mmc_mk_cons(omc_NFInstNode_InstNode_name(threadData, _input_node), mmc_mk_cons(omc_NFExpression_toString(threadData, _arg_exp), mmc_mk_cons(omc_NFType_toString(threadData, _arg_ty), mmc_mk_cons(omc_NFType_toString(threadData, _input_ty), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))))))));
5004#line 1078 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5005 omc_Error_addSourceMessage(threadData, _OMC_LIT111((void*)((char*)(&(_OMC_LIT_STRUCT111).header) + 3)), tmpMeta[4], _info);
5006#line 5006 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5007
5008#line 1081 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5009 _funcMatchKind = _OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3));
5010#line 5010 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5011
5012#line 1082 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5013 goto _return;
5014#line 5014 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5015 }
5016
5017#line 1087 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5018 if(omc_NFTypeCheck_isCastMatch(threadData, (modelica_integer)_mk))
5019#line 1087 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5020 {
5021#line 1088 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5022 _funcMatchKind = _OMC_LIT113((void*)((char*)(&(_OMC_LIT_STRUCT113).header) + 3));
5023#line 5023 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5024 }
5025 else
5026 {
5027 if(omc_NFTypeCheck_isGenericMatch(threadData, (modelica_integer)_mk))
5028 {
5029#line 1090 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5030 _funcMatchKind = _OMC_LIT112((void*)((char*)(&(_OMC_LIT_STRUCT112).header) + 3));
5031#line 5031 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5032 }
5033 }
5034
5035#line 1093 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5036 tmpMeta[5] = mmc_mk_box3(0, _arg_exp, _ty, mmc_mk_integermmc_mk_icon((modelica_integer)_arg_var));
5037#line 1093 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5038 tmpMeta[4] = mmc_mk_cons(tmpMeta[5], _checked_args);
5039#line 1093 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5040 _checked_args = tmpMeta[4];
5041#line 5041 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5042
5043#line 1094 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5044 _arg_idx = ((modelica_integer) 1) + _arg_idx;
5045#line 5045 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5046 }
5047 }
5048
5049#line 1097 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5050 if((!listEmpty(_vectorized_args)((*(mmc_uint_t*)((void*)((char*)(_vectorized_args) - 3))) == (
((0) << 10) + (((0) & 255) << 2)))
))
5051#line 1097 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5052 {
5053#line 1098 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5054 tmpMeta[3] = mmc_mk_box4(6, &NFFunction_FunctionMatchKind_VECTORIZED__desc, _vect_dims, listReverse(_vectorized_args), _funcMatchKind);
5055#line 1098 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5056 _funcMatchKind = tmpMeta[3];
5057#line 5057 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5058 }
5059
5060#line 1101 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5061 _args = listReverse(_checked_args);
5062#line 5062 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5063 _return: OMC_LABEL_UNUSED__attribute__((unused))
5064 if (out_funcMatchKind) { *out_funcMatchKind = _funcMatchKind; }
5065 return _args;
5066}
5067modelica_metatype boxptr_NFFunction_Function_matchArgs(threadData_t *threadData, modelica_metatype _func, modelica_metatype _D_24in_args, modelica_metatype _info, modelica_metatype _vectorize, modelica_metatype *out_funcMatchKind)
5068{
5069 modelica_integer tmp1;
5070 modelica_metatype _args = NULL((void*)0);
5071 tmp1 = mmc_unbox_integer(_vectorize)(((mmc_sint_t) (_vectorize)) >> 1);
5072 _args = omc_NFFunction_Function_matchArgs(threadData, _func, _D_24in_args, _info, tmp1, out_funcMatchKind);
5073 /* skip box _args; list<tuple<NFExpression, NFType, #enumeration(CONSTANT, STRUCTURAL_PARAMETER, PARAMETER, NON_STRUCTURAL_PARAMETER, DISCRETE, IMPLICITLY_DISCRETE, CONTINUOUS)>> */
5074 /* skip box _funcMatchKind; NFFunction.FunctionMatchKind */
5075 return _args;
5076}
5077
5078DLLExport
5079modelica_metatype omc_NFFunction_Function_lookupSlotInArray(threadData_t *threadData, modelica_string _slotName, modelica_metatype _slots)
5080{
5081 modelica_metatype _outSlot = NULL((void*)0);
5082 modelica_metatype _slot = NULL((void*)0);
5083 MMC_SO()mmc_check_stackoverflow(threadData);
5084 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5085 // _outSlot has no default value.
5086 // _slot has no default value.
5087#line 5087 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5088 { /* matchcontinue expression */
5089 {
5090 volatile mmc_switch_type tmp3;
5091 int tmp4;
5092 tmp3 = 0;
5093 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) {
5094 tmp2_top:
5095 threadData->mmc_jumper = &new_mmc_jumper;
5096 for (; tmp3 < 2; tmp3++) {
5097 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
5098 case 0: {
5099 /* Pattern matching succeeded */
5100#line 1019 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5101 _slot = omc_Array_getMemberOnTrue(threadData, _slotName, _slots, boxvar_NFFunction_Slot_hasName((void*)((char*)(&(boxvar_lit_NFFunction_Slot_hasName).header
) + 3))
, NULL((void*)0));
5102#line 5102 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5103
5104#line 1020 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5105 _outSlot = mmc_mk_some(_slot);
5106#line 5106 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5107#line 5107 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5108 goto tmp2_done;
5109 }
5110 case 1: {
5111 /* Pattern matching succeeded */
5112#line 1022 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5113 _outSlot = mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3));
5114#line 5114 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5115#line 5115 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5116 goto tmp2_done;
5117 }
5118 }
5119 goto tmp2_end;
5120 tmp2_end: ;
5121 }
5122 goto goto_1;
5123 tmp2_done:
5124 (void)tmp3;
5125 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
5126 goto tmp2_done2;
5127 goto_1:;
5128 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
5129 if (++tmp3 < 2) {
5130 goto tmp2_top;
5131 }
5132 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5133 tmp2_done2:;
5134 }
5135 }
5136 ;
5137 _return: OMC_LABEL_UNUSED__attribute__((unused))
5138 return _outSlot;
5139}
5140
5141DLLExport
5142modelica_metatype omc_NFFunction_Function_evaluateSlotExp__traverser(threadData_t *threadData, modelica_metatype _exp, modelica_metatype _slots, modelica_metatype _info)
5143{
5144 modelica_metatype _outExp = NULL((void*)0);
5145 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
5146 MMC_SO()mmc_check_stackoverflow(threadData);
5147 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5148 // _outExp has no default value.
5149#line 5149 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5150 { /* match expression */
5151 modelica_metatype tmp3_1;
5152 tmp3_1 = _exp;
5153 {
5154 modelica_metatype _cref = NULL((void*)0);
5155 modelica_metatype _slot = NULL((void*)0);
5156 volatile mmc_switch_type tmp3;
5157 int tmp4;
5158 // _cref has no default value.
5159 // _slot has no default value.
5160 tmp3 = 0;
5161 for (; tmp3 < 2; tmp3++) {
5162 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
5163 case 0: {
5164 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((2 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
5165 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
5166 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],0,5)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((5 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
5167 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (6)))))
;
5168 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((0 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
5169 _cref = tmpMeta[1];
5170 /* Pattern matching succeeded */
5171#line 1003 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5172 _slot = omc_NFFunction_Function_lookupSlotInArray(threadData, omc_NFComponentRef_firstName(threadData, _cref), _slots);
5173#line 5173 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5174#line 1004 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5175 tmpMeta[0] = (isSome(_slot)(0==((((((*(mmc_uint_t*)((void*)((char*)(_slot) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(_slot) - 3)
))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(_slot
) - 3)))) >> 10)) ? 0 : 1)
?omc_Util_tuple31(threadData, omc_NFFunction_Function_fillDefaultSlot(threadData, omc_Util_getOption(threadData, _slot), _slots, _info)):_exp);
5176#line 5176 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5177 goto tmp2_done;
5178 }
5179 case 1: {
5180
5181 /* Pattern matching succeeded */
5182#line 1007 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5183 tmpMeta[0] = _exp;
5184#line 5184 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5185 goto tmp2_done;
5186 }
5187 }
5188 goto tmp2_end;
5189 tmp2_end: ;
5190 }
5191 goto goto_1;
5192 goto_1:;
5193 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5194 goto tmp2_done;
5195 tmp2_done:;
5196 }
5197 }
5198 _outExp = tmpMeta[0];
5199 _return: OMC_LABEL_UNUSED__attribute__((unused))
5200 return _outExp;
5201}
5202
5203static modelica_metatype closure7_NFFunction_Function_evaluateSlotExp__traverser(threadData_t *thData, modelica_metatype closure, modelica_metatype exp)
5204{
5205 modelica_metatype slots = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
5206 modelica_metatype info = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),2))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (2)))))
;
5207 return boxptr_NFFunction_Function_evaluateSlotExp__traverseromc_NFFunction_Function_evaluateSlotExp__traverser(thData, exp, slots, info);
5208}
5209DLLExport
5210modelica_metatype omc_NFFunction_Function_evaluateSlotExp(threadData_t *threadData, modelica_metatype _exp, modelica_metatype _slots, modelica_metatype _info)
5211{
5212 modelica_metatype _outExp = NULL((void*)0);
5213 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
5214 MMC_SO()mmc_check_stackoverflow(threadData);
5215 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5216 // _outExp has no default value.
5217#line 986 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5218 tmpMeta[0] = mmc_mk_box2(0, _slots, _info);
5219#line 986 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5220 _outExp = omc_NFExpression_map(threadData, _exp, (modelica_fnptr) mmc_mk_box2(0,closure7_NFFunction_Function_evaluateSlotExp__traverser,tmpMeta[0]));
5221#line 5221 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5222 _return: OMC_LABEL_UNUSED__attribute__((unused))
5223 return _outExp;
5224}
5225
5226DLLExport
5227modelica_metatype omc_NFFunction_Function_fillDefaultSlot2(threadData_t *threadData, modelica_metatype _slot, modelica_metatype _slots, modelica_metatype _info)
5228{
5229 modelica_metatype _outArg = NULL((void*)0);
5230 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
5231 MMC_SO()mmc_check_stackoverflow(threadData);
5232 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5233 // _outArg has no default value.
5234#line 5234 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5235 { /* match expression */
5236 modelica_metatype tmp3_1;
5237 tmp3_1 = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_slot), 7))(*(void**)(((void*)((void**)(((void*)((char*)(_slot) - 3))) +
(7)))))
);
5238 {
5239 modelica_metatype _exp = NULL((void*)0);
5240 volatile mmc_switch_type tmp3;
5241 int tmp4;
5242 // _exp has no default value.
5243 tmp3 = 0;
5244 for (; tmp3 < 3; tmp3++) {
5245 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
5246 case 0: {
5247 modelica_integer tmp5;
5248 tmp5 = mmc_unbox_integer(tmp3_1)(((mmc_sint_t) (tmp3_1)) >> 1);
5249 if (3 != tmp5) goto tmp2_end;
5250 /* Pattern matching succeeded */
5251#line 953 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5252 tmpMeta[0] = omc_Util_getOption(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_slot), 5))(*(void**)(((void*)((void**)(((void*)((char*)(_slot) - 3))) +
(5)))))
));
5253#line 5253 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5254 goto tmp2_done;
5255 }
5256 case 1: {
5257 modelica_integer tmp6;
5258 tmp6 = mmc_unbox_integer(tmp3_1)(((mmc_sint_t) (tmp3_1)) >> 1);
5259 if (2 != tmp6) goto tmp2_end;
5260 /* Pattern matching succeeded */
5261#line 958 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5262 tmpMeta[1] = mmc_mk_cons((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_slot), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_slot) - 3))) +
(2)))))
), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
5263#line 958 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5264 omc_Error_addSourceMessage(threadData, _OMC_LIT117((void*)((char*)(&(_OMC_LIT_STRUCT117).header) + 3)), tmpMeta[1], _info);
5265#line 5265 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5266#line 959 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5267 goto goto_1;
5268#line 5268 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5269 goto tmp2_done;
5270 }
5271 case 2: {
5272 modelica_integer tmp7;
5273 tmp7 = mmc_unbox_integer(tmp3_1)(((mmc_sint_t) (tmp3_1)) >> 1);
5274 if (1 != tmp7) goto tmp2_end;
5275 /* Pattern matching succeeded */
5276#line 965 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5277 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(8))((void*)((char*)(mmc_alloc_words(8)) + 3));
5278#line 965 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5279 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_slot)((void*)((char*)(_slot) - 3)), 8*sizeof(modelica_metatype));
5280#line 965 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5281 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[7] = mmc_mk_integermmc_mk_icon(2);
5282#line 965 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5283 _slot = tmpMeta[1];
5284#line 5284 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5285
5286#line 966 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5287 arrayUpdate(_slots, mmc_unbox_integer((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_slot), 6)))), _slot)boxptr_arrayUpdate(threadData,_slots,mmc_mk_icon((((mmc_sint_t
) (((*(void**)(((void*)((void**)(((void*)((char*)(_slot) - 3)
)) + (6)))))))) >> 1)),_slot)
;
5288#line 5288 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5289
5290#line 968 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5291 _exp = omc_NFFunction_Function_evaluateSlotExp(threadData, omc_Util_getOption(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_slot), 4))(*(void**)(((void*)((void**)(((void*)((char*)(_slot) - 3))) +
(4)))))
)), _slots, _info);
5292#line 5292 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5293
5294#line 969 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5295 tmpMeta[1] = mmc_mk_box3(0, _exp, omc_NFExpression_typeOf(threadData, _exp), mmc_mk_integermmc_mk_icon(omc_NFExpression_variability(threadData, _exp)));
5296#line 969 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5297 _outArg = tmpMeta[1];
5298#line 5298 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5299
5300#line 971 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5301 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(8))((void*)((char*)(mmc_alloc_words(8)) + 3));
5302#line 971 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5303 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_slot)((void*)((char*)(_slot) - 3)), 8*sizeof(modelica_metatype));
5304#line 971 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5305 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[5] = mmc_mk_some(_outArg);
5306#line 971 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5307 _slot = tmpMeta[1];
5308#line 5308 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5309
5310#line 972 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5311 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(8))((void*)((char*)(mmc_alloc_words(8)) + 3));
5312#line 972 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5313 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_slot)((void*)((char*)(_slot) - 3)), 8*sizeof(modelica_metatype));
5314#line 972 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5315 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[7] = mmc_mk_integermmc_mk_icon(3);
5316#line 972 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5317 _slot = tmpMeta[1];
5318#line 5318 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5319
5320#line 973 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5321 arrayUpdate(_slots, mmc_unbox_integer((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_slot), 6)))), _slot)boxptr_arrayUpdate(threadData,_slots,mmc_mk_icon((((mmc_sint_t
) (((*(void**)(((void*)((void**)(((void*)((char*)(_slot) - 3)
)) + (6)))))))) >> 1)),_slot)
;
5322#line 5322 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5323#line 974 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5324 tmpMeta[0] = _outArg;
5325#line 5325 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5326 goto tmp2_done;
5327 }
5328 }
5329 goto tmp2_end;
5330 tmp2_end: ;
5331 }
5332 goto goto_1;
5333 goto_1:;
5334 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5335 goto tmp2_done;
5336 tmp2_done:;
5337 }
5338 }
5339 _outArg = tmpMeta[0];
5340 _return: OMC_LABEL_UNUSED__attribute__((unused))
5341 return _outArg;
5342}
5343
5344DLLExport
5345modelica_metatype omc_NFFunction_Function_fillDefaultSlot(threadData_t *threadData, modelica_metatype _slot, modelica_metatype _slots, modelica_metatype _info)
5346{
5347 modelica_metatype _outArg = NULL((void*)0);
5348 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
5349 MMC_SO()mmc_check_stackoverflow(threadData);
5350 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5351 // _outArg has no default value.
5352#line 5352 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5353 { /* match expression */
5354 modelica_metatype tmp3_1;
5355 tmp3_1 = _slot;
5356 {
5357 volatile mmc_switch_type tmp3;
5358 int tmp4;
5359 tmp3 = 0;
5360 for (; tmp3 < 3; tmp3++) {
5361 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
5362 case 0: {
5363 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,6)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((6 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
5364 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
5365 if (optionNone(tmpMeta[1])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[1]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
5366 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
5367
5368 _outArg = tmpMeta[2];
5369 /* Pattern matching succeeded */
5370#line 925 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5371 tmpMeta[0] = _outArg;
5372#line 5372 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5373 goto tmp2_done;
5374 }
5375 case 1: {
5376 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,6)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((6 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
5377 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
5378 if (optionNone(tmpMeta[1])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[1]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
5379 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
5380
5381 /* Pattern matching succeeded */
5382#line 929 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5383 tmpMeta[0] = omc_NFFunction_Function_fillDefaultSlot2(threadData, _slot, _slots, _info);
5384#line 5384 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5385 goto tmp2_done;
5386 }
5387 case 2: {
5388
5389 /* Pattern matching succeeded */
5390#line 934 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5391 tmpMeta[1] = mmc_mk_cons((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_slot), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_slot) - 3))) +
(2)))))
), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
5392#line 934 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5393 omc_Error_addSourceMessage(threadData, _OMC_LIT120((void*)((char*)(&(_OMC_LIT_STRUCT120).header) + 3)), tmpMeta[1], _info);
5394#line 5394 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5395#line 935 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5396 goto goto_1;
5397#line 5397 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5398 goto tmp2_done;
5399 }
5400 }
5401 goto tmp2_end;
5402 tmp2_end: ;
5403 }
5404 goto goto_1;
5405 goto_1:;
5406 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5407 goto tmp2_done;
5408 tmp2_done:;
5409 }
5410 }
5411 _outArg = tmpMeta[0];
5412 _return: OMC_LABEL_UNUSED__attribute__((unused))
5413 return _outArg;
5414}
5415
5416DLLExport
5417modelica_metatype omc_NFFunction_Function_collectArgs(threadData_t *threadData, modelica_metatype _slots, modelica_metatype _info, modelica_boolean *out_matching)
5418{
5419 modelica_metatype _args = NULL((void*)0);
5420 modelica_boolean _matching;
5421 modelica_metatype _default = NULL((void*)0);
5422 modelica_metatype _e = NULL((void*)0);
5423 modelica_metatype _arg = NULL((void*)0);
5424 modelica_metatype _a = NULL((void*)0);
5425 modelica_string _name = NULL((void*)0);
5426 modelica_integer tmp5;
5427 modelica_integer tmp6;
5428 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
5429 MMC_SO()mmc_check_stackoverflow(threadData);
5430 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5431 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
5432 _args = tmpMeta[0];
5433 _matching = 1;
5434 // _default has no default value.
5435 // _e has no default value.
5436 // _arg has no default value.
5437 // _a has no default value.
5438 // _name has no default value.
5439#line 896 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5440 {
5441#line 896 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5442 modelica_metatype _s;
5443#line 896 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5444 for (tmpMeta[1] = _slots, tmp6 = arrayLength(tmpMeta[1]), tmp5 = 1; tmp5 <= tmp6; tmp5++)
5445#line 896 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5446 {
5447#line 896 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5448 _s = arrayGet(tmpMeta[1],tmp5)nobox_arrayGet(threadData,tmpMeta[1],tmp5);
5449#line 897 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5450 /* Pattern-matching assignment */
5451#line 897 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5452 tmpMeta[2] = _s;
5453#line 897 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5454 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,6)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((6 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5455#line 897 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5456 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
5457#line 897 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5458 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
5459#line 897 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5460 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (5)))))
;
5461#line 897 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5462 _name = tmpMeta[3];
5463#line 897 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5464 _default = tmpMeta[4];
5465#line 897 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5466 _arg = tmpMeta[5];
5467#line 5467 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5468
5469#line 5469 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5470 { /* matchcontinue expression */
5471 volatile modelica_metatype tmp3_1;
5472 tmp3_1 = _arg;
5473 {
5474 volatile mmc_switch_type tmp3;
5475 int tmp4;
5476 tmp3 = 0;
5477 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) {
5478 tmp2_top:
5479 threadData->mmc_jumper = &new_mmc_jumper;
5480 for (; tmp3 < 3; tmp3++) {
5481 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
5482 case 0: {
5483 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;
5484 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
5485 _a = tmpMeta[3];
5486 /* Pattern matching succeeded */
5487#line 901 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5488 tmpMeta[3] = mmc_mk_cons(_a, _args);
5489#line 901 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5490 tmpMeta[2] = tmpMeta[3];
5491#line 5491 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5492 goto tmp2_done;
5493 }
5494 case 1: {
5495
5496 /* Pattern matching succeeded */
5497#line 904 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5498 tmpMeta[3] = mmc_mk_cons(omc_NFFunction_Function_fillDefaultSlot(threadData, _s, _slots, _info), _args);
5499#line 904 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5500 tmpMeta[2] = tmpMeta[3];
5501#line 5501 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5502 goto tmp2_done;
5503 }
5504 case 2: {
5505
5506 /* Pattern matching succeeded */
5507#line 908 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5508 _matching = 0;
5509#line 5509 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5510#line 909 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5511 tmpMeta[2] = _args;
5512#line 5512 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5513 goto tmp2_done;
5514 }
5515 }
5516 goto tmp2_end;
5517 tmp2_end: ;
5518 }
5519 goto goto_1;
5520 tmp2_done:
5521 (void)tmp3;
5522 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
5523 goto tmp2_done2;
5524 goto_1:;
5525 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
5526 if (++tmp3 < 3) {
5527 goto tmp2_top;
5528 }
5529 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
5530 tmp2_done2:;
5531 }
5532 }
5533 _args = tmpMeta[2];
5534 }
5535 }
5536
5537#line 914 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5538 _args = listReverse(_args);
5539#line 5539 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/NFFunction.c"
5540 _return: OMC_LABEL_UNUSED__attribute__((unused))
5541 if (out_matching) { *out_matching = _matching; }
5542 return _args;
5543}
5544modelica_metatype boxptr_NFFunction_Function_collectArgs(threadData_t *threadData, modelica_metatype _slots, modelica_metatype _info, modelica_metatype *out_matching)
5545{
5546 modelica_boolean _matching;
5547 modelica_metatype _args = NULL((void*)0);
5548 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
5549 _args = omc_NFFunction_Function_collectArgs(threadData, _slots, _info, &_matching);
5550 /* skip box _args; list<tuple<NFExpression, NFType, #enumeration(CONSTANT, STRUCTURAL_PARAMETER, PARAMETER, NON_STRUCTURAL_PARAMETER, DISCRETE, IMPLICITLY_DISCRETE, CONTINUOUS)>> */
5551 if (out_matching) { *out_matching = mmc_mk_icon(_matching); }
5552 return _args;
5553}
5554
5555DLLExport
5556modelica_metatype omc_NFFunction_Function_fillNamedArg(threadData_t *threadData, modelica_metatype _inArg, modelica_metatype _D_24in_slots, modelica_metatype _fn, modelica_metatype _info, modelica_boolean *out_matching)
5557{
5558 modelica_metatype _slots = NULL((void*)0);
5559 modelica_boolean _matching;
5560 modelica_metatype _s = NULL((void*)0);
5561 modelica_string _argName = NULL((void*)0);
5562 modelica_metatype _ty = NULL((void*)0);
5563 modelica_metatype _argExp = NULL((void*)0);
5564 modelica_integer _var;
5565 modelica_integer tmp1;
5566 modelica_integer tmp2;
5567 modelica_integer tmp3;
5568 modelica_integer tmp4;
5569 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
5570 MMC_SO()mmc_check_stackoverflow(threadData);
5571 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5572 _slots = _D_24in_slots;
5573 _matching = 1;
5574 // _s has no default value.
5575 // _argName has no default value.
5576 // _ty has no default value.
5577 // _argExp has no default value.
5578 // _var has no default value.
5579#line 839 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5580 tmp2 = arrayLength(_slots); tmp3 = ((modelica_integer) -1); tmp4 = ((modelica_integer) 1);
5581#line 839 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5582 if(!(((tmp3 > 0) && (tmp2 > tmp4)) || ((tmp3 < 0) && (tmp2 < tmp4))))
5583#line 839 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5584 {
5585#line 839 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5586 modelica_integer _i;
5587#line 839 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5588 for(_i = arrayLength(_slots); in_range_integer(_i, tmp2, tmp4); _i += tmp3)
5589#line 839 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo"
5590 {