Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IBPSA_latest_IBPSA_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.00116/0.00116, allocations: 189.2 kB / 7.801 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4752/0.4752, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 221.4 MB / 342.8 MB, free: 5.43 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009987/0.0009988, allocations: 95.72 kB / 415.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1647/0.1658, allocations: 78.44 MB / 493.9 MB, free: 7.996 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.5457, allocations: 72.3 MB / 0.553 GB, free: 73.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5863/1.132, allocations: 342.1 MB / 0.8871 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/1.132, allocations: 79.61 kB / 0.8871 GB, free: 15.3 MB / 0.5573 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.7688/1.901, allocations: 256.8 MB / 1.138 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/1.901, allocations: 8 kB / 1.138 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/1.901, allocations: 71.16 kB / 1.138 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006551/1.902, allocations: 471.5 kB / 1.138 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/1.902, allocations: 12 kB / 1.138 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.948e-05/1.902, allocations: 24 kB / 1.139 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003433/1.902, allocations: 189.3 kB / 1.139 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/1.903, allocations: 236.7 kB / 1.139 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/1.903, allocations: 0 / 1.139 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/1.903, allocations: 3.984 kB / 1.139 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/1.903, allocations: 11.94 kB / 1.139 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/1.904, allocations: 1.228 MB / 1.14 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004948/1.905, allocations: 230.1 kB / 1.14 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/1.905, allocations: 108.8 kB / 1.14 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003059/1.905, allocations: 0.4986 MB / 1.141 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/1.905, allocations: 35 kB / 1.141 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.673e-06/1.905, allocations: 4 kB / 1.141 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.0006381/1.906, allocations: 261.8 kB / 1.141 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/1.906, allocations: 55.41 kB / 1.141 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/1.906, allocations: 353.2 kB / 1.142 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/1.906, allocations: 25.7 kB / 1.142 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/1.906, allocations: 180.6 kB / 1.142 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/1.906, allocations: 86.69 kB / 1.142 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/1.906, allocations: 4 kB / 1.142 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.789e-05/1.907, allocations: 350.8 kB / 1.142 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/1.907, allocations: 83.98 kB / 1.142 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/1.907, allocations: 170.8 kB / 1.142 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/1.907, allocations: 124 kB / 1.143 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.907, allocations: 0 / 1.143 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006731/1.908, allocations: 332.8 kB / 1.143 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.524e-05/1.908, allocations: 282.8 kB / 1.143 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/1.908, allocations: 0 / 1.143 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000199/1.908, allocations: 32.84 kB / 1.143 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/1.909, allocations: 83.88 kB / 1.143 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000351/1.909, allocations: 0.5679 MB / 1.144 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005076/1.909, allocations: 67.73 kB / 1.144 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/1.909, allocations: 19.98 kB / 1.144 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.921e-06/1.909, allocations: 4 kB / 1.144 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004649/1.91, allocations: 222.6 kB / 1.144 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-06/1.91, allocations: 4 kB / 1.144 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.967e-06/1.91, allocations: 4 kB / 1.144 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/1.91, allocations: 84.02 kB / 1.144 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/1.91, allocations: 0 / 1.144 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004454/1.911, allocations: 63.78 kB / 1.144 GB, free: 55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/1.911, allocations: 19.91 kB / 1.144 GB, free: 54.98 MB / 0.6042 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.0001277/1.911, allocations: 120.8 kB / 1.144 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/1.911, allocations: 43.44 kB / 1.144 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006984/1.912, allocations: 367.1 kB / 1.145 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/1.912, allocations: 4 kB / 1.145 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.912, allocations: 3.984 kB / 1.145 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.912, allocations: 0 / 1.145 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/1.913, allocations: 0.8176 MB / 1.146 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.913, allocations: 4.125 kB / 1.146 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/1.913, allocations: 51.97 kB / 1.146 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001302/1.913, allocations: 36.83 kB / 1.146 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/1.913, allocations: 15.91 kB / 1.146 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002355/1.914, allocations: 0.5602 MB / 1.146 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.914, allocations: 11.94 kB / 1.146 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005063/1.914, allocations: 462 kB / 1.147 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006275/1.915, allocations: 0.8599 MB / 1.148 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/1.915, allocations: 152.4 kB / 1.148 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.503e-05/1.915, allocations: 8 kB / 1.148 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/1.915, allocations: 43.86 kB / 1.148 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/1.915, allocations: 23.97 kB / 1.148 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/1.915, allocations: 15.98 kB / 1.148 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0002312/1.916, allocations: 267 kB / 1.148 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002055/1.918, allocations: 339.5 kB / 1.148 GB, free: 50.58 MB / 0.6042 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.000611/1.918, allocations: 374.1 kB / 1.149 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007381/1.919, allocations: 382.3 kB / 1.149 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.919, allocations: 4 kB / 1.149 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002331/1.919, allocations: 139.7 kB / 1.149 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/1.921, allocations: 219.2 kB / 1.149 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/1.922, allocations: 0.6016 MB / 1.15 GB, free: 48.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/1.922, allocations: 0.9176 MB / 1.151 GB, free: 47.9 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/1.922, allocations: 0 / 1.151 GB, free: 47.9 MB / 0.6042 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve/IBPSA_latest_IBPSA_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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_FMU.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_FMU.c In file included from IBPSA_latest_IBPSA_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); ^ IBPSA_latest_IBPSA_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)." ^ IBPSA_latest_IBPSA_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)." ^ IBPSA_latest_IBPSA_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 *); ^ IBPSA_latest_IBPSA_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)." ^ IBPSA_latest_IBPSA_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)." ^ ; IBPSA_latest_IBPSA_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)." ^ IBPSA_latest_IBPSA_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)." ^ IBPSA_latest_IBPSA_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)." ^ IBPSA_latest_IBPSA_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)." ^ IBPSA_latest_IBPSA_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)." ^ IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_FMU.c:260: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_FMU.c:259:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_setupDataStruc ^ In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_FMU.c:260: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_FMU.c:259:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_setupDataStruc ^ 12 warnings and 3 errors generated. make: *** [: IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve/IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve.def IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve.a IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve.so IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_FMU.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_functions.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_records.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_01exo.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_02nls.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_03lsy.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_04set.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_05evt.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_06inz.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_07dly.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_08bnd.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_09alg.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_10asr.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_11mix.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_12jac.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_13opt.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_14lnz.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_15syn.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_16dae.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_CheckValve_17inl.o IBPSA_latest_IBPSA_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