Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve",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.005788/0.005788, allocations: 178.5 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6893/0.6893, allocations: 133.5 MB / 141.4 MB, free: 15.76 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.524/1.524, allocations: 221.3 MB / 395 MB, free: 10.23 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.0009028/0.0009027, allocations: 102.7 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4605/0.4614, allocations: 88.43 MB / 0.5529 GB, free: 88.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.6476, allocations: 82.3 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.183/1.83, allocations: 351.9 MB / 0.9769 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/1.831, allocations: 81.59 kB / 0.977 GB, free: 204.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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.486/2.317, allocations: 256.8 MB / 1.228 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/2.317, allocations: 8 kB / 1.228 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/2.317, allocations: 63.25 kB / 1.228 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007162/2.318, allocations: 474.9 kB / 1.228 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/2.318, allocations: 8 kB / 1.228 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/2.318, allocations: 24 kB / 1.228 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003582/2.318, allocations: 193.2 kB / 1.229 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/2.318, allocations: 228.8 kB / 1.229 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/2.318, allocations: 4 kB / 1.229 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/2.318, allocations: 3.906 kB / 1.229 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/2.318, allocations: 4 kB / 1.229 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/2.32, allocations: 1.234 MB / 1.23 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/2.32, allocations: 218.5 kB / 1.23 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/2.321, allocations: 100.8 kB / 1.23 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003141/2.321, allocations: 0.5025 MB / 1.231 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/2.321, allocations: 46.41 kB / 1.231 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.934e-06/2.321, allocations: 0 / 1.231 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.0006635/2.322, allocations: 262.3 kB / 1.231 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/2.322, allocations: 51.41 kB / 1.231 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/2.322, allocations: 349.2 kB / 1.231 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/2.322, allocations: 29.7 kB / 1.232 GB, free: 2.988 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/2.322, allocations: 180.6 kB / 1.232 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/2.322, allocations: 86.75 kB / 1.232 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.587e-05/2.322, allocations: 0 / 1.232 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.428e-05/2.322, allocations: 358.7 kB / 1.232 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/2.322, allocations: 87.92 kB / 1.232 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/2.323, allocations: 178.5 kB / 1.232 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/2.323, allocations: 113.4 kB / 1.232 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/2.323, allocations: 0 / 1.232 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006667/2.324, allocations: 339.9 kB / 1.233 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.119e-05/2.324, allocations: 271 kB / 1.233 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/2.324, allocations: 0 / 1.233 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002204/2.324, allocations: 44.72 kB / 1.233 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/2.324, allocations: 83.94 kB / 1.233 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003587/2.325, allocations: 0.5718 MB / 1.234 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005205/2.325, allocations: 63.75 kB / 1.234 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/2.325, allocations: 23.98 kB / 1.234 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.741e-06/2.325, allocations: 4 kB / 1.234 GB, free: 0.5156 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000451/2.326, allocations: 215.8 kB / 1.234 GB, free: 312 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-06/2.326, allocations: 0 / 1.234 GB, free: 312 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.807e-06/2.326, allocations: 4 kB / 1.234 GB, free: 308 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/2.326, allocations: 91.88 kB / 1.234 GB, free: 216 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/2.326, allocations: 4 kB / 1.234 GB, free: 212 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004383/2.326, allocations: 59.78 kB / 1.234 GB, free: 152 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/2.327, allocations: 15.98 kB / 1.234 GB, free: 136 kB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: checkValve_m_flow.a:VARIABLE(protected = true ) "Scaled pressure variable" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001432/2.327, allocations: 115.9 kB / 1.234 GB, free: 16 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3227/2.649, allocations: 47.3 kB / 1.234 GB, free: 242.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/2.651, allocations: 340.5 kB / 1.235 GB, free: 242.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/2.651, allocations: 9.812 kB / 1.235 GB, free: 242.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/2.651, allocations: 0 / 1.235 GB, free: 242.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/2.651, allocations: 3.375 kB / 1.235 GB, free: 242.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/2.652, allocations: 0.8079 MB / 1.235 GB, free: 242.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/2.652, allocations: 5.812 kB / 1.235 GB, free: 242.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/2.652, allocations: 58.42 kB / 1.236 GB, free: 242.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001506/2.652, allocations: 37.22 kB / 1.236 GB, free: 242.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/2.652, allocations: 3.625 kB / 1.236 GB, free: 242.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000263/2.653, allocations: 0.5761 MB / 1.236 GB, free: 242 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/2.653, allocations: 3.938 kB / 1.236 GB, free: 242 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005196/2.653, allocations: 470.8 kB / 1.237 GB, free: 241.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006129/2.654, allocations: 0.8711 MB / 1.237 GB, free: 241.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/2.654, allocations: 151.5 kB / 1.238 GB, free: 241 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.608e-05/2.654, allocations: 0 / 1.238 GB, free: 241 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/2.654, allocations: 54.62 kB / 1.238 GB, free: 241 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/2.655, allocations: 16.98 kB / 1.238 GB, free: 241 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/2.655, allocations: 13.66 kB / 1.238 GB, free: 241 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002407/2.655, allocations: 268.5 kB / 1.238 GB, free: 240.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002077/2.657, allocations: 336.2 kB / 1.238 GB, free: 240.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006679/2.658, allocations: 363.8 kB / 1.239 GB, free: 240.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007856/2.658, allocations: 391.5 kB / 1.239 GB, free: 240.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/2.658, allocations: 0 / 1.239 GB, free: 240.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/2.659, allocations: 141.8 kB / 1.239 GB, free: 240.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/2.66, allocations: 215.1 kB / 1.239 GB, free: 240.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/2.661, allocations: 0.5972 MB / 1.24 GB, free: 240.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000379/2.661, allocations: 0.9201 MB / 1.241 GB, free: 239.9 MB / 0.6823 GB Notification: Performance of SimCode: time 6.02e-07/2.661, allocations: 0 / 1.241 GB, free: 239.9 MB / 0.6823 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve/IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve.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_FixedResistances_Examples_CheckValve -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_FMU.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_FMU.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_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_FixedResistances_Examples_CheckValve_FMU.c:59:5: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)." ^ IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_FMU.c:59:19: error: use of undeclared identifier 'dp' k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)." ^ IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_FMU.c:59:7: error: use of undeclared identifier 'm_flow'; did you mean '__uflow'? k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)." ^~~~~~ __uflow /usr/include/stdio.h:858:12: note: '__uflow' declared here extern int __uflow (FILE *); ^ IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_FMU.c:59:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)." ^ IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_FMU.c:59:28: error: expected ';' after top level declarator k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)." ^ ; IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_FMU.c:59:47: warning: missing terminating '"' character [-Winvalid-pp-token] k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)." ^ IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_FMU.c:65:47: warning: missing terminating '"' character [-Winvalid-pp-token] k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)." ^ IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_FMU.c:72:47: warning: missing terminating '"' character [-Winvalid-pp-token] k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)." ^ IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_FMU.c:104:47: warning: missing terminating '"' character [-Winvalid-pp-token] k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)." ^ IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_FMU.c:127:47: warning: missing terminating '"' character [-Winvalid-pp-token] k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)." ^ IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_FMU.c:150:47: warning: missing terminating '"' character [-Winvalid-pp-token] k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)." ^ In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_FMU.c:260: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_FMU.c:259:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_setupDataStruc ^ In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_FMU.c:260: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_FMU.c:259:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_setupDataStruc ^ 12 warnings and 3 errors generated. make: *** [: IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve/IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve.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_FixedResistances_Examples_CheckValve.def IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve.a IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve.so IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_FMU.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_functions.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_records.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_01exo.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_02nls.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_03lsy.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_04set.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_05evt.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_06inz.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_07dly.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_08bnd.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_09alg.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_10asr.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_11mix.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_12jac.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_13opt.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_14lnz.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_15syn.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_16dae.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_17inl.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_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/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