Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="IDEAS_dev_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.003799/0.003799, allocations: 180.3 kB / 7.461 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6937/0.6937, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 86.8 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4613/0.4625, allocations: 88.44 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.6487, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.189/1.838, allocations: 423.1 MB / 1.047 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/1.838, allocations: 87.95 kB / 1.047 GB, free: 210.4 MB / 0.6823 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 25.27/27.11, allocations: 6.488 GB / 7.534 GB, free: 49.46 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.758e-05/27.11, allocations: 11.03 kB / 7.534 GB, free: 49.46 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02103/27.13, allocations: 2.24 MB / 7.537 GB, free: 48.46 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09501/27.22, allocations: 25.26 MB / 7.561 GB, free: 31.05 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009689/27.22, allocations: 252 kB / 7.561 GB, free: 30.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007202/27.23, allocations: 0.5919 MB / 7.562 GB, free: 30.21 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03955/27.27, allocations: 20.15 MB / 7.582 GB, free: 10.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04367/27.32, allocations: 14.75 MB / 7.596 GB, free: 11.52 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005976/27.32, allocations: 15.84 kB / 7.596 GB, free: 11.51 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004262/27.32, allocations: 12 kB / 7.596 GB, free: 11.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004624/27.32, allocations: 379.2 kB / 7.596 GB, free: 11.12 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.195/28.52, allocations: 82.75 MB / 7.677 GB, free: 88.32 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01484/28.53, allocations: 11.09 MB / 7.688 GB, free: 88.18 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01252/28.54, allocations: 10.12 MB / 7.698 GB, free: 88.05 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07078/28.61, allocations: 36.78 MB / 7.734 GB, free: 79.72 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01488/28.63, allocations: 9.493 MB / 7.743 GB, free: 79.56 MB / 0.948 GB Notification: Performance of pre-optimization done (n=640): time 1.046e-05/28.63, allocations: 0 / 7.743 GB, free: 79.56 MB / 0.948 GB Notification: Performance of matching and sorting (n=642): time 0.6718/29.3, allocations: 151.9 MB / 7.891 GB, free: 68.01 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/29.3, allocations: 120.9 kB / 7.892 GB, free: 67.94 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03575/29.34, allocations: 13.65 MB / 7.905 GB, free: 67.21 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.003733/29.34, allocations: 39.55 kB / 7.905 GB, free: 67.18 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007752/29.35, allocations: 3.66 MB / 7.909 GB, free: 65.97 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.01097/29.36, allocations: 2.186 MB / 7.911 GB, free: 64.83 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00303/29.36, allocations: 0 / 7.911 GB, free: 64.83 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0008082/29.36, allocations: 0.6452 MB / 7.911 GB, free: 64.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01381/29.38, allocations: 8.45 MB / 7.92 GB, free: 64.48 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01663/29.39, allocations: 11.26 MB / 7.931 GB, free: 61.26 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01789/29.41, allocations: 9.862 MB / 7.94 GB, free: 55.09 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.473e-05/29.41, allocations: 15.91 kB / 7.94 GB, free: 55.08 MB / 0.948 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 1.422/30.83, allocations: 134.7 MB / 8.072 GB, free: 106.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.007163/30.84, allocations: 31.84 MB / 8.103 GB, free: 72.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002768/30.84, allocations: 57.53 kB / 8.103 GB, free: 72.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6815/31.52, allocations: 162.4 MB / 8.262 GB, free: 57.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01548/31.54, allocations: 2.411 MB / 8.264 GB, free: 57.37 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1663/31.7, allocations: 69.03 MB / 8.331 GB, free: 42.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02556/31.73, allocations: 0.918 MB / 8.332 GB, free: 41.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005251/31.74, allocations: 0.795 MB / 8.333 GB, free: 41.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/31.74, allocations: 4 kB / 8.333 GB, free: 41.25 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.468/33.2, allocations: 131.7 MB / 8.462 GB, free: 98.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002599/33.2, allocations: 48.75 kB / 8.462 GB, free: 98.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6824/33.89, allocations: 162.2 MB / 8.62 GB, free: 82.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01327/33.9, allocations: 2.376 MB / 8.622 GB, free: 82.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1594/34.06, allocations: 72.48 MB / 8.693 GB, free: 59.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02444/34.08, allocations: 0.8967 MB / 8.694 GB, free: 58.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004689/34.09, allocations: 0.7428 MB / 8.695 GB, free: 57.6 MB / 0.948 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.006929/34.1, allocations: 314.3 kB / 8.695 GB, free: 57.44 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007062/34.1, allocations: 1.402 MB / 8.696 GB, free: 56.79 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.027/35.13, allocations: 58.94 MB / 8.754 GB, free: 99.66 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002258/35.13, allocations: 80.38 kB / 8.754 GB, free: 99.66 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-05/35.13, allocations: 29.31 kB / 8.754 GB, free: 99.66 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1908/35.32, allocations: 52.76 MB / 8.806 GB, free: 92.54 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2505/35.57, allocations: 73.09 MB / 8.877 GB, free: 82.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001142/35.57, allocations: 3.031 kB / 8.877 GB, free: 82.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008173/35.58, allocations: 1.105 MB / 8.878 GB, free: 82.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2148/35.79, allocations: 67.9 MB / 8.944 GB, free: 69.14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002676/35.8, allocations: 166 kB / 8.944 GB, free: 69.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05812/35.86, allocations: 27.75 MB / 8.972 GB, free: 62.51 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/35.86, allocations: 3 kB / 8.972 GB, free: 62.51 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2109/36.07, allocations: 63.85 MB / 9.034 GB, free: 30.51 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 1.073/37.14, allocations: 74.12 MB / 9.106 GB, free: 101 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01742/37.16, allocations: 3.316 MB / 9.11 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009645/37.17, allocations: 82.62 kB / 9.11 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02063/37.19, allocations: 0.7865 MB / 9.11 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00335/37.19, allocations: 391.8 kB / 9.111 GB, free: 100.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003005/37.19, allocations: 278.2 kB / 9.111 GB, free: 100.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.03004/37.22, allocations: 10.28 MB / 9.121 GB, free: 100.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.06581/37.29, allocations: 9.343 MB / 9.13 GB, free: 100.4 MB / 0.948 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.01356/37.3, allocations: 5.226 MB / 9.135 GB, free: 98.19 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.08453/37.39, allocations: 33.89 MB / 9.168 GB, free: 97.12 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.737e-05/37.39, allocations: 6.609 kB / 9.168 GB, free: 97.12 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.02269/37.41, allocations: 9.319 MB / 9.178 GB, free: 96.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04771/37.46, allocations: 6.864 MB / 9.184 GB, free: 96.45 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1093/37.57, allocations: 27.73 MB / 9.211 GB, free: 91.14 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02727/37.6, allocations: 9.951 MB / 9.221 GB, free: 89.9 MB / 0.948 GB Notification: Performance of SimCode: time 3.386e-06/37.6, allocations: 1.375 kB / 9.221 GB, free: 89.9 MB / 0.948 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic/IDEAS_dev_IDEAS_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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_FMU.o IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_FMU.c In file included from IDEAS_dev_IDEAS_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); ^ IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_FMU.c:1114:9: error: unknown type name 'to' to set default values of constantHead and heads, and ^ IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_FMU.c:1114:15: error: expected ';' after top level declarator to set default values of constantHead and heads, and ^ ; IDEAS_dev_IDEAS_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" ^ IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_FMU.c:6226: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_FMU.c:6225:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_setupDataStruc ^ In file included from IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_FMU.c:6226: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_FMU.c:6225:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_setupDataStruc ^ 6 warnings and 2 errors generated. make: *** [: IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic/IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic.def IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic.o IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic.a IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic.so IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_FMU.o IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic.o IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_functions.o IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_records.o IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_01exo.o IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_02nls.o IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_03lsy.o IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_04set.o IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_05evt.o IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_06inz.o IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_07dly.o IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_08bnd.o IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_09alg.o IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_10asr.o IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_11mix.o IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_12jac.o IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_13opt.o IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_14lnz.o IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_15syn.o IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_16dae.o IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Basic_17inl.o IDEAS_dev_IDEAS_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