Running command: "" <> buildModelFMU(OpenHPL.Examples.HPSimple_OpenChannel,fileNamePrefix="OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(OpenHPL): time 2.509/2.509, allocations: 257.8 MB / 264.8 MB, free: 15.97 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1488/2.658, allocations: 62.54 MB / 327.3 MB, free: 1.434 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/2.967, allocations: 60.22 MB / 387.6 MB, free: 7.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1858/3.153, allocations: 100.1 MB / 487.6 MB, free: 3.605 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/3.154, allocations: 87.95 kB / 487.7 MB, free: 3.52 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19147 * Number of variables: 19147 Notification: Performance of Generate backend data structure: time 9.522/12.68, allocations: 0.9943 GB / 1.471 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/12.68, allocations: 10.94 kB / 1.471 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05559/12.73, allocations: 5.39 MB / 1.476 GB, free: 2.645 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.142/12.87, allocations: 30.21 MB / 1.505 GB, free: 8.066 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01745/12.89, allocations: 8.352 MB / 1.514 GB, free: 14.78 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.04639/12.94, allocations: 3.04 MB / 1.516 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 1.296/14.23, allocations: 204.5 MB / 1.716 GB, free: 50.23 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.126/15.36, allocations: 125.2 MB / 1.838 GB, free: 81.71 MB / 0.6044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.004607/15.36, allocations: 102.5 kB / 1.839 GB, free: 81.71 MB / 0.6044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03883/15.4, allocations: 0 / 1.839 GB, free: 81.71 MB / 0.6044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008307/15.41, allocations: 9.426 MB / 1.848 GB, free: 81.36 MB / 0.6044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.884/17.3, allocations: 319.6 MB / 2.16 GB, free: 71.8 MB / 0.6046 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1697/17.47, allocations: 50.25 MB / 2.209 GB, free: 27.43 MB / 0.6046 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5044/17.97, allocations: 49.74 MB / 2.258 GB, free: 85.91 MB / 0.6046 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008271/17.98, allocations: 1.925 MB / 2.259 GB, free: 84.93 MB / 0.6046 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005528/17.98, allocations: 0.5514 MB / 2.26 GB, free: 84.85 MB / 0.6046 GB Notification: Performance of pre-optimization done (n=5197): time 6.548e-05/17.98, allocations: 3.812 kB / 2.26 GB, free: 84.85 MB / 0.6046 GB Notification: Performance of matching and sorting (n=5207): time 0.7837/18.76, allocations: 185 MB / 2.441 GB, free: 28.92 MB / 0.6046 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003357/18.76, allocations: 0.5916 MB / 2.441 GB, free: 28.31 MB / 0.6046 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00941/18.77, allocations: 3.274 MB / 2.444 GB, free: 25.42 MB / 0.6046 GB Notification: Performance of collectPreVariables (initialization): time 0.01941/18.79, allocations: 33.27 kB / 2.444 GB, free: 25.38 MB / 0.6046 GB Notification: Performance of collectInitialEqns (initialization): time 0.009415/18.8, allocations: 17.91 MB / 2.462 GB, free: 9.859 MB / 0.6046 GB Notification: Performance of collectInitialBindings (initialization): time 0.3452/19.15, allocations: 17.04 MB / 2.479 GB, free: 88.05 MB / 0.6046 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02095/19.17, allocations: 0 / 2.479 GB, free: 88.05 MB / 0.6046 GB Notification: Performance of setup shared object (initialization): time 0.006391/19.17, allocations: 2.258 MB / 2.481 GB, free: 87.64 MB / 0.6046 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1248/19.3, allocations: 38.99 MB / 2.519 GB, free: 87.54 MB / 0.6046 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2045/19.5, allocations: 42.39 MB / 2.56 GB, free: 81.52 MB / 0.6046 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1995/19.7, allocations: 45.73 MB / 2.605 GB, free: 65 MB / 0.6046 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004087/19.7, allocations: 11 kB / 2.605 GB, free: 65 MB / 0.6046 GB Notification: Performance of matching and sorting (n=5660) (initialization): time 0.7395/20.44, allocations: 93.5 MB / 2.696 GB, free: 65.78 MB / 0.6046 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/20.44, allocations: 7.031 kB / 2.696 GB, free: 65.78 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002275/20.44, allocations: 27.75 kB / 2.696 GB, free: 65.78 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001881/20.44, allocations: 387.1 kB / 2.697 GB, free: 65.77 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1474/20.59, allocations: 12.43 MB / 2.709 GB, free: 65.46 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00634/20.6, allocations: 2.604 MB / 2.711 GB, free: 64.19 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07911/20.68, allocations: 2.312 MB / 2.714 GB, free: 64.18 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.02396/20.7, allocations: 1.856 MB / 2.715 GB, free: 64.18 MB / 0.6046 GB Warning: Assuming fixed start value for the following 3 variables: pipe1.M:VARIABLE(unit = "kg.m/s" ) "Water momentum" type: Real surgeTank.Vdot:VARIABLE(start = surgeTank.Vdot_0 unit = "m3/s" ) "Water flow rate" type: Real pipe.Vdot:VARIABLE(start = pipe.Vdot_0 unit = "m3/s" ) "Flow rate" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.surgeTank.v:DUMMY_DER(fixed = false ) "Water velocity" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5642): * Single equations (assignments): 5641 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 18} Notification: Performance of prepare postOptimizeDAE: time 0.0405/20.74, allocations: 0.6735 MB / 2.716 GB, free: 63.52 MB / 0.6046 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02385/20.77, allocations: 1.798 MB / 2.718 GB, free: 63.52 MB / 0.6046 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4344/21.2, allocations: 105.5 MB / 2.821 GB, free: 52.32 MB / 0.6046 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001018/21.2, allocations: 0.5962 MB / 2.821 GB, free: 52.32 MB / 0.6046 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0008713/21.2, allocations: 0 / 2.821 GB, free: 52.32 MB / 0.6046 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002275/21.2, allocations: 309.9 kB / 2.822 GB, free: 52.32 MB / 0.6046 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.116/22.32, allocations: 196.1 MB / 3.013 GB, free: 76.52 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0007459/22.32, allocations: 21.5 kB / 3.013 GB, free: 76.52 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1591/22.48, allocations: 13.54 MB / 3.026 GB, free: 75.68 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002652/22.48, allocations: 413 kB / 3.027 GB, free: 75.64 MB / 0.6046 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0215/22.51, allocations: 0.9897 MB / 3.028 GB, free: 75.4 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007376/22.51, allocations: 5.116 MB / 3.033 GB, free: 71.15 MB / 0.6046 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.044e-05/22.51, allocations: 36.91 kB / 3.033 GB, free: 71.14 MB / 0.6046 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.9283/23.44, allocations: 174 MB / 3.203 GB, free: 93.28 MB / 0.6203 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 1.047/24.49, allocations: 244.1 MB / 3.441 GB, free: 79.69 MB / 0.6203 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005817/24.49, allocations: 2.119 MB / 3.443 GB, free: 79.59 MB / 0.6203 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02502/24.52, allocations: 190.8 kB / 3.443 GB, free: 79.59 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1405/24.66, allocations: 2.228 MB / 3.446 GB, free: 79.58 MB / 0.6203 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.06193/24.72, allocations: 11.3 MB / 3.457 GB, free: 77.54 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.02157/24.74, allocations: 1.922 MB / 3.458 GB, free: 77.54 MB / 0.6203 GB Notification: Performance of sort global known variables: time 0.006668/24.75, allocations: 2.313 MB / 3.461 GB, free: 77.4 MB / 0.6203 GB Notification: Performance of remove unused functions: time 0.08056/24.83, allocations: 10.51 MB / 3.471 GB, free: 77.39 MB / 0.6203 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 104 * Number of states: 206 (reservoir.m,tail.m,pipe.Vdot,openChannel.openChannel.U[1],openChannel.openChannel.U[2],openChannel.openChannel.U[3],openChannel.openChannel.U[4],openChannel.openChannel.U[5],openChannel.openChannel.U[6],openChannel.openChannel.U[7],openChannel.openChannel.U[8],openChannel.openChannel.U[9],openChannel.openChannel.U[10],openChannel.openChannel.U[11],openChannel.openChannel.U[12],openChannel.openChannel.U[13],openChannel.openChannel.U[14],openChannel.openChannel.U[15],openChannel.openChannel.U[16],openChannel.openChannel.U[17],openChannel.openChannel.U[18],openChannel.openChannel.U[19],openChannel.openChannel.U[20],openChannel.openChannel.U[21],openChannel.openChannel.U[22],openChannel.openChannel.U[23],openChannel.openChannel.U[24],openChannel.openChannel.U[25],openChannel.openChannel.U[26],openChannel.openChannel.U[27],openChannel.openChannel.U[28],openChannel.openChannel.U[29],openChannel.openChannel.U[30],openChannel.openChannel.U[31],openChannel.openChannel.U[32],openChannel.openChannel.U[33],openChannel.openChannel.U[34],openChannel.openChannel.U[35],openChannel.openChannel.U[36],openChannel.openChannel.U[37],openChannel.openChannel.U[38],openChannel.openChannel.U[39],openChannel.openChannel.U[40],openChannel.openChannel.U[41],openChannel.openChannel.U[42],openChannel.openChannel.U[43],openChannel.openChannel.U[44],openChannel.openChannel.U[45],openChannel.openChannel.U[46],openChannel.openChannel.U[47],openChannel.openChannel.U[48],openChannel.openChannel.U[49],openChannel.openChannel.U[50],openChannel.openChannel.U[51],openChannel.openChannel.U[52],openChannel.openChannel.U[53],openChannel.openChannel.U[54],openChannel.openChannel.U[55],openChannel.openChannel.U[56],openChannel.openChannel.U[57],openChannel.openChannel.U[58],openChannel.openChannel.U[59],openChannel.openChannel.U[60],openChannel.openChannel.U[61],openChannel.openChannel.U[62],openChannel.openChannel.U[63],openChannel.openChannel.U[64],openChannel.openChannel.U[65],openChannel.openChannel.U[66],openChannel.openChannel.U[67],openChannel.openChannel.U[68],openChannel.openChannel.U[69],openChannel.openChannel.U[70],openChannel.openChannel.U[71],openChannel.openChannel.U[72],openChannel.openChannel.U[73],openChannel.openChannel.U[74],openChannel.openChannel.U[75],openChannel.openChannel.U[76],openChannel.openChannel.U[77],openChannel.openChannel.U[78],openChannel.openChannel.U[79],openChannel.openChannel.U[80],openChannel.openChannel.U[81],openChannel.openChannel.U[82],openChannel.openChannel.U[83],openChannel.openChannel.U[84],openChannel.openChannel.U[85],openChannel.openChannel.U[86],openChannel.openChannel.U[87],openChannel.openChannel.U[88],openChannel.openChannel.U[89],openChannel.openChannel.U[90],openChannel.openChannel.U[91],openChannel.openChannel.U[92],openChannel.openChannel.U[93],openChannel.openChannel.U[94],openChannel.openChannel.U[95],openChannel.openChannel.U[96],openChannel.openChannel.U[97],openChannel.openChannel.U[98],openChannel.openChannel.U[99],openChannel.openChannel.U[100],openChannel.openChannel.U[101],openChannel.openChannel.U[102],openChannel.openChannel.U[103],openChannel.openChannel.U[104],openChannel.openChannel.U[105],openChannel.openChannel.U[106],openChannel.openChannel.U[107],openChannel.openChannel.U[108],openChannel.openChannel.U[109],openChannel.openChannel.U[110],openChannel.openChannel.U[111],openChannel.openChannel.U[112],openChannel.openChannel.U[113],openChannel.openChannel.U[114],openChannel.openChannel.U[115],openChannel.openChannel.U[116],openChannel.openChannel.U[117],openChannel.openChannel.U[118],openChannel.openChannel.U[119],openChannel.openChannel.U[120],openChannel.openChannel.U[121],openChannel.openChannel.U[122],openChannel.openChannel.U[123],openChannel.openChannel.U[124],openChannel.openChannel.U[125],openChannel.openChannel.U[126],openChannel.openChannel.U[127],openChannel.openChannel.U[128],openChannel.openChannel.U[129],openChannel.openChannel.U[130],openChannel.openChannel.U[131],openChannel.openChannel.U[132],openChannel.openChannel.U[133],openChannel.openChannel.U[134],openChannel.openChannel.U[135],openChannel.openChannel.U[136],openChannel.openChannel.U[137],openChannel.openChannel.U[138],openChannel.openChannel.U[139],openChannel.openChannel.U[140],openChannel.openChannel.U[141],openChannel.openChannel.U[142],openChannel.openChannel.U[143],openChannel.openChannel.U[144],openChannel.openChannel.U[145],openChannel.openChannel.U[146],openChannel.openChannel.U[147],openChannel.openChannel.U[148],openChannel.openChannel.U[149],openChannel.openChannel.U[150],openChannel.openChannel.U[151],openChannel.openChannel.U[152],openChannel.openChannel.U[153],openChannel.openChannel.U[154],openChannel.openChannel.U[155],openChannel.openChannel.U[156],openChannel.openChannel.U[157],openChannel.openChannel.U[158],openChannel.openChannel.U[159],openChannel.openChannel.U[160],openChannel.openChannel.U[161],openChannel.openChannel.U[162],openChannel.openChannel.U[163],openChannel.openChannel.U[164],openChannel.openChannel.U[165],openChannel.openChannel.U[166],openChannel.openChannel.U[167],openChannel.openChannel.U[168],openChannel.openChannel.U[169],openChannel.openChannel.U[170],openChannel.openChannel.U[171],openChannel.openChannel.U[172],openChannel.openChannel.U[173],openChannel.openChannel.U[174],openChannel.openChannel.U[175],openChannel.openChannel.U[176],openChannel.openChannel.U[177],openChannel.openChannel.U[178],openChannel.openChannel.U[179],openChannel.openChannel.U[180],openChannel.openChannel.U[181],openChannel.openChannel.U[182],openChannel.openChannel.U[183],openChannel.openChannel.U[184],openChannel.openChannel.U[185],openChannel.openChannel.U[186],openChannel.openChannel.U[187],openChannel.openChannel.U[188],openChannel.openChannel.U[189],openChannel.openChannel.U[190],openChannel.openChannel.U[191],openChannel.openChannel.U[192],openChannel.openChannel.U[193],openChannel.openChannel.U[194],openChannel.openChannel.U[195],openChannel.openChannel.U[196],openChannel.openChannel.U[197],openChannel.openChannel.U[198],openChannel.openChannel.U[199],openChannel.openChannel.U[200],surgeTank.m,surgeTank.Vdot,pipe1.M) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6397): * Single equations (assignments): 6394 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0219/24.85, allocations: 1.169 MB / 3.472 GB, free: 76.89 MB / 0.6203 GB Notification: Performance of simCode: created initialization part: time 0.2756/25.13, allocations: 91.31 MB / 3.561 GB, free: 43.35 MB / 0.6203 GB Notification: Performance of simCode: created event and clocks part: time 2.79e-05/25.13, allocations: 4 kB / 3.561 GB, free: 43.34 MB / 0.6203 GB Notification: Performance of simCode: created simulation system equations: time 0.5945/25.72, allocations: 90.48 MB / 3.65 GB, free: 105.7 MB / 0.6203 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07956/25.8, allocations: 2.984 MB / 3.653 GB, free: 105.6 MB / 0.6203 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6262/26.43, allocations: 141.9 MB / 3.791 GB, free: 57.95 MB / 0.6203 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2089/26.64, allocations: 40.85 MB / 3.831 GB, free: 27.24 MB / 0.6203 GB Notification: Performance of SimCode: time 2.335e-06/26.64, allocations: 0 / 3.831 GB, free: 27.24 MB / 0.6203 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenHPL_OpenHPL.Examples.HPSimple_OpenChannel/OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel.fmutmp/sources' clang -fPIC -O0 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_FMU.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_FMU.c In file included from OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_FMU.c:21067:5: error: unknown type name 'otherwise' otherwise specify lookup table for efficiency" ^ OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_FMU.c:21067:22: error: expected ';' after top level declarator otherwise specify lookup table for efficiency" ^ ; OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_FMU.c:21067:50: warning: missing terminating '"' character [-Winvalid-pp-token] otherwise specify lookup table for efficiency" ^ In file included from OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_FMU.c:21093: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_FMU.c:21092:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_setupDataStruc ^ In file included from OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_FMU.c:21093: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_FMU.c:21092:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_setupDataStruc ^ 5 warnings and 2 errors generated. : recipe for target 'OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_FMU.o' failed make: *** [OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/OpenHPL_OpenHPL.Examples.HPSimple_OpenChannel/OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel.fmutmp/sources' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel.def OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel.a OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel.so OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_FMU.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_functions.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_records.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_01exo.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_02nls.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_03lsy.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_04set.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_05evt.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_06inz.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_07dly.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_08bnd.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_09alg.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_10asr.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_11mix.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_12jac.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_13opt.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_14lnz.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_15syn.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_16dae.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_17inl.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_init_fmu.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_06inz_part0.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_06inz_part1.o OpenHPL_OpenHPL_Examples_HPSimple_OpenChannel_06inz_part2.o include/./gc/memory_pool.o include/./util/base_array.o include/./util/boolean_array.o include/./util/omc_error.o include/./util/division.o include/./util/generic_array.o include/./util/index_spec.o include/./util/integer_array.o include/./util/list.o include/./util/modelica_string.o include/./util/real_array.o include/./util/ringbuffer.o include/./util/string_array.o include/./util/utility.o include/./util/varinfo.o include/./util/ModelicaUtilities.o include/./util/omc_msvc.o include/./util/simulation_options.o include/./util/cJSON.o include/./util/rational.o include/./util/modelica_string_lit.o include/./util/omc_init.o include/./util/omc_mmap.o include/./math-support/pivot.o include/./simulation/simulation_info_json.o include/./simulation/options.o include/./simulation/simulation_omc_assert.o include/./simulation/solver/delay.o include/./simulation/solver/nonlinearSystem.o include/./simulation/solver/nonlinearValuesList.o include/./simulation/solver/nonlinearSolverHybrd.o include/./simulation/solver/nonlinearSolverHomotopy.o include/./simulation/solver/omc_math.o include/./simulation/solver/model_help.o include/./simulation/solver/stateset.o include/./simulation/solver/synchronous.o include/./simulation/solver/initialization/initialization.o include/./meta/meta_modelica_catch.o include/./external_solvers/enorm_.o include/./external_solvers/hybrj_.o include/./external_solvers/dpmpar_.o include/./external_solvers/qrfac_.o include/./external_solvers/qform_.o include/./external_solvers/dogleg_.o include/./external_solvers/r1updt_.o include/./external_solvers/r1mpyq_.o include/./external_solvers/dgesv.o include/./external_solvers/dgetrf.o include/./external_solvers/dlamch.o include/./external_solvers/ilaenv.o include/./external_solvers/xerbla.o include/./external_solvers/dgetf2.o include/./external_solvers/dgetrs.o include/./external_solvers/dlaswp.o include/./external_solvers/ieeeck.o include/./external_solvers/iparmq.o include/./external_solvers/dgemm.o include/./external_solvers/dger.o include/./external_solvers/dscal.o include/./external_solvers/dswap.o include/./external_solvers/dtrsm.o include/./external_solvers/idamax.o include/./external_solvers/lsame.o include/./external_solvers/i_nint.o include/./external_solvers/pow_di.o include/./external_solvers/s_cmp.o include/./external_solvers/s_copy.o