Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1",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.582/1.582, allocations: 289.8 MB / 297.1 MB, free: 12.72 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001219/0.001219, allocations: 178.4 kB / 366.3 MB, free: 12.01 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.1 MB / 0.6256 GB, free: 2.078 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009516/0.0009515, allocations: 88.09 kB / 0.7395 GB, free: 47.19 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.3458/0.3469, allocations: 122.4 MB / 0.8591 GB, free: 7.145 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8225/1.169, allocations: 116.3 MB / 0.9726 GB, free: 81.6 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/2.228, allocations: 464.2 MB / 1.426 GB, free: 111.5 MB / 0.8621 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/2.228, allocations: 92.52 kB / 1.426 GB, free: 111.4 MB / 0.8621 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 37.43/39.66, allocations: 8.716 GB / 10.14 GB, free: 101.2 MB / 1.221 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/39.66, allocations: 12.94 kB / 10.14 GB, free: 101.2 MB / 1.221 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01796/39.68, allocations: 2.347 MB / 10.14 GB, free: 100.2 MB / 1.221 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09243/39.77, allocations: 26.94 MB / 10.17 GB, free: 97.65 MB / 1.221 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008972/39.77, allocations: 259.3 kB / 10.17 GB, free: 97.65 MB / 1.221 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006906/39.78, allocations: 0.5816 MB / 10.17 GB, free: 97.65 MB / 1.221 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04159/39.82, allocations: 20.03 MB / 10.19 GB, free: 97.61 MB / 1.221 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04957/39.87, allocations: 15.62 MB / 10.21 GB, free: 95.8 MB / 1.221 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007357/39.87, allocations: 11.84 kB / 10.21 GB, free: 95.8 MB / 1.221 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005262/39.87, allocations: 18.09 kB / 10.21 GB, free: 95.8 MB / 1.221 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003193/39.87, allocations: 219.5 kB / 10.21 GB, free: 95.8 MB / 1.221 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1814/40.06, allocations: 83.24 MB / 10.29 GB, free: 61.49 MB / 1.221 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01841/40.07, allocations: 10.3 MB / 10.3 GB, free: 61.35 MB / 1.221 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01864/40.09, allocations: 9.427 MB / 10.31 GB, free: 61.27 MB / 1.221 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09185/40.18, allocations: 35.46 MB / 10.34 GB, free: 52.11 MB / 1.221 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01987/40.2, allocations: 9.125 MB / 10.35 GB, free: 51.95 MB / 1.221 GB Notification: Performance of pre-optimization done (n=584): time 1.593e-05/40.2, allocations: 3.312 kB / 10.35 GB, free: 51.95 MB / 1.221 GB Notification: Performance of matching and sorting (n=586): time 0.6926/40.9, allocations: 150 MB / 10.5 GB, free: 33.48 MB / 1.221 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005643/40.9, allocations: 2.508 MB / 10.5 GB, free: 30.4 MB / 1.221 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03608/40.93, allocations: 14.18 MB / 10.51 GB, free: 22.23 MB / 1.221 GB Notification: Performance of collectPreVariables (initialization): time 0.004543/40.94, allocations: 45.7 kB / 10.51 GB, free: 22.18 MB / 1.221 GB Notification: Performance of collectInitialEqns (initialization): time 0.008214/40.95, allocations: 4.071 MB / 10.52 GB, free: 19.52 MB / 1.221 GB Notification: Performance of collectInitialBindings (initialization): time 0.006593/40.95, allocations: 2 MB / 10.52 GB, free: 17.92 MB / 1.221 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003571/40.96, allocations: 0 / 10.52 GB, free: 17.92 MB / 1.221 GB Notification: Performance of setup shared object (initialization): time 0.00115/40.96, allocations: 0.6827 MB / 10.52 GB, free: 17.48 MB / 1.221 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0162/40.97, allocations: 8.701 MB / 10.53 GB, free: 13.21 MB / 1.221 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02118/41, allocations: 12.18 MB / 10.54 GB, free: 4.508 MB / 1.221 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03316/41.03, allocations: 11.1 MB / 10.55 GB, free: 15.43 MB / 1.237 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000206/41.03, allocations: 23.38 kB / 10.55 GB, free: 15.41 MB / 1.237 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 2.119/43.15, allocations: 136 MB / 10.68 GB, free: 185.7 MB / 1.237 GB Notification: Performance of prepare postOptimizeDAE: time 0.00829/43.16, allocations: 36.48 MB / 10.72 GB, free: 148.5 MB / 1.237 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007105/43.16, allocations: 119.6 kB / 10.72 GB, free: 148.5 MB / 1.237 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6969/43.85, allocations: 161.4 MB / 10.88 GB, free: 133 MB / 1.237 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01366/43.87, allocations: 2.085 MB / 10.88 GB, free: 133 MB / 1.237 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1551/44.02, allocations: 67.59 MB / 10.95 GB, free: 111.8 MB / 1.237 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02323/44.05, allocations: 0.868 MB / 10.95 GB, free: 111.2 MB / 1.237 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006343/44.05, allocations: 0.8408 MB / 10.95 GB, free: 110.7 MB / 1.237 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/44.05, allocations: 0 / 10.95 GB, free: 110.7 MB / 1.237 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.536/45.59, allocations: 132.2 MB / 11.08 GB, free: 174.2 MB / 1.237 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006924/45.59, allocations: 114.6 kB / 11.08 GB, free: 174.2 MB / 1.237 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6843/46.27, allocations: 161.2 MB / 11.23 GB, free: 163.1 MB / 1.237 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01241/46.29, allocations: 2.05 MB / 11.24 GB, free: 163.1 MB / 1.237 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1819/46.47, allocations: 68.51 MB / 11.3 GB, free: 159.3 MB / 1.237 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02337/46.49, allocations: 0.8417 MB / 11.3 GB, free: 159.3 MB / 1.237 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006391/46.5, allocations: 0.7897 MB / 11.3 GB, free: 159.3 MB / 1.237 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (939): * Single equations (assignments): 861 * 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 {39 65} Notification: Performance of prepare postOptimizeDAE: time 0.009477/46.51, allocations: 359.7 kB / 11.3 GB, free: 159.1 MB / 1.237 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01109/46.52, allocations: 1.475 MB / 11.31 GB, free: 159.1 MB / 1.237 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2302/46.75, allocations: 57.8 MB / 11.36 GB, free: 151.6 MB / 1.237 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001894/46.75, allocations: 71.14 kB / 11.36 GB, free: 151.6 MB / 1.237 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.702e-05/46.75, allocations: 27.88 kB / 11.36 GB, free: 151.6 MB / 1.237 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1931/46.94, allocations: 51.7 MB / 11.41 GB, free: 134.1 MB / 1.237 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2519/47.19, allocations: 71.15 MB / 11.48 GB, free: 90.06 MB / 1.237 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.272e-05/47.19, allocations: 3.5 kB / 11.48 GB, free: 90.06 MB / 1.237 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00854/47.2, allocations: 1.106 MB / 11.48 GB, free: 89.23 MB / 1.237 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.211/48.41, allocations: 67.33 MB / 11.55 GB, free: 182.3 MB / 1.237 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002803/48.42, allocations: 168.6 kB / 11.55 GB, free: 182.3 MB / 1.237 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05643/48.47, allocations: 26.44 MB / 11.58 GB, free: 176.5 MB / 1.237 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/48.47, allocations: 4.344 kB / 11.58 GB, free: 176.5 MB / 1.237 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2175/48.69, allocations: 62.51 MB / 11.64 GB, free: 172.7 MB / 1.237 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.3154/49.01, allocations: 72.17 MB / 11.71 GB, free: 164.5 MB / 1.237 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01817/49.02, allocations: 3.184 MB / 11.71 GB, free: 163.6 MB / 1.237 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01009/49.03, allocations: 88.14 kB / 11.71 GB, free: 163.6 MB / 1.237 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02/49.05, allocations: 0.7436 MB / 11.71 GB, free: 163.5 MB / 1.237 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003296/49.06, allocations: 369.9 kB / 11.71 GB, free: 163.5 MB / 1.237 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003176/49.06, allocations: 262.9 kB / 11.71 GB, free: 163.5 MB / 1.237 GB Notification: Performance of sort global known variables: time 0.03629/49.1, allocations: 10.65 MB / 11.72 GB, free: 163 MB / 1.237 GB Notification: Performance of remove unused functions: time 0.0704/49.17, allocations: 9.363 MB / 11.73 GB, free: 163 MB / 1.237 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 (530): * Single equations (assignments): 508 * 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 {39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.01457/49.18, allocations: 5.288 MB / 11.74 GB, free: 160.8 MB / 1.237 GB Notification: Performance of simCode: created initialization part: time 0.09227/49.28, allocations: 36.08 MB / 11.77 GB, free: 157.8 MB / 1.237 GB Notification: Performance of simCode: created event and clocks part: time 2.962e-05/49.28, allocations: 12.28 kB / 11.77 GB, free: 157.8 MB / 1.237 GB Notification: Performance of simCode: created simulation system equations: time 0.02275/49.3, allocations: 8.894 MB / 11.78 GB, free: 157.4 MB / 1.237 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04977/49.35, allocations: 7.273 MB / 11.79 GB, free: 157.1 MB / 1.237 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1097/49.46, allocations: 27.49 MB / 11.81 GB, free: 151.5 MB / 1.237 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02736/49.49, allocations: 10.42 MB / 11.82 GB, free: 150.3 MB / 1.237 GB Notification: Performance of SimCode: time 1.593e-06/49.49, allocations: 0 / 11.82 GB, free: 150.3 MB / 1.237 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1/Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1.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_Simplified1 -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_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_FMU.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_FMU.c In file included from Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_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_Simplified1_FMU.c:1082:9: error: unknown type name 'to' to set default values of constantHead and heads, and ^ Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_FMU.c:1082:15: error: expected ';' after top level declarator to set default values of constantHead and heads, and ^ ; Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_FMU.c:1083: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_Simplified1_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_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_FMU.c:6612: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_FMU.c:6611:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_setupDataStruc ^ In file included from Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_FMU.c:6612: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_FMU.c:6611:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_setupDataStruc ^ 6 warnings and 2 errors generated. make: *** [: Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1/Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1.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_Simplified1.def Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1.a Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1.so Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_FMU.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_functions.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_records.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_01exo.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_02nls.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_03lsy.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_04set.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_05evt.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_06inz.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_07dly.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_08bnd.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_09alg.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_10asr.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_11mix.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_12jac.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_13opt.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_14lnz.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_15syn.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_16dae.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_17inl.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified1_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