Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3",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.1.4-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 289.8 MB / 297.1 MB, free: 6.691 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.001125/0.001125, allocations: 185.3 kB / 366.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.1 MB / 0.6256 GB, free: 5.824 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009962/0.000996, allocations: 93.61 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3124/0.3134, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8057/1.119, allocations: 116.3 MB / 0.9726 GB, free: 68.21 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.091/2.21, allocations: 464.5 MB / 1.426 GB, free: 25.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/2.211, allocations: 92.45 kB / 1.426 GB, free: 25.11 MB / 0.823 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 38.21/40.42, allocations: 9.504 GB / 10.93 GB, free: 4.324 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 6.838e-05/40.42, allocations: 8 kB / 10.93 GB, free: 4.316 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02221/40.44, allocations: 2.351 MB / 10.93 GB, free: 1.941 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.638/42.08, allocations: 26.94 MB / 10.96 GB, free: 133.2 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006364/42.08, allocations: 259.8 kB / 10.96 GB, free: 133.2 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005456/42.09, allocations: 0.578 MB / 10.96 GB, free: 133.2 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03689/42.13, allocations: 19.97 MB / 10.98 GB, free: 133.2 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03753/42.16, allocations: 15.58 MB / 10.99 GB, free: 131.4 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003102/42.16, allocations: 16.31 kB / 10.99 GB, free: 131.4 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002748/42.17, allocations: 15.22 kB / 10.99 GB, free: 131.4 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002306/42.17, allocations: 218.7 kB / 10.99 GB, free: 131.4 MB / 1.214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1488/42.31, allocations: 83.58 MB / 11.08 GB, free: 96.84 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01477/42.33, allocations: 10.14 MB / 11.09 GB, free: 96.7 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01373/42.34, allocations: 9.706 MB / 11.1 GB, free: 96.61 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.077/42.42, allocations: 35.25 MB / 11.13 GB, free: 88.04 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01826/42.44, allocations: 9.027 MB / 11.14 GB, free: 87.88 MB / 1.214 GB Notification: Performance of pre-optimization done (n=563): time 1.014e-05/42.44, allocations: 1.531 kB / 11.14 GB, free: 87.88 MB / 1.214 GB Notification: Performance of matching and sorting (n=565): time 0.7021/43.14, allocations: 149.5 MB / 11.29 GB, free: 76.4 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007021/43.14, allocations: 2.505 MB / 11.29 GB, free: 73.39 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05741/43.2, allocations: 14.18 MB / 11.3 GB, free: 72.55 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004791/43.2, allocations: 48.77 kB / 11.3 GB, free: 72.52 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01056/43.21, allocations: 4.095 MB / 11.31 GB, free: 70.68 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.007355/43.22, allocations: 1.934 MB / 11.31 GB, free: 69.39 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004531/43.23, allocations: 0 / 11.31 GB, free: 69.39 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.001498/43.23, allocations: 0.6728 MB / 11.31 GB, free: 69.07 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01897/43.25, allocations: 8.651 MB / 11.32 GB, free: 69.04 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02101/43.27, allocations: 12.1 MB / 11.33 GB, free: 65.07 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02431/43.29, allocations: 10.15 MB / 11.34 GB, free: 64.84 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001953/43.29, allocations: 17.34 kB / 11.34 GB, free: 64.84 MB / 1.214 GB Notification: Performance of matching and sorting (n=1187) (initialization): time 1.462/44.76, allocations: 134.6 MB / 11.47 GB, free: 119.5 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.007424/44.76, allocations: 38.06 MB / 11.51 GB, free: 80.92 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000597/44.76, allocations: 117 kB / 11.51 GB, free: 80.92 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.677/45.44, allocations: 160.9 MB / 11.66 GB, free: 69.54 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01355/45.45, allocations: 2.076 MB / 11.67 GB, free: 69.54 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1418/45.6, allocations: 65.64 MB / 11.73 GB, free: 63.68 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02283/45.62, allocations: 0.8704 MB / 11.73 GB, free: 63.62 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005302/45.62, allocations: 0.8333 MB / 11.73 GB, free: 63.62 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/45.62, allocations: 6.594 kB / 11.73 GB, free: 63.62 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6414/46.27, allocations: 131.9 MB / 11.86 GB, free: 52.36 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006253/46.27, allocations: 122.9 kB / 11.86 GB, free: 52.27 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592/47.86, allocations: 161 MB / 12.02 GB, free: 112.5 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01146/47.87, allocations: 2.066 MB / 12.02 GB, free: 112.5 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1527/48.02, allocations: 67.29 MB / 12.09 GB, free: 108.7 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02405/48.05, allocations: 0.8445 MB / 12.09 GB, free: 108.7 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00529/48.05, allocations: 0.7938 MB / 12.09 GB, free: 108.7 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (947): * Single equations (assignments): 871 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {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 {5 80} Notification: Performance of prepare postOptimizeDAE: time 0.007973/48.06, allocations: 359.4 kB / 12.09 GB, free: 108.6 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007682/48.07, allocations: 1.47 MB / 12.09 GB, free: 108.6 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2128/48.28, allocations: 57.43 MB / 12.15 GB, free: 101.1 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002854/48.28, allocations: 69.64 kB / 12.15 GB, free: 101.1 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001258/48.28, allocations: 30.16 kB / 12.15 GB, free: 101.1 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1914/48.47, allocations: 51.36 MB / 12.2 GB, free: 93.93 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2525/48.73, allocations: 69.94 MB / 12.26 GB, free: 83.93 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-05/48.73, allocations: 128 / 12.26 GB, free: 83.93 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008524/48.73, allocations: 1.085 MB / 12.26 GB, free: 83.92 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2124/48.95, allocations: 66.52 MB / 12.33 GB, free: 40.66 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002911/48.95, allocations: 160.5 kB / 12.33 GB, free: 40.58 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025/49.97, allocations: 25.06 MB / 12.35 GB, free: 122.5 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-05/49.97, allocations: 6.844 kB / 12.35 GB, free: 122.5 MB / 1.214 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.211/50.19, allocations: 62.1 MB / 12.42 GB, free: 118.9 MB / 1.214 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2253/50.41, allocations: 71.66 MB / 12.49 GB, free: 110.8 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01491/50.43, allocations: 3.15 MB / 12.49 GB, free: 109.9 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007891/50.43, allocations: 83.23 kB / 12.49 GB, free: 109.9 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01835/50.45, allocations: 0.6927 MB / 12.49 GB, free: 109.8 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002702/50.45, allocations: 362 kB / 12.49 GB, free: 109.8 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002411/50.46, allocations: 253.5 kB / 12.49 GB, free: 109.8 MB / 1.214 GB Notification: Performance of sort global known variables: time 0.02677/50.48, allocations: 10.65 MB / 12.5 GB, free: 109.3 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.06772/50.55, allocations: 9.338 MB / 12.51 GB, free: 109.3 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 (522): * Single equations (assignments): 502 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {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 {5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.0131/50.57, allocations: 5.294 MB / 12.51 GB, free: 107.1 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.08859/50.65, allocations: 35.24 MB / 12.55 GB, free: 104.1 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 2.341e-05/50.65, allocations: 10.38 kB / 12.55 GB, free: 104.1 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.02121/50.67, allocations: 8.514 MB / 12.56 GB, free: 103.9 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05192/50.73, allocations: 7.126 MB / 12.56 GB, free: 103.5 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1054/50.83, allocations: 27.39 MB / 12.59 GB, free: 97.96 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03053/50.86, allocations: 10.41 MB / 12.6 GB, free: 96.7 MB / 1.214 GB Notification: Performance of SimCode: time 4.047e-06/50.86, allocations: 0 / 12.6 GB, free: 96.7 MB / 1.214 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3/Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3.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_8_Buildings_Fluid_Examples_FlowSystem_Simplified3 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_FMU.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_FMU.c In file included from Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_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_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_FMU.c:1065:9: error: unknown type name 'to' to set default values of constantHead and heads, and ^ Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_FMU.c:1065:15: error: expected ';' after top level declarator to set default values of constantHead and heads, and ^ ; Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_FMU.c:1066:70: warning: missing terminating '"' character [-Winvalid-pp-token] and for default pressure curve if not specified in record per" ^ Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_FMU.c:1344:70: warning: missing terminating '"' character [-Winvalid-pp-token] and for default pressure curve if not specified in record per" ^ In file included from Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_FMU.c:6606: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_FMU.c:6605:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_setupDataStruc ^ In file included from Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_FMU.c:6606: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_FMU.c:6605:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_setupDataStruc ^ 6 warnings and 2 errors generated. make: *** [: Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3/Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3.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_8_Buildings_Fluid_Examples_FlowSystem_Simplified3.def Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3.a Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3.so Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_FMU.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_functions.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_records.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_01exo.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_02nls.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_03lsy.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_04set.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_05evt.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_06inz.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_07dly.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_08bnd.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_09alg.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_10asr.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_11mix.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_12jac.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_13opt.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_14lnz.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_15syn.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_16dae.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_17inl.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified3_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