Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic",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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003426/0.003426, allocations: 185.7 kB / 7.458 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6962/0.6962, allocations: 133.5 MB / 141.4 MB, free: 15.65 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 221.3 MB / 395 MB, free: 10.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 96.23 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5156/0.5167, allocations: 88.42 MB / 0.5529 GB, free: 89.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.7075, allocations: 82.31 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.34/2.048, allocations: 423.1 MB / 1.047 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/2.048, allocations: 91.89 kB / 1.047 GB, free: 210.4 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 26.32/28.37, allocations: 6.488 GB / 7.534 GB, free: 33.58 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/28.37, allocations: 12.64 kB / 7.534 GB, free: 33.57 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01563/28.39, allocations: 2.239 MB / 7.536 GB, free: 31.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07918/28.47, allocations: 25.26 MB / 7.561 GB, free: 5.957 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006194/28.47, allocations: 252 kB / 7.561 GB, free: 5.711 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006383/28.47, allocations: 0.6012 MB / 7.562 GB, free: 5.109 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04518/28.52, allocations: 20.14 MB / 7.582 GB, free: 0.957 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.377/29.9, allocations: 14.75 MB / 7.596 GB, free: 111.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003789/29.9, allocations: 11.12 kB / 7.596 GB, free: 111.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003673/29.9, allocations: 10.88 kB / 7.596 GB, free: 111.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003277/29.9, allocations: 382.6 kB / 7.596 GB, free: 111.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1612/30.06, allocations: 82.75 MB / 7.677 GB, free: 79.94 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02046/30.08, allocations: 11.09 MB / 7.688 GB, free: 79.79 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02141/30.11, allocations: 10.11 MB / 7.698 GB, free: 79.67 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09321/30.2, allocations: 36.79 MB / 7.734 GB, free: 71.34 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01979/30.22, allocations: 9.491 MB / 7.743 GB, free: 71.18 MB / 0.948 GB Notification: Performance of pre-optimization done (n=640): time 1.04e-05/30.22, allocations: 0 / 7.743 GB, free: 71.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=642): time 0.726/30.94, allocations: 151.9 MB / 7.891 GB, free: 59.66 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/30.94, allocations: 121.3 kB / 7.892 GB, free: 59.59 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04256/30.99, allocations: 13.66 MB / 7.905 GB, free: 58.86 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.004983/30.99, allocations: 40.33 kB / 7.905 GB, free: 58.83 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01004/31, allocations: 3.654 MB / 7.909 GB, free: 57.62 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.01214/31.01, allocations: 2.185 MB / 7.911 GB, free: 56.34 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0034/31.02, allocations: 1.688 kB / 7.911 GB, free: 56.34 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0009275/31.02, allocations: 0.6409 MB / 7.911 GB, free: 56.01 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01662/31.04, allocations: 8.452 MB / 7.92 GB, free: 55.13 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01978/31.06, allocations: 11.26 MB / 7.931 GB, free: 45.29 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02041/31.08, allocations: 9.86 MB / 7.94 GB, free: 37.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001299/31.08, allocations: 16 kB / 7.94 GB, free: 37.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 1.542/32.62, allocations: 134.9 MB / 8.072 GB, free: 99.61 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.008117/32.63, allocations: 31.84 MB / 8.103 GB, free: 66.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002957/32.63, allocations: 47.25 kB / 8.103 GB, free: 66.28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8209/33.45, allocations: 162.4 MB / 8.262 GB, free: 50.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0154/33.46, allocations: 2.407 MB / 8.264 GB, free: 50.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1549/33.62, allocations: 69.04 MB / 8.331 GB, free: 19 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02569/33.64, allocations: 0.9101 MB / 8.332 GB, free: 18.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00599/33.65, allocations: 0.7958 MB / 8.333 GB, free: 17.45 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/33.65, allocations: 4 kB / 8.333 GB, free: 17.45 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.609/35.26, allocations: 131.7 MB / 8.462 GB, free: 92.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002288/35.26, allocations: 46.84 kB / 8.462 GB, free: 92.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6906/35.95, allocations: 162.2 MB / 8.62 GB, free: 76.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01406/35.96, allocations: 2.374 MB / 8.622 GB, free: 76.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082/37.05, allocations: 72.5 MB / 8.693 GB, free: 96.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02371/37.07, allocations: 0.8912 MB / 8.694 GB, free: 96.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005212/37.07, allocations: 0.7441 MB / 8.695 GB, free: 96.62 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (859): * Single equations (assignments): 845 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {33 119} Notification: Performance of prepare postOptimizeDAE: time 0.007336/37.08, allocations: 310.1 kB / 8.695 GB, free: 96.52 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008814/37.09, allocations: 1.403 MB / 8.696 GB, free: 96.52 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2222/37.31, allocations: 58.95 MB / 8.754 GB, free: 92.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002396/37.31, allocations: 76.98 kB / 8.754 GB, free: 92.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001143/37.31, allocations: 27.28 kB / 8.754 GB, free: 92.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1959/37.51, allocations: 52.77 MB / 8.806 GB, free: 85.37 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2573/37.77, allocations: 73.08 MB / 8.877 GB, free: 75.31 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.545e-05/37.77, allocations: 2.875 kB / 8.877 GB, free: 75.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008074/37.78, allocations: 1.115 MB / 8.878 GB, free: 75.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2196/37.99, allocations: 67.9 MB / 8.944 GB, free: 61.97 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003468/38, allocations: 164.7 kB / 8.945 GB, free: 61.97 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06029/38.06, allocations: 27.76 MB / 8.972 GB, free: 44.53 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.158e-06/38.06, allocations: 0.5625 kB / 8.972 GB, free: 44.53 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 1.022/39.08, allocations: 64.06 MB / 9.034 GB, free: 93.34 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2296/39.31, allocations: 73.95 MB / 9.107 GB, free: 85.55 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01447/39.33, allocations: 3.317 MB / 9.11 GB, free: 85.25 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008695/39.33, allocations: 81.81 kB / 9.11 GB, free: 85.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01887/39.35, allocations: 0.7783 MB / 9.111 GB, free: 85.15 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003095/39.36, allocations: 400 kB / 9.111 GB, free: 85.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002221/39.36, allocations: 277.2 kB / 9.111 GB, free: 85.14 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.02605/39.38, allocations: 10.28 MB / 9.121 GB, free: 84.71 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.05784/39.44, allocations: 9.353 MB / 9.13 GB, free: 84.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpSouth.filter.s[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],pmpNorth.filter.s[2],valSouth1[1].filter.s[1],valSouth1[1].filter.s[2],valSouth1[2].filter.s[1],valSouth1[2].filter.s[2],valSouth1[3].filter.s[1],valSouth1[3].filter.s[2],valSouth1[4].filter.s[1],valSouth1[4].filter.s[2],valSouth2[1].filter.s[1],valSouth2[1].filter.s[2],valSouth2[2].filter.s[1],valSouth2[2].filter.s[2],valSouth2[3].filter.s[1],valSouth2[3].filter.s[2],valSouth2[4].filter.s[1],valSouth2[4].filter.s[2],valSouth2[5].filter.s[1],valSouth2[5].filter.s[2],valSouth2[6].filter.s[1],valSouth2[6].filter.s[2],valSouth2[7].filter.s[1],valSouth2[7].filter.s[2],valSouth2[8].filter.s[1],valSouth2[8].filter.s[2],valNorth1[1].filter.s[1],valNorth1[1].filter.s[2],valNorth1[2].filter.s[1],valNorth1[2].filter.s[2],valNorth1[3].filter.s[1],valNorth1[3].filter.s[2],valNorth1[4].filter.s[1],valNorth1[4].filter.s[2],valNorth2[1].filter.s[1],valNorth2[1].filter.s[2],valNorth2[2].filter.s[1],valNorth2[2].filter.s[2],valNorth2[3].filter.s[1],valNorth2[3].filter.s[2],valNorth2[4].filter.s[1],valNorth2[4].filter.s[2],valNorth2[5].filter.s[1],valNorth2[5].filter.s[2],valNorth2[6].filter.s[1],valNorth2[6].filter.s[2],valNorth2[7].filter.s[1],valNorth2[7].filter.s[2],valNorth2[8].filter.s[1],valNorth2[8].filter.s[2],valSouth.vol.dynBal.U,valSouth.filter.s[1],valSouth.filter.s[2],valNorth.vol.dynBal.U,valNorth.filter.s[1],valNorth.filter.s[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],pumpHea.filter.s[2],valHea.filter.s[1],valHea.filter.s[2],valCoo.filter.s[1],valCoo.filter.s[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1],pumpCoo.filter.s[2]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (538): * Single equations (assignments): 516 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.01036/39.45, allocations: 5.222 MB / 9.135 GB, free: 82.48 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.08076/39.53, allocations: 33.9 MB / 9.169 GB, free: 81.41 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/39.53, allocations: 5.875 kB / 9.169 GB, free: 81.41 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.02288/39.56, allocations: 9.325 MB / 9.178 GB, free: 81.08 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04532/39.6, allocations: 6.862 MB / 9.184 GB, free: 80.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1012/39.7, allocations: 27.74 MB / 9.212 GB, free: 75.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02969/39.73, allocations: 9.959 MB / 9.221 GB, free: 74.16 MB / 0.948 GB Notification: Performance of SimCode: time 2.154e-06/39.73, allocations: 0 / 9.221 GB, free: 74.16 MB / 0.948 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Basic/IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic.fmutmp/sources' clang -fPIC -O0 -falign-functions -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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=16 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_FMU.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_FMU.c In file included from IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_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); ^ IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_FMU.c:1114:9: error: unknown type name 'to' to set default values of constantHead and heads, and ^ IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_FMU.c:1114:15: error: expected ';' after top level declarator to set default values of constantHead and heads, and ^ ; IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_FMU.c:1115:70: warning: missing terminating '"' character [-Winvalid-pp-token] and for default pressure curve if not specified in record per" ^ IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_FMU.c:1389:70: warning: missing terminating '"' character [-Winvalid-pp-token] and for default pressure curve if not specified in record per" ^ In file included from IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_FMU.c:6226: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_FMU.c:6225:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_setupDataStruc ^ In file included from IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_FMU.c:6226: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_FMU.c:6225:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_setupDataStruc ^ 6 warnings and 2 errors generated. make: *** [: IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Basic/IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic.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... /usr/bin/grep checking for egrep... /usr/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 IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic.def IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic.a IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic.so IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_FMU.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_functions.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_records.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_01exo.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_02nls.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_03lsy.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_04set.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_05evt.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_06inz.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_07dly.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_08bnd.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_09alg.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_10asr.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_11mix.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_12jac.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_13opt.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_14lnz.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_15syn.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_16dae.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_17inl.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic_init_fmu.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/linearSystem.o include/./simulation/solver/linearSolverLapack.o include/./simulation/solver/linearSolverTotalPivot.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