Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.238/1.238, allocations: 249.4 MB / 256.7 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 185.2 kB / 316 MB, free: 3.555 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.155/1.155, allocations: 205.1 MB / 0.5667 GB, free: 15.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008692/0.0008691, allocations: 81.67 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3381/0.339, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.4962, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.034/1.53, allocations: 456.5 MB / 1.33 GB, free: 290 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/1.53, allocations: 91.33 kB / 1.331 GB, free: 290 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 19.58/21.11, allocations: 6.259 GB / 7.589 GB, free: 21.98 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/21.11, allocations: 12 kB / 7.589 GB, free: 21.97 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01328/21.12, allocations: 2.355 MB / 7.592 GB, free: 19.59 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.102/22.22, allocations: 26.97 MB / 7.618 GB, free: 122 MB / 1.136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005999/22.22, allocations: 258.3 kB / 7.618 GB, free: 122 MB / 1.136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004947/22.23, allocations: 0.5888 MB / 7.619 GB, free: 122 MB / 1.136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03276/22.26, allocations: 20.18 MB / 7.638 GB, free: 122 MB / 1.136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03467/22.3, allocations: 15.7 MB / 7.654 GB, free: 120.2 MB / 1.136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002493/22.3, allocations: 14.91 kB / 7.654 GB, free: 120.2 MB / 1.136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002362/22.3, allocations: 13.19 kB / 7.654 GB, free: 120.2 MB / 1.136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001754/22.3, allocations: 224.8 kB / 7.654 GB, free: 120.2 MB / 1.136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1376/22.44, allocations: 82.25 MB / 7.734 GB, free: 88.55 MB / 1.136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01534/22.45, allocations: 10.8 MB / 7.745 GB, free: 88.41 MB / 1.136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0127/22.46, allocations: 9.918 MB / 7.755 GB, free: 88.3 MB / 1.136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07424/22.54, allocations: 35.93 MB / 7.79 GB, free: 79.95 MB / 1.136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01332/22.55, allocations: 9.274 MB / 7.799 GB, free: 79.79 MB / 1.136 GB Notification: Performance of pre-optimization done (n=608): time 9.177e-06/22.55, allocations: 5.531 kB / 7.799 GB, free: 79.79 MB / 1.136 GB Notification: Performance of matching and sorting (n=610): time 0.663/23.21, allocations: 151.3 MB / 7.947 GB, free: 68.45 MB / 1.136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006198/23.22, allocations: 2.51 MB / 7.949 GB, free: 65.45 MB / 1.136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03443/23.25, allocations: 14.15 MB / 7.963 GB, free: 64.69 MB / 1.136 GB Notification: Performance of collectPreVariables (initialization): time 0.004021/23.25, allocations: 43.48 kB / 7.963 GB, free: 64.66 MB / 1.136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00835/23.26, allocations: 4.047 MB / 7.967 GB, free: 63.23 MB / 1.136 GB Notification: Performance of collectInitialBindings (initialization): time 0.006273/23.27, allocations: 2.081 MB / 7.969 GB, free: 62.13 MB / 1.136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003709/23.27, allocations: 0 / 7.969 GB, free: 62.13 MB / 1.136 GB Notification: Performance of setup shared object (initialization): time 0.001162/23.27, allocations: 0.6813 MB / 7.969 GB, free: 61.8 MB / 1.136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01509/23.29, allocations: 8.831 MB / 7.978 GB, free: 61.78 MB / 1.136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02034/23.31, allocations: 12.35 MB / 7.99 GB, free: 57.8 MB / 1.136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02168/23.33, allocations: 10.35 MB / 8 GB, free: 57.57 MB / 1.136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001229/23.33, allocations: 14.25 kB / 8 GB, free: 57.57 MB / 1.136 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 1.298/24.63, allocations: 135.8 MB / 8.133 GB, free: 113.1 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 0.007155/24.64, allocations: 32.78 MB / 8.165 GB, free: 95.11 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004645/24.64, allocations: 110.6 kB / 8.165 GB, free: 95.11 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6507/25.29, allocations: 162.4 MB / 8.324 GB, free: 81.92 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01301/25.3, allocations: 1.992 MB / 8.325 GB, free: 81.91 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1424/25.44, allocations: 69.03 MB / 8.393 GB, free: 74.84 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0202/25.46, allocations: 0.8589 MB / 8.394 GB, free: 74.78 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004531/25.47, allocations: 0.8317 MB / 8.395 GB, free: 74.78 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/25.47, allocations: 9.25 kB / 8.395 GB, free: 74.77 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6044/26.07, allocations: 132.6 MB / 8.524 GB, free: 29.55 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004493/26.07, allocations: 109.7 kB / 8.524 GB, free: 29.44 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224/27.3, allocations: 162.2 MB / 8.683 GB, free: 115 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009908/27.31, allocations: 1.955 MB / 8.684 GB, free: 115 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1426/27.45, allocations: 72.48 MB / 8.755 GB, free: 111.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02022/27.47, allocations: 0.8373 MB / 8.756 GB, free: 111.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004318/27.47, allocations: 0.7872 MB / 8.757 GB, free: 111.1 MB / 1.151 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 (891): * Single equations (assignments): 813 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * 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.00584/27.48, allocations: 342.5 kB / 8.757 GB, free: 110.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005697/27.49, allocations: 1.476 MB / 8.759 GB, free: 110.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2064/27.69, allocations: 58.63 MB / 8.816 GB, free: 103.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001509/27.69, allocations: 71.31 kB / 8.816 GB, free: 103.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.376e-05/27.69, allocations: 31.25 kB / 8.816 GB, free: 103.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.177/27.87, allocations: 52.44 MB / 8.867 GB, free: 96.27 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2185/28.09, allocations: 72.26 MB / 8.938 GB, free: 65.63 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.769e-05/28.09, allocations: 7.5 kB / 8.938 GB, free: 65.63 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006698/28.09, allocations: 1.058 MB / 8.939 GB, free: 64.82 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.854/28.95, allocations: 71.25 MB / 9.008 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00191/28.95, allocations: 163.9 kB / 9.009 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05178/29, allocations: 27.77 MB / 9.036 GB, free: 119.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/29, allocations: 7.469 kB / 9.036 GB, free: 119.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1901/29.19, allocations: 63.45 MB / 9.098 GB, free: 111.7 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2075/29.4, allocations: 73.31 MB / 9.169 GB, free: 103 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01147/29.41, allocations: 3.201 MB / 9.172 GB, free: 102 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006398/29.42, allocations: 87.66 kB / 9.172 GB, free: 102 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01471/29.43, allocations: 0.7514 MB / 9.173 GB, free: 101.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002399/29.43, allocations: 379.8 kB / 9.174 GB, free: 101.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001531/29.44, allocations: 261.4 kB / 9.174 GB, free: 101.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.02164/29.46, allocations: 10.63 MB / 9.184 GB, free: 101.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.04809/29.51, allocations: 9.345 MB / 9.193 GB, free: 101.5 MB / 1.151 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.x[1],pmpSouth.filter.x[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.vol.dynBal.U,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.vol.dynBal.U,valNorth.filter.x[1],valNorth.filter.x[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.x[1],pumpCoo.filter.x[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 (506): * Single equations (assignments): 484 * 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.008679/29.51, allocations: 5.283 MB / 9.198 GB, free: 99.23 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.06963/29.58, allocations: 36.56 MB / 9.234 GB, free: 96.16 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/29.58, allocations: 17.97 kB / 9.234 GB, free: 96.15 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01758/29.6, allocations: 9.14 MB / 9.243 GB, free: 95.83 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03436/29.64, allocations: 7.285 MB / 9.25 GB, free: 95.46 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05833/29.69, allocations: 27.52 MB / 9.277 GB, free: 89.87 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0144/29.71, allocations: 10.41 MB / 9.287 GB, free: 88.61 MB / 1.151 GB Notification: Performance of SimCode: time 5.31e-07/29.71, allocations: 3.406 kB / 9.287 GB, free: 88.61 MB / 1.151 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Basic/Buildings_maint_7_0_x_Buildings_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. -DOMC_MODEL_PREFIX=Buildings_maint_7_0_x_Buildings_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 Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.o Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.c In file included from Buildings_maint_7_0_x_Buildings_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); ^ Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.c:1082:9: error: unknown type name 'to' to set default values of constantHead and heads, and ^ Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.c:1082:15: error: expected ';' after top level declarator to set default values of constantHead and heads, and ^ ; Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.c:1083:70: warning: missing terminating '"' character [-Winvalid-pp-token] and for default pressure curve if not specified in record per" ^ Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.c:1361:70: warning: missing terminating '"' character [-Winvalid-pp-token] and for default pressure curve if not specified in record per" ^ In file included from Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.c:6612: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.c:6611:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_setupDataStruc ^ In file included from Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.c:6612: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.c:6611:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_setupDataStruc ^ 6 warnings and 2 errors generated. make: *** [: Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Basic/Buildings_maint_7_0_x_Buildings_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 Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic.def Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic.o Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic.a Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic.so Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.o Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic.o Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_functions.o Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_records.o Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_01exo.o Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_02nls.o Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_03lsy.o Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_04set.o Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_05evt.o Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_06inz.o Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_07dly.o Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_08bnd.o Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_09alg.o Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_10asr.o Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_11mix.o Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_12jac.o Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_13opt.o Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_14lnz.o Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_15syn.o Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_16dae.o Buildings_maint_7_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_17inl.o Buildings_maint_7_0_x_Buildings_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