Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.094/2.094, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 184.3 kB / 487 MB, free: 5.379 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 221.3 MB / 0.7819 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009551/0.0009548, allocations: 95.05 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6438/0.6448, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.927, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.118/2.045, allocations: 461.3 MB / 1.656 GB, free: 10.6 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/2.045, allocations: 90.77 kB / 1.656 GB, free: 10.55 MB / 1.089 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 24.41/26.46, allocations: 6.5 GB / 8.156 GB, free: 92.58 MB / 1.401 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/26.46, allocations: 8.938 kB / 8.156 GB, free: 92.58 MB / 1.401 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02031/26.48, allocations: 2.627 MB / 8.159 GB, free: 91.56 MB / 1.401 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08767/26.57, allocations: 25.39 MB / 8.184 GB, free: 88.2 MB / 1.401 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007631/26.57, allocations: 250.8 kB / 8.184 GB, free: 88.2 MB / 1.401 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006164/26.57, allocations: 0.5928 MB / 8.184 GB, free: 88.19 MB / 1.401 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03953/26.61, allocations: 20.2 MB / 8.204 GB, free: 88.15 MB / 1.401 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04564/26.66, allocations: 14.78 MB / 8.219 GB, free: 87.34 MB / 1.401 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008682/26.66, allocations: 11.72 kB / 8.219 GB, free: 87.34 MB / 1.401 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004689/26.67, allocations: 8.781 kB / 8.219 GB, free: 87.34 MB / 1.401 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006655/26.67, allocations: 383.9 kB / 8.219 GB, free: 87.31 MB / 1.401 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1776/26.84, allocations: 83.02 MB / 8.3 GB, free: 40.01 MB / 1.401 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01809/26.86, allocations: 11.11 MB / 8.311 GB, free: 30.23 MB / 1.401 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01704/26.88, allocations: 10.14 MB / 8.321 GB, free: 21.12 MB / 1.401 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1017/26.98, allocations: 36.87 MB / 8.357 GB, free: 6.91 MB / 1.417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755/28.74, allocations: 9.544 MB / 8.366 GB, free: 200 MB / 1.417 GB Notification: Performance of pre-optimization done (n=640): time 1.421e-05/28.74, allocations: 0 / 8.366 GB, free: 200 MB / 1.417 GB Notification: Performance of matching and sorting (n=642): time 0.6883/29.42, allocations: 152 MB / 8.515 GB, free: 192.8 MB / 1.417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/29.42, allocations: 118.3 kB / 8.515 GB, free: 192.7 MB / 1.417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03374/29.46, allocations: 13.66 MB / 8.528 GB, free: 192 MB / 1.417 GB Notification: Performance of collectPreVariables (initialization): time 0.003882/29.46, allocations: 38.64 kB / 8.528 GB, free: 192 MB / 1.417 GB Notification: Performance of collectInitialEqns (initialization): time 0.007455/29.47, allocations: 3.648 MB / 8.532 GB, free: 190.8 MB / 1.417 GB Notification: Performance of collectInitialBindings (initialization): time 0.01203/29.48, allocations: 2.192 MB / 8.534 GB, free: 189.7 MB / 1.417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003464/29.49, allocations: 4 kB / 8.534 GB, free: 189.7 MB / 1.417 GB Notification: Performance of setup shared object (initialization): time 0.0009385/29.49, allocations: 0.648 MB / 8.534 GB, free: 189.3 MB / 1.417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01432/29.5, allocations: 8.472 MB / 8.543 GB, free: 189.3 MB / 1.417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01695/29.52, allocations: 11.27 MB / 8.554 GB, free: 186.1 MB / 1.417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02113/29.54, allocations: 9.868 MB / 8.563 GB, free: 185.9 MB / 1.417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001556/29.54, allocations: 11.03 kB / 8.563 GB, free: 185.9 MB / 1.417 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.6502/30.19, allocations: 134.8 MB / 8.695 GB, free: 175.7 MB / 1.417 GB Notification: Performance of prepare postOptimizeDAE: time 0.005712/30.2, allocations: 31.84 MB / 8.726 GB, free: 142.2 MB / 1.417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002097/30.2, allocations: 44.47 kB / 8.726 GB, free: 142.2 MB / 1.417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.661/30.86, allocations: 162.4 MB / 8.885 GB, free: 73.21 MB / 1.417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01481/30.87, allocations: 2.449 MB / 8.887 GB, free: 70.92 MB / 1.417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1377/31.01, allocations: 69.04 MB / 8.954 GB, free: 16.75 MB / 1.417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02272/31.03, allocations: 0.9485 MB / 8.955 GB, free: 15.84 MB / 1.417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004497/31.04, allocations: 0.795 MB / 8.956 GB, free: 15.11 MB / 1.417 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/31.04, allocations: 6.188 kB / 8.956 GB, free: 15.11 MB / 1.417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.463/32.5, allocations: 131.7 MB / 9.085 GB, free: 179.5 MB / 1.417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002481/32.5, allocations: 45.09 kB / 9.085 GB, free: 179.5 MB / 1.417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6636/33.16, allocations: 162.2 MB / 9.243 GB, free: 164 MB / 1.417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01303/33.18, allocations: 2.417 MB / 9.246 GB, free: 164 MB / 1.417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1708/33.35, allocations: 72.49 MB / 9.316 GB, free: 160.1 MB / 1.417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02385/33.37, allocations: 0.9353 MB / 9.317 GB, free: 160 MB / 1.417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00485/33.38, allocations: 0.7428 MB / 9.318 GB, free: 160 MB / 1.417 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 (859): * Single equations (assignments): 845 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * 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.007293/33.38, allocations: 310.4 kB / 9.318 GB, free: 159.9 MB / 1.417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007337/33.39, allocations: 1.404 MB / 9.32 GB, free: 159.9 MB / 1.417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2142/33.61, allocations: 59.04 MB / 9.377 GB, free: 151.6 MB / 1.417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002887/33.61, allocations: 74.56 kB / 9.377 GB, free: 151.5 MB / 1.417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002042/33.61, allocations: 32 kB / 9.377 GB, free: 151.5 MB / 1.417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1888/33.79, allocations: 52.82 MB / 9.429 GB, free: 115.7 MB / 1.417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2329/34.03, allocations: 73.18 MB / 9.5 GB, free: 64.76 MB / 1.417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.874e-05/34.03, allocations: 4.125 kB / 9.5 GB, free: 64.76 MB / 1.417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007851/34.04, allocations: 1.146 MB / 9.502 GB, free: 63.7 MB / 1.417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.134/35.17, allocations: 67.91 MB / 9.568 GB, free: 172.5 MB / 1.417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002681/35.17, allocations: 166.2 kB / 9.568 GB, free: 172.5 MB / 1.417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05793/35.23, allocations: 27.75 MB / 9.595 GB, free: 166 MB / 1.417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/35.23, allocations: 0 / 9.595 GB, free: 166 MB / 1.417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2151/35.45, allocations: 63.94 MB / 9.658 GB, free: 158.3 MB / 1.417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2309/35.68, allocations: 74.07 MB / 9.73 GB, free: 149.7 MB / 1.417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01431/35.69, allocations: 3.326 MB / 9.733 GB, free: 148.8 MB / 1.417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007861/35.7, allocations: 79.28 kB / 9.733 GB, free: 148.8 MB / 1.417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01789/35.72, allocations: 0.8193 MB / 9.734 GB, free: 148.7 MB / 1.417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002757/35.72, allocations: 397 kB / 9.734 GB, free: 148.7 MB / 1.417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002311/35.72, allocations: 277.1 kB / 9.735 GB, free: 148.7 MB / 1.417 GB Notification: Performance of sort global known variables: time 0.02268/35.74, allocations: 10.28 MB / 9.745 GB, free: 148.3 MB / 1.417 GB Notification: Performance of remove unused functions: time 0.05449/35.8, allocations: 9.354 MB / 9.754 GB, free: 148.3 MB / 1.417 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.s[1],pmpSouth.filter.s[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],pmpNorth.filter.s[2],valSouth1[1].filter.s[1],valSouth1[1].filter.s[2],valSouth1[2].filter.s[1],valSouth1[2].filter.s[2],valSouth1[3].filter.s[1],valSouth1[3].filter.s[2],valSouth1[4].filter.s[1],valSouth1[4].filter.s[2],valSouth2[1].filter.s[1],valSouth2[1].filter.s[2],valSouth2[2].filter.s[1],valSouth2[2].filter.s[2],valSouth2[3].filter.s[1],valSouth2[3].filter.s[2],valSouth2[4].filter.s[1],valSouth2[4].filter.s[2],valSouth2[5].filter.s[1],valSouth2[5].filter.s[2],valSouth2[6].filter.s[1],valSouth2[6].filter.s[2],valSouth2[7].filter.s[1],valSouth2[7].filter.s[2],valSouth2[8].filter.s[1],valSouth2[8].filter.s[2],valNorth1[1].filter.s[1],valNorth1[1].filter.s[2],valNorth1[2].filter.s[1],valNorth1[2].filter.s[2],valNorth1[3].filter.s[1],valNorth1[3].filter.s[2],valNorth1[4].filter.s[1],valNorth1[4].filter.s[2],valNorth2[1].filter.s[1],valNorth2[1].filter.s[2],valNorth2[2].filter.s[1],valNorth2[2].filter.s[2],valNorth2[3].filter.s[1],valNorth2[3].filter.s[2],valNorth2[4].filter.s[1],valNorth2[4].filter.s[2],valNorth2[5].filter.s[1],valNorth2[5].filter.s[2],valNorth2[6].filter.s[1],valNorth2[6].filter.s[2],valNorth2[7].filter.s[1],valNorth2[7].filter.s[2],valNorth2[8].filter.s[1],valNorth2[8].filter.s[2],valSouth.vol.dynBal.U,valSouth.filter.s[1],valSouth.filter.s[2],valNorth.vol.dynBal.U,valNorth.filter.s[1],valNorth.filter.s[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],pumpHea.filter.s[2],valHea.filter.s[1],valHea.filter.s[2],valCoo.filter.s[1],valCoo.filter.s[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1],pumpCoo.filter.s[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 (538): * Single equations (assignments): 516 * 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.01068/35.81, allocations: 5.232 MB / 9.759 GB, free: 146 MB / 1.417 GB Notification: Performance of simCode: created initialization part: time 0.07444/35.88, allocations: 33.95 MB / 9.792 GB, free: 144.9 MB / 1.417 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/35.88, allocations: 3.312 kB / 9.792 GB, free: 144.9 MB / 1.417 GB Notification: Performance of simCode: created simulation system equations: time 0.01993/35.9, allocations: 9.363 MB / 9.801 GB, free: 144.6 MB / 1.417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04227/35.95, allocations: 6.854 MB / 9.808 GB, free: 144.3 MB / 1.417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09726/36.04, allocations: 27.81 MB / 9.835 GB, free: 138.9 MB / 1.417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03058/36.07, allocations: 9.958 MB / 9.845 GB, free: 137.6 MB / 1.417 GB Notification: Performance of SimCode: time 1.763e-06/36.07, allocations: 0 / 9.845 GB, free: 137.6 MB / 1.417 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Basic/Buildings_9_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_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_9_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.c In file included from Buildings_9_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_9_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.c:1114:9: error: unknown type name 'to' to set default values of constantHead and heads, and ^ Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.c:1114:15: error: expected ';' after top level declarator to set default values of constantHead and heads, and ^ ; Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.c:1115:70: warning: missing terminating '"' character [-Winvalid-pp-token] and for default pressure curve if not specified in record per" ^ Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.c:1389:70: warning: missing terminating '"' character [-Winvalid-pp-token] and for default pressure curve if not specified in record per" ^ In file included from Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.c:6226: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.c:6225:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_setupDataStruc ^ In file included from Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.c:6226: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.c:6225:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_setupDataStruc ^ 6 warnings and 2 errors generated. make: *** [: Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Basic/Buildings_9_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_9_Buildings_Fluid_Examples_FlowSystem_Basic.def Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic.a Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic.so Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_FMU.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_functions.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_records.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_01exo.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_02nls.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_03lsy.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_04set.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_05evt.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_06inz.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_07dly.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_08bnd.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_09alg.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_10asr.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_11mix.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_12jac.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_13opt.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_14lnz.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_15syn.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_16dae.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Basic_17inl.o Buildings_9_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