Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.319/2.319, allocations: 284.8 MB / 292.1 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00312/0.00312, allocations: 175.5 kB / 360.3 MB, free: 7.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.1 MB / 0.6187 GB, free: 13.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001207/0.001206, allocations: 84.52 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2741/0.2753, allocations: 121.4 MB / 0.8502 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6453/0.9207, allocations: 115.2 MB / 0.9627 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.044/1.965, allocations: 377.8 MB / 1.332 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004762/1.966, allocations: 81.48 kB / 1.332 GB, free: 180.4 MB / 0.8542 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.8945/2.86, allocations: 251.8 MB / 1.578 GB, free: 9.184 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.219e-05/2.86, allocations: 8.5 kB / 1.578 GB, free: 9.176 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004052/2.861, allocations: 63.25 kB / 1.578 GB, free: 9.113 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/2.863, allocations: 475.3 kB / 1.578 GB, free: 8.605 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/2.863, allocations: 8 kB / 1.578 GB, free: 8.598 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/2.863, allocations: 24 kB / 1.578 GB, free: 8.574 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001049/2.864, allocations: 193.3 kB / 1.578 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009538/2.865, allocations: 228.8 kB / 1.579 GB, free: 8.16 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/2.865, allocations: 0 / 1.579 GB, free: 8.16 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.998e-05/2.865, allocations: 0 / 1.579 GB, free: 8.16 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/2.865, allocations: 8 kB / 1.579 GB, free: 8.152 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004548/2.87, allocations: 1.237 MB / 1.58 GB, free: 6.812 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/2.871, allocations: 226.6 kB / 1.58 GB, free: 6.582 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/2.872, allocations: 100.8 kB / 1.58 GB, free: 6.48 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009042/2.873, allocations: 0.4986 MB / 1.581 GB, free: 5.871 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.263e-05/2.873, allocations: 40.16 kB / 1.581 GB, free: 5.824 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 4.439e-06/2.873, allocations: 0 / 1.581 GB, free: 5.824 MB / 0.9167 GB Notification: Performance of matching and sorting (n=25): time 0.001744/2.874, allocations: 274.2 kB / 1.581 GB, free: 5.547 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/2.875, allocations: 55.41 kB / 1.581 GB, free: 5.48 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009384/2.876, allocations: 349.2 kB / 1.581 GB, free: 5.133 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.75e-05/2.876, allocations: 25.7 kB / 1.581 GB, free: 5.102 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/2.876, allocations: 184.6 kB / 1.582 GB, free: 4.914 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/2.876, allocations: 82.69 kB / 1.582 GB, free: 4.832 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/2.876, allocations: 0 / 1.582 GB, free: 4.832 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000179/2.876, allocations: 358.8 kB / 1.582 GB, free: 4.473 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/2.876, allocations: 83.73 kB / 1.582 GB, free: 4.391 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006469/2.877, allocations: 174.5 kB / 1.582 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007776/2.878, allocations: 124 kB / 1.582 GB, free: 4.062 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/2.878, allocations: 3.906 kB / 1.582 GB, free: 4.059 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001437/2.879, allocations: 336.5 kB / 1.583 GB, free: 3.723 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001448/2.88, allocations: 272.2 kB / 1.583 GB, free: 3.438 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/2.88, allocations: 4 kB / 1.583 GB, free: 3.434 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003316/2.88, allocations: 40.83 kB / 1.583 GB, free: 3.391 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007293/2.881, allocations: 79.83 kB / 1.583 GB, free: 3.312 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007695/2.882, allocations: 0.5718 MB / 1.584 GB, free: 2.715 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/2.883, allocations: 71.73 kB / 1.584 GB, free: 2.645 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.88e-05/2.883, allocations: 12 kB / 1.584 GB, free: 2.633 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/2.883, allocations: 4 kB / 1.584 GB, free: 2.629 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009364/2.884, allocations: 217.6 kB / 1.584 GB, free: 2.418 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/2.884, allocations: 4 kB / 1.584 GB, free: 2.414 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/2.884, allocations: 7.906 kB / 1.584 GB, free: 2.406 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008756/2.885, allocations: 91.88 kB / 1.584 GB, free: 2.316 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/2.885, allocations: 0 / 1.584 GB, free: 2.316 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/2.886, allocations: 59.78 kB / 1.584 GB, free: 2.258 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.446e-05/2.886, allocations: 23.98 kB / 1.584 GB, free: 2.234 MB / 0.9167 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.0002475/2.886, allocations: 108.9 kB / 1.584 GB, free: 2.121 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/2.886, allocations: 47.34 kB / 1.584 GB, free: 2.074 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/2.888, allocations: 360.3 kB / 1.585 GB, free: 1.715 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/2.888, allocations: 8 kB / 1.585 GB, free: 1.707 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/2.888, allocations: 3.906 kB / 1.585 GB, free: 1.703 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/2.888, allocations: 4 kB / 1.585 GB, free: 1.699 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/2.89, allocations: 0.8015 MB / 1.585 GB, free: 0.8398 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/2.89, allocations: 0 / 1.585 GB, free: 0.8398 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000531/2.891, allocations: 64.08 kB / 1.585 GB, free: 0.7773 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002446/2.891, allocations: 32.84 kB / 1.585 GB, free: 0.7422 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/2.891, allocations: 0 / 1.585 GB, free: 0.7422 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005365/2.891, allocations: 0.5756 MB / 1.586 GB, free: 144 kB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/2.892, allocations: 4 kB / 1.586 GB, free: 140 kB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001231/2.893, allocations: 478.1 kB / 1.587 GB, free: 15.61 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001357/2.894, allocations: 0.8551 MB / 1.587 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003515/2.895, allocations: 156.3 kB / 1.587 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/2.895, allocations: 4.188 kB / 1.587 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007696/2.895, allocations: 43.95 kB / 1.588 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/2.896, allocations: 31.8 kB / 1.588 GB, free: 14.45 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.331e-05/2.896, allocations: 8 kB / 1.588 GB, free: 14.44 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0005382/2.896, allocations: 271 kB / 1.588 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00335/2.9, allocations: 347.4 kB / 1.588 GB, free: 13.84 MB / 0.9323 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.00116/2.901, allocations: 352.3 kB / 1.589 GB, free: 13.49 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001492/2.902, allocations: 390.3 kB / 1.589 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/2.902, allocations: 0 / 1.589 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004795/2.903, allocations: 135.7 kB / 1.589 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/2.905, allocations: 222.1 kB / 1.589 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/2.908, allocations: 0.5938 MB / 1.59 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009289/2.909, allocations: 0.9136 MB / 1.591 GB, free: 11.19 MB / 0.9323 GB Notification: Performance of SimCode: time 1.332e-06/2.909, allocations: 0 / 1.591 GB, free: 11.19 MB / 0.9323 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve/Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve.fmutmp/sources' clang -fPIC -O0 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_0_0_Buildings_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 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_FMU.o Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_FMU.c In file included from Buildings_8_0_0_Buildings_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); ^ Buildings_8_0_0_Buildings_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)." ^ Buildings_8_0_0_Buildings_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)." ^ Buildings_8_0_0_Buildings_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/x86_64-linux-gnu/bits/libio.h:390:12: note: '__uflow' declared here extern int __uflow (_IO_FILE *); ^ Buildings_8_0_0_Buildings_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)." ^ Buildings_8_0_0_Buildings_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)." ^ ; Buildings_8_0_0_Buildings_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)." ^ Buildings_8_0_0_Buildings_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)." ^ Buildings_8_0_0_Buildings_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)." ^ Buildings_8_0_0_Buildings_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)." ^ Buildings_8_0_0_Buildings_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)." ^ Buildings_8_0_0_Buildings_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 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_FMU.c:260: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_FMU.c:259:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_setupDataStruc ^ In file included from Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_FMU.c:260: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_FMU.c:259:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_setupDataStruc ^ 12 warnings and 3 errors generated. : recipe for target 'Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_FMU.o' failed make: *** [Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve/Buildings_8_0_0_Buildings_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... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve.def Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve.o Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve.a Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve.so Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_FMU.o Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve.o Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_functions.o Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_records.o Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_01exo.o Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_02nls.o Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_03lsy.o Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_04set.o Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_05evt.o Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_06inz.o Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_07dly.o Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_08bnd.o Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_09alg.o Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_10asr.o Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_11mix.o Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_12jac.o Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_13opt.o Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_14lnz.o Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_15syn.o Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_16dae.o Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_CheckValve_17inl.o Buildings_8_0_0_Buildings_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