Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",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/BuildingSystems 2.0.0-master/package.mo): time 0.7563/0.7563, allocations: 141.8 MB / 149.1 MB, free: 3.789 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 183.9 kB / 181.9 MB, free: 15.55 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 221.4 MB / 436 MB, free: 8.695 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009991/0.0009992, allocations: 96.48 kB / 0.507 GB, free: 24.23 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001794/0.001794, allocations: 281.7 kB / 0.5885 GB, free: 11.75 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1841/0.186, allocations: 89.64 MB / 0.676 GB, free: 1.996 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.6093, allocations: 82.77 MB / 0.7568 GB, free: 112.2 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6648/1.274, allocations: 410.9 MB / 1.158 GB, free: 3.531 MB / 0.6825 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/1.274, allocations: 99.8 kB / 1.158 GB, free: 3.48 MB / 0.6825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 1.809/3.083, allocations: 0.5355 GB / 1.694 GB, free: 12.7 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/3.083, allocations: 12 kB / 1.694 GB, free: 12.69 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008157/3.084, allocations: 166.1 kB / 1.694 GB, free: 12.52 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02587/3.11, allocations: 10.23 MB / 1.704 GB, free: 2.18 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.467e-05/3.11, allocations: 35.84 kB / 1.704 GB, free: 2.145 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002722/3.11, allocations: 52 kB / 1.704 GB, free: 2.094 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001376/3.112, allocations: 0.574 MB / 1.705 GB, free: 1.52 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/3.113, allocations: 0.8009 MB / 1.705 GB, free: 0.6641 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.059e-05/3.113, allocations: 7.938 kB / 1.705 GB, free: 0.6562 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/3.114, allocations: 0 / 1.705 GB, free: 0.6562 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.095e-05/3.114, allocations: 24 kB / 1.705 GB, free: 0.6328 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008343/3.122, allocations: 5.178 MB / 1.71 GB, free: 11.07 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/3.123, allocations: 290.5 kB / 1.711 GB, free: 10.78 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003661/3.123, allocations: 230.1 kB / 1.711 GB, free: 10.55 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00159/3.125, allocations: 1.607 MB / 1.712 GB, free: 8.594 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/3.125, allocations: 35 kB / 1.713 GB, free: 8.551 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=54): time 2.935e-06/3.125, allocations: 0 / 1.713 GB, free: 8.551 MB / 0.7138 GB Notification: Performance of matching and sorting (n=54): time 0.002892/3.128, allocations: 0.6976 MB / 1.713 GB, free: 7.84 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/3.128, allocations: 55.84 kB / 1.713 GB, free: 7.773 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/3.129, allocations: 0.7572 MB / 1.714 GB, free: 7 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 9.113e-05/3.129, allocations: 29.64 kB / 1.714 GB, free: 6.965 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/3.13, allocations: 414.8 kB / 1.714 GB, free: 6.551 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/3.13, allocations: 189.2 kB / 1.715 GB, free: 6.363 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/3.13, allocations: 0 / 1.715 GB, free: 6.363 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0001346/3.13, allocations: 341.9 kB / 1.715 GB, free: 6.023 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/3.13, allocations: 177.5 kB / 1.715 GB, free: 5.852 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/3.131, allocations: 383.5 kB / 1.715 GB, free: 5.383 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/3.132, allocations: 369.1 kB / 1.716 GB, free: 5.027 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/3.132, allocations: 4 kB / 1.716 GB, free: 5.023 MB / 0.7138 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002563/3.135, allocations: 0.8614 MB / 1.717 GB, free: 4.152 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.000887/3.136, allocations: 2.182 MB / 1.719 GB, free: 1.801 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/3.136, allocations: 4 kB / 1.719 GB, free: 1.797 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003826/3.136, allocations: 80.8 kB / 1.719 GB, free: 1.715 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/3.136, allocations: 147.7 kB / 1.719 GB, free: 1.57 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000529/3.137, allocations: 0.6108 MB / 1.72 GB, free: 0.9336 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/3.138, allocations: 99.34 kB / 1.72 GB, free: 0.8359 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.089e-05/3.138, allocations: 39.97 kB / 1.72 GB, free: 0.7969 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/3.138, allocations: 4 kB / 1.72 GB, free: 0.793 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002183/3.14, allocations: 0.718 MB / 1.72 GB, free: 72 kB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/3.14, allocations: 11.98 kB / 1.72 GB, free: 60 kB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2962/3.437, allocations: 79.06 kB / 1.721 GB, free: 155.7 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/3.437, allocations: 143 kB / 1.721 GB, free: 155.7 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004785/3.438, allocations: 0.6145 MB / 1.721 GB, free: 155.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/3.439, allocations: 84.11 kB / 1.721 GB, free: 155.1 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.397e-05/3.439, allocations: 35.67 kB / 1.721 GB, free: 155.1 MB / 0.7138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002049/3.439, allocations: 131.9 kB / 1.722 GB, free: 155 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/3.439, allocations: 108.2 kB / 1.722 GB, free: 155 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002731/3.442, allocations: 1.172 MB / 1.723 GB, free: 155 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/3.442, allocations: 15.59 kB / 1.723 GB, free: 155 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/3.442, allocations: 0 / 1.723 GB, free: 155 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001579/3.444, allocations: 0.8211 MB / 1.724 GB, free: 154.8 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003559/3.447, allocations: 1.969 MB / 1.725 GB, free: 154.5 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/3.447, allocations: 0.9375 kB / 1.725 GB, free: 154.5 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004128/3.448, allocations: 107.7 kB / 1.726 GB, free: 154.5 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000158/3.448, allocations: 46.22 kB / 1.726 GB, free: 154.5 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/3.448, allocations: 17.33 kB / 1.726 GB, free: 154.5 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003644/3.448, allocations: 0.6024 MB / 1.726 GB, free: 154 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/3.448, allocations: 3.875 kB / 1.726 GB, free: 154 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00248/3.451, allocations: 1.375 MB / 1.728 GB, free: 153.7 MB / 0.7138 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002928/3.454, allocations: 2.173 MB / 1.73 GB, free: 153 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006012/3.454, allocations: 293.7 kB / 1.73 GB, free: 152.9 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/3.455, allocations: 6.938 kB / 1.73 GB, free: 152.9 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007244/3.455, allocations: 67.22 kB / 1.73 GB, free: 152.9 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.96e-05/3.455, allocations: 54.25 kB / 1.73 GB, free: 152.9 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-05/3.455, allocations: 34.91 kB / 1.73 GB, free: 152.9 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.0007666/3.456, allocations: 0.5719 MB / 1.731 GB, free: 152.8 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.003691/3.46, allocations: 0.9657 MB / 1.732 GB, free: 152.7 MB / 0.7138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001627/3.462, allocations: 0.7939 MB / 1.732 GB, free: 152.6 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.001715/3.463, allocations: 1.037 MB / 1.733 GB, free: 152.5 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/3.463, allocations: 0 / 1.733 GB, free: 152.5 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0004957/3.464, allocations: 409.6 kB / 1.734 GB, free: 152.4 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/3.466, allocations: 497.2 kB / 1.734 GB, free: 152.4 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/3.469, allocations: 1.635 MB / 1.736 GB, free: 152 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007874/3.47, allocations: 1.285 MB / 1.737 GB, free: 151.3 MB / 0.7138 GB Notification: Performance of SimCode: time 8.12e-07/3.47, allocations: 0 / 1.737 GB, free: 151.3 MB / 0.7138 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal/BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.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=BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:185:5: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fac=dp_nominal/dpStraightPipe_nominal" ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:185:42: warning: missing terminating '"' character [-Winvalid-pp-token] fac=dp_nominal/dpStraightPipe_nominal" ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:185:9: error: use of undeclared identifier 'dp_nominal' fac=dp_nominal/dpStraightPipe_nominal" ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:185:20: error: use of undeclared identifier 'dpStraightPipe_nominal' fac=dp_nominal/dpStraightPipe_nominal" ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:496:42: warning: missing terminating '"' character [-Winvalid-pp-token] to the heat capacity of the pipe wall" ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:499:33: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] which improve performances, but reduces dynamic accuracy." ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:499:36: error: expected ';' after top level declarator which improve performances, but reduces dynamic accuracy." ^ ; BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:499:62: warning: missing terminating '"' character [-Winvalid-pp-token] which improve performances, but reduces dynamic accuracy." ^ In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:564: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:563:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_setupDataStruc ^ In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:564: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c:563:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_setupDataStruc ^ 9 warnings and 3 errors generated. make: *** [: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal/BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.def BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.a BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.so BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_functions.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_records.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_01exo.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_02nls.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_03lsy.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_04set.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_05evt.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_07dly.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_08bnd.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_09alg.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_10asr.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_11mix.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_12jac.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_13opt.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_14lnz.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_15syn.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_16dae.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_17inl.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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