Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.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.Simplified3,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.098/2.098, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001096/0.001096, allocations: 181.3 kB / 487 MB, free: 5.367 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.517/1.517, allocations: 221.3 MB / 0.7819 GB, free: 1.367 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.001003/0.001002, allocations: 103.2 kB / 0.9213 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6607/0.6618, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.9483, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.98, allocations: 461.8 MB / 1.656 GB, free: 10.36 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/1.981, allocations: 92.27 kB / 1.656 GB, free: 10.32 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 35.89/37.87, allocations: 9.593 GB / 11.25 GB, free: 96.45 MB / 1.432 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/37.87, allocations: 17.38 kB / 11.25 GB, free: 96.44 MB / 1.432 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01742/37.89, allocations: 2.616 MB / 11.25 GB, free: 95.42 MB / 1.432 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07507/37.97, allocations: 25.31 MB / 11.28 GB, free: 92.04 MB / 1.432 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008744/37.97, allocations: 250.7 kB / 11.28 GB, free: 92.04 MB / 1.432 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005975/37.97, allocations: 0.5821 MB / 11.28 GB, free: 92.03 MB / 1.432 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04635/38.02, allocations: 19.92 MB / 11.3 GB, free: 89.46 MB / 1.432 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04047/38.06, allocations: 14.61 MB / 11.31 GB, free: 82.45 MB / 1.432 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003931/38.06, allocations: 15.81 kB / 11.31 GB, free: 82.43 MB / 1.432 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003679/38.06, allocations: 8 kB / 11.31 GB, free: 82.43 MB / 1.432 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003147/38.06, allocations: 374.9 kB / 11.31 GB, free: 82.09 MB / 1.432 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1461/38.21, allocations: 84.2 MB / 11.39 GB, free: 7.25 MB / 1.432 GB Notification: Performance of preOpt comSubExp (simulation): time 1.382/39.59, allocations: 10.43 MB / 11.4 GB, free: 192.5 MB / 1.432 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0164/39.61, allocations: 9.891 MB / 11.41 GB, free: 192.5 MB / 1.432 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07761/39.69, allocations: 36.07 MB / 11.45 GB, free: 184.4 MB / 1.432 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01597/39.7, allocations: 9.21 MB / 11.46 GB, free: 184.3 MB / 1.432 GB Notification: Performance of pre-optimization done (n=595): time 1.113e-05/39.7, allocations: 0 / 11.46 GB, free: 184.3 MB / 1.432 GB Notification: Performance of matching and sorting (n=597): time 0.6762/40.38, allocations: 149.9 MB / 11.6 GB, free: 176.3 MB / 1.432 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.864e-05/40.38, allocations: 113.5 kB / 11.6 GB, free: 176.2 MB / 1.432 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03506/40.41, allocations: 13.7 MB / 11.62 GB, free: 175.5 MB / 1.432 GB Notification: Performance of collectPreVariables (initialization): time 0.004674/40.42, allocations: 39.64 kB / 11.62 GB, free: 175.4 MB / 1.432 GB Notification: Performance of collectInitialEqns (initialization): time 0.00789/40.43, allocations: 3.719 MB / 11.62 GB, free: 174.2 MB / 1.432 GB Notification: Performance of collectInitialBindings (initialization): time 0.01187/40.44, allocations: 2.034 MB / 11.62 GB, free: 173.2 MB / 1.432 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00271/40.44, allocations: 7.75 kB / 11.62 GB, free: 173.2 MB / 1.432 GB Notification: Performance of setup shared object (initialization): time 0.0007113/40.44, allocations: 0.6386 MB / 11.62 GB, free: 172.8 MB / 1.432 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01337/40.46, allocations: 8.247 MB / 11.63 GB, free: 172.8 MB / 1.432 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01629/40.47, allocations: 11 MB / 11.64 GB, free: 169.6 MB / 1.432 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01889/40.49, allocations: 9.635 MB / 11.65 GB, free: 169.4 MB / 1.432 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001444/40.49, allocations: 17.22 kB / 11.65 GB, free: 169.4 MB / 1.432 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.6333/41.13, allocations: 133.5 MB / 11.78 GB, free: 159.2 MB / 1.432 GB Notification: Performance of prepare postOptimizeDAE: time 0.007029/41.13, allocations: 36.74 MB / 11.82 GB, free: 120.5 MB / 1.432 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002011/41.13, allocations: 55.47 kB / 11.82 GB, free: 120.5 MB / 1.432 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6629/41.8, allocations: 160.9 MB / 11.98 GB, free: 40.79 MB / 1.432 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01472/41.81, allocations: 2.537 MB / 11.98 GB, free: 38.42 MB / 1.432 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9272/42.74, allocations: 65.67 MB / 12.04 GB, free: 178.7 MB / 1.432 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02636/42.76, allocations: 0.9653 MB / 12.04 GB, free: 178.7 MB / 1.432 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005886/42.77, allocations: 0.7938 MB / 12.04 GB, free: 178.7 MB / 1.432 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/42.77, allocations: 7.938 kB / 12.04 GB, free: 178.7 MB / 1.432 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6239/43.39, allocations: 131 MB / 12.17 GB, free: 173.9 MB / 1.432 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002737/43.39, allocations: 50.47 kB / 12.17 GB, free: 173.9 MB / 1.432 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6734/44.07, allocations: 161 MB / 12.33 GB, free: 158.4 MB / 1.432 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01398/44.08, allocations: 2.528 MB / 12.33 GB, free: 158.4 MB / 1.432 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1454/44.23, allocations: 67.3 MB / 12.4 GB, free: 154.6 MB / 1.432 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02226/44.25, allocations: 0.9307 MB / 12.4 GB, free: 154.6 MB / 1.432 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003795/44.25, allocations: 0.7577 MB / 12.4 GB, free: 154.6 MB / 1.432 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 (915): * Single equations (assignments): 903 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * 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.003958/44.26, allocations: 318.4 kB / 12.4 GB, free: 154.5 MB / 1.432 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005534/44.26, allocations: 1.398 MB / 12.4 GB, free: 154.5 MB / 1.432 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2/44.46, allocations: 57.78 MB / 12.46 GB, free: 136.4 MB / 1.432 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001706/44.46, allocations: 70.88 kB / 12.46 GB, free: 136.3 MB / 1.432 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.93e-05/44.46, allocations: 30.97 kB / 12.46 GB, free: 136.3 MB / 1.432 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.215/44.68, allocations: 51.69 MB / 12.51 GB, free: 101.1 MB / 1.432 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2309/44.91, allocations: 70.71 MB / 12.58 GB, free: 52.06 MB / 1.432 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.171e-05/44.91, allocations: 4.922 kB / 12.58 GB, free: 52.05 MB / 1.432 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007992/44.92, allocations: 1.176 MB / 12.58 GB, free: 50.97 MB / 1.432 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091/46.01, allocations: 66.5 MB / 12.64 GB, free: 164.9 MB / 1.432 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002785/46.01, allocations: 163.3 kB / 12.64 GB, free: 164.9 MB / 1.432 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05383/46.06, allocations: 24.69 MB / 12.67 GB, free: 159.6 MB / 1.432 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/46.06, allocations: 0 / 12.67 GB, free: 159.6 MB / 1.432 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2058/46.27, allocations: 62.41 MB / 12.73 GB, free: 152 MB / 1.432 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2187/46.49, allocations: 72.23 MB / 12.8 GB, free: 143.6 MB / 1.432 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01467/46.5, allocations: 3.235 MB / 12.8 GB, free: 142.7 MB / 1.432 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007973/46.51, allocations: 79.36 kB / 12.8 GB, free: 142.7 MB / 1.432 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01786/46.53, allocations: 0.7631 MB / 12.8 GB, free: 142.6 MB / 1.432 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002537/46.53, allocations: 369.8 kB / 12.8 GB, free: 142.6 MB / 1.432 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001196/46.53, allocations: 268.8 kB / 12.8 GB, free: 142.6 MB / 1.432 GB Notification: Performance of sort global known variables: time 0.02426/46.56, allocations: 10.29 MB / 12.81 GB, free: 142.2 MB / 1.432 GB Notification: Performance of remove unused functions: time 0.06188/46.62, allocations: 9.338 MB / 12.82 GB, free: 142.2 MB / 1.432 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 (554): * Single equations (assignments): 534 * 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.01073/46.63, allocations: 5.23 MB / 12.83 GB, free: 140 MB / 1.432 GB Notification: Performance of simCode: created initialization part: time 0.07532/46.71, allocations: 32.53 MB / 12.86 GB, free: 139 MB / 1.432 GB Notification: Performance of simCode: created event and clocks part: time 1.578e-05/46.71, allocations: 3.094 kB / 12.86 GB, free: 139 MB / 1.432 GB Notification: Performance of simCode: created simulation system equations: time 0.01947/46.73, allocations: 8.699 MB / 12.87 GB, free: 138.7 MB / 1.432 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04226/46.77, allocations: 6.717 MB / 12.87 GB, free: 138.4 MB / 1.432 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09192/46.86, allocations: 27.59 MB / 12.9 GB, free: 133.1 MB / 1.432 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02416/46.88, allocations: 9.95 MB / 12.91 GB, free: 131.8 MB / 1.432 GB Notification: Performance of SimCode: time 1.773e-06/46.88, allocations: 0 / 12.91 GB, free: 131.8 MB / 1.432 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3/Buildings_9_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. "-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_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_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_FMU.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_FMU.c In file included from Buildings_9_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_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_FMU.c:1097:9: error: unknown type name 'to' to set default values of constantHead and heads, and ^ Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_FMU.c:1097:15: error: expected ';' after top level declarator to set default values of constantHead and heads, and ^ ; Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_FMU.c:1098: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_Simplified3_FMU.c:1372: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_Simplified3_FMU.c:6220: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_FMU.c:6219:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_setupDataStruc ^ In file included from Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_FMU.c:6220: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_FMU.c:6219:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_setupDataStruc ^ 6 warnings and 2 errors generated. make: *** [: Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3/Buildings_9_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_9_Buildings_Fluid_Examples_FlowSystem_Simplified3.def Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3.a Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3.so Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_FMU.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_functions.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_records.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_01exo.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_02nls.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_03lsy.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_04set.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_05evt.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_06inz.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_07dly.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_08bnd.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_09alg.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_10asr.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_11mix.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_12jac.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_13opt.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_14lnz.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_15syn.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_16dae.o Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3_17inl.o Buildings_9_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