Bug Summary

File:OMCompiler/Compiler/boot/build/InstFunction.c
Warning:line 1331, column 11
Value stored to '_cache' 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/InstFunction.c" OMC_BASE_FILE
3#else
4 #define OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c" "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
5#endif
6#include "omc_simulation_settings.h"
7#include "InstFunction.h"
8#define _OMC_LIT0_data"constructor" "constructor"
9static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT0,11,_OMC_LIT0_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT0
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "constructor"
}
;
10#define _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT0)((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3))
11static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT1,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT1
= { (((2) << 10) + (((4) & 255) << 2)),
{&Absyn_Path_IDENT__desc,_OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3))}};
12#define _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT1)((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))
13#define _OMC_LIT2_data"." "."
14static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT2,1,_OMC_LIT2_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT2
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "."
}
;
15#define _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT2)((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))
16static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT3,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT3
= { (((1) << 10) + (((5) & 255) << 2)),
{&ErrorTypes_MessageType_TRANSLATION__desc,}};
17#define _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT3)((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3))
18static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT4,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT4
= { (((1) << 10) + (((4) & 255) << 2)),
{&ErrorTypes_Severity_ERROR__desc,}};
19#define _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT4)((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))
20#define _OMC_LIT5_data"Function %s returns an external object, but the only function allowed to return this object is %s." "Function %s returns an external object, but the only function allowed to return this object is %s."
21static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT5,98,_OMC_LIT5_data)struct { mmc_uint_t header; const char data[(98)+1]; } _OMC_LIT_STRUCT5
= { ((((mmc_uint_t)98)<<(3))+((1<<(3+3))+5)), "Function %s returns an external object, but the only function allowed to return this object is %s."
}
;
22#define _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT5)((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))
23static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT6,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT6
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))}};
24#define _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT6)((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))
25static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT7,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT7
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(546))((void*)(((((mmc_uint_t) (546)) << 1)+0))),_OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)),_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))}};
26#define _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT7)((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))
27static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT8,1,6)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT8
= { (((1) << 10) + (((6) & 255) << 2)),
{&DAE_InlineType_DEFAULT__INLINE__desc,}};
28#define _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT8)((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))
29static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT9,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT9
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_FunctionBuiltin_FUNCTION__NOT__BUILTIN__desc,}};
30#define _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT9)((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))
31static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT10,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT10
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_FunctionParallelism_FP__NON__PARALLEL__desc,}};
32#define _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT10)((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))
33static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT11,7,3)struct { mmc_uint_t header; const void *data[7]; } _OMC_LIT_STRUCT11
= { (((7) << 10) + (((3) & 255) << 2)),
{&DAE_FunctionAttributes_FUNCTION__ATTRIBUTES__desc,_OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)),_OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))}};
34#define _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT11)((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))
35#define _OMC_LIT12_data"" ""
36static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT12,0,_OMC_LIT12_data)struct { mmc_uint_t header; const char data[(0)+1]; } _OMC_LIT_STRUCT12
= { ((((mmc_uint_t)0)<<(3))+((1<<(3+3))+5)), "" }
;
37#define _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT12)((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))
38static const MMC_DEFREALLIT(_OMC_LIT_STRUCT13,0.0)struct mmc_real_lit _OMC_LIT_STRUCT13 = {0,(((8/8) << 10
) + 9),0.0}
;
39#define _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT13)((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))
40static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT14,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT14
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).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_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))}};
41#define _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT14)((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))
42static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT15,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT15
= { (((1) << 10) + (((4) & 255) << 2)),
{&DAE_ComponentPrefix_NOCOMPPRE__desc,}};
43#define _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT15)((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))
44static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT16,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT16
= { (((8) << 10) + (((3) & 255) << 2)),
{&DAE_ElementSource_SOURCE__desc,_OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),_OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
45#define _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT16)((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))
46static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT17,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT17
= { (((1) << 10) + (((4) & 255) << 2)),
{&SCode_Partial_NOT__PARTIAL__desc,}};
47#define _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT17)((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))
48static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT18,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT18
= { (((1) << 10) + (((5) & 255) << 2)),
{&DAE_Mod_NOMOD__desc,}};
49#define _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT18)((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))
50static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT19,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT19
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_Prefix_NOPRE__desc,}};
51#define _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT19)((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))
52static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT20,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT20
= { (((1) << 10) + (((4) & 255) << 2)),
{&InstTypes_CallingScope_INNER__CALL__desc,}};
53#define _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT20)((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))
54static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT21,7,3)struct { mmc_uint_t header; const void *data[7]; } _OMC_LIT_STRUCT21
= { (((7) << 10) + (((3) & 255) << 2)),
{&ConnectionGraph_ConnectionGraph_GRAPH__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
55#define _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT21)((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))
56static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT22,1,7)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT22
= { (((1) << 10) + (((7) & 255) << 2)),
{&DAE_ComponentRef_WILD__desc,}};
57#define _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT22)((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))
58static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT23,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT23
= { (((5) << 10) + (((3) & 255) << 2)),
{&DAE_Connect_SetTrieNode_SET__TRIE__NODE__desc,_OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)),_OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
59#define _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT23)((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))
60static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT24,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT24
= { (((5) << 10) + (((3) & 255) << 2)),
{&DAE_Connect_Sets_SETS__desc,_OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
61#define _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT24)((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))
62#define _OMC_LIT25_data"failtrace" "failtrace"
63static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT25,9,_OMC_LIT25_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT25
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "failtrace"
}
;
64#define _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT25)((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))
65#define _OMC_LIT26_data"Sets whether to print a failtrace or not." "Sets whether to print a failtrace or not."
66static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT26,41,_OMC_LIT26_data)struct { mmc_uint_t header; const char data[(41)+1]; } _OMC_LIT_STRUCT26
= { ((((mmc_uint_t)41)<<(3))+((1<<(3+3))+5)), "Sets whether to print a failtrace or not."
}
;
67#define _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT26)((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))
68static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT27,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT27
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))}};
69#define _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT27)((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))
70static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT28,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT28
= { (((5) << 10) + (((3) & 255) << 2)),
{&Flags_DebugFlag_DEBUG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))}};
71#define _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT28)((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))
72#define _OMC_LIT29_data"InstFunction.getRecordConstructorFunction failed for " "InstFunction.getRecordConstructorFunction failed for "
73static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT29,53,_OMC_LIT29_data)struct { mmc_uint_t header; const char data[(53)+1]; } _OMC_LIT_STRUCT29
= { ((((mmc_uint_t)53)<<(3))+((1<<(3+3))+5)), "InstFunction.getRecordConstructorFunction failed for "
}
;
74#define _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT29)((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3))
75static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT30,1,6)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT30
= { (((1) << 10) + (((6) & 255) << 2)),
{&DAE_ExtArg_NOEXTARG__desc,}};
76#define _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT30)((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))
77#define _OMC_LIT31_data"builtin" "builtin"
78static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT31,7,_OMC_LIT31_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT31
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "builtin"
}
;
79#define _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT31)((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))
80static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT32,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT32
= { (((1) << 10) + (((5) & 255) << 2)),
{&ErrorTypes_Severity_WARNING__desc,}};
81#define _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT32)((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))
82#define _OMC_LIT33_data"An external declaration with a single output without explicit mapping is defined as having the output as the lhs, but language %s does not support this for array variables. OpenModelica will put the output as an input (as is done when there is more than 1 output), but this is not according to the Modelica Specification. Use an explicit mapping instead of the implicit one to suppress this warning." "An external declaration with a single output without explicit mapping is defined as having the output as the lhs, but language %s does not support this for array variables. OpenModelica will put the output as an input (as is done when there is more than 1 output), but this is not according to the Modelica Specification. Use an explicit mapping instead of the implicit one to suppress this warning."
83static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT33,399,_OMC_LIT33_data)struct { mmc_uint_t header; const char data[(399)+1]; } _OMC_LIT_STRUCT33
= { ((((mmc_uint_t)399)<<(3))+((1<<(3+3))+5)), "An external declaration with a single output without explicit mapping is defined as having the output as the lhs, but language %s does not support this for array variables. OpenModelica will put the output as an input (as is done when there is more than 1 output), but this is not according to the Modelica Specification. Use an explicit mapping instead of the implicit one to suppress this warning."
}
;
84#define _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT33)((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3))
85static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT34,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT34
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3))}};
86#define _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT34)((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))
87static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT35,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT35
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(290))((void*)(((((mmc_uint_t) (290)) << 1)+0))),_OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)),_OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)),_OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))}};
88#define _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT35)((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3))
89static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT36,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT36
= { (((1) << 10) + (((4) & 255) << 2)),
{&Absyn_Direction_OUTPUT__desc,}};
90#define _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT36)((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))
91#define _OMC_LIT37_data"instExtMakeDefaultExternalCall failed for " "instExtMakeDefaultExternalCall failed for "
92static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT37,42,_OMC_LIT37_data)struct { mmc_uint_t header; const char data[(42)+1]; } _OMC_LIT_STRUCT37
= { ((((mmc_uint_t)42)<<(3))+((1<<(3+3))+5)), "instExtMakeDefaultExternalCall failed for "
}
;
93#define _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT37)((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3))
94static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT38,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT38
= { (((1) << 10) + (((3) & 255) << 2)),
{&Absyn_Direction_INPUT__desc,}};
95#define _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT38)((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))
96#define _OMC_LIT39_data"- Inst.instOverloaded_functions failed " "- Inst.instOverloaded_functions failed "
97static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT39,39,_OMC_LIT39_data)struct { mmc_uint_t header; const char data[(39)+1]; } _OMC_LIT_STRUCT39
= { ((((mmc_uint_t)39)<<(3))+((1<<(3+3))+5)), "- Inst.instOverloaded_functions failed "
}
;
98#define _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT39)((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3))
99static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT40,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT40
= { (((2) << 10) + (((4) & 255) << 2)),
{&Absyn_Path_IDENT__desc,_OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))}};
100#define _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT40)((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))
101#define _OMC_LIT41_data"- Inst.implicitFunctionTypeInstantiation failed " "- Inst.implicitFunctionTypeInstantiation failed "
102static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT41,48,_OMC_LIT41_data)struct { mmc_uint_t header; const char data[(48)+1]; } _OMC_LIT_STRUCT41
= { ((((mmc_uint_t)48)<<(3))+((1<<(3+3))+5)), "- Inst.implicitFunctionTypeInstantiation failed "
}
;
103#define _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT41)((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))
104#define _OMC_LIT42_data"\nenv: " "\nenv: "
105static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT42,6,_OMC_LIT42_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT42
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "\nenv: "
}
;
106#define _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT42)((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))
107#define _OMC_LIT43_data"\nelelement: " "\nelelement: "
108static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT43,12,_OMC_LIT43_data)struct { mmc_uint_t header; const char data[(12)+1]; } _OMC_LIT_STRUCT43
= { ((((mmc_uint_t)12)<<(3))+((1<<(3+3))+5)), "\nelelement: "
}
;
109#define _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT43)((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))
110static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT44,10,3)struct { mmc_uint_t header; const void *data[10]; } _OMC_LIT_STRUCT44
= { (((10) << 10) + (((3) & 255) << 2)),
{&SCodeDump_SCodeDumpOptions_OPTIONS__desc,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(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
111#define _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT44)((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))
112#define _OMC_LIT45_data"Function %s not found in scope %s." "Function %s not found in scope %s."
113static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT45,34,_OMC_LIT45_data)struct { mmc_uint_t header; const char data[(34)+1]; } _OMC_LIT_STRUCT45
= { ((((mmc_uint_t)34)<<(3))+((1<<(3+3))+5)), "Function %s not found in scope %s."
}
;
114#define _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT45)((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))
115static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT46,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT46
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))}};
116#define _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT46)((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))
117static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT47,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT47
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(165))((void*)(((((mmc_uint_t) (165)) << 1)+0))),_OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)),_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),_OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))}};
118#define _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT47)((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))
119static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT48,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT48
= { (((1) << 10) + (((5) & 255) << 2)),
{&InstTypes_CallingScope_TYPE__CALL__desc,}};
120#define _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT48)((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))
121static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT49,1,11)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT49
= { (((1) << 10) + (((11) & 255) << 2)),
{&DAE_Type_T__UNKNOWN__desc,}};
122#define _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT49)((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))
123static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT50,4,4)struct { mmc_uint_t header; const void *data[4]; } _OMC_LIT_STRUCT50
= { (((4) << 10) + (((4) & 255) << 2)),
{&DAE_ComponentRef_CREF__IDENT__desc,_OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)),_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
124#define _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT50)((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))
125static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT51,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT51
= { (((2) << 10) + (((0) & 255) << 2)),
{_OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)),_OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))}};
126#define _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT51)((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))
127static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT52,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT52
= { (((1) << 10) + (((3) & 255) << 2)),
{&SCode_Visibility_PUBLIC__desc,}};
128#define _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT52)((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3))
129static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT53,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT53
= { (((1) << 10) + (((4) & 255) << 2)),
{&UnitAbsyn_InstStore_NOSTORE__desc,}};
130#define _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT53)((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3))
131static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT54,1,7)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT54
= { (((1) << 10) + (((7) & 255) << 2)),
{&DAE_InlineType_NO__INLINE__desc,}};
132#define _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT54)((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))
133static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT55,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT55
= { (((2) << 10) + (((3) & 255) << 2)),
{&DAE_FunctionDefinition_FUNCTION__DEF__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
134#define _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT55)((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))
135static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT56,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT56
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
136#define _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT56)((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3))
137#define _OMC_LIT57_data"- Inst.implicitFunctionInstantiation2 failed " "- Inst.implicitFunctionInstantiation2 failed "
138static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT57,45,_OMC_LIT57_data)struct { mmc_uint_t header; const char data[(45)+1]; } _OMC_LIT_STRUCT57
= { ((((mmc_uint_t)45)<<(3))+((1<<(3+3))+5)), "- Inst.implicitFunctionInstantiation2 failed "
}
;
139#define _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT57)((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3))
140#define _OMC_LIT58_data" Scope: " " Scope: "
141static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT58,9,_OMC_LIT58_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT58
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), " Scope: "
}
;
142#define _OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT58)((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3))
143#define _OMC_LIT59_data"- Inst.implicitFunctionInstantiation failed " "- Inst.implicitFunctionInstantiation failed "
144static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT59,44,_OMC_LIT59_data)struct { mmc_uint_t header; const char data[(44)+1]; } _OMC_LIT_STRUCT59
= { ((((mmc_uint_t)44)<<(3))+((1<<(3+3))+5)), "- Inst.implicitFunctionInstantiation failed "
}
;
145#define _OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT59)((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3))
146#define _OMC_LIT60_data"- InstFunction.instantiateExternalObjectConstructor failed.\n" "- InstFunction.instantiateExternalObjectConstructor failed.\n"
147static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT60,60,_OMC_LIT60_data)struct { mmc_uint_t header; const char data[(60)+1]; } _OMC_LIT_STRUCT60
= { ((((mmc_uint_t)60)<<(3))+((1<<(3+3))+5)), "- InstFunction.instantiateExternalObjectConstructor failed.\n"
}
;
148#define _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT60)((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3))
149#define _OMC_LIT61_data"- InstFunction.instantiateExternalObjectDestructor failed.\n" "- InstFunction.instantiateExternalObjectDestructor failed.\n"
150static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT61,59,_OMC_LIT61_data)struct { mmc_uint_t header; const char data[(59)+1]; } _OMC_LIT_STRUCT61
= { ((((mmc_uint_t)59)<<(3))+((1<<(3+3))+5)), "- InstFunction.instantiateExternalObjectDestructor failed.\n"
}
;
151#define _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT61)((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3))
152#define _OMC_LIT62_data"Modified element %s not found in class %s." "Modified element %s not found in class %s."
153static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT62,42,_OMC_LIT62_data)struct { mmc_uint_t header; const char data[(42)+1]; } _OMC_LIT_STRUCT62
= { ((((mmc_uint_t)42)<<(3))+((1<<(3+3))+5)), "Modified element %s not found in class %s."
}
;
154#define _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT62)((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3))
155static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT63,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT63
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3))}};
156#define _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT63)((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3))
157static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT64,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT64
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(214))((void*)(((((mmc_uint_t) (214)) << 1)+0))),_OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)),_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),_OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3))}};
158#define _OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT64)((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3))
159static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT65,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT65
= { (((2) << 10) + (((3) & 255) << 2)),
{&DAE_DAElist_DAE__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
160#define _OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT65)((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3))
161#define _OMC_LIT66_data"- InstFunction.instantiateExternalObject failed.\n" "- InstFunction.instantiateExternalObject failed.\n"
162static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT66,49,_OMC_LIT66_data)struct { mmc_uint_t header; const char data[(49)+1]; } _OMC_LIT_STRUCT66
= { ((((mmc_uint_t)49)<<(3))+((1<<(3+3))+5)), "- InstFunction.instantiateExternalObject failed.\n"
}
;
163#define _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT66)((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3))
164#include "util/modelica.h"
165
166#include "InstFunction_includes.h"
167
168
169/* default, do not make protected functions static */
170#if !defined(PROTECTED_FUNCTION_STATIC)
171#define PROTECTED_FUNCTION_STATIC
172#endif
173PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstFunction_checkExtObjOutputWork(threadData_t *threadData, modelica_metatype _ty, modelica_metatype _inTpl, modelica_metatype *out_outTpl);
174static const MMC_DEFSTRUCTLIT(boxvar_lit_InstFunction_checkExtObjOutputWork,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstFunction_checkExtObjOutputWork
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstFunction_checkExtObjOutputWorkomc_InstFunction_checkExtObjOutputWork,0}};
175#define boxvar_InstFunction_checkExtObjOutputWork((void*)((char*)(&(boxvar_lit_InstFunction_checkExtObjOutputWork
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstFunction_checkExtObjOutputWork)((void*)((char*)(&(boxvar_lit_InstFunction_checkExtObjOutputWork
).header) + 3))
176PROTECTED_FUNCTION_STATIC void omc_InstFunction_checkExtObjOutput(threadData_t *threadData, modelica_metatype _inType, modelica_metatype _info);
177static const MMC_DEFSTRUCTLIT(boxvar_lit_InstFunction_checkExtObjOutput,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstFunction_checkExtObjOutput
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstFunction_checkExtObjOutputomc_InstFunction_checkExtObjOutput,0}};
178#define boxvar_InstFunction_checkExtObjOutput((void*)((char*)(&(boxvar_lit_InstFunction_checkExtObjOutput
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstFunction_checkExtObjOutput)((void*)((char*)(&(boxvar_lit_InstFunction_checkExtObjOutput
).header) + 3))
179PROTECTED_FUNCTION_STATIC modelica_boolean omc_InstFunction_isElementImportantForFunction(threadData_t *threadData, modelica_metatype _elt);
180PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstFunction_isElementImportantForFunction(threadData_t *threadData, modelica_metatype _elt);
181static const MMC_DEFSTRUCTLIT(boxvar_lit_InstFunction_isElementImportantForFunction,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstFunction_isElementImportantForFunction
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstFunction_isElementImportantForFunction,0}};
182#define boxvar_InstFunction_isElementImportantForFunction((void*)((char*)(&(boxvar_lit_InstFunction_isElementImportantForFunction
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstFunction_isElementImportantForFunction)((void*)((char*)(&(boxvar_lit_InstFunction_isElementImportantForFunction
).header) + 3))
183PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstFunction_addExtVarToCall(threadData_t *threadData, modelica_metatype _cr, modelica_metatype _dir, modelica_metatype _dims, modelica_metatype _D_24in_fargs);
184static const MMC_DEFSTRUCTLIT(boxvar_lit_InstFunction_addExtVarToCall,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstFunction_addExtVarToCall
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstFunction_addExtVarToCallomc_InstFunction_addExtVarToCall,0}};
185#define boxvar_InstFunction_addExtVarToCall((void*)((char*)(&(boxvar_lit_InstFunction_addExtVarToCall
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstFunction_addExtVarToCall)((void*)((char*)(&(boxvar_lit_InstFunction_addExtVarToCall
).header) + 3))
186PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstFunction_instExtMakeDefaultExternalCall(threadData_t *threadData, modelica_metatype _elements, modelica_metatype _funcType, modelica_string _lang, modelica_metatype _info, modelica_metatype *out_rettype);
187static const MMC_DEFSTRUCTLIT(boxvar_lit_InstFunction_instExtMakeDefaultExternalCall,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstFunction_instExtMakeDefaultExternalCall
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstFunction_instExtMakeDefaultExternalCallomc_InstFunction_instExtMakeDefaultExternalCall,0}};
188#define boxvar_InstFunction_instExtMakeDefaultExternalCall((void*)((char*)(&(boxvar_lit_InstFunction_instExtMakeDefaultExternalCall
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstFunction_instExtMakeDefaultExternalCall)((void*)((char*)(&(boxvar_lit_InstFunction_instExtMakeDefaultExternalCall
).header) + 3))
189PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstFunction_instExtDecl(threadData_t *threadData, modelica_metatype _D_24in_cache, modelica_metatype _env, modelica_metatype _D_24in_iH, modelica_string _name, modelica_metatype _inScExtDecl, modelica_metatype _inElements, modelica_metatype _funcType, modelica_boolean _impl, modelica_metatype _pre, modelica_metatype _info, modelica_metatype *out_iH, modelica_metatype *out_daeextdecl);
190PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstFunction_instExtDecl(threadData_t *threadData, modelica_metatype _D_24in_cache, modelica_metatype _env, modelica_metatype _D_24in_iH, modelica_metatype _name, modelica_metatype _inScExtDecl, modelica_metatype _inElements, modelica_metatype _funcType, modelica_metatype _impl, modelica_metatype _pre, modelica_metatype _info, modelica_metatype *out_iH, modelica_metatype *out_daeextdecl);
191static const MMC_DEFSTRUCTLIT(boxvar_lit_InstFunction_instExtDecl,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstFunction_instExtDecl
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstFunction_instExtDecl,0}};
192#define boxvar_InstFunction_instExtDecl((void*)((char*)(&(boxvar_lit_InstFunction_instExtDecl).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstFunction_instExtDecl)((void*)((char*)(&(boxvar_lit_InstFunction_instExtDecl).header
) + 3))
193PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstFunction_instOverloadedFunctions(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _pre, modelica_metatype _inAbsynPathLst, modelica_metatype _inInfo, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outFns);
194static const MMC_DEFSTRUCTLIT(boxvar_lit_InstFunction_instOverloadedFunctions,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstFunction_instOverloadedFunctions
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstFunction_instOverloadedFunctionsomc_InstFunction_instOverloadedFunctions,0}};
195#define boxvar_InstFunction_instOverloadedFunctions((void*)((char*)(&(boxvar_lit_InstFunction_instOverloadedFunctions
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstFunction_instOverloadedFunctions)((void*)((char*)(&(boxvar_lit_InstFunction_instOverloadedFunctions
).header) + 3))
196PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstFunction_instantiateDerivativeFuncs2(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inPaths, modelica_metatype _path, modelica_metatype _info);
197static const MMC_DEFSTRUCTLIT(boxvar_lit_InstFunction_instantiateDerivativeFuncs2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstFunction_instantiateDerivativeFuncs2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstFunction_instantiateDerivativeFuncs2omc_InstFunction_instantiateDerivativeFuncs2,0}};
198#define boxvar_InstFunction_instantiateDerivativeFuncs2((void*)((char*)(&(boxvar_lit_InstFunction_instantiateDerivativeFuncs2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstFunction_instantiateDerivativeFuncs2)((void*)((char*)(&(boxvar_lit_InstFunction_instantiateDerivativeFuncs2
).header) + 3))
199PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstFunction_instantiateDerivativeFuncs(threadData_t *threadData, modelica_metatype _cache, modelica_metatype _env, modelica_metatype _ih, modelica_metatype _funcs, modelica_metatype _path, modelica_metatype _info);
200static const MMC_DEFSTRUCTLIT(boxvar_lit_InstFunction_instantiateDerivativeFuncs,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstFunction_instantiateDerivativeFuncs
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstFunction_instantiateDerivativeFuncsomc_InstFunction_instantiateDerivativeFuncs,0}};
201#define boxvar_InstFunction_instantiateDerivativeFuncs((void*)((char*)(&(boxvar_lit_InstFunction_instantiateDerivativeFuncs
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstFunction_instantiateDerivativeFuncs)((void*)((char*)(&(boxvar_lit_InstFunction_instantiateDerivativeFuncs
).header) + 3))
202PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstFunction_implicitFunctionInstantiation2(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inClass, modelica_metatype _inInstDims, modelica_boolean _instFunctionTypeOnly, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_funcs);
203PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstFunction_implicitFunctionInstantiation2(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inClass, modelica_metatype _inInstDims, modelica_metatype _instFunctionTypeOnly, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_funcs);
204static const MMC_DEFSTRUCTLIT(boxvar_lit_InstFunction_implicitFunctionInstantiation2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstFunction_implicitFunctionInstantiation2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstFunction_implicitFunctionInstantiation2,0}};
205#define boxvar_InstFunction_implicitFunctionInstantiation2((void*)((char*)(&(boxvar_lit_InstFunction_implicitFunctionInstantiation2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstFunction_implicitFunctionInstantiation2)((void*)((char*)(&(boxvar_lit_InstFunction_implicitFunctionInstantiation2
).header) + 3))
206PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstFunction_instantiateExternalObjectConstructor(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _env, modelica_metatype _inIH, modelica_metatype _cl, modelica_metatype *out_outIH, modelica_metatype *out_outType);
207static const MMC_DEFSTRUCTLIT(boxvar_lit_InstFunction_instantiateExternalObjectConstructor,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstFunction_instantiateExternalObjectConstructor
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstFunction_instantiateExternalObjectConstructoromc_InstFunction_instantiateExternalObjectConstructor,0}};
208#define boxvar_InstFunction_instantiateExternalObjectConstructor((void*)((char*)(&(boxvar_lit_InstFunction_instantiateExternalObjectConstructor
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstFunction_instantiateExternalObjectConstructor)((void*)((char*)(&(boxvar_lit_InstFunction_instantiateExternalObjectConstructor
).header) + 3))
209PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstFunction_instantiateExternalObjectDestructor(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _env, modelica_metatype _inIH, modelica_metatype _cl, modelica_metatype *out_outIH);
210static const MMC_DEFSTRUCTLIT(boxvar_lit_InstFunction_instantiateExternalObjectDestructor,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstFunction_instantiateExternalObjectDestructor
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstFunction_instantiateExternalObjectDestructoromc_InstFunction_instantiateExternalObjectDestructor,0}};
211#define boxvar_InstFunction_instantiateExternalObjectDestructor((void*)((char*)(&(boxvar_lit_InstFunction_instantiateExternalObjectDestructor
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstFunction_instantiateExternalObjectDestructor)((void*)((char*)(&(boxvar_lit_InstFunction_instantiateExternalObjectDestructor
).header) + 3))
212PROTECTED_FUNCTION_STATIC void omc_InstFunction_checkExternalObjectMod(threadData_t *threadData, modelica_metatype _inMod, modelica_string _inClassName);
213static const MMC_DEFSTRUCTLIT(boxvar_lit_InstFunction_checkExternalObjectMod,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_InstFunction_checkExternalObjectMod
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_InstFunction_checkExternalObjectModomc_InstFunction_checkExternalObjectMod,0}};
214#define boxvar_InstFunction_checkExternalObjectMod((void*)((char*)(&(boxvar_lit_InstFunction_checkExternalObjectMod
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_InstFunction_checkExternalObjectMod)((void*)((char*)(&(boxvar_lit_InstFunction_checkExternalObjectMod
).header) + 3))
215
216PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstFunction_checkExtObjOutputWork(threadData_t *threadData, modelica_metatype _ty, modelica_metatype _inTpl, modelica_metatype *out_outTpl)
217{
218 modelica_metatype _oty = NULL((void*)0);
219 modelica_metatype _outTpl = NULL((void*)0);
220 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
221 MMC_SO()mmc_check_stackoverflow(threadData);
222 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
223 _oty = _ty;
224 // _outTpl has no default value.
225#line 225 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
226 { /* match expression */
227 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
228 tmp3_1 = _ty;
229 tmp3_2 = _inTpl;
230 {
231 modelica_metatype _path1 = NULL((void*)0);
232 modelica_metatype _path2 = NULL((void*)0);
233 modelica_metatype _info = NULL((void*)0);
234 modelica_string _str1 = NULL((void*)0);
235 modelica_string _str2 = NULL((void*)0);
236 modelica_boolean _b;
237 volatile mmc_switch_type tmp3;
238 int tmp4;
239 // _path1 has no default value.
240 // _path2 has no default value.
241 // _info has no default value.
242 // _str1 has no default value.
243 // _str2 has no default value.
244 // _b has no default value.
245 tmp3 = 0;
246 for (; tmp3 < 2; tmp3++) {
247 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
248 case 0: {
249 modelica_integer tmp5;
250 modelica_boolean tmp6;
251 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
252 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
253 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
254 tmp5 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
255 if (1 != tmp5) goto tmp2_end;
256 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,9,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((9 +3) & 255) << 2)))
== 0) goto tmp2_end;
257 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
258 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],17,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((1 +1)
<< 10) + (((17 +3) & 255) << 2)))
== 0) goto tmp2_end;
259 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
260
261 _path2 = tmpMeta[1];
262 _info = tmpMeta[2];
263 _path1 = tmpMeta[5];
264 /* Pattern matching succeeded */
265#line 956 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
266 _path1 = omc_AbsynUtil_joinPaths(threadData, _path1, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
267#line 267 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
268
269#line 957 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
270 _str1 = omc_AbsynUtil_pathStringNoQual(threadData, _path2, _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)), 0, 0);
271#line 271 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
272
273#line 958 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
274 _str2 = omc_AbsynUtil_pathStringNoQual(threadData, _path1, _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)), 0, 0);
275#line 275 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
276
277#line 959 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
278 _b = omc_AbsynUtil_pathEqual(threadData, _path1, _path2);
279#line 279 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
280
281#line 960 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
282 tmpMeta[1] = mmc_mk_cons(_str1, mmc_mk_cons(_str2, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))));
283#line 960 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
284 omc_Error_assertionOrAddSourceMessage(threadData, _b, _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)), tmpMeta[1], _info);
285#line 285 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
286#line 961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
287 tmp6 = (modelica_boolean)_b;
288#line 961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
289 if(tmp6)
290#line 961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
291 {
292#line 961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
293 tmpMeta[2] = _inTpl;
294#line 961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
295 }
296#line 961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
297 else
298#line 961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
299 {
300#line 961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
301 tmpMeta[1] = mmc_mk_box3(0, _path2, _info, mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
302#line 961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
303 tmpMeta[2] = tmpMeta[1];
304#line 961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
305 }
306#line 961 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
307 tmpMeta[0] = tmpMeta[2];
308#line 308 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
309 goto tmp2_done;
310 }
311 case 1: {
312
313 /* Pattern matching succeeded */
314#line 963 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
315 tmpMeta[0] = _inTpl;
316#line 316 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
317 goto tmp2_done;
318 }
319 }
320 goto tmp2_end;
321 tmp2_end: ;
322 }
323 goto goto_1;
324 goto_1:;
325 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
326 goto tmp2_done;
327 tmp2_done:;
328 }
329 }
330 _outTpl = tmpMeta[0];
331 _return: OMC_LABEL_UNUSED__attribute__((unused))
332 if (out_outTpl) { *out_outTpl = _outTpl; }
333 return _oty;
334}
335
336PROTECTED_FUNCTION_STATIC void omc_InstFunction_checkExtObjOutput(threadData_t *threadData, modelica_metatype _inType, modelica_metatype _info)
337{
338 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
339 MMC_SO()mmc_check_stackoverflow(threadData);
340 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
341#line 341 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
342 { /* match expression */
343 modelica_metatype tmp3_1;
344 tmp3_1 = _inType;
345 {
346 modelica_metatype _path = NULL((void*)0);
347 modelica_metatype _ty = NULL((void*)0);
348 volatile mmc_switch_type tmp3;
349 int tmp4;
350 // _path has no default value.
351 // _ty has no default value.
352 tmp3 = 0;
353 for (; tmp3 < 1; tmp3++) {
354 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
355 case 0: {
356 modelica_integer tmp5;
357 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,11,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((11 +3) & 255) << 2)))
== 0) goto tmp2_end;
358 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
359 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
360 _ty = tmpMeta[0];
361 _path = tmpMeta[1];
362 /* Pattern matching succeeded */
363#line 937 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
364 /* Pattern-matching tuple assignment, wild first pattern */
365#line 937 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
366 tmpMeta[2] = mmc_mk_box3(0, _path, _info, mmc_mk_boolean(1)((1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
367#line 937 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
368 omc_Types_traverseType(threadData, _ty, tmpMeta[2], boxvar_InstFunction_checkExtObjOutputWork((void*)((char*)(&(boxvar_lit_InstFunction_checkExtObjOutputWork
).header) + 3))
, &tmpMeta[0]);
369#line 937 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
370 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
371#line 937 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
372 tmp5 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
373#line 937 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
374 if (1 != tmp5) goto goto_1;
375#line 375 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
376#line 376 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
377 goto tmp2_done;
378 }
379 }
380 goto tmp2_end;
381 tmp2_end: ;
382 }
383 goto goto_1;
384 goto_1:;
385 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
386 goto tmp2_done;
387 tmp2_done:;
388 }
389 }
390 ;
391 _return: OMC_LABEL_UNUSED__attribute__((unused))
392 return;
393}
394
395PROTECTED_FUNCTION_STATIC modelica_boolean omc_InstFunction_isElementImportantForFunction(threadData_t *threadData, modelica_metatype _elt)
396{
397 modelica_boolean _b;
398 modelica_boolean tmp1 = 0;
399 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
400 MMC_SO()mmc_check_stackoverflow(threadData);
401 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
402 // _b has no default value.
403#line 403 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
404 { /* match expression */
405 modelica_metatype tmp4_1;
406 tmp4_1 = _elt;
407 {
408 volatile mmc_switch_type tmp4;
409 int tmp5;
410 tmp4 = 0;
411 for (; tmp4 < 2; tmp4++) {
412 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
413 case 0: {
414 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,3,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((8 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
415 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
416 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
417 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],1,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((0 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
418 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
419 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (5)))))
;
420 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],0,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((0 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
421 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (6)))))
;
422 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],2,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((0 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
423
424 /* Pattern matching succeeded */
425#line 922 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
426 tmp1 = 0;
427#line 427 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
428 goto tmp3_done;
429 }
430 case 1: {
431
432 /* Pattern matching succeeded */
433#line 923 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
434 tmp1 = 1;
435#line 435 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
436 goto tmp3_done;
437 }
438 }
439 goto tmp3_end;
440 tmp3_end: ;
441 }
442 goto goto_2;
443 goto_2:;
444 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
445 goto tmp3_done;
446 tmp3_done:;
447 }
448 }
449 _b = tmp1;
450 _return: OMC_LABEL_UNUSED__attribute__((unused))
451 return _b;
452}
453PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstFunction_isElementImportantForFunction(threadData_t *threadData, modelica_metatype _elt)
454{
455 modelica_boolean _b;
456 modelica_metatype out_b;
457 _b = omc_InstFunction_isElementImportantForFunction(threadData, _elt);
458 out_b = mmc_mk_icon(_b);
459 return out_b;
460}
461
462DLLExport
463modelica_metatype omc_InstFunction_addRecordConstructorFunction(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inType, modelica_metatype _inInfo)
464{
465 modelica_metatype _outCache = NULL((void*)0);
466 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
467 MMC_SO()mmc_check_stackoverflow(threadData);
468 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
469 // _outCache has no default value.
470#line 470 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
471 { /* matchcontinue expression */
472 volatile modelica_metatype tmp3_1;volatile modelica_metatype tmp3_2;
473 tmp3_1 = _inCache;
474 tmp3_2 = _inType;
475 {
476 modelica_metatype _vars = NULL((void*)0);
477 modelica_metatype _inputs = NULL((void*)0);
478 modelica_metatype _locals = NULL((void*)0);
479 modelica_metatype _fixedTy = NULL((void*)0);
480 modelica_metatype _funcTy = NULL((void*)0);
481 modelica_metatype _eqCo = NULL((void*)0);
482 modelica_metatype _cache = NULL((void*)0);
483 modelica_metatype _path = NULL((void*)0);
484 modelica_metatype _func = NULL((void*)0);
485 modelica_metatype _fargs = NULL((void*)0);
486 volatile mmc_switch_type tmp3;
487 int tmp4;
488 // _vars has no default value.
489 // _inputs has no default value.
490 // _locals has no default value.
491 // _fixedTy has no default value.
492 // _funcTy has no default value.
493 // _eqCo has no default value.
494 // _cache has no default value.
495 // _path has no default value.
496 // _func has no default value.
497 // _fargs has no default value.
498 tmp3 = 0;
499 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) {
500 tmp2_top:
501 threadData->mmc_jumper = &new_mmc_jumper;
502 for (; tmp3 < 3; tmp3++) {
503 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
504 case 0: {
505 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,9,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((3 +1) <<
10) + (((9 +3) & 255) << 2)))
== 0) goto tmp2_end;
506 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
507 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
508 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
509
510 _path = tmpMeta[2];
511 _cache = tmp3_1;
512 /* Pattern matching succeeded */
513#line 885 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
514 _path = omc_AbsynUtil_makeFullyQualified(threadData, _path);
515#line 515 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
516#line 886 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
517 tmpMeta[0] = omc_InstFunction_getRecordConstructorFunction(threadData, _cache, _inEnv, _path, NULL((void*)0));
518#line 518 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
519 goto tmp2_done;
520 }
521 case 1: {
522 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,9,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((3 +1) <<
10) + (((9 +3) & 255) << 2)))
== 0) goto tmp2_end;
523 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
524 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
525 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
526 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
527 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
528
529 _path = tmpMeta[2];
530 _vars = tmpMeta[3];
531 _eqCo = tmpMeta[4];
532 _cache = tmp3_1;
533 /* Pattern matching succeeded */
534#line 893 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
535 _path = omc_AbsynUtil_makeFullyQualified(threadData, _path);
536#line 536 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
537
538#line 895 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
539 _vars = omc_Types_filterRecordComponents(threadData, _vars, _inInfo);
540#line 540 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
541
542#line 896 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
543 _inputs = omc_List_extractOnTrue(threadData, _vars, boxvar_Types_isModifiableTypesVar((void*)((char*)(&(boxvar_lit_Types_isModifiableTypesVar)
.header) + 3))
,&_locals);
544#line 544 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
545
546#line 897 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
547 _inputs = omc_List_map(threadData, _inputs, boxvar_Types_setVarDefaultInput((void*)((char*)(&(boxvar_lit_Types_setVarDefaultInput).header
) + 3))
);
548#line 548 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
549
550#line 898 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
551 _locals = omc_List_map(threadData, _locals, boxvar_Types_setVarProtected((void*)((char*)(&(boxvar_lit_Types_setVarProtected).header
) + 3))
);
552#line 552 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
553
554#line 899 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
555 _vars = listAppend(_inputs, _locals);
556#line 556 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
557
558#line 901 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
559 tmpMeta[1] = mmc_mk_box2(6, &ClassInf_State_RECORD__desc, _path);
560#line 901 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
561 tmpMeta[2] = mmc_mk_box4(12, &DAE_Type_T__COMPLEX__desc, tmpMeta[1], _vars, _eqCo);
562#line 901 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
563 _fixedTy = tmpMeta[2];
564#line 564 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
565
566#line 902 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
567 _fargs = omc_Types_makeFargsList(threadData, _inputs);
568#line 568 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
569
570#line 903 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
571 tmpMeta[1] = mmc_mk_box5(14, &DAE_Type_T__FUNCTION__desc, _fargs, _fixedTy, _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), _path);
572#line 903 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
573 _funcTy = tmpMeta[1];
574#line 574 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
575
576#line 904 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
577 tmpMeta[1] = mmc_mk_box4(4, &DAE_Function_RECORD__CONSTRUCTOR__desc, _path, _funcTy, _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)));
578#line 904 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
579 _func = tmpMeta[1];
580#line 580 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
581#line 906 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
582 tmpMeta[1] = mmc_mk_cons(_func, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
583#line 906 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
584 tmpMeta[0] = omc_InstUtil_addFunctionsToDAE(threadData, _cache, tmpMeta[1], _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)));
585#line 585 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
586 goto tmp2_done;
587 }
588 case 2: {
589
590 /* Pattern matching succeeded */
591#line 910 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
592 tmpMeta[0] = _inCache;
593#line 593 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
594 goto tmp2_done;
595 }
596 }
597 goto tmp2_end;
598 tmp2_end: ;
599 }
600 goto goto_1;
601 tmp2_done:
602 (void)tmp3;
603 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
604 goto tmp2_done2;
605 goto_1:;
606 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
607 if (++tmp3 < 3) {
608 goto tmp2_top;
609 }
610 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
611 tmp2_done2:;
612 }
613 }
614 _outCache = tmpMeta[0];
615 _return: OMC_LABEL_UNUSED__attribute__((unused))
616 return _outCache;
617}
618
619DLLExport
620modelica_metatype omc_InstFunction_getRecordConstructorFunction(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inPath, modelica_metatype *out_outFunc)
621{
622 modelica_metatype _outCache = NULL((void*)0);
623 modelica_metatype _outFunc = NULL((void*)0);
624 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
625 MMC_SO()mmc_check_stackoverflow(threadData);
626 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
627 // _outCache has no default value.
628 // _outFunc has no default value.
629#line 791 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
630
631#line 791 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
632
633#line 633 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
634 { /* matchcontinue expression */
635 {
636 modelica_metatype _path = NULL((void*)0);
637 modelica_metatype _recordCl = NULL((void*)0);
638 modelica_metatype _recordEnv = NULL((void*)0);
639 modelica_metatype _func = NULL((void*)0);
640 modelica_metatype _cache = NULL((void*)0);
641 modelica_metatype _recType = NULL((void*)0);
642 modelica_metatype _fixedTy = NULL((void*)0);
643 modelica_metatype _funcTy = NULL((void*)0);
644 modelica_metatype _vars = NULL((void*)0);
645 modelica_metatype _inputs = NULL((void*)0);
646 modelica_metatype _locals = NULL((void*)0);
647 modelica_metatype _fargs = NULL((void*)0);
648 modelica_metatype _eqCo = NULL((void*)0);
649 modelica_string _name = NULL((void*)0);
650 modelica_string _newName = NULL((void*)0);
651 volatile mmc_switch_type tmp4;
652 int tmp5;
653 // _path has no default value.
654 // _recordCl has no default value.
655 // _recordEnv has no default value.
656 // _func has no default value.
657 // _cache has no default value.
658 // _recType has no default value.
659 // _fixedTy has no default value.
660 // _funcTy has no default value.
661 // _vars has no default value.
662 // _inputs has no default value.
663 // _locals has no default value.
664 // _fargs has no default value.
665 // _eqCo has no default value.
666 // _name has no default value.
667 // _newName has no default value.
668 tmp4 = 0;
669 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) {
670 tmp3_top:
671 threadData->mmc_jumper = &new_mmc_jumper;
672 for (; tmp4 < 3; tmp4++) {
673 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
674 case 0: {
675 /* Pattern matching succeeded */
676#line 806 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
677 _path = omc_AbsynUtil_makeFullyQualified(threadData, _inPath);
678#line 678 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
679
680#line 807 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
681 _func = omc_FCore_getCachedInstFunc(threadData, _inCache, _path);
682#line 682 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
683#line 808 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
684 tmpMeta[0+0] = _inCache;
685#line 808 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
686 tmpMeta[0+1] = _func;
687#line 687 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
688 goto tmp3_done;
689 }
690 case 1: {
691 modelica_boolean tmp6;
692 /* Pattern matching succeeded */
693#line 813 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
694 omc_Lookup_lookupClass(threadData, _inCache, _inEnv, _inPath, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)) ,&_recordCl ,&_recordEnv);
695#line 695 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
696
697#line 814 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
698 /* Pattern-matching assignment */
699#line 814 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
700 tmp6 = omc_SCodeUtil_isRecord(threadData, _recordCl);
701#line 814 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
702 if (1 != tmp6) goto goto_2;
703#line 703 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
704
705#line 816 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
706 _name = omc_SCodeUtil_getElementName(threadData, _recordCl);
707#line 707 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
708
709#line 817 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
710 _newName = omc_FGraph_getInstanceOriginalName(threadData, _recordEnv, _name);
711#line 711 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
712
713#line 818 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
714 _recordCl = omc_SCodeUtil_setClassName(threadData, _newName, _recordCl);
715#line 715 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
716
717#line 820 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
718 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
719#line 820 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
720 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
721#line 820 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
722 _cache = omc_Inst_instClass(threadData, _inCache, _recordEnv, tmpMeta[2], omc_UnitAbsynBuilder_emptyInstStore(threadData), _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)), _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)), _recordCl, tmpMeta[3], 1, _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)), _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)), _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)) ,NULL((void*)0) ,NULL((void*)0) ,NULL((void*)0) ,NULL((void*)0) ,NULL((void*)0) ,&_recType ,NULL((void*)0) ,NULL((void*)0) ,NULL((void*)0));
723#line 723 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
724
725#line 824 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
726 /* Pattern-matching assignment */
727#line 824 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
728 tmpMeta[2] = _recType;
729#line 824 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
730 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],9,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((3 +1)
<< 10) + (((9 +3) & 255) << 2)))
== 0) goto goto_2;
731#line 824 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
732 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
733#line 824 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
734 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto goto_2;
735#line 824 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
736 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
737#line 824 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
738 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
739#line 824 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
740 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
741#line 824 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
742 _path = tmpMeta[4];
743#line 824 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
744 _vars = tmpMeta[5];
745#line 824 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
746 _eqCo = tmpMeta[6];
747#line 747 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
748
749#line 826 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
750 _vars = omc_Types_filterRecordComponents(threadData, _vars, omc_SCodeUtil_elementInfo(threadData, _recordCl));
751#line 751 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
752
753#line 827 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
754 _inputs = omc_List_extractOnTrue(threadData, _vars, boxvar_Types_isModifiableTypesVar((void*)((char*)(&(boxvar_lit_Types_isModifiableTypesVar)
.header) + 3))
,&_locals);
755#line 755 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
756
757#line 828 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
758 _inputs = omc_List_map(threadData, _inputs, boxvar_Types_setVarDefaultInput((void*)((char*)(&(boxvar_lit_Types_setVarDefaultInput).header
) + 3))
);
759#line 759 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
760
761#line 829 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
762 _locals = omc_List_map(threadData, _locals, boxvar_Types_setVarProtected((void*)((char*)(&(boxvar_lit_Types_setVarProtected).header
) + 3))
);
763#line 763 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
764
765#line 830 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
766 _vars = listAppend(_inputs, _locals);
767#line 767 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
768
769#line 832 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
770 _path = omc_AbsynUtil_makeFullyQualified(threadData, _path);
771#line 771 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
772
773#line 833 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
774 tmpMeta[2] = mmc_mk_box2(6, &ClassInf_State_RECORD__desc, _path);
775#line 833 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
776 tmpMeta[3] = mmc_mk_box4(12, &DAE_Type_T__COMPLEX__desc, tmpMeta[2], _vars, _eqCo);
777#line 833 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
778 _fixedTy = tmpMeta[3];
779#line 779 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
780
781#line 834 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
782 _fargs = omc_Types_makeFargsList(threadData, _inputs);
783#line 783 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
784
785#line 835 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
786 tmpMeta[2] = mmc_mk_box5(14, &DAE_Type_T__FUNCTION__desc, _fargs, _fixedTy, _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), _path);
787#line 835 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
788 _funcTy = tmpMeta[2];
789#line 789 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
790
791#line 836 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
792 tmpMeta[2] = mmc_mk_box4(4, &DAE_Function_RECORD__CONSTRUCTOR__desc, _path, _funcTy, _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)));
793#line 836 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
794 _func = tmpMeta[2];
795#line 795 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
796
797#line 838 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
798 tmpMeta[2] = mmc_mk_cons(_func, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
799#line 838 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
800 _cache = omc_InstUtil_addFunctionsToDAE(threadData, _cache, tmpMeta[2], _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)));
801#line 801 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
802
803#line 841 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
804 _path = omc_AbsynUtil_pathSetLastIdent(threadData, _path, omc_AbsynUtil_makeIdentPathFromString(threadData, _name));
805#line 805 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
806
807#line 842 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
808 tmpMeta[2] = mmc_mk_box2(6, &ClassInf_State_RECORD__desc, _path);
809#line 842 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
810 tmpMeta[3] = mmc_mk_box4(12, &DAE_Type_T__COMPLEX__desc, tmpMeta[2], _vars, _eqCo);
811#line 842 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
812 _fixedTy = tmpMeta[3];
813#line 813 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
814
815#line 843 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
816 _fargs = omc_Types_makeFargsList(threadData, _inputs);
817#line 817 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
818
819#line 844 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
820 tmpMeta[2] = mmc_mk_box5(14, &DAE_Type_T__FUNCTION__desc, _fargs, _fixedTy, _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), _path);
821#line 844 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
822 _funcTy = tmpMeta[2];
823#line 823 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
824
825#line 845 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
826 tmpMeta[2] = mmc_mk_box4(4, &DAE_Function_RECORD__CONSTRUCTOR__desc, _path, _funcTy, _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)));
827#line 845 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
828 _func = tmpMeta[2];
829#line 829 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
830
831#line 847 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
832 tmpMeta[2] = mmc_mk_cons(_func, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
833#line 847 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
834 _cache = omc_InstUtil_addFunctionsToDAE(threadData, _cache, tmpMeta[2], _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)));
835#line 835 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
836#line 849 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
837 tmpMeta[0+0] = _cache;
838#line 849 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
839 tmpMeta[0+1] = _func;
840#line 840 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
841 goto tmp3_done;
842 }
843 case 2: {
844 modelica_boolean tmp7;
845 /* Pattern matching succeeded */
846#line 854 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
847 /* Pattern-matching assignment */
848#line 854 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
849 tmp7 = omc_Flags_isSet(threadData, _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)));
850#line 854 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
851 if (1 != tmp7) goto goto_2;
852#line 852 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
853
854#line 855 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
855 tmpMeta[2] = stringAppend(_OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)),omc_AbsynUtil_pathString(threadData, _inPath, _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)), 1, 0));
856#line 855 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
857 omc_Debug_traceln(threadData, tmpMeta[2]);
858#line 858 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
859#line 856 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
860 goto goto_2;
861#line 861 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
862 goto tmp3_done;
863 }
864 }
865 goto tmp3_end;
866 tmp3_end: ;
867 }
868 goto goto_2;
869 tmp3_done:
870 (void)tmp4;
871 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
872 goto tmp3_done2;
873 goto_2:;
874 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
875 if (++tmp4 < 3) {
876 goto tmp3_top;
877 }
878 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
879 tmp3_done2:;
880 }
881 }
882 _outCache = tmpMeta[0+0];
883 _outFunc = tmpMeta[0+1];
884 _return: OMC_LABEL_UNUSED__attribute__((unused))
885 if (out_outFunc) { *out_outFunc = _outFunc; }
886 return _outCache;
887}
888
889PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstFunction_addExtVarToCall(threadData_t *threadData, modelica_metatype _cr, modelica_metatype _dir, modelica_metatype _dims, modelica_metatype _D_24in_fargs)
890{
891 modelica_metatype _fargs = NULL((void*)0);
892 modelica_integer tmp1;
893 modelica_integer tmp2;
894 modelica_integer tmp3;
895 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
896 MMC_SO()mmc_check_stackoverflow(threadData);
897 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
898 _fargs = _D_24in_fargs;
899#line 778 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
900 tmpMeta[1] = mmc_mk_box4(3, &DAE_ExtArg_EXTARG__desc, _cr, _dir, omc_ComponentReference_crefTypeFull(threadData, _cr));
901#line 778 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
902 tmpMeta[0] = mmc_mk_cons(tmpMeta[1], _fargs);
903#line 778 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
904 _fargs = tmpMeta[0];
905#line 905 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
906
907#line 779 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
908 tmp1 = ((modelica_integer) 1); tmp2 = 1; tmp3 = listLength(_dims);
909#line 779 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
910 if(!(((tmp2 > 0) && (tmp1 > tmp3)) || ((tmp2 < 0) && (tmp1 < tmp3))))
911#line 779 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
912 {
913#line 779 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
914 modelica_integer _dim;
915#line 779 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
916 for(_dim = ((modelica_integer) 1); in_range_integer(_dim, tmp1, tmp3); _dim += tmp2)
917#line 779 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
918 {
919#line 780 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
920 tmpMeta[1] = mmc_mk_box2(3, &DAE_Exp_ICONST__desc, mmc_mk_integermmc_mk_icon(_dim));
921#line 780 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
922 tmpMeta[2] = mmc_mk_box4(5, &DAE_ExtArg_EXTARGSIZE__desc, _cr, omc_ComponentReference_crefTypeFull(threadData, _cr), tmpMeta[1]);
923#line 780 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
924 tmpMeta[0] = mmc_mk_cons(tmpMeta[2], _fargs);
925#line 780 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
926 _fargs = tmpMeta[0];
927#line 927 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
928 }
929 }
930 _return: OMC_LABEL_UNUSED__attribute__((unused))
931 return _fargs;
932}
933
934PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstFunction_instExtMakeDefaultExternalCall(threadData_t *threadData, modelica_metatype _elements, modelica_metatype _funcType, modelica_string _lang, modelica_metatype _info, modelica_metatype *out_rettype)
935{
936 modelica_metatype _fargs = NULL((void*)0);
937 modelica_metatype _rettype = NULL((void*)0);
938 modelica_metatype _ty = NULL((void*)0);
939 modelica_boolean _singleOutput;
940 modelica_metatype _cr = NULL((void*)0);
941 modelica_metatype _e = NULL((void*)0);
942 modelica_boolean tmp1_c1 __attribute__((unused)) = 0;
943 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
944 MMC_SO()mmc_check_stackoverflow(threadData);
945 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
946 // _fargs has no default value.
947 // _rettype has no default value.
948 // _ty has no default value.
949 // _singleOutput has no default value.
950 // _cr has no default value.
951 // _e has no default value.
952#line 735 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
953 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
954#line 735 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
955 _fargs = tmpMeta[0];
956#line 956 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
957
958#line 736 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
959 if((stringEqual(_lang, _OMC_LIT31)((((((*(mmc_uint_t*)((void*)((char*)(_lang) - 3)))) >> (
3)) - 8)) == (((((*(mmc_uint_t*)((void*)((char*)(((void*)((char
*)(&(_OMC_LIT_STRUCT31).header) + 3))) - 3)))) >> (
3)) - 8)) && !mmc_stringCompare(_lang,((void*)((char*
)(&(_OMC_LIT_STRUCT31).header) + 3))))
))
960#line 736 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
961 {
962#line 737 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
963 _rettype = _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3));
964#line 964 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
965
966#line 738 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
967 goto _return;
968#line 968 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
969 }
970
971#line 740 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
972
973#line 740 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
974
975#line 975 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
976 { /* match expression */
977 modelica_metatype tmp4_1;
978 tmp4_1 = _funcType;
979 {
980 volatile mmc_switch_type tmp4;
981 int tmp5;
982 tmp4 = 0;
983 for (; tmp4 < 5; tmp4++) {
984 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
985 case 0: {
986 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,11,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((4 +1) <<
10) + (((11 +3) & 255) << 2)))
== 0) goto tmp3_end;
987 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
988 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
989
990 /* Pattern matching succeeded */
991#line 743 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
992 if((!stringEqual(_lang, _OMC_LIT31)((((((*(mmc_uint_t*)((void*)((char*)(_lang) - 3)))) >> (
3)) - 8)) == (((((*(mmc_uint_t*)((void*)((char*)(((void*)((char
*)(&(_OMC_LIT_STRUCT31).header) + 3))) - 3)))) >> (
3)) - 8)) && !mmc_stringCompare(_lang,((void*)((char*
)(&(_OMC_LIT_STRUCT31).header) + 3))))
))
993#line 743 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
994 {
995#line 744 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
996 tmpMeta[2] = mmc_mk_cons(_lang, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
997#line 744 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
998 omc_Error_addSourceMessage(threadData, _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)), tmpMeta[2], _info);
999#line 999 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1000 }
1001#line 746 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1002 tmpMeta[0+0] = _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3));
1003#line 746 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1004 tmp1_c1 = 0;
1005#line 1005 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1006 goto tmp3_done;
1007 }
1008 case 1: {
1009 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,11,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((4 +1) <<
10) + (((11 +3) & 255) << 2)))
== 0) goto tmp3_end;
1010 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
1011 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],14,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((2 +1)
<< 10) + (((14 +3) & 255) << 2)))
== 0) goto tmp3_end;
1012
1013 /* Pattern matching succeeded */
1014#line 748 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1015 tmpMeta[0+0] = _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3));
1016#line 748 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1017 tmp1_c1 = 0;
1018#line 1018 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1019 goto tmp3_done;
1020 }
1021 case 2: {
1022 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,11,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((4 +1) <<
10) + (((11 +3) & 255) << 2)))
== 0) goto tmp3_end;
1023 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
1024 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],7,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((0 +1)
<< 10) + (((7 +3) & 255) << 2)))
== 0) goto tmp3_end;
1025
1026 /* Pattern matching succeeded */
1027#line 750 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1028 tmpMeta[0+0] = _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3));
1029#line 750 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1030 tmp1_c1 = 0;
1031#line 1031 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1032 goto tmp3_done;
1033 }
1034 case 3: {
1035 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,11,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((4 +1) <<
10) + (((11 +3) & 255) << 2)))
== 0) goto tmp3_end;
1036 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
1037
1038 _ty = tmpMeta[2];
1039 /* Pattern matching succeeded */
1040#line 752 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1041 tmpMeta[2] = mmc_mk_box4(3, &DAE_ExtArg_EXTARG__desc, omc_DAEUtil_varCref(threadData, omc_List_find(threadData, _elements, boxvar_DAEUtil_isOutputVar((void*)((char*)(&(boxvar_lit_DAEUtil_isOutputVar).header
) + 3))
)), _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)), _ty);
1042#line 752 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1043 tmpMeta[0+0] = tmpMeta[2];
1044#line 752 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1045 tmp1_c1 = 1;
1046#line 1046 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1047 goto tmp3_done;
1048 }
1049 case 4: {
1050
1051 /* Pattern matching succeeded */
1052#line 755 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1053 tmpMeta[2] = stringAppend(_OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)),omc_Types_unparseType(threadData, _funcType));
1054#line 755 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1055 omc_Error_addInternalError(threadData, tmpMeta[2], _info);
1056#line 1056 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1057#line 756 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1058 goto goto_2;
1059#line 1059 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1060 goto tmp3_done;
1061 }
1062 }
1063 goto tmp3_end;
1064 tmp3_end: ;
1065 }
1066 goto goto_2;
1067 goto_2:;
1068 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1069 goto tmp3_done;
1070 tmp3_done:;
1071 }
1072 }
1073 _rettype = tmpMeta[0+0];
1074 _singleOutput = tmp1_c1;
1075
1076#line 758 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1077 {
1078#line 758 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1079 modelica_metatype _elt;
1080#line 758 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1081 for (tmpMeta[0] = _elements; !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)))))
)
1082#line 758 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1083 {
1084#line 758 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1085 _elt = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1086#line 1086 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1087 { /* match expression */
1088 modelica_metatype tmp8_1;
1089 tmp8_1 = _elt;
1090 {
1091 volatile mmc_switch_type tmp8;
1092 int tmp9;
1093 tmp8 = 0;
1094 for (; tmp8 < 4; tmp8++) {
1095 switch (MMC_SWITCH_CAST(tmp8)(tmp8)) {
1096 case 0: {
1097 if (mmc__uniontype__metarecord__typedef__equal(tmp8_1,0,13)((*(mmc_uint_t*)((void*)((char*)(tmp8_1) - 3)))==(((13 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp7_end;
1098 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp8_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp8_1) - 3))) +
(4)))))
;
1099 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 tmp7_end;
1100
1101 /* Pattern matching succeeded */
1102 /* Check guard condition after assignments */
1103 if (!(!_singleOutput)) goto tmp7_end;
1104#line 761 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1105 tmpMeta[1] = omc_InstFunction_addExtVarToCall(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_elt), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_elt) - 3))) + (
2)))))
), _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_elt), 9))(*(void**)(((void*)((void**)(((void*)((char*)(_elt) - 3))) + (
9)))))
), _fargs);
1106#line 1106 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1107 goto tmp7_done;
1108 }
1109 case 1: {
1110 if (mmc__uniontype__metarecord__typedef__equal(tmp8_1,0,13)((*(mmc_uint_t*)((void*)((char*)(tmp8_1) - 3)))==(((13 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp7_end;
1111 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp8_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp8_1) - 3))) +
(4)))))
;
1112 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((0 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp7_end;
1113
1114 /* Pattern matching succeeded */
1115#line 763 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1116 tmpMeta[1] = omc_InstFunction_addExtVarToCall(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_elt), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_elt) - 3))) + (
2)))))
), _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_elt), 9))(*(void**)(((void*)((void**)(((void*)((char*)(_elt) - 3))) + (
9)))))
), _fargs);
1117#line 1117 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1118 goto tmp7_done;
1119 }
1120 case 2: {
1121 if (mmc__uniontype__metarecord__typedef__equal(tmp8_1,0,13)((*(mmc_uint_t*)((void*)((char*)(tmp8_1) - 3)))==(((13 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp7_end;
1122 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp8_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp8_1) - 3))) +
(4)))))
;
1123 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],2,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((0 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp7_end;
1124
1125 /* Pattern matching succeeded */
1126#line 765 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1127 tmpMeta[1] = omc_InstFunction_addExtVarToCall(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_elt), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_elt) - 3))) + (
2)))))
), _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_elt), 9))(*(void**)(((void*)((void**)(((void*)((char*)(_elt) - 3))) + (
9)))))
), _fargs);
1128#line 1128 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1129 goto tmp7_done;
1130 }
1131 case 3: {
1132
1133 /* Pattern matching succeeded */
1134#line 766 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1135 tmpMeta[1] = _fargs;
1136#line 1136 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1137 goto tmp7_done;
1138 }
1139 }
1140 goto tmp7_end;
1141 tmp7_end: ;
1142 }
1143 goto goto_6;
1144 goto_6:;
1145 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1146 goto tmp7_done;
1147 tmp7_done:;
1148 }
1149 }
1150 _fargs = tmpMeta[1];
1151 }
1152 }
1153
1154#line 769 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1155 _fargs = listReverse(_fargs);
1156#line 1156 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1157 _return: OMC_LABEL_UNUSED__attribute__((unused))
1158 if (out_rettype) { *out_rettype = _rettype; }
1159 return _fargs;
1160}
1161
1162PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstFunction_instExtDecl(threadData_t *threadData, modelica_metatype _D_24in_cache, modelica_metatype _env, modelica_metatype _D_24in_iH, modelica_string _name, modelica_metatype _inScExtDecl, modelica_metatype _inElements, modelica_metatype _funcType, modelica_boolean _impl, modelica_metatype _pre, modelica_metatype _info, modelica_metatype *out_iH, modelica_metatype *out_daeextdecl)
1163{
1164 modelica_metatype _cache = NULL((void*)0);
1165 modelica_metatype _iH = NULL((void*)0);
1166 modelica_metatype _daeextdecl = NULL((void*)0);
1167 modelica_string _fname = NULL((void*)0);
1168 modelica_string _lang = NULL((void*)0);
1169 modelica_metatype _fargs = NULL((void*)0);
1170 modelica_metatype _rettype = NULL((void*)0);
1171 modelica_metatype _ann = NULL((void*)0);
1172 modelica_metatype _extdecl = NULL((void*)0);
1173 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
1174 MMC_SO()mmc_check_stackoverflow(threadData);
1175 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1176 _cache = _D_24in_cache;
1177 _iH = _D_24in_iH;
1178 // _daeextdecl has no default value.
1179 // _fname has no default value.
1180 // _lang has no default value.
1181 // _fargs has no default value.
1182 // _rettype has no default value.
1183 // _ann has no default value.
1184 _extdecl = _inScExtDecl;
1185#line 702 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1186 _ann = omc_InstUtil_instExtGetAnnotation(threadData, _extdecl);
1187#line 1187 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1188
1189#line 703 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1190 _lang = omc_InstUtil_instExtGetLang(threadData, _extdecl);
1191#line 1191 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1192
1193#line 704 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1194 _fname = omc_InstUtil_instExtGetFname(threadData, _extdecl, _name);
1195#line 1195 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1196
1197#line 705 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1198 if((!omc_InstUtil_isExtExplicitCall(threadData, _extdecl)))
1199#line 705 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1200 {
1201#line 706 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1202 _fargs = omc_InstFunction_instExtMakeDefaultExternalCall(threadData, _inElements, _funcType, _lang, _info ,&_rettype);
1203#line 1203 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1204 }
1205 else
1206 {
1207#line 708 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1208 _cache = omc_InstUtil_instExtGetFargs(threadData, _cache, _env, _extdecl, _impl, _pre, _info ,&_fargs);
1209#line 1209 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1210
1211#line 709 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1212 _cache = omc_InstUtil_instExtGetRettype(threadData, _cache, _env, _extdecl, _impl, _pre, _info ,&_rettype);
1213#line 1213 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1214 }
1215
1216#line 711 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1217 tmpMeta[0] = mmc_mk_box6(3, &DAE_ExternalDecl_EXTERNALDECL__desc, _fname, _fargs, _rettype, _lang, _ann);
1218#line 711 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1219 _daeextdecl = tmpMeta[0];
1220#line 1220 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1221 _return: OMC_LABEL_UNUSED__attribute__((unused))
1222 if (out_iH) { *out_iH = _iH; }
1223 if (out_daeextdecl) { *out_daeextdecl = _daeextdecl; }
1224 return _cache;
1225}
1226PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstFunction_instExtDecl(threadData_t *threadData, modelica_metatype _D_24in_cache, modelica_metatype _env, modelica_metatype _D_24in_iH, modelica_metatype _name, modelica_metatype _inScExtDecl, modelica_metatype _inElements, modelica_metatype _funcType, modelica_metatype _impl, modelica_metatype _pre, modelica_metatype _info, modelica_metatype *out_iH, modelica_metatype *out_daeextdecl)
1227{
1228 modelica_integer tmp1;
1229 modelica_metatype _cache = NULL((void*)0);
1230 tmp1 = mmc_unbox_integer(_impl)(((mmc_sint_t) (_impl)) >> 1);
1231 _cache = omc_InstFunction_instExtDecl(threadData, _D_24in_cache, _env, _D_24in_iH, _name, _inScExtDecl, _inElements, _funcType, tmp1, _pre, _info, out_iH, out_daeextdecl);
1232 /* skip box _cache; FCore.Cache */
1233 /* skip box _iH; list<InnerOuter.TopInstance> */
1234 /* skip box _daeextdecl; DAE.ExternalDecl */
1235 return _cache;
1236}
1237
1238PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstFunction_instOverloadedFunctions(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _pre, modelica_metatype _inAbsynPathLst, modelica_metatype _inInfo, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_outFns)
1239{
1240 modelica_metatype _outCache = NULL((void*)0);
1241 modelica_metatype _outEnv = NULL((void*)0);
1242 modelica_metatype _outIH = NULL((void*)0);
1243 modelica_metatype _outFns = NULL((void*)0);
1244 modelica_metatype tmpMeta[8] __attribute__((unused)) = {0};
1245 MMC_SO()mmc_check_stackoverflow(threadData);
1246 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1247 // _outCache has no default value.
1248 // _outEnv has no default value.
1249 // _outIH has no default value.
1250 // _outFns has no default value.
1251#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1252
1253#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1254
1255#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1256
1257#line 635 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1258
1259#line 1259 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1260 { /* matchcontinue expression */
1261 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;volatile modelica_metatype tmp4_3;volatile modelica_metatype tmp4_4;
1262 tmp4_1 = _inCache;
1263 tmp4_2 = _inEnv;
1264 tmp4_3 = _inIH;
1265 tmp4_4 = _inAbsynPathLst;
1266 {
1267 modelica_metatype _env = NULL((void*)0);
1268 modelica_metatype _cenv = NULL((void*)0);
1269 modelica_metatype _c = NULL((void*)0);
1270 modelica_metatype _fn = NULL((void*)0);
1271 modelica_metatype _fns = NULL((void*)0);
1272 modelica_metatype _cache = NULL((void*)0);
1273 modelica_metatype _ih = NULL((void*)0);
1274 modelica_metatype _resfns1 = NULL((void*)0);
1275 modelica_metatype _resfns2 = NULL((void*)0);
1276 modelica_metatype _rest = NULL((void*)0);
1277 volatile mmc_switch_type tmp4;
1278 int tmp5;
1279 // _env has no default value.
1280 // _cenv has no default value.
1281 // _c has no default value.
1282 // _fn has no default value.
1283 // _fns has no default value.
1284 // _cache has no default value.
1285 // _ih has no default value.
1286 // _resfns1 has no default value.
1287 // _resfns2 has no default value.
1288 // _rest has no default value.
1289 tmp4 = 0;
1290 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) {
1291 tmp3_top:
1292 threadData->mmc_jumper = &new_mmc_jumper;
1293 for (; tmp4 < 3; tmp4++) {
1294 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1295 case 0: {
1296 if (!listEmpty(tmp4_4)((*(mmc_uint_t*)((void*)((char*)(tmp4_4) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
1297
1298 _cache = tmp4_1;
1299 _ih = tmp4_3;
1300 tmp4 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
1301#line 649 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1302 tmpMeta[4] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1303#line 649 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1304 tmpMeta[0+0] = _cache;
1305#line 649 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1306 tmpMeta[0+1] = _inEnv;
1307#line 649 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1308 tmpMeta[0+2] = _ih;
1309#line 649 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1310 tmpMeta[0+3] = tmpMeta[4];
1311#line 1311 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1312 goto tmp3_done;
1313 }
1314 case 1: {
1315 modelica_boolean tmp6;
1316 if (listEmpty(tmp4_4)((*(mmc_uint_t*)((void*)((char*)(tmp4_4) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
1317 tmpMeta[4] = MMC_CAR(tmp4_4)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(1)))))
;
1318 tmpMeta[5] = MMC_CDR(tmp4_4)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(2)))))
;
1319
1320 _fn = tmpMeta[4];
1321 _fns = tmpMeta[5];
1322 _cache = tmp4_1;
1323 _env = tmp4_2;
1324 _ih = tmp4_3;
1325 /* Pattern matching succeeded */
1326#line 655 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1327 /* Pattern-matching tuple assignment */
1328#line 655 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1329 tmpMeta[7] = omc_Lookup_lookupClass(threadData, _cache, _env, _fn, mmc_mk_some(_inInfo), &tmpMeta[4], &tmpMeta[6]);
1330#line 655 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1331 _cache = tmpMeta[7];
Value stored to '_cache' is never read
1332#line 655 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1333 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto goto_2;
1334#line 655 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1335 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (6)))))
;
1336#line 655 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1337 _c = tmpMeta[4];
1338#line 655 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1339 _rest = tmpMeta[5];
1340#line 655 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1341 _cenv = tmpMeta[6];
1342#line 1342 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1343
1344#line 657 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1345 /* Pattern-matching assignment */
1346#line 657 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1347 tmp6 = omc_SCodeUtil_isFunctionRestriction(threadData, _rest);
1348#line 657 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1349 if (1 != tmp6) goto goto_2;
1350#line 1350 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1351
1352#line 659 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1353 tmpMeta[4] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1354#line 659 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1355 _cache = omc_InstFunction_implicitFunctionInstantiation2(threadData, _inCache, _cenv, _inIH, _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)), _pre, _c, tmpMeta[4], 0 ,&_env ,&_ih ,&_resfns1);
1356#line 1356 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1357
1358#line 660 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1359 _cache = omc_InstFunction_instOverloadedFunctions(threadData, _cache, _env, _ih, _pre, _fns, _inInfo ,&_env ,&_ih ,&_resfns2);
1360#line 1360 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1361#line 661 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1362 tmpMeta[0+0] = _cache;
1363#line 661 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1364 tmpMeta[0+1] = _env;
1365#line 661 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1366 tmpMeta[0+2] = _ih;
1367#line 661 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1368 tmpMeta[0+3] = listAppend(_resfns1, _resfns2);
1369#line 1369 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1370 goto tmp3_done;
1371 }
1372 case 2: {
1373 modelica_boolean tmp7;
1374 if (listEmpty(tmp4_4)((*(mmc_uint_t*)((void*)((char*)(tmp4_4) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
1375 tmpMeta[4] = MMC_CAR(tmp4_4)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(1)))))
;
1376 tmpMeta[5] = MMC_CDR(tmp4_4)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(2)))))
;
1377
1378 _fn = tmpMeta[4];
1379 /* Pattern matching succeeded */
1380#line 666 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1381 /* Pattern-matching assignment */
1382#line 666 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1383 tmp7 = omc_Flags_isSet(threadData, _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)));
1384#line 666 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1385 if (1 != tmp7) goto goto_2;
1386#line 1386 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1387
1388#line 667 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1389 tmpMeta[4] = stringAppend(_OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)),omc_AbsynUtil_pathString(threadData, _fn, _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)), 1, 0));
1390#line 667 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1391 omc_Debug_traceln(threadData, tmpMeta[4]);
1392#line 1392 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1393#line 668 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1394 goto goto_2;
1395#line 1395 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1396 goto tmp3_done;
1397 }
1398 }
1399 goto tmp3_end;
1400 tmp3_end: ;
1401 }
1402 goto goto_2;
1403 tmp3_done:
1404 (void)tmp4;
1405 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1406 goto tmp3_done2;
1407 goto_2:;
1408 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1409 if (++tmp4 < 3) {
1410 goto tmp3_top;
1411 }
1412 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1413 tmp3_done2:;
1414 }
1415 }
1416 _outCache = tmpMeta[0+0];
1417 _outEnv = tmpMeta[0+1];
1418 _outIH = tmpMeta[0+2];
1419 _outFns = tmpMeta[0+3];
1420 _return: OMC_LABEL_UNUSED__attribute__((unused))
1421 if (out_outEnv) { *out_outEnv = _outEnv; }
1422 if (out_outIH) { *out_outIH = _outIH; }
1423 if (out_outFns) { *out_outFns = _outFns; }
1424 return _outCache;
1425}
1426
1427DLLExport
1428modelica_metatype omc_InstFunction_implicitFunctionTypeInstantiation(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inClass, modelica_metatype *out_outEnv, modelica_metatype *out_outIH)
1429{
1430 modelica_metatype _outCache = NULL((void*)0);
1431 modelica_metatype _outEnv = NULL((void*)0);
1432 modelica_metatype _outIH = NULL((void*)0);
1433 modelica_metatype tmpMeta[13] __attribute__((unused)) = {0};
1434 MMC_SO()mmc_check_stackoverflow(threadData);
1435 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1436 // _outCache has no default value.
1437 // _outEnv has no default value.
1438 // _outIH has no default value.
1439#line 531 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1440
1441#line 531 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1442
1443#line 531 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1444
1445#line 1445 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1446 { /* matchcontinue expression */
1447 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;volatile modelica_metatype tmp4_3;volatile modelica_metatype tmp4_4;
1448 tmp4_1 = _inCache;
1449 tmp4_2 = _inEnv;
1450 tmp4_3 = _inIH;
1451 tmp4_4 = _inClass;
1452 {
1453 modelica_metatype _stripped_class = NULL((void*)0);
1454 modelica_metatype _env_1 = NULL((void*)0);
1455 modelica_metatype _env = NULL((void*)0);
1456 modelica_string _id = NULL((void*)0);
1457 modelica_metatype _p = NULL((void*)0);
1458 modelica_metatype _e = NULL((void*)0);
1459 modelica_metatype _r = NULL((void*)0);
1460 modelica_metatype _extDecl = NULL((void*)0);
1461 modelica_metatype _elts = NULL((void*)0);
1462 modelica_metatype _cache = NULL((void*)0);
1463 modelica_metatype _ih = NULL((void*)0);
1464 modelica_metatype _info = NULL((void*)0);
1465 modelica_metatype _funs = NULL((void*)0);
1466 modelica_metatype _cn = NULL((void*)0);
1467 modelica_metatype _fpath = NULL((void*)0);
1468 modelica_metatype _mod1 = NULL((void*)0);
1469 modelica_metatype _mod2 = NULL((void*)0);
1470 modelica_metatype _cenv = NULL((void*)0);
1471 modelica_metatype _c = NULL((void*)0);
1472 modelica_metatype _ty1 = NULL((void*)0);
1473 modelica_metatype _ty = NULL((void*)0);
1474 modelica_metatype _prefixes = NULL((void*)0);
1475 modelica_metatype _cmt = NULL((void*)0);
1476 volatile mmc_switch_type tmp4;
1477 int tmp5;
1478 // _stripped_class has no default value.
1479 // _env_1 has no default value.
1480 // _env has no default value.
1481 // _id has no default value.
1482 // _p has no default value.
1483 // _e has no default value.
1484 // _r has no default value.
1485 // _extDecl has no default value.
1486 // _elts has no default value.
1487 // _cache has no default value.
1488 // _ih has no default value.
1489 // _info has no default value.
1490 // _funs has no default value.
1491 // _cn has no default value.
1492 // _fpath has no default value.
1493 // _mod1 has no default value.
1494 // _mod2 has no default value.
1495 // _cenv has no default value.
1496 // _c has no default value.
1497 // _ty1 has no default value.
1498 // _ty has no default value.
1499 // _prefixes has no default value.
1500 // _cmt has no default value.
1501 tmp4 = 0;
1502 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) {
1503 tmp3_top:
1504 threadData->mmc_jumper = &new_mmc_jumper;
1505 for (; tmp4 < 5; tmp4++) {
1506 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1507 case 0: {
1508 if (mmc__uniontype__metarecord__typedef__equal(tmp4_4,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_4) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
1509 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_4), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(6)))))
;
1510 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],9,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((1 +1)
<< 10) + (((9 +3) & 255) << 2)))
== 0) goto tmp3_end;
1511 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
1512 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
1513 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_4), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(7)))))
;
1514 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],0,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((8 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
1515
1516 _cache = tmp4_1;
1517 _env = tmp4_2;
1518 _ih = tmp4_3;
1519 /* Pattern matching succeeded */
1520#line 564 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1521 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1522#line 564 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1523 _cache = omc_InstFunction_implicitFunctionInstantiation2(threadData, _cache, _env, _ih, _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)), _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)), _inClass, tmpMeta[3], 1 ,&_env_1 ,&_ih ,&_funs);
1524#line 1524 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1525
1526#line 566 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1527 _cache = omc_FCore_addDaeExtFunction(threadData, _cache, _funs);
1528#line 1528 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1529#line 567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1530 tmpMeta[0+0] = _cache;
1531#line 567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1532 tmpMeta[0+1] = _env_1;
1533#line 567 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1534 tmpMeta[0+2] = _ih;
1535#line 1535 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1536 goto tmp3_done;
1537 }
1538 case 1: {
1539 if (mmc__uniontype__metarecord__typedef__equal(tmp4_4,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_4) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
1540 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_4), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(2)))))
;
1541 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_4), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(3)))))
;
1542 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_4), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(4)))))
;
1543 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_4), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(5)))))
;
1544 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_4), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(6)))))
;
1545 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_4), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(7)))))
;
1546 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[8],0,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3)))==(((8 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
1547 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (2)))))
;
1548 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (9)))))
;
1549 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_4), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(8)))))
;
1550 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_4), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(9)))))
;
1551
1552 _id = tmpMeta[3];
1553 _prefixes = tmpMeta[4];
1554 _e = tmpMeta[5];
1555 _p = tmpMeta[6];
1556 _r = tmpMeta[7];
1557 _elts = tmpMeta[9];
1558 _extDecl = tmpMeta[10];
1559 _cmt = tmpMeta[11];
1560 _info = tmpMeta[12];
1561 _cache = tmp4_1;
1562 _env = tmp4_2;
1563 _ih = tmp4_3;
1564 tmp4 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
1565#line 577 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1566 _elts = omc_List_select(threadData, _elts, boxvar_InstFunction_isElementImportantForFunction((void*)((char*)(&(boxvar_lit_InstFunction_isElementImportantForFunction
).header) + 3))
);
1567#line 1567 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1568
1569#line 578 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1570 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1571#line 578 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1572 tmpMeta[4] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1573#line 578 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1574 tmpMeta[5] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1575#line 578 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1576 tmpMeta[6] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1577#line 578 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1578 tmpMeta[7] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1579#line 578 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1580 tmpMeta[8] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1581#line 578 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1582 tmpMeta[9] = mmc_mk_box9(3, &SCode_ClassDef_PARTS__desc, _elts, tmpMeta[3], tmpMeta[4], tmpMeta[5], tmpMeta[6], tmpMeta[7], tmpMeta[8], _extDecl);
1583#line 578 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1584 tmpMeta[10] = mmc_mk_box9(5, &SCode_Element_CLASS__desc, _id, _prefixes, _e, _p, _r, tmpMeta[9], _cmt, _info);
1585#line 578 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1586 _stripped_class = tmpMeta[10];
1587#line 1587 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1588
1589#line 579 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1590 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1591#line 579 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1592 _cache = omc_InstFunction_implicitFunctionInstantiation2(threadData, _cache, _env, _ih, _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)), _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)), _stripped_class, tmpMeta[3], 1 ,&_env_1 ,&_ih ,NULL((void*)0));
1593#line 1593 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1594#line 582 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1595 tmpMeta[0+0] = _cache;
1596#line 582 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1597 tmpMeta[0+1] = _env_1;
1598#line 582 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1599 tmpMeta[0+2] = _ih;
1600#line 1600 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1601 goto tmp3_done;
1602 }
1603 case 2: {
1604 if (mmc__uniontype__metarecord__typedef__equal(tmp4_4,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_4) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
1605 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_4), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(2)))))
;
1606 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_4), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(7)))))
;
1607 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],2,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((3 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
1608 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
1609 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],0,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((2 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
1610 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
1611 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (3)))))
;
1612 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_4), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(9)))))
;
1613
1614 _id = tmpMeta[3];
1615 _cn = tmpMeta[6];
1616 _mod1 = tmpMeta[7];
1617 _info = tmpMeta[8];
1618 _cache = tmp4_1;
1619 _env = tmp4_2;
1620 _ih = tmp4_3;
1621 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
1622#line 590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1623 /* Pattern-matching tuple assignment */
1624#line 590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1625 tmpMeta[5] = omc_Lookup_lookupClass(threadData, _cache, _env, _cn, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), &tmpMeta[3], &tmpMeta[4]);
1626#line 590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1627 _cache = tmpMeta[5];
1628#line 590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1629 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],2,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((8 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto goto_2;
1630#line 590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1631 _c = tmpMeta[3];
1632#line 590 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1633 _cenv = tmpMeta[4];
1634#line 1634 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1635
1636#line 591 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1637 tmpMeta[3] = mmc_mk_box2(5, &Mod_ModScope_DERIVED__desc, _cn);
1638#line 591 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1639 _cache = omc_Mod_elabMod(threadData, _cache, _env, _ih, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)), _mod1, 0, tmpMeta[3], _info ,&_mod2);
1640#line 1640 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1641
1642#line 593 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1643 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1644#line 593 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1645 _cache = omc_Inst_instClass(threadData, _cache, _cenv, _ih, omc_UnitAbsynBuilder_emptyInstStore(threadData), _mod2, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)), _c, tmpMeta[3], 1, _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)), _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)), _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)) ,NULL((void*)0) ,&_ih ,NULL((void*)0) ,NULL((void*)0) ,NULL((void*)0) ,&_ty ,NULL((void*)0) ,NULL((void*)0) ,NULL((void*)0));
1646#line 1646 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1647
1648#line 597 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1649 _env_1 = _env;
1650#line 1650 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1651
1652#line 598 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1653 _cache = omc_Inst_makeFullyQualifiedIdent(threadData, _cache, _env_1, _id, _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) ,&_fpath);
1654#line 1654 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1655
1656#line 599 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1657 _ty1 = omc_InstUtil_setFullyQualifiedTypename(threadData, _ty, _fpath);
1658#line 1658 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1659
1660#line 600 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1661 _env_1 = omc_FGraph_mkTypeNode(threadData, _env_1, _id, _ty1);
1662#line 1662 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1663#line 602 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1664 tmpMeta[0+0] = _cache;
1665#line 602 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1666 tmpMeta[0+1] = _env_1;
1667#line 602 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1668 tmpMeta[0+2] = _ih;
1669#line 1669 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1670 goto tmp3_done;
1671 }
1672 case 3: {
1673 if (mmc__uniontype__metarecord__typedef__equal(tmp4_4,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_4) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
1674 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_4), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(7)))))
;
1675 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],4,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((1 +1)
<< 10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
1676
1677 _cache = tmp4_1;
1678 _env = tmp4_2;
1679 _ih = tmp4_3;
1680 /* Pattern matching succeeded */
1681#line 608 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1682 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1683#line 608 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1684 _cache = omc_InstFunction_implicitFunctionInstantiation2(threadData, _cache, _env, _ih, _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)), _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)), _inClass, tmpMeta[3], 1 ,&_env ,&_ih ,NULL((void*)0));
1685#line 1685 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1686#line 609 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1687 tmpMeta[0+0] = _cache;
1688#line 609 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1689 tmpMeta[0+1] = _env;
1690#line 609 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1691 tmpMeta[0+2] = _ih;
1692#line 1692 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1693 goto tmp3_done;
1694 }
1695 case 4: {
1696 modelica_boolean tmp6;
1697 if (mmc__uniontype__metarecord__typedef__equal(tmp4_4,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_4) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
1698 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_4), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_4) - 3))) +
(2)))))
;
1699
1700 _id = tmpMeta[3];
1701 /* Pattern matching succeeded */
1702#line 614 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1703 /* Pattern-matching assignment */
1704#line 614 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1705 tmp6 = omc_Flags_isSet(threadData, _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)));
1706#line 614 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1707 if (1 != tmp6) goto goto_2;
1708#line 1708 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1709
1710#line 615 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1711 tmpMeta[3] = stringAppend(_OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)),_id);
1712#line 615 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1713 tmpMeta[4] = stringAppend(tmpMeta[3],_OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)));
1714#line 615 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1715 tmpMeta[5] = stringAppend(tmpMeta[4],omc_FGraph_getGraphNameStr(threadData, _inEnv));
1716#line 615 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1717 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)));
1718#line 615 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1719 tmpMeta[7] = stringAppend(tmpMeta[6],omc_SCodeDump_unparseElementStr(threadData, _inClass, _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))));
1720#line 615 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1721 omc_Debug_traceln(threadData, tmpMeta[7]);
1722#line 1722 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1723#line 616 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1724 goto goto_2;
1725#line 1725 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1726 goto tmp3_done;
1727 }
1728 }
1729 goto tmp3_end;
1730 tmp3_end: ;
1731 }
1732 goto goto_2;
1733 tmp3_done:
1734 (void)tmp4;
1735 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1736 goto tmp3_done2;
1737 goto_2:;
1738 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1739 if (++tmp4 < 5) {
1740 goto tmp3_top;
1741 }
1742 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1743 tmp3_done2:;
1744 }
1745 }
1746 _outCache = tmpMeta[0+0];
1747 _outEnv = tmpMeta[0+1];
1748 _outIH = tmpMeta[0+2];
1749 _return: OMC_LABEL_UNUSED__attribute__((unused))
1750 if (out_outEnv) { *out_outEnv = _outEnv; }
1751 if (out_outIH) { *out_outIH = _outIH; }
1752 return _outCache;
1753}
1754
1755PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstFunction_instantiateDerivativeFuncs2(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inPaths, modelica_metatype _path, modelica_metatype _info)
1756{
1757 modelica_metatype _outCache = NULL((void*)0);
1758 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1759 MMC_SO()mmc_check_stackoverflow(threadData);
1760 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1761 // _outCache has no default value.
1762#line 1762 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1763 { /* matchcontinue expression */
1764 volatile modelica_metatype tmp3_1;volatile modelica_metatype tmp3_2;volatile modelica_metatype tmp3_3;volatile modelica_metatype tmp3_4;
1765 tmp3_1 = _inCache;
1766 tmp3_2 = _inEnv;
1767 tmp3_3 = _inIH;
1768 tmp3_4 = _inPaths;
1769 {
1770 modelica_metatype _funcs = NULL((void*)0);
1771 modelica_metatype _p = NULL((void*)0);
1772 modelica_metatype _cache = NULL((void*)0);
1773 modelica_metatype _cenv = NULL((void*)0);
1774 modelica_metatype _env = NULL((void*)0);
1775 modelica_metatype _ih = NULL((void*)0);
1776 modelica_metatype _cdef = NULL((void*)0);
1777 modelica_metatype _paths = NULL((void*)0);
1778 modelica_string _fun = NULL((void*)0);
1779 modelica_string _scope = NULL((void*)0);
1780 volatile mmc_switch_type tmp3;
1781 int tmp4;
1782 // _funcs has no default value.
1783 // _p has no default value.
1784 // _cache has no default value.
1785 // _cenv has no default value.
1786 // _env has no default value.
1787 // _ih has no default value.
1788 // _cdef has no default value.
1789 // _paths has no default value.
1790 // _fun has no default value.
1791 // _scope has no default value.
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 < 3; tmp3++) {
1797 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1798 case 0: {
1799 if (!listEmpty(tmp3_4)((*(mmc_uint_t*)((void*)((char*)(tmp3_4) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1800
1801 _cache = tmp3_1;
1802 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
1803#line 479 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1804 tmpMeta[0] = _cache;
1805#line 1805 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1806 goto tmp2_done;
1807 }
1808 case 1: {
1809 if (listEmpty(tmp3_4)((*(mmc_uint_t*)((void*)((char*)(tmp3_4) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1810 tmpMeta[1] = MMC_CAR(tmp3_4)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_4) - 3))) +
(1)))))
;
1811 tmpMeta[2] = MMC_CDR(tmp3_4)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_4) - 3))) +
(2)))))
;
1812
1813 _p = tmpMeta[1];
1814 _paths = tmpMeta[2];
1815 _cache = tmp3_1;
1816 _env = tmp3_2;
1817 _ih = tmp3_3;
1818 /* Pattern matching succeeded */
1819#line 483 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1820 _cache = omc_Lookup_lookupClass(threadData, _cache, _env, _p, mmc_mk_some(_info) ,&_cdef ,&_cenv);
1821#line 1821 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1822
1823#line 484 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1824 _cache = omc_Inst_makeFullyQualified(threadData, _cache, _cenv, _p ,&_p);
1825#line 1825 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1826
1827#line 1827 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1828 { /* matchcontinue expression */
1829 {
1830 volatile mmc_switch_type tmp7;
1831 int tmp8;
1832 tmp7 = 0;
1833 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) {
1834 tmp6_top:
1835 threadData->mmc_jumper = &new_mmc_jumper;
1836 for (; tmp7 < 2; tmp7++) {
1837 switch (MMC_SWITCH_CAST(tmp7)(tmp7)) {
1838 case 0: {
1839 /* Pattern matching succeeded */
1840#line 488 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1841 omc_FCore_checkCachedInstFuncGuard(threadData, _cache, _p);
1842#line 1842 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1843#line 1843 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1844 goto tmp6_done;
1845 }
1846 case 1: {
1847 /* Pattern matching succeeded */
1848#line 492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1849 _cache = omc_FCore_addCachedInstFuncGuard(threadData, _cache, _p);
1850#line 1850 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1851
1852#line 493 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1853 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1854#line 493 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1855 _cache = omc_InstFunction_implicitFunctionInstantiation2(threadData, _cache, _cenv, _ih, _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)), _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)), _cdef, tmpMeta[1], 0 ,NULL((void*)0) ,&_ih ,&_funcs);
1856#line 1856 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1857
1858#line 496 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1859 _funcs = omc_InstUtil_addNameToDerivativeMapping(threadData, _funcs, _path);
1860#line 1860 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1861
1862#line 497 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1863 _cache = omc_FCore_addDaeFunction(threadData, _cache, _funcs);
1864#line 1864 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1865#line 1865 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1866 goto tmp6_done;
1867 }
1868 }
1869 goto tmp6_end;
1870 tmp6_end: ;
1871 }
1872 goto goto_5;
1873 tmp6_done:
1874 (void)tmp7;
1875 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1876 goto tmp6_done2;
1877 goto_5:;
1878 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1879 if (++tmp7 < 2) {
1880 goto tmp6_top;
1881 }
1882 goto goto_1;
1883 tmp6_done2:;
1884 }
1885 }
1886 ;
1887#line 500 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1888 tmpMeta[0] = omc_InstFunction_instantiateDerivativeFuncs2(threadData, _cache, _env, _ih, _paths, _path, _info);
1889#line 1889 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1890 goto tmp2_done;
1891 }
1892 case 2: {
1893
1894 /* Pattern matching succeeded */
1895#line 505 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1896 /* Pattern-matching assignment */
1897#line 505 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1898 tmpMeta[1] = _inPaths;
1899#line 505 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1900 if (listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto goto_1;
1901#line 505 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1902 tmpMeta[2] = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
1903#line 505 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1904 tmpMeta[3] = MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
1905#line 505 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1906 _p = tmpMeta[2];
1907#line 1907 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1908
1909#line 506 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1910 _fun = omc_AbsynUtil_pathString(threadData, _p, _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)), 1, 0);
1911#line 1911 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1912
1913#line 507 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1914 _scope = omc_FGraph_printGraphPathStr(threadData, _inEnv);
1915#line 1915 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1916
1917#line 508 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1918 tmpMeta[1] = mmc_mk_cons(_fun, mmc_mk_cons(_scope, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))));
1919#line 508 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1920 omc_Error_addSourceMessage(threadData, _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)), tmpMeta[1], _info);
1921#line 1921 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1922#line 509 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1923 goto goto_1;
1924#line 1924 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1925 goto tmp2_done;
1926 }
1927 }
1928 goto tmp2_end;
1929 tmp2_end: ;
1930 }
1931 goto goto_1;
1932 tmp2_done:
1933 (void)tmp3;
1934 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1935 goto tmp2_done2;
1936 goto_1:;
1937 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1938 if (++tmp3 < 3) {
1939 goto tmp2_top;
1940 }
1941 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1942 tmp2_done2:;
1943 }
1944 }
1945 _outCache = tmpMeta[0];
1946 _return: OMC_LABEL_UNUSED__attribute__((unused))
1947 return _outCache;
1948}
1949
1950PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstFunction_instantiateDerivativeFuncs(threadData_t *threadData, modelica_metatype _cache, modelica_metatype _env, modelica_metatype _ih, modelica_metatype _funcs, modelica_metatype _path, modelica_metatype _info)
1951{
1952 modelica_metatype _outCache = NULL((void*)0);
1953 MMC_SO()mmc_check_stackoverflow(threadData);
1954 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1955 // _outCache has no default value.
1956#line 455 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1957 _outCache = omc_InstFunction_instantiateDerivativeFuncs2(threadData, _cache, _env, _ih, omc_DAEUtil_getDerivativePaths(threadData, _funcs), _path, _info);
1958#line 1958 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1959 _return: OMC_LABEL_UNUSED__attribute__((unused))
1960 return _outCache;
1961}
1962
1963PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstFunction_implicitFunctionInstantiation2(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inClass, modelica_metatype _inInstDims, modelica_boolean _instFunctionTypeOnly, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_funcs)
1964{
1965 modelica_metatype _outCache = NULL((void*)0);
1966 modelica_metatype _outEnv = NULL((void*)0);
1967 modelica_metatype _outIH = NULL((void*)0);
1968 modelica_metatype _funcs = NULL((void*)0);
1969 modelica_metatype tmpMeta[16] __attribute__((unused)) = {0};
1970 MMC_SO()mmc_check_stackoverflow(threadData);
1971 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1972 // _outCache has no default value.
1973 // _outEnv has no default value.
1974 // _outIH has no default value.
1975 // _funcs has no default value.
1976#line 312 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1977
1978#line 312 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1979
1980#line 312 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1981
1982#line 312 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
1983
1984#line 1984 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
1985 { /* matchcontinue expression */
1986 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;volatile modelica_metatype tmp4_3;volatile modelica_metatype tmp4_4;volatile modelica_metatype tmp4_5;volatile modelica_metatype tmp4_6;volatile modelica_metatype tmp4_7;
1987 tmp4_1 = _inCache;
1988 tmp4_2 = _inEnv;
1989 tmp4_3 = _inIH;
1990 tmp4_4 = _inMod;
1991 tmp4_5 = _inPrefix;
1992 tmp4_6 = _inClass;
1993 tmp4_7 = _inInstDims;
1994 {
1995 modelica_metatype _ty = NULL((void*)0);
1996 modelica_metatype _ty1 = NULL((void*)0);
1997 modelica_metatype _env_1 = NULL((void*)0);
1998 modelica_metatype _env = NULL((void*)0);
1999 modelica_metatype _tempenv = NULL((void*)0);
2000 modelica_metatype _cenv = NULL((void*)0);
2001 modelica_metatype _fpath = NULL((void*)0);
2002 modelica_metatype _mod = NULL((void*)0);
2003 modelica_metatype _pre = NULL((void*)0);
2004 modelica_metatype _c = NULL((void*)0);
2005 modelica_string _n = NULL((void*)0);
2006 modelica_metatype _inst_dims = NULL((void*)0);
2007 modelica_metatype _vis = NULL((void*)0);
2008 modelica_metatype _partialPrefix = NULL((void*)0);
2009 modelica_metatype _encapsulatedPrefix = NULL((void*)0);
2010 modelica_metatype _scExtdecl = NULL((void*)0);
2011 modelica_metatype _extdecl = NULL((void*)0);
2012 modelica_metatype _restr = NULL((void*)0);
2013 modelica_metatype _parts = NULL((void*)0);
2014 modelica_metatype _funcnames = NULL((void*)0);
2015 modelica_metatype _cache = NULL((void*)0);
2016 modelica_metatype _ih = NULL((void*)0);
2017 modelica_metatype _source = NULL((void*)0);
2018 modelica_metatype _daeElts = NULL((void*)0);
2019 modelica_metatype _resfns = NULL((void*)0);
2020 modelica_metatype _derFuncs = NULL((void*)0);
2021 modelica_metatype _info = NULL((void*)0);
2022 modelica_metatype _inlineType = NULL((void*)0);
2023 modelica_metatype _cd = NULL((void*)0);
2024 modelica_boolean _partialPrefixBool;
2025 modelica_boolean _isImpure;
2026 modelica_metatype _cmt = NULL((void*)0);
2027 modelica_metatype _funcRest = NULL((void*)0);
2028 modelica_metatype _cs = NULL((void*)0);
2029 modelica_metatype _visibility = NULL((void*)0);
2030 volatile mmc_switch_type tmp4;
2031 int tmp5;
2032 // _ty has no default value.
2033 // _ty1 has no default value.
2034 // _env_1 has no default value.
2035 // _env has no default value.
2036 // _tempenv has no default value.
2037 // _cenv has no default value.
2038 // _fpath has no default value.
2039 // _mod has no default value.
2040 // _pre has no default value.
2041 // _c has no default value.
2042 // _n has no default value.
2043 // _inst_dims has no default value.
2044 // _vis has no default value.
2045 // _partialPrefix has no default value.
2046 // _encapsulatedPrefix has no default value.
2047 // _scExtdecl has no default value.
2048 // _extdecl has no default value.
2049 // _restr has no default value.
2050 // _parts has no default value.
2051 // _funcnames has no default value.
2052 // _cache has no default value.
2053 // _ih has no default value.
2054 // _source has no default value.
2055 // _daeElts has no default value.
2056 // _resfns has no default value.
2057 // _derFuncs has no default value.
2058 // _info has no default value.
2059 // _inlineType has no default value.
2060 // _cd has no default value.
2061 // _partialPrefixBool has no default value.
2062 // _isImpure has no default value.
2063 // _cmt has no default value.
2064 // _funcRest has no default value.
2065 // _cs has no default value.
2066 // _visibility has no default value.
2067 tmp4 = 0;
2068 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) {
2069 tmp3_top:
2070 threadData->mmc_jumper = &new_mmc_jumper;
2071 for (; tmp4 < 4; tmp4++) {
2072 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2073 case 0: {
2074 modelica_boolean tmp6;
2075 if (mmc__uniontype__metarecord__typedef__equal(tmp4_6,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_6) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
2076 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(2)))))
;
2077 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(3)))))
;
2078 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
2079 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(5)))))
;
2080 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(6)))))
;
2081 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[8],9,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3)))==(((1 +1)
<< 10) + (((9 +3) & 255) << 2)))
== 0) goto tmp3_end;
2082 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (2)))))
;
2083 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(7)))))
;
2084 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(9)))))
;
2085
2086 _n = tmpMeta[4];
2087 _visibility = tmpMeta[6];
2088 _partialPrefix = tmpMeta[7];
2089 _funcRest = tmpMeta[9];
2090 _cd = tmpMeta[10];
2091 _info = tmpMeta[11];
2092 _cache = tmp4_1;
2093 _env = tmp4_2;
2094 _ih = tmp4_3;
2095 _mod = tmp4_4;
2096 _pre = tmp4_5;
2097 _inst_dims = tmp4_7;
2098 /* Pattern matching succeeded */
2099#line 350 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2100 /* Pattern-matching assignment */
2101#line 350 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2102 tmp6 = omc_SCodeUtil_isExternalFunctionRestriction(threadData, _funcRest);
2103#line 350 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2104 if (0 != tmp6) goto goto_2;
2105#line 2105 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2106
2107#line 351 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2108 _isImpure = omc_SCodeUtil_isImpureFunctionRestriction(threadData, _funcRest);
2109#line 2109 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2110
2111#line 354 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2112 _c = (omc_Config_acceptMetaModelicaGrammar(threadData)?_inClass:omc_SCodeUtil_setClassPartialPrefix(threadData, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)), _inClass));
2113#line 2113 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2114
2115#line 355 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2116 _cs = (_instFunctionTypeOnly?_OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)):_OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)));
2117#line 2117 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2118
2119#line 357 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2120 /* Pattern-matching tuple assignment */
2121#line 357 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2122 tmpMeta[9] = omc_Inst_instClass(threadData, _cache, _env, _ih, omc_UnitAbsynBuilder_emptyInstStore(threadData), _mod, _pre, _c, _inst_dims, 1, _cs, _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)), _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)), &tmpMeta[4], &tmpMeta[5], NULL((void*)0), &tmpMeta[6], NULL((void*)0), &tmpMeta[8], NULL((void*)0), NULL((void*)0), NULL((void*)0));
2123#line 357 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2124 _cache = tmpMeta[9];
2125#line 357 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2126 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[6]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (2)))))
;
2127#line 357 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2128 _cenv = tmpMeta[4];
2129#line 357 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2130 _ih = tmpMeta[5];
2131#line 357 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2132 _daeElts = tmpMeta[7];
2133#line 357 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2134 _ty = tmpMeta[8];
2135#line 2135 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2136
2137#line 360 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2138 omc_List_map2__0(threadData, _daeElts, boxvar_InstUtil_checkFunctionElement((void*)((char*)(&(boxvar_lit_InstUtil_checkFunctionElement
).header) + 3))
, mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), _info);
2139#line 2139 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2140
2141#line 362 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2142 _env_1 = _env;
2143#line 2143 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2144
2145#line 363 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2146 _cache = omc_Inst_makeFullyQualifiedIdent(threadData, _cache, _env_1, _n, _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) ,&_fpath);
2147#line 2147 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2148
2149#line 365 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2150 _cmt = omc_InstUtil_extractComment(threadData, _daeElts);
2151#line 2151 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2152
2153#line 366 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2154 _derFuncs = omc_InstUtil_getDeriveAnnotation(threadData, _cd, _cmt, _fpath, _cache, _cenv, _ih, _pre, _info);
2155#line 2155 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2156
2157#line 368 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2158 _cache = omc_InstFunction_instantiateDerivativeFuncs(threadData, _cache, _env, _ih, _derFuncs, _fpath, _info);
2159#line 2159 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2160
2161#line 370 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2162 _ty1 = omc_InstUtil_setFullyQualifiedTypename(threadData, _ty, _fpath);
2163#line 2163 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2164
2165#line 371 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2166 omc_InstFunction_checkExtObjOutput(threadData, _ty1, _info);
2167#line 2167 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2168
2169#line 372 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2170 _env_1 = omc_FGraph_mkTypeNode(threadData, _env_1, _n, _ty1);
2171#line 2171 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2172
2173#line 375 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2174 _source = omc_ElementSource_createElementSource(threadData, _info, omc_FGraph_getScopePath(threadData, _env), _pre, _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)));
2175#line 2175 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2176
2177#line 376 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2178 _inlineType = omc_InstUtil_commentIsInlineFunc(threadData, _cmt);
2179#line 2179 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2180
2181#line 377 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2182 _partialPrefixBool = omc_SCodeUtil_partialBool(threadData, _partialPrefix);
2183#line 2183 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2184
2185#line 379 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2186 tmpMeta[4] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2187#line 379 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2188 tmpMeta[5] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2189#line 379 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2190 tmpMeta[6] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2191#line 379 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2192 _daeElts = omc_InstUtil_optimizeFunctionCheckForLocals(threadData, _fpath, _daeElts, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), tmpMeta[4], tmpMeta[5], tmpMeta[6]);
2193#line 2193 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2194
2195#line 380 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2196 omc_InstUtil_checkFunctionDefUse(threadData, _daeElts, _info);
2197#line 2197 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2198#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2199 {
2200#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2201 modelica_metatype _D_24tmpVar3;
2202#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2203 modelica_metatype* tmp7;
2204#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2205 modelica_metatype _D_24tmpVar2;
2206#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2207 int tmp8;
2208#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2209 modelica_metatype _e_loopVar = 0;
2210#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2211 modelica_metatype _e;
2212#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2213 _e_loopVar = _daeElts;
2214#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2215 tmpMeta[7] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2216#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2217 _D_24tmpVar3 = tmpMeta[7]; /* defaultValue */
2218#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2219 tmp7 = &_D_24tmpVar3;
2220#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2221 while(1) {
2222#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2223 tmp8 = 1;
2224#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2225 while (!listEmpty(_e_loopVar)((*(mmc_uint_t*)((void*)((char*)(_e_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
2226#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2227 _e = MMC_CAR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (1)))))
;
2228#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2229 _e_loopVar = MMC_CDR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (2)))))
;
2230#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2231 if ((!omc_DAEUtil_isComment(threadData, _e))) {
2232#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2233 tmp8--;
2234#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2235 break;
2236#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2237 }
2238#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2239 }
2240#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2241 if (tmp8 == 0) {
2242#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2243 _D_24tmpVar2 = _e;
2244#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2245 *tmp7 = mmc_mk_cons(_D_24tmpVar2,0);
2246#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2247 tmp7 = &MMC_CDR(*tmp7)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp7) - 3))) +
(2)))))
;
2248#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2249 } else if (tmp8 == 1) {
2250#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2251 break;
2252#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2253 } else {
2254#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2255 goto goto_2;
2256#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2257 }
2258#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2259 }
2260#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2261 *tmp7 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
2262#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2263 tmpMeta[6] = _D_24tmpVar3;
2264#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2265 }
2266#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2267 tmpMeta[8] = mmc_mk_box2(3, &DAE_FunctionDefinition_FUNCTION__DEF__desc, tmpMeta[6]);
2268#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2269 tmpMeta[5] = mmc_mk_cons(tmpMeta[8], _derFuncs);
2270#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2271 tmpMeta[9] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2272#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2273 tmpMeta[10] = mmc_mk_box11(3, &DAE_Function_FUNCTION__desc, _fpath, tmpMeta[5], _ty1, _visibility, mmc_mk_boolean(_partialPrefixBool)((_partialPrefixBool) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(
0)))
, mmc_mk_boolean(_isImpure)((_isImpure) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), _inlineType, tmpMeta[9], _source, mmc_mk_some(_cmt));
2274#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2275 tmpMeta[4] = mmc_mk_cons(tmpMeta[10], MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
2276#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2277 tmpMeta[0+0] = _cache;
2278#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2279 tmpMeta[0+1] = _env_1;
2280#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2281 tmpMeta[0+2] = _ih;
2282#line 385 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2283 tmpMeta[0+3] = tmpMeta[4];
2284#line 2284 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2285 goto tmp3_done;
2286 }
2287 case 1: {
2288 modelica_integer tmp9;
2289 if (mmc__uniontype__metarecord__typedef__equal(tmp4_6,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_6) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
2290 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(2)))))
;
2291 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(3)))))
;
2292 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
2293 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(4)))))
;
2294 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(5)))))
;
2295 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(6)))))
;
2296 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[9],9,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[9]) - 3)))==(((1 +1)
<< 10) + (((9 +3) & 255) << 2)))
== 0) goto tmp3_end;
2297 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[9]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[9]) - 3
))) + (2)))))
;
2298 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[10],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[10]) - 3)))==(((1 +1
) << 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2299 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[10]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[10]) - 3
))) + (2)))))
;
2300 tmp9 = mmc_unbox_integer(tmpMeta[11])(((mmc_sint_t) (tmpMeta[11])) >> 1);
2301 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(7)))))
;
2302 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[12],0,8)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[12]) - 3)))==(((8 +1
) << 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
2303 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[12]), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[12]) - 3
))) + (9)))))
;
2304 if (optionNone(tmpMeta[13])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[13]) - 3))))
& (7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta
[13]) - 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char
*)(tmpMeta[13]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
2305 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[13]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[13]) - 3
))) + (1)))))
;
2306 tmpMeta[15] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 9))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(9)))))
;
2307
2308 _c = tmp4_6;
2309 _n = tmpMeta[4];
2310 _visibility = tmpMeta[6];
2311 _encapsulatedPrefix = tmpMeta[7];
2312 _partialPrefix = tmpMeta[8];
2313 _restr = tmpMeta[9];
2314 _isImpure = tmp9 /* pattern as ty=Boolean */;
2315 _cd = tmpMeta[12];
2316 _parts = tmpMeta[12];
2317 _scExtdecl = tmpMeta[14];
2318 _info = tmpMeta[15];
2319 _cache = tmp4_1;
2320 _env = tmp4_2;
2321 _ih = tmp4_3;
2322 _mod = tmp4_4;
2323 _pre = tmp4_5;
2324 _inst_dims = tmp4_7;
2325 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
2326#line 392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2327 /* Pattern-matching tuple assignment */
2328#line 392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2329 tmpMeta[9] = omc_Inst_instClass(threadData, _cache, _env, _ih, omc_UnitAbsynBuilder_emptyInstStore(threadData), _mod, _pre, _c, _inst_dims, 1, _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)), _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)), _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)), &tmpMeta[4], &tmpMeta[5], NULL((void*)0), &tmpMeta[6], NULL((void*)0), &tmpMeta[8], NULL((void*)0), NULL((void*)0), NULL((void*)0));
2330#line 392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2331 _cache = tmpMeta[9];
2332#line 392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2333 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[6]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (2)))))
;
2334#line 392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2335 _cenv = tmpMeta[4];
2336#line 392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2337 _ih = tmpMeta[5];
2338#line 392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2339 _daeElts = tmpMeta[7];
2340#line 392 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2341 _ty = tmpMeta[8];
2342#line 2342 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2343
2344#line 395 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2345 omc_List_map2__0(threadData, _daeElts, boxvar_InstUtil_checkFunctionElement((void*)((char*)(&(boxvar_lit_InstUtil_checkFunctionElement
).header) + 3))
, mmc_mk_boolean(1)((1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), _info);
2346#line 2346 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2347
2348#line 398 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2349 _cache = omc_Inst_makeFullyQualifiedIdent(threadData, _cache, _env, _n, _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) ,&_fpath);
2350#line 2350 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2351
2352#line 400 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2353 _cmt = omc_InstUtil_extractComment(threadData, _daeElts);
2354#line 2354 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2355
2356#line 401 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2357 _derFuncs = omc_InstUtil_getDeriveAnnotation(threadData, _cd, _cmt, _fpath, _cache, _env, _ih, _pre, _info);
2358#line 2358 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2359
2360#line 403 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2361 _cache = omc_InstFunction_instantiateDerivativeFuncs(threadData, _cache, _env, _ih, _derFuncs, _fpath, _info);
2362#line 2362 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2363
2364#line 405 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2365 _ty1 = omc_InstUtil_setFullyQualifiedTypename(threadData, _ty, _fpath);
2366#line 2366 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2367
2368#line 406 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2369 omc_InstFunction_checkExtObjOutput(threadData, _ty1, _info);
2370#line 2370 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2371
2372#line 408 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2373 _env_1 = omc_FGraph_mkTypeNode(threadData, _cenv, _n, _ty1);
2374#line 2374 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2375
2376#line 409 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2377 _vis = _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3));
2378#line 2378 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2379
2380#line 410 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2381 tmpMeta[4] = mmc_mk_box3(11, &ClassInf_State_FUNCTION__desc, _fpath, mmc_mk_boolean(_isImpure)((_isImpure) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
2382#line 410 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2383 _cache = omc_Inst_instClassdef(threadData, _cache, _env_1, _ih, _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)), _mod, _pre, tmpMeta[4], _n, _parts, _restr, _vis, _partialPrefix, _encapsulatedPrefix, _inst_dims, 1, _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)), _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)), _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _cmt, _info ,&_tempenv ,&_ih ,NULL((void*)0) ,NULL((void*)0) ,NULL((void*)0) ,NULL((void*)0) ,NULL((void*)0) ,NULL((void*)0) ,NULL((void*)0) ,NULL((void*)0) ,NULL((void*)0));
2384#line 2384 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2385
2386#line 415 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2387 _cache = omc_InstFunction_instExtDecl(threadData, _cache, _tempenv, _ih, _n, _scExtdecl, _daeElts, _ty1, 1, _pre, _info ,&_ih ,&_extdecl);
2388#line 2388 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2389
2390#line 418 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2391 _source = omc_ElementSource_createElementSource(threadData, _info, omc_FGraph_getScopePath(threadData, _env), _pre, _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)));
2392#line 2392 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2393
2394#line 419 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2395 _partialPrefixBool = omc_SCodeUtil_partialBool(threadData, _partialPrefix);
2396#line 2396 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2397
2398#line 420 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2399 omc_InstUtil_checkExternalFunction(threadData, _daeElts, _extdecl, omc_AbsynUtil_pathString(threadData, _fpath, _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)), 1, 0));
2400#line 2400 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2401#line 421 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2402 tmpMeta[6] = mmc_mk_box3(4, &DAE_FunctionDefinition_FUNCTION__EXT__desc, _daeElts, _extdecl);
2403#line 421 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2404 tmpMeta[5] = mmc_mk_cons(tmpMeta[6], _derFuncs);
2405#line 421 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2406 tmpMeta[7] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2407#line 421 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2408 tmpMeta[8] = mmc_mk_box11(3, &DAE_Function_FUNCTION__desc, _fpath, tmpMeta[5], _ty1, _visibility, mmc_mk_boolean(_partialPrefixBool)((_partialPrefixBool) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(
0)))
, mmc_mk_boolean(_isImpure)((_isImpure) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)), tmpMeta[7], _source, mmc_mk_some(_cmt));
2409#line 421 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2410 tmpMeta[4] = mmc_mk_cons(tmpMeta[8], MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
2411#line 421 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2412 tmpMeta[0+0] = _cache;
2413#line 421 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2414 tmpMeta[0+1] = _env_1;
2415#line 421 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2416 tmpMeta[0+2] = _ih;
2417#line 421 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2418 tmpMeta[0+3] = tmpMeta[4];
2419#line 2419 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2420 goto tmp3_done;
2421 }
2422 case 2: {
2423 modelica_integer tmp10;
2424 if (mmc__uniontype__metarecord__typedef__equal(tmp4_6,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_6) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
2425 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(2)))))
;
2426 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(3)))))
;
2427 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
2428 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(6)))))
;
2429 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[7],9,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3)))==(((1 +1)
<< 10) + (((9 +3) & 255) << 2)))
== 0) goto tmp3_end;
2430 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (2)))))
;
2431 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[8],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
2432 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (2)))))
;
2433 tmp10 = mmc_unbox_integer(tmpMeta[9])(((mmc_sint_t) (tmpMeta[9])) >> 1);
2434 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(7)))))
;
2435 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[10],4,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[10]) - 3)))==(((1 +1
) << 10) + (((4 +3) & 255) << 2)))
== 0) goto tmp3_end;
2436 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[10]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[10]) - 3
))) + (2)))))
;
2437 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(8)))))
;
2438
2439 _n = tmpMeta[4];
2440 _visibility = tmpMeta[6];
2441 _isImpure = tmp10 /* pattern as ty=Boolean */;
2442 _funcnames = tmpMeta[11];
2443 _cmt = tmpMeta[12];
2444 _cache = tmp4_1;
2445 _env = tmp4_2;
2446 _ih = tmp4_3;
2447 _pre = tmp4_5;
2448 /* Pattern matching succeeded */
2449#line 428 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2450 _cache = omc_InstFunction_instOverloadedFunctions(threadData, _cache, _env, _ih, _pre, _funcnames, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inClass), 9))(*(void**)(((void*)((void**)(((void*)((char*)(_inClass) - 3))
) + (9)))))
) ,&_env ,&_ih ,&_resfns);
2451#line 2451 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2452
2453#line 429 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2454 _cache = omc_Inst_makeFullyQualifiedIdent(threadData, _cache, _env, _n, _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) ,&_fpath);
2455#line 2455 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2456
2457#line 430 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2458 tmpMeta[5] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2459#line 430 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2460 tmpMeta[6] = mmc_mk_box11(3, &DAE_Function_FUNCTION__desc, _fpath, _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)), _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)), _visibility, mmc_mk_boolean(1)((1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), mmc_mk_boolean(_isImpure)((_isImpure) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)), tmpMeta[5], _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)), mmc_mk_some(_cmt));
2461#line 430 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2462 tmpMeta[4] = mmc_mk_cons(tmpMeta[6], _resfns);
2463#line 430 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2464 _resfns = tmpMeta[4];
2465#line 2465 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2466#line 431 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2467 tmpMeta[0+0] = _cache;
2468#line 431 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2469 tmpMeta[0+1] = _env;
2470#line 431 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2471 tmpMeta[0+2] = _ih;
2472#line 431 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2473 tmpMeta[0+3] = _resfns;
2474#line 2474 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2475 goto tmp3_done;
2476 }
2477 case 3: {
2478 modelica_boolean tmp11;
2479 if (mmc__uniontype__metarecord__typedef__equal(tmp4_6,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_6) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
2480 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(2)))))
;
2481
2482 _n = tmpMeta[4];
2483 _env = tmp4_2;
2484 /* Pattern matching succeeded */
2485#line 437 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2486 /* Pattern-matching assignment */
2487#line 437 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2488 tmp11 = omc_Flags_isSet(threadData, _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)));
2489#line 437 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2490 if (1 != tmp11) goto goto_2;
2491#line 2491 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2492
2493#line 438 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2494 tmpMeta[4] = stringAppend(_OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)),_n);
2495#line 438 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2496 omc_Debug_traceln(threadData, tmpMeta[4]);
2497#line 2497 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2498
2499#line 439 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2500 tmpMeta[4] = stringAppend(_OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)),omc_FGraph_printGraphPathStr(threadData, _env));
2501#line 439 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2502 omc_Debug_traceln(threadData, tmpMeta[4]);
2503#line 2503 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2504#line 440 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2505 goto goto_2;
2506#line 2506 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2507 goto tmp3_done;
2508 }
2509 }
2510 goto tmp3_end;
2511 tmp3_end: ;
2512 }
2513 goto goto_2;
2514 tmp3_done:
2515 (void)tmp4;
2516 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2517 goto tmp3_done2;
2518 goto_2:;
2519 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2520 if (++tmp4 < 4) {
2521 goto tmp3_top;
2522 }
2523 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2524 tmp3_done2:;
2525 }
2526 }
2527 _outCache = tmpMeta[0+0];
2528 _outEnv = tmpMeta[0+1];
2529 _outIH = tmpMeta[0+2];
2530 _funcs = tmpMeta[0+3];
2531 _return: OMC_LABEL_UNUSED__attribute__((unused))
2532 if (out_outEnv) { *out_outEnv = _outEnv; }
2533 if (out_outIH) { *out_outIH = _outIH; }
2534 if (out_funcs) { *out_funcs = _funcs; }
2535 return _outCache;
2536}
2537PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_InstFunction_implicitFunctionInstantiation2(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inClass, modelica_metatype _inInstDims, modelica_metatype _instFunctionTypeOnly, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_funcs)
2538{
2539 modelica_integer tmp1;
2540 modelica_metatype _outCache = NULL((void*)0);
2541 tmp1 = mmc_unbox_integer(_instFunctionTypeOnly)(((mmc_sint_t) (_instFunctionTypeOnly)) >> 1);
2542 _outCache = omc_InstFunction_implicitFunctionInstantiation2(threadData, _inCache, _inEnv, _inIH, _inMod, _inPrefix, _inClass, _inInstDims, tmp1, out_outEnv, out_outIH, out_funcs);
2543 /* skip box _outCache; FCore.Cache */
2544 /* skip box _outEnv; FCore.Graph */
2545 /* skip box _outIH; list<InnerOuter.TopInstance> */
2546 /* skip box _funcs; list<DAE.Function> */
2547 return _outCache;
2548}
2549
2550DLLExport
2551modelica_metatype omc_InstFunction_implicitFunctionInstantiation(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _inMod, modelica_metatype _inPrefix, modelica_metatype _inClass, modelica_metatype _inInstDims, modelica_metatype *out_outEnv, modelica_metatype *out_outIH)
2552{
2553 modelica_metatype _outCache = NULL((void*)0);
2554 modelica_metatype _outEnv = NULL((void*)0);
2555 modelica_metatype _outIH = NULL((void*)0);
2556 modelica_metatype tmpMeta[12] __attribute__((unused)) = {0};
2557 MMC_SO()mmc_check_stackoverflow(threadData);
2558 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2559 // _outCache has no default value.
2560 // _outEnv has no default value.
2561 // _outIH has no default value.
2562#line 251 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2563
2564#line 251 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2565
2566#line 251 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2567
2568#line 2568 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2569 { /* match expression */
2570 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;modelica_metatype tmp4_4;modelica_metatype tmp4_5;modelica_metatype tmp4_6;modelica_metatype tmp4_7;
2571 tmp4_1 = _inCache;
2572 tmp4_2 = _inEnv;
2573 tmp4_3 = _inIH;
2574 tmp4_4 = _inMod;
2575 tmp4_5 = _inPrefix;
2576 tmp4_6 = _inClass;
2577 tmp4_7 = _inInstDims;
2578 {
2579 modelica_metatype _ty1 = NULL((void*)0);
2580 modelica_metatype _env = NULL((void*)0);
2581 modelica_metatype _cenv = NULL((void*)0);
2582 modelica_metatype _fpath = NULL((void*)0);
2583 modelica_metatype _mod = NULL((void*)0);
2584 modelica_metatype _pre = NULL((void*)0);
2585 modelica_metatype _c = NULL((void*)0);
2586 modelica_string _n = NULL((void*)0);
2587 modelica_metatype _inst_dims = NULL((void*)0);
2588 modelica_metatype _cache = NULL((void*)0);
2589 modelica_metatype _ih = NULL((void*)0);
2590 modelica_metatype _source = NULL((void*)0);
2591 modelica_metatype _funs = NULL((void*)0);
2592 modelica_metatype _fun = NULL((void*)0);
2593 modelica_metatype _r = NULL((void*)0);
2594 modelica_metatype _pPrefix = NULL((void*)0);
2595 volatile mmc_switch_type tmp4;
2596 int tmp5;
2597 // _ty1 has no default value.
2598 // _env has no default value.
2599 // _cenv has no default value.
2600 // _fpath has no default value.
2601 // _mod has no default value.
2602 // _pre has no default value.
2603 // _c has no default value.
2604 // _n has no default value.
2605 // _inst_dims has no default value.
2606 // _cache has no default value.
2607 // _ih has no default value.
2608 // _source has no default value.
2609 // _funs has no default value.
2610 // _fun has no default value.
2611 // _r has no default value.
2612 // _pPrefix has no default value.
2613 tmp4 = 0;
2614 for (; tmp4 < 3; tmp4++) {
2615 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2616 case 0: {
2617 if (mmc__uniontype__metarecord__typedef__equal(tmp4_6,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_6) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
2618 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(2)))))
;
2619 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(5)))))
;
2620 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(6)))))
;
2621 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
2622
2623 _c = tmp4_6;
2624 _n = tmpMeta[3];
2625 _pPrefix = tmpMeta[4];
2626 _cache = tmp4_1;
2627 _env = tmp4_2;
2628 _ih = tmp4_3;
2629 _mod = tmp4_4;
2630 _pre = tmp4_5;
2631 _inst_dims = tmp4_7;
2632 /* Pattern matching succeeded */
2633#line 271 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2634 tmpMeta[3] = mmc_mk_box2(4, &Absyn_Path_IDENT__desc, _n);
2635#line 271 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2636 _cache = omc_Lookup_lookupRecordConstructorClass(threadData, _cache, _env, tmpMeta[3] ,&_c ,&_cenv);
2637#line 2637 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2638
2639#line 272 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2640 /* Pattern-matching tuple assignment */
2641#line 272 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2642 tmpMeta[11] = omc_InstFunction_implicitFunctionInstantiation2(threadData, _cache, _cenv, _ih, _mod, _pre, _c, _inst_dims, 1, &tmpMeta[3], &tmpMeta[4], &tmpMeta[5]);
2643#line 272 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2644 _cache = tmpMeta[11];
2645#line 272 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2646 if (listEmpty(tmpMeta[5])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto goto_2;
2647#line 272 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2648 tmpMeta[6] = MMC_CAR(tmpMeta[5])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (1)))))
;
2649#line 272 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2650 tmpMeta[7] = MMC_CDR(tmpMeta[5])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
2651#line 272 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2652 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[6],0,10)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3)))==(((10 +1
) << 10) + (((0 +3) & 255) << 2)))
== 0) goto goto_2;
2653#line 272 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2654 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[6]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (2)))))
;
2655#line 272 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2656 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[6]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (4)))))
;
2657#line 272 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2658 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[6]), 10))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (10)))))
;
2659#line 272 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2660 if (!listEmpty(tmpMeta[7])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto goto_2;
2661#line 272 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2662 _env = tmpMeta[3];
2663#line 272 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2664 _ih = tmpMeta[4];
2665#line 272 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2666 _fpath = tmpMeta[8];
2667#line 272 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2668 _ty1 = tmpMeta[9];
2669#line 272 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2670 _source = tmpMeta[10];
2671#line 2671 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2672
2673#line 274 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2674 tmpMeta[3] = mmc_mk_box4(4, &DAE_Function_RECORD__CONSTRUCTOR__desc, _fpath, _ty1, _source);
2675#line 274 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2676 _fun = tmpMeta[3];
2677#line 2677 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2678
2679#line 275 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2680 tmpMeta[3] = mmc_mk_cons(_fun, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
2681#line 275 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2682 _cache = omc_InstUtil_addFunctionsToDAE(threadData, _cache, tmpMeta[3], _pPrefix);
2683#line 2683 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2684#line 276 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2685 tmpMeta[0+0] = _cache;
2686#line 276 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2687 tmpMeta[0+1] = _env;
2688#line 276 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2689 tmpMeta[0+2] = _ih;
2690#line 2690 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2691 goto tmp3_done;
2692 }
2693 case 1: {
2694 modelica_boolean tmp6;
2695 if (mmc__uniontype__metarecord__typedef__equal(tmp4_6,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_6) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
2696 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(5)))))
;
2697 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(6)))))
;
2698
2699 _c = tmp4_6;
2700 _pPrefix = tmpMeta[3];
2701 _r = tmpMeta[4];
2702 _cache = tmp4_1;
2703 _env = tmp4_2;
2704 _ih = tmp4_3;
2705 _mod = tmp4_4;
2706 _pre = tmp4_5;
2707 _inst_dims = tmp4_7;
2708 /* Pattern matching succeeded */
2709#line 280 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2710 tmp6 = 0; /* begin failure */
2711#line 280 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2712 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) {
2713#line 280 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2714 /* Pattern-matching assignment */
2715#line 280 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2716 tmpMeta[3] = _r;
2717#line 280 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2718 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto goto_7;
2719#line 280 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2720
2721#line 2721 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2722 tmp6 = 1;
2723 goto goto_7;
2724 goto_7:;
2725 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
2726 if (tmp6) {goto goto_2;} /* end failure */
2727
2728#line 281 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2729 _cache = omc_InstFunction_implicitFunctionInstantiation2(threadData, _cache, _env, _ih, _mod, _pre, _c, _inst_dims, 0 ,&_env ,&_ih ,&_funs);
2730#line 2730 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2731
2732#line 282 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2733 _cache = omc_InstUtil_addFunctionsToDAE(threadData, _cache, _funs, _pPrefix);
2734#line 2734 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2735#line 283 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2736 tmpMeta[0+0] = _cache;
2737#line 283 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2738 tmpMeta[0+1] = _env;
2739#line 283 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2740 tmpMeta[0+2] = _ih;
2741#line 2741 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2742 goto tmp3_done;
2743 }
2744 case 2: {
2745 modelica_boolean tmp8;
2746 if (mmc__uniontype__metarecord__typedef__equal(tmp4_6,2,8)((*(mmc_uint_t*)((void*)((char*)(tmp4_6) - 3)))==(((8 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
2747 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_6), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_6) - 3))) +
(2)))))
;
2748
2749 _n = tmpMeta[3];
2750 _env = tmp4_2;
2751 /* Pattern matching succeeded */
2752#line 288 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2753 /* Pattern-matching assignment */
2754#line 288 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2755 tmp8 = omc_Flags_isSet(threadData, _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)));
2756#line 288 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2757 if (1 != tmp8) goto goto_2;
2758#line 2758 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2759
2760#line 289 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2761 tmpMeta[3] = stringAppend(_OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)),_n);
2762#line 289 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2763 omc_Debug_traceln(threadData, tmpMeta[3]);
2764#line 2764 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2765
2766#line 290 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2767 tmpMeta[3] = stringAppend(_OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)),omc_FGraph_printGraphPathStr(threadData, _env));
2768#line 290 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2769 omc_Debug_traceln(threadData, tmpMeta[3]);
2770#line 2770 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2771#line 291 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2772 goto goto_2;
2773#line 2773 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2774 goto tmp3_done;
2775 }
2776 }
2777 goto tmp3_end;
2778 tmp3_end: ;
2779 }
2780 goto goto_2;
2781 goto_2:;
2782 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2783 goto tmp3_done;
2784 tmp3_done:;
2785 }
2786 }
2787 _outCache = tmpMeta[0+0];
2788 _outEnv = tmpMeta[0+1];
2789 _outIH = tmpMeta[0+2];
2790 _return: OMC_LABEL_UNUSED__attribute__((unused))
2791 if (out_outEnv) { *out_outEnv = _outEnv; }
2792 if (out_outIH) { *out_outIH = _outIH; }
2793 return _outCache;
2794}
2795
2796PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstFunction_instantiateExternalObjectConstructor(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _env, modelica_metatype _inIH, modelica_metatype _cl, modelica_metatype *out_outIH, modelica_metatype *out_outType)
2797{
2798 modelica_metatype _outCache = NULL((void*)0);
2799 modelica_metatype _outIH = NULL((void*)0);
2800 modelica_metatype _outType = NULL((void*)0);
2801 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2802 MMC_SO()mmc_check_stackoverflow(threadData);
2803 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2804 // _outCache has no default value.
2805 // _outIH has no default value.
2806 // _outType has no default value.
2807#line 215 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2808
2809#line 215 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2810
2811#line 215 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2812
2813#line 2813 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2814 { /* matchcontinue expression */
2815 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
2816 tmp4_1 = _inCache;
2817 tmp4_2 = _inIH;
2818 {
2819 modelica_metatype _cache = NULL((void*)0);
2820 modelica_metatype _env1 = NULL((void*)0);
2821 modelica_metatype _ty = NULL((void*)0);
2822 modelica_metatype _ih = NULL((void*)0);
2823 volatile mmc_switch_type tmp4;
2824 int tmp5;
2825 // _cache has no default value.
2826 // _env1 has no default value.
2827 // _ty has no default value.
2828 // _ih has no default value.
2829 tmp4 = 0;
2830 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) {
2831 tmp3_top:
2832 threadData->mmc_jumper = &new_mmc_jumper;
2833 for (; tmp4 < 2; tmp4++) {
2834 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2835 case 0: {
2836
2837 _cache = tmp4_1;
2838 _ih = tmp4_2;
2839 /* Pattern matching succeeded */
2840#line 224 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2841 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2842#line 224 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2843 _cache = omc_InstFunction_implicitFunctionInstantiation(threadData, _cache, _env, _ih, _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)), _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)), _cl, tmpMeta[3] ,&_env1 ,&_ih);
2844#line 2844 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2845
2846#line 225 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2847 _cache = omc_Lookup_lookupType(threadData, _cache, _env1, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)) ,&_ty ,NULL((void*)0));
2848#line 2848 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2849#line 226 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2850 tmpMeta[0+0] = _cache;
2851#line 226 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2852 tmpMeta[0+1] = _ih;
2853#line 226 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2854 tmpMeta[0+2] = _ty;
2855#line 2855 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2856 goto tmp3_done;
2857 }
2858 case 1: {
2859 modelica_boolean tmp6;
2860
2861 /* Pattern matching succeeded */
2862#line 230 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2863 /* Pattern-matching assignment */
2864#line 230 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2865 tmp6 = omc_Flags_isSet(threadData, _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)));
2866#line 230 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2867 if (1 != tmp6) goto goto_2;
2868#line 2868 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2869
2870#line 231 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2871 omc_Debug_trace(threadData, _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)));
2872#line 2872 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2873#line 232 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2874 goto goto_2;
2875#line 2875 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2876 goto tmp3_done;
2877 }
2878 }
2879 goto tmp3_end;
2880 tmp3_end: ;
2881 }
2882 goto goto_2;
2883 tmp3_done:
2884 (void)tmp4;
2885 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2886 goto tmp3_done2;
2887 goto_2:;
2888 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2889 if (++tmp4 < 2) {
2890 goto tmp3_top;
2891 }
2892 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2893 tmp3_done2:;
2894 }
2895 }
2896 _outCache = tmpMeta[0+0];
2897 _outIH = tmpMeta[0+1];
2898 _outType = tmpMeta[0+2];
2899 _return: OMC_LABEL_UNUSED__attribute__((unused))
2900 if (out_outIH) { *out_outIH = _outIH; }
2901 if (out_outType) { *out_outType = _outType; }
2902 return _outCache;
2903}
2904
2905PROTECTED_FUNCTION_STATIC modelica_metatype omc_InstFunction_instantiateExternalObjectDestructor(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _env, modelica_metatype _inIH, modelica_metatype _cl, modelica_metatype *out_outIH)
2906{
2907 modelica_metatype _outCache = NULL((void*)0);
2908 modelica_metatype _outIH = NULL((void*)0);
2909 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
2910 MMC_SO()mmc_check_stackoverflow(threadData);
2911 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2912 // _outCache has no default value.
2913 // _outIH has no default value.
2914#line 186 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2915
2916#line 186 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2917
2918#line 2918 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2919 { /* matchcontinue expression */
2920 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
2921 tmp4_1 = _inCache;
2922 tmp4_2 = _inIH;
2923 {
2924 modelica_metatype _cache = NULL((void*)0);
2925 modelica_metatype _ih = NULL((void*)0);
2926 volatile mmc_switch_type tmp4;
2927 int tmp5;
2928 // _cache has no default value.
2929 // _ih has no default value.
2930 tmp4 = 0;
2931 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) {
2932 tmp3_top:
2933 threadData->mmc_jumper = &new_mmc_jumper;
2934 for (; tmp4 < 2; tmp4++) {
2935 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2936 case 0: {
2937
2938 _cache = tmp4_1;
2939 _ih = tmp4_2;
2940 /* Pattern matching succeeded */
2941#line 194 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2942 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2943#line 194 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2944 _cache = omc_InstFunction_implicitFunctionInstantiation(threadData, _cache, _env, _ih, _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)), _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)), _cl, tmpMeta[2] ,NULL((void*)0) ,&_ih);
2945#line 2945 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2946#line 195 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2947 tmpMeta[0+0] = _cache;
2948#line 195 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2949 tmpMeta[0+1] = _ih;
2950#line 2950 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2951 goto tmp3_done;
2952 }
2953 case 1: {
2954 modelica_boolean tmp6;
2955
2956 /* Pattern matching succeeded */
2957#line 199 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2958 /* Pattern-matching assignment */
2959#line 199 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2960 tmp6 = omc_Flags_isSet(threadData, _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)));
2961#line 199 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2962 if (1 != tmp6) goto goto_2;
2963#line 2963 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2964
2965#line 200 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2966 omc_Debug_trace(threadData, _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)));
2967#line 2967 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2968#line 201 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
2969 goto goto_2;
2970#line 2970 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
2971 goto tmp3_done;
2972 }
2973 }
2974 goto tmp3_end;
2975 tmp3_end: ;
2976 }
2977 goto goto_2;
2978 tmp3_done:
2979 (void)tmp4;
2980 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2981 goto tmp3_done2;
2982 goto_2:;
2983 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2984 if (++tmp4 < 2) {
2985 goto tmp3_top;
2986 }
2987 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2988 tmp3_done2:;
2989 }
2990 }
2991 _outCache = tmpMeta[0+0];
2992 _outIH = tmpMeta[0+1];
2993 _return: OMC_LABEL_UNUSED__attribute__((unused))
2994 if (out_outIH) { *out_outIH = _outIH; }
2995 return _outCache;
2996}
2997
2998PROTECTED_FUNCTION_STATIC void omc_InstFunction_checkExternalObjectMod(threadData_t *threadData, modelica_metatype _inMod, modelica_string _inClassName)
2999{
3000 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
3001 MMC_SO()mmc_check_stackoverflow(threadData);
3002 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3003#line 3003 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3004 { /* match expression */
3005 modelica_metatype tmp3_1;
3006 tmp3_1 = _inMod;
3007 {
3008 modelica_string _id = NULL((void*)0);
3009 modelica_metatype _mod = NULL((void*)0);
3010 modelica_metatype _info = NULL((void*)0);
3011 volatile mmc_switch_type tmp3;
3012 int tmp4;
3013 // _id has no default value.
3014 // _mod has no default value.
3015 // _info has no default value.
3016 tmp3 = 0;
3017 for (; tmp3 < 3; tmp3++) {
3018 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3019 case 0: {
3020 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;
3021 /* Pattern matching succeeded */
3022#line 3022 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3023 goto tmp2_done;
3024 }
3025 case 1: {
3026 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;
3027 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
3028 if (!listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3029
3030 /* Pattern matching succeeded */
3031#line 3031 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3032 goto tmp2_done;
3033 }
3034 case 2: {
3035 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;
3036 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
3037 if (listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3038 tmpMeta[1] = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
3039 tmpMeta[2] = MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3040 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3041 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
3042
3043 _id = tmpMeta[3];
3044 _mod = tmpMeta[4];
3045 /* Pattern matching succeeded */
3046#line 168 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3047 _info = omc_Mod_getModInfo(threadData, _mod);
3048#line 3048 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3049
3050#line 169 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3051 tmpMeta[0] = mmc_mk_cons(_id, mmc_mk_cons(_inClassName, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))));
3052#line 169 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3053 omc_Error_addSourceMessage(threadData, _OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)), tmpMeta[0], _info);
3054#line 3054 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3055#line 171 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3056 goto goto_1;
3057#line 3057 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3058 goto tmp2_done;
3059 }
3060 }
3061 goto tmp2_end;
3062 tmp2_end: ;
3063 }
3064 goto goto_1;
3065 goto_1:;
3066 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3067 goto tmp2_done;
3068 tmp2_done:;
3069 }
3070 }
3071 ;
3072 _return: OMC_LABEL_UNUSED__attribute__((unused))
3073 return;
3074}
3075
3076DLLExport
3077modelica_metatype omc_InstFunction_instantiateExternalObject(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _els, modelica_metatype _inMod, modelica_boolean _impl, modelica_metatype _comment, modelica_metatype _info, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_dae, modelica_metatype *out_ciState)
3078{
3079 modelica_metatype _outCache = NULL((void*)0);
3080 modelica_metatype _outEnv = NULL((void*)0);
3081 modelica_metatype _outIH = NULL((void*)0);
3082 modelica_metatype _dae = NULL((void*)0);
3083 modelica_metatype _ciState = NULL((void*)0);
3084 modelica_metatype tmpMeta[9] __attribute__((unused)) = {0};
3085 MMC_SO()mmc_check_stackoverflow(threadData);
3086 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3087 // _outCache has no default value.
3088 // _outEnv has no default value.
3089 // _outIH has no default value.
3090 // _dae has no default value.
3091 // _ciState has no default value.
3092#line 96 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3093
3094#line 96 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3095
3096#line 96 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3097
3098#line 96 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3099
3100#line 96 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3101
3102#line 3102 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3103 { /* matchcontinue expression */
3104 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;volatile modelica_metatype tmp4_3;volatile modelica_boolean tmp4_4;
3105 tmp4_1 = _inCache;
3106 tmp4_2 = _inEnv;
3107 tmp4_3 = _inIH;
3108 tmp4_4 = _impl;
3109 {
3110 modelica_metatype _destr = NULL((void*)0);
3111 modelica_metatype _constr = NULL((void*)0);
3112 modelica_metatype _cache = NULL((void*)0);
3113 modelica_string _className = NULL((void*)0);
3114 modelica_metatype _classNameFQ = NULL((void*)0);
3115 modelica_metatype _functp = NULL((void*)0);
3116 modelica_metatype _env = NULL((void*)0);
3117 modelica_metatype _r = NULL((void*)0);
3118 modelica_metatype _ih = NULL((void*)0);
3119 modelica_metatype _source = NULL((void*)0);
3120 volatile mmc_switch_type tmp4;
3121 int tmp5;
3122 // _destr has no default value.
3123 // _constr has no default value.
3124 // _cache has no default value.
3125 // _className has no default value.
3126 // _classNameFQ has no default value.
3127 // _functp has no default value.
3128 // _env has no default value.
3129 // _r has no default value.
3130 // _ih has no default value.
3131 // _source has no default value.
3132 tmp4 = 0;
3133 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) {
3134 tmp3_top:
3135 threadData->mmc_jumper = &new_mmc_jumper;
3136 for (; tmp4 < 3; tmp4++) {
3137 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
3138 case 0: {
3139 if (0 != tmp4_4) goto tmp3_end;
3140
3141 _cache = tmp4_1;
3142 _env = tmp4_2;
3143 _ih = tmp4_3;
3144 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
3145#line 111 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3146 _className = omc_FNode_refName(threadData, omc_FGraph_lastScopeRef(threadData, _env));
3147#line 3147 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3148
3149#line 112 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3150 omc_InstFunction_checkExternalObjectMod(threadData, _inMod, _className);
3151#line 3151 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3152
3153#line 113 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3154 _destr = omc_SCodeUtil_getExternalObjectDestructor(threadData, _els);
3155#line 3155 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3156
3157#line 114 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3158 _constr = omc_SCodeUtil_getExternalObjectConstructor(threadData, _els);
3159#line 3159 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3160
3161#line 115 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3162 _env = omc_FGraph_mkClassNode(threadData, _env, _destr, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)), _inMod, 0);
3163#line 3163 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3164
3165#line 116 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3166 _env = omc_FGraph_mkClassNode(threadData, _env, _constr, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)), _inMod, 0);
3167#line 3167 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3168
3169#line 117 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3170 _cache = omc_InstFunction_instantiateExternalObjectDestructor(threadData, _cache, _env, _ih, _destr ,&_ih);
3171#line 3171 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3172
3173#line 118 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3174 _cache = omc_InstFunction_instantiateExternalObjectConstructor(threadData, _cache, _env, _ih, _constr ,&_ih ,&_functp);
3175#line 3175 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3176
3177#line 119 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3178 /* Pattern-matching assignment */
3179#line 119 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3180 tmpMeta[5] = omc_FGraph_getScopePath(threadData, _env);
3181#line 119 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3182 if (optionNone(tmpMeta[5])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[5]) - 3)))) >> 10)) ? 1 : 0)
) goto goto_2;
3183#line 119 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3184 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (1)))))
;
3185#line 119 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3186 _classNameFQ = tmpMeta[6];
3187#line 3187 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3188
3189#line 121 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3190 _env = omc_FGraph_stripLastScopeRef(threadData, _env ,&_r);
3191#line 3191 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3192
3193#line 122 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3194 _env = omc_FGraph_mkTypeNode(threadData, _env, _className, _functp);
3195#line 3195 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3196
3197#line 123 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3198 _env = omc_FGraph_pushScopeRef(threadData, _env, _r);
3199#line 3199 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3200
3201#line 126 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3202 _source = omc_ElementSource_addElementSourcePartOfOpt(threadData, _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)), omc_FGraph_getScopePath(threadData, _env));
3203#line 3203 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3204
3205#line 127 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3206 _source = omc_ElementSource_addCommentToSource(threadData, _source, mmc_mk_some(_comment));
3207#line 3207 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3208
3209#line 128 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3210 _source = omc_ElementSource_addElementSourceFileInfo(threadData, _source, _info);
3211#line 3211 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3212#line 129 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3213 tmpMeta[6] = mmc_mk_box3(21, &DAE_Element_EXTOBJECTCLASS__desc, _classNameFQ, _source);
3214#line 129 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3215 tmpMeta[5] = mmc_mk_cons(tmpMeta[6], MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3216#line 129 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3217 tmpMeta[7] = mmc_mk_box2(3, &DAE_DAElist_DAE__desc, tmpMeta[5]);
3218#line 129 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3219 tmpMeta[8] = mmc_mk_box2(20, &ClassInf_State_EXTERNAL__OBJ__desc, _classNameFQ);
3220#line 129 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3221 tmpMeta[0+0] = _cache;
3222#line 129 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3223 tmpMeta[0+1] = _env;
3224#line 129 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3225 tmpMeta[0+2] = _ih;
3226#line 129 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3227 tmpMeta[0+3] = tmpMeta[7];
3228#line 129 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3229 tmpMeta[0+4] = tmpMeta[8];
3230#line 3230 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3231 goto tmp3_done;
3232 }
3233 case 1: {
3234 if (1 != tmp4_4) goto tmp3_end;
3235
3236 _cache = tmp4_1;
3237 _ih = tmp4_3;
3238 /* Pattern matching succeeded */
3239#line 135 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3240 /* Pattern-matching assignment */
3241#line 135 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3242 tmpMeta[5] = omc_FGraph_getScopePath(threadData, _inEnv);
3243#line 135 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3244 if (optionNone(tmpMeta[5])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[5]) - 3)))) >> 10)) ? 1 : 0)
) goto goto_2;
3245#line 135 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3246 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (1)))))
;
3247#line 135 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3248 _classNameFQ = tmpMeta[6];
3249#line 3249 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3250#line 136 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3251 tmpMeta[5] = mmc_mk_box2(20, &ClassInf_State_EXTERNAL__OBJ__desc, _classNameFQ);
3252#line 136 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3253 tmpMeta[0+0] = _cache;
3254#line 136 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3255 tmpMeta[0+1] = _inEnv;
3256#line 136 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3257 tmpMeta[0+2] = _ih;
3258#line 136 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3259 tmpMeta[0+3] = _OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3));
3260#line 136 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3261 tmpMeta[0+4] = tmpMeta[5];
3262#line 3262 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3263 goto tmp3_done;
3264 }
3265 case 2: {
3266 modelica_boolean tmp6;
3267
3268 /* Pattern matching succeeded */
3269#line 142 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3270 /* Pattern-matching assignment */
3271#line 142 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3272 tmp6 = omc_Flags_isSet(threadData, _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)));
3273#line 142 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3274 if (1 != tmp6) goto goto_2;
3275#line 3275 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3276
3277#line 143 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3278 omc_Debug_trace(threadData, _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)));
3279#line 3279 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3280#line 144 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/FrontEnd/InstFunction.mo"
3281 goto goto_2;
3282#line 3282 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/InstFunction.c"
3283 goto tmp3_done;
3284 }
3285 }
3286 goto tmp3_end;
3287 tmp3_end: ;
3288 }
3289 goto goto_2;
3290 tmp3_done:
3291 (void)tmp4;
3292 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3293 goto tmp3_done2;
3294 goto_2:;
3295 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3296 if (++tmp4 < 3) {
3297 goto tmp3_top;
3298 }
3299 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3300 tmp3_done2:;
3301 }
3302 }
3303 _outCache = tmpMeta[0+0];
3304 _outEnv = tmpMeta[0+1];
3305 _outIH = tmpMeta[0+2];
3306 _dae = tmpMeta[0+3];
3307 _ciState = tmpMeta[0+4];
3308 _return: OMC_LABEL_UNUSED__attribute__((unused))
3309 if (out_outEnv) { *out_outEnv = _outEnv; }
3310 if (out_outIH) { *out_outIH = _outIH; }
3311 if (out_dae) { *out_dae = _dae; }
3312 if (out_ciState) { *out_ciState = _ciState; }
3313 return _outCache;
3314}
3315modelica_metatype boxptr_InstFunction_instantiateExternalObject(threadData_t *threadData, modelica_metatype _inCache, modelica_metatype _inEnv, modelica_metatype _inIH, modelica_metatype _els, modelica_metatype _inMod, modelica_metatype _impl, modelica_metatype _comment, modelica_metatype _info, modelica_metatype *out_outEnv, modelica_metatype *out_outIH, modelica_metatype *out_dae, modelica_metatype *out_ciState)
3316{
3317 modelica_integer tmp1;
3318 modelica_metatype _outCache = NULL((void*)0);
3319 tmp1 = mmc_unbox_integer(_impl)(((mmc_sint_t) (_impl)) >> 1);
3320 _outCache = omc_InstFunction_instantiateExternalObject(threadData, _inCache, _inEnv, _inIH, _els, _inMod, tmp1, _comment, _info, out_outEnv, out_outIH, out_dae, out_ciState);
3321 /* skip box _outCache; FCore.Cache */
3322 /* skip box _outEnv; FCore.Graph */
3323 /* skip box _outIH; list<InnerOuter.TopInstance> */
3324 /* skip box _dae; DAE.DAElist */
3325 /* skip box _ciState; ClassInf.State */
3326 return _outCache;
3327}
3328