Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified2,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2",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.583/1.583, allocations: 289.8 MB / 297 MB, free: 12.75 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.001129/0.001129, allocations: 190.3 kB / 366.3 MB, free: 12 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.693/1.693, allocations: 205.1 MB / 0.6256 GB, free: 2.098 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.0009922/0.0009922, allocations: 94.28 kB / 0.7395 GB, free: 46.98 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.3147/0.3157, allocations: 122.4 MB / 0.8591 GB, free: 7.172 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.858/1.174, allocations: 116.3 MB / 0.9726 GB, free: 81.5 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/2.239, allocations: 464.4 MB / 1.426 GB, free: 111.1 MB / 0.8621 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/2.24, allocations: 89.14 kB / 1.426 GB, free: 111.1 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 36.89/39.13, allocations: 8.717 GB / 10.14 GB, free: 88.66 MB / 1.206 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/39.13, allocations: 12.19 kB / 10.14 GB, free: 88.66 MB / 1.206 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0197/39.15, allocations: 2.354 MB / 10.15 GB, free: 87.65 MB / 1.206 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09568/39.25, allocations: 26.94 MB / 10.17 GB, free: 85.07 MB / 1.206 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007988/39.25, allocations: 260.5 kB / 10.17 GB, free: 85.07 MB / 1.206 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00612/39.25, allocations: 0.5796 MB / 10.17 GB, free: 85.07 MB / 1.206 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04185/39.29, allocations: 20.03 MB / 10.19 GB, free: 85.02 MB / 1.206 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04977/39.34, allocations: 15.63 MB / 10.21 GB, free: 83.2 MB / 1.206 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005516/39.34, allocations: 12.44 kB / 10.21 GB, free: 83.2 MB / 1.206 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005113/39.35, allocations: 17.81 kB / 10.21 GB, free: 83.2 MB / 1.206 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002437/39.35, allocations: 218.9 kB / 10.21 GB, free: 83.2 MB / 1.206 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1713/39.52, allocations: 83.25 MB / 10.29 GB, free: 48.6 MB / 1.206 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01846/39.54, allocations: 10.3 MB / 10.3 GB, free: 48.45 MB / 1.206 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01661/39.56, allocations: 9.426 MB / 10.31 GB, free: 48.36 MB / 1.206 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09679/39.65, allocations: 35.46 MB / 10.34 GB, free: 39.13 MB / 1.206 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02018/39.67, allocations: 9.127 MB / 10.35 GB, free: 38.96 MB / 1.206 GB Notification: Performance of pre-optimization done (n=584): time 1.14e-05/39.67, allocations: 0 / 10.35 GB, free: 38.96 MB / 1.206 GB Notification: Performance of matching and sorting (n=586): time 0.721/40.39, allocations: 150 MB / 10.5 GB, free: 10.59 MB / 1.206 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006259/40.4, allocations: 2.507 MB / 10.5 GB, free: 7.516 MB / 1.206 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04192/40.44, allocations: 14.18 MB / 10.51 GB, free: 15.35 MB / 1.221 GB Notification: Performance of collectPreVariables (initialization): time 0.004806/40.44, allocations: 49.7 kB / 10.51 GB, free: 15.3 MB / 1.221 GB Notification: Performance of collectInitialEqns (initialization): time 0.01052/40.45, allocations: 4.073 MB / 10.52 GB, free: 12.64 MB / 1.221 GB Notification: Performance of collectInitialBindings (initialization): time 0.008101/40.46, allocations: 1.998 MB / 10.52 GB, free: 11.03 MB / 1.221 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00417/40.46, allocations: 0 / 10.52 GB, free: 11.03 MB / 1.221 GB Notification: Performance of setup shared object (initialization): time 0.00118/40.47, allocations: 0.6785 MB / 10.52 GB, free: 10.6 MB / 1.221 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02254/40.49, allocations: 8.703 MB / 10.53 GB, free: 4.684 MB / 1.221 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.476/41.96, allocations: 13.27 MB / 10.54 GB, free: 183.8 MB / 1.222 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0218/41.99, allocations: 10.21 MB / 10.55 GB, free: 183.7 MB / 1.222 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001311/41.99, allocations: 13.5 kB / 10.55 GB, free: 183.7 MB / 1.222 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.6449/42.63, allocations: 134.9 MB / 10.68 GB, free: 177.8 MB / 1.222 GB Notification: Performance of prepare postOptimizeDAE: time 0.007083/42.64, allocations: 36.49 MB / 10.72 GB, free: 140.6 MB / 1.222 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006156/42.64, allocations: 116.9 kB / 10.72 GB, free: 140.6 MB / 1.222 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8219/43.46, allocations: 161.2 MB / 10.88 GB, free: 123.7 MB / 1.222 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0139/43.48, allocations: 2.083 MB / 10.88 GB, free: 122.2 MB / 1.222 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1639/43.64, allocations: 67.35 MB / 10.95 GB, free: 84.82 MB / 1.222 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02456/43.66, allocations: 0.873 MB / 10.95 GB, free: 84.27 MB / 1.222 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005588/43.67, allocations: 0.8378 MB / 10.95 GB, free: 83.77 MB / 1.222 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/43.67, allocations: 7.469 kB / 10.95 GB, free: 83.76 MB / 1.222 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.459/45.13, allocations: 132.1 MB / 11.08 GB, free: 167.5 MB / 1.222 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006276/45.13, allocations: 118.1 kB / 11.08 GB, free: 167.5 MB / 1.222 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6886/45.82, allocations: 161.2 MB / 11.23 GB, free: 153.9 MB / 1.222 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01276/45.83, allocations: 2.05 MB / 11.24 GB, free: 153.9 MB / 1.222 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.178/46.01, allocations: 68.38 MB / 11.3 GB, free: 150.1 MB / 1.222 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.023/46.03, allocations: 0.8376 MB / 11.3 GB, free: 150.1 MB / 1.222 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005648/46.04, allocations: 0.7964 MB / 11.3 GB, free: 150.1 MB / 1.222 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 {14 90} Notification: Performance of prepare postOptimizeDAE: time 0.008368/46.05, allocations: 359.6 kB / 11.3 GB, free: 150 MB / 1.222 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008638/46.05, allocations: 1.475 MB / 11.31 GB, free: 150 MB / 1.222 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2259/46.28, allocations: 57.8 MB / 11.36 GB, free: 138.3 MB / 1.222 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001552/46.28, allocations: 74.83 kB / 11.36 GB, free: 138.2 MB / 1.222 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.105e-05/46.28, allocations: 28 kB / 11.36 GB, free: 138.2 MB / 1.222 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1913/46.47, allocations: 51.7 MB / 11.41 GB, free: 103 MB / 1.222 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3547/46.83, allocations: 71.16 MB / 11.48 GB, free: 54.65 MB / 1.222 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002079/46.83, allocations: 0 / 11.48 GB, free: 54.65 MB / 1.222 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008959/46.84, allocations: 1.107 MB / 11.48 GB, free: 53.63 MB / 1.222 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135/47.97, allocations: 66.76 MB / 11.55 GB, free: 163.9 MB / 1.222 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002772/47.97, allocations: 166.2 kB / 11.55 GB, free: 163.9 MB / 1.222 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0598/48.03, allocations: 26.32 MB / 11.57 GB, free: 157.4 MB / 1.222 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.208e-06/48.03, allocations: 10.62 kB / 11.57 GB, free: 157.4 MB / 1.222 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.215/48.25, allocations: 62.52 MB / 11.64 GB, free: 149.8 MB / 1.222 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2313/48.48, allocations: 72.2 MB / 11.71 GB, free: 141.5 MB / 1.222 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0163/48.5, allocations: 3.182 MB / 11.71 GB, free: 140.6 MB / 1.222 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009742/48.51, allocations: 84.42 kB / 11.71 GB, free: 140.6 MB / 1.222 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01932/48.53, allocations: 0.742 MB / 11.71 GB, free: 140.5 MB / 1.222 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003403/48.53, allocations: 371.7 kB / 11.71 GB, free: 140.5 MB / 1.222 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003056/48.53, allocations: 262.8 kB / 11.71 GB, free: 140.5 MB / 1.222 GB Notification: Performance of sort global known variables: time 0.03515/48.57, allocations: 10.65 MB / 11.72 GB, free: 140.1 MB / 1.222 GB Notification: Performance of remove unused functions: time 0.06537/48.63, allocations: 9.356 MB / 11.73 GB, free: 140.1 MB / 1.222 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 {14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.0127/48.64, allocations: 5.287 MB / 11.74 GB, free: 137.8 MB / 1.222 GB Notification: Performance of simCode: created initialization part: time 0.09315/48.74, allocations: 35.62 MB / 11.77 GB, free: 134.8 MB / 1.222 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-05/48.74, allocations: 8.812 kB / 11.77 GB, free: 134.8 MB / 1.222 GB Notification: Performance of simCode: created simulation system equations: time 0.02168/48.76, allocations: 8.698 MB / 11.78 GB, free: 134.5 MB / 1.222 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04904/48.81, allocations: 7.277 MB / 11.79 GB, free: 134.1 MB / 1.222 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1065/48.92, allocations: 27.49 MB / 11.81 GB, free: 128.6 MB / 1.222 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03186/48.95, allocations: 10.43 MB / 11.82 GB, free: 122.6 MB / 1.222 GB Notification: Performance of SimCode: time 1.763e-06/48.95, allocations: 0 / 11.82 GB, free: 122.6 MB / 1.222 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2/Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2.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_Simplified2 -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_Simplified2_FMU.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_FMU.c In file included from Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_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_Simplified2_FMU.c:1082:9: error: unknown type name 'to' to set default values of constantHead and heads, and ^ Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_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_Simplified2_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_Simplified2_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_Simplified2_FMU.c:6612: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_FMU.c:6611:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_setupDataStruc ^ In file included from Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_FMU.c:6612: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_FMU.c:6611:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_setupDataStruc ^ 6 warnings and 2 errors generated. make: *** [: Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2/Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2.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_Simplified2.def Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2.a Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2.so Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_FMU.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_functions.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_records.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_01exo.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_02nls.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_03lsy.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_04set.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_05evt.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_06inz.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_07dly.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_08bnd.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_09alg.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_10asr.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_11mix.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_12jac.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_13opt.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_14lnz.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_15syn.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_16dae.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_17inl.o Buildings_8_Buildings_Fluid_Examples_FlowSystem_Simplified2_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