Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.426/1.426, allocations: 285.5 MB / 292.8 MB, free: 9.805 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 201.1 kB / 361.1 MB, free: 364 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.172/1.172, allocations: 205.1 MB / 0.6195 GB, free: 2.906 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008998/0.0008999, allocations: 101.2 kB / 0.7326 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4091/0.4101, allocations: 121.4 MB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.5762, allocations: 115.3 MB / 0.9638 GB, free: 56.29 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7547/1.331, allocations: 463.1 MB / 1.416 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/1.331, allocations: 86.08 kB / 1.416 GB, free: 8.531 MB / 0.9167 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 20.72/22.05, allocations: 6.433 GB / 7.849 GB, free: 79.86 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/22.05, allocations: 10.78 kB / 7.849 GB, free: 79.86 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01463/22.06, allocations: 2.356 MB / 7.851 GB, free: 78.84 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07355/22.14, allocations: 27.02 MB / 7.878 GB, free: 76.26 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006127/22.14, allocations: 257.9 kB / 7.878 GB, free: 76.26 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005519/22.14, allocations: 0.5827 MB / 7.879 GB, free: 76.26 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03379/22.18, allocations: 20.25 MB / 7.898 GB, free: 76.22 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03625/22.21, allocations: 15.77 MB / 7.914 GB, free: 74.39 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005115/22.21, allocations: 11 kB / 7.914 GB, free: 74.39 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003558/22.22, allocations: 18.88 kB / 7.914 GB, free: 74.39 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000205/22.22, allocations: 218.5 kB / 7.914 GB, free: 74.39 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1405/22.36, allocations: 82.39 MB / 7.995 GB, free: 41.09 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01645/22.37, allocations: 10.86 MB / 8.005 GB, free: 40.96 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01375/22.39, allocations: 9.95 MB / 8.015 GB, free: 40.84 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08089/22.47, allocations: 36.06 MB / 8.05 GB, free: 31.58 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01618/22.48, allocations: 9.346 MB / 8.059 GB, free: 31.43 MB / 1.198 GB Notification: Performance of pre-optimization done (n=608): time 1.03e-05/22.48, allocations: 3.281 kB / 8.059 GB, free: 31.43 MB / 1.198 GB Notification: Performance of matching and sorting (n=610): time 0.6604/23.15, allocations: 151.6 MB / 8.207 GB, free: 0.9023 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.159/24.3, allocations: 2.509 MB / 8.21 GB, free: 156.7 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03306/24.34, allocations: 14.14 MB / 8.224 GB, free: 156 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004017/24.34, allocations: 48.27 kB / 8.224 GB, free: 156 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.007666/24.35, allocations: 4.047 MB / 8.228 GB, free: 155.5 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.006273/24.36, allocations: 2.076 MB / 8.23 GB, free: 155.5 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003351/24.36, allocations: 0 / 8.23 GB, free: 155.5 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0007971/24.36, allocations: 0.68 MB / 8.23 GB, free: 155.2 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01301/24.37, allocations: 8.867 MB / 8.239 GB, free: 155.1 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01592/24.39, allocations: 12.37 MB / 8.251 GB, free: 151.3 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01871/24.41, allocations: 10.39 MB / 8.261 GB, free: 151.1 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.041e-05/24.41, allocations: 11.91 kB / 8.261 GB, free: 151.1 MB / 1.214 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.6118/25.02, allocations: 135.8 MB / 8.394 GB, free: 144.3 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.005319/25.02, allocations: 32.77 MB / 8.426 GB, free: 110 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005011/25.02, allocations: 112.8 kB / 8.426 GB, free: 110 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6471/25.67, allocations: 162.4 MB / 8.584 GB, free: 94.48 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01196/25.68, allocations: 1.988 MB / 8.586 GB, free: 93.8 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1448/25.83, allocations: 69.02 MB / 8.654 GB, free: 55.21 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02046/25.85, allocations: 0.8567 MB / 8.655 GB, free: 54.63 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004402/25.85, allocations: 0.8368 MB / 8.655 GB, free: 54.13 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/25.85, allocations: 4 kB / 8.655 GB, free: 54.12 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.148/27, allocations: 132.7 MB / 8.785 GB, free: 139 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004199/27, allocations: 107.3 kB / 8.785 GB, free: 139 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6407/27.64, allocations: 162.2 MB / 8.944 GB, free: 123.5 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009572/27.65, allocations: 1.959 MB / 8.945 GB, free: 123.5 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1457/27.8, allocations: 72.48 MB / 9.016 GB, free: 119.6 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01916/27.82, allocations: 0.8454 MB / 9.017 GB, free: 119.6 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004276/27.82, allocations: 0.7842 MB / 9.018 GB, free: 119.6 MB / 1.214 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.004213/27.83, allocations: 338.6 kB / 9.018 GB, free: 119.4 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004828/27.83, allocations: 1.477 MB / 9.02 GB, free: 119.4 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2005/28.03, allocations: 58.73 MB / 9.077 GB, free: 111.1 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001419/28.03, allocations: 72.58 kB / 9.077 GB, free: 111 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.346e-05/28.03, allocations: 30.5 kB / 9.077 GB, free: 111 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1735/28.21, allocations: 52.5 MB / 9.128 GB, free: 75.41 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8382/29.04, allocations: 72.42 MB / 9.199 GB, free: 132.3 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.015e-05/29.04, allocations: 2.625 kB / 9.199 GB, free: 132.3 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006655/29.05, allocations: 1.055 MB / 9.2 GB, free: 132.3 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.201/29.25, allocations: 67.91 MB / 9.266 GB, free: 121.3 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002015/29.25, allocations: 165.5 kB / 9.267 GB, free: 121.3 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05695/29.31, allocations: 27.79 MB / 9.294 GB, free: 114.7 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/29.31, allocations: 3.594 kB / 9.294 GB, free: 114.7 MB / 1.214 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1968/29.51, allocations: 63.58 MB / 9.356 GB, free: 107.1 MB / 1.214 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.207/29.71, allocations: 73.49 MB / 9.428 GB, free: 98.45 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01126/29.73, allocations: 3.224 MB / 9.431 GB, free: 97.54 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005866/29.73, allocations: 88.94 kB / 9.431 GB, free: 97.54 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01339/29.74, allocations: 0.7568 MB / 9.431 GB, free: 97.43 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001411/29.75, allocations: 379.2 kB / 9.432 GB, free: 97.42 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001249/29.75, allocations: 272.7 kB / 9.432 GB, free: 97.42 MB / 1.214 GB Notification: Performance of sort global known variables: time 0.02446/29.77, allocations: 10.63 MB / 9.442 GB, free: 96.98 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.05285/29.82, allocations: 9.357 MB / 9.452 GB, free: 96.98 MB / 1.214 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.01024/29.84, allocations: 5.283 MB / 9.457 GB, free: 94.73 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.07432/29.91, allocations: 36.67 MB / 9.493 GB, free: 91.66 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.639e-05/29.91, allocations: 13.34 kB / 9.493 GB, free: 91.66 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.01823/29.93, allocations: 9.166 MB / 9.502 GB, free: 91.33 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03935/29.97, allocations: 7.292 MB / 9.509 GB, free: 90.97 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07426/30.04, allocations: 27.57 MB / 9.536 GB, free: 85.38 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01739/30.06, allocations: 10.41 MB / 9.546 GB, free: 83.7 MB / 1.214 GB Notification: Performance of SimCode: time 1.312e-06/30.06, allocations: 0 / 9.546 GB, free: 83.7 MB / 1.214 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic/Buildings_maint_8_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_8_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_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.o Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.c In file included from Buildings_maint_8_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_8_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_8_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_8_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_8_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_8_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_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_maint_8_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_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_setupDataStruc ^ In file included from Buildings_maint_8_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_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_maint_8_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_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_setupDataStruc ^ 6 warnings and 2 errors generated. make: *** [: Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic/Buildings_maint_8_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_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic.def Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic.o Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic.a Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic.so Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.o Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic.o Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_functions.o Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_records.o Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_01exo.o Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_02nls.o Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_03lsy.o Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_04set.o Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_05evt.o Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_06inz.o Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_07dly.o Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_08bnd.o Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_09alg.o Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_10asr.o Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_11mix.o Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_12jac.o Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_13opt.o Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_14lnz.o Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_15syn.o Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_16dae.o Buildings_maint_8_0_x_Buildings_Fluid_Examples_FlowSystem_Basic_17inl.o Buildings_maint_8_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