Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.117/2.117, allocations: 390.3 MB / 405.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 173.1 kB / 498.1 MB, free: 5.793 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.2 MB / 0.7948 GB, free: 17.98 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009886/0.0009886, allocations: 94.97 kB / 0.9346 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003903, allocations: 7.375 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2451, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9878/1.233, allocations: 457.8 MB / 1.67 GB, free: 3.965 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/1.233, allocations: 106.8 kB / 1.67 GB, free: 3.906 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.398/5.632, allocations: 1.351 GB / 3.021 GB, free: 173.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.272e-06/5.632, allocations: 0 / 3.021 GB, free: 173.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003973/5.632, allocations: 72.97 kB / 3.021 GB, free: 173.3 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.01022/5.642, allocations: 3.446 MB / 3.025 GB, free: 171 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/5.643, allocations: 8.156 kB / 3.025 GB, free: 171 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006962/5.643, allocations: 244.8 kB / 3.025 GB, free: 170.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/5.645, allocations: 345.1 kB / 3.025 GB, free: 170.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01773/5.662, allocations: 5.976 MB / 3.031 GB, free: 167.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000218/5.663, allocations: 133.4 kB / 3.031 GB, free: 167 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008852/5.664, allocations: 181.7 kB / 3.031 GB, free: 167 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00551/5.669, allocations: 1.856 MB / 3.033 GB, free: 165.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-05/5.669, allocations: 11.78 kB / 3.033 GB, free: 165.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003404/5.669, allocations: 75.33 kB / 3.033 GB, free: 165.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-05/5.67, allocations: 50.58 kB / 3.033 GB, free: 165.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002778/5.672, allocations: 1.361 MB / 3.035 GB, free: 165.1 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0129/5.685, allocations: 9.886 MB / 3.044 GB, free: 156.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/5.687, allocations: 0.8741 MB / 3.045 GB, free: 156 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001972/5.689, allocations: 3.079 MB / 3.048 GB, free: 152.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/5.689, allocations: 43.31 kB / 3.048 GB, free: 152.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=121): time 3.427e-06/5.689, allocations: 7 kB / 3.048 GB, free: 152.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=121): time 0.006484/5.695, allocations: 2.596 MB / 3.051 GB, free: 150.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/5.695, allocations: 66.56 kB / 3.051 GB, free: 150.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004102/5.699, allocations: 1.96 MB / 3.053 GB, free: 149.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001885/5.7, allocations: 53.39 kB / 3.053 GB, free: 149.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009797/5.701, allocations: 1.176 MB / 3.054 GB, free: 148.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004089/5.701, allocations: 437.1 kB / 3.054 GB, free: 148.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.732e-05/5.701, allocations: 31.69 kB / 3.054 GB, free: 148.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001023/5.701, allocations: 364.6 kB / 3.055 GB, free: 147.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007773/5.702, allocations: 454.2 kB / 3.055 GB, free: 147.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009394/5.703, allocations: 0.8159 MB / 3.056 GB, free: 147 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000923/5.704, allocations: 0.596 MB / 3.056 GB, free: 146.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/5.704, allocations: 5.625 kB / 3.056 GB, free: 146.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004274/5.708, allocations: 1.84 MB / 3.058 GB, free: 145.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007391/5.709, allocations: 3.665 MB / 3.062 GB, free: 141.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.488e-05/5.709, allocations: 18.02 kB / 3.062 GB, free: 141.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001851/5.711, allocations: 385.2 kB / 3.062 GB, free: 141.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000952/5.712, allocations: 290.8 kB / 3.062 GB, free: 141.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006915/5.713, allocations: 0.8173 MB / 3.063 GB, free: 141 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/5.715, allocations: 249 kB / 3.064 GB, free: 140.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002101/5.715, allocations: 76.53 kB / 3.064 GB, free: 140.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/5.715, allocations: 4.5 kB / 3.064 GB, free: 140.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003513/5.719, allocations: 1.606 MB / 3.065 GB, free: 140.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.45e-05/5.719, allocations: 12.66 kB / 3.065 GB, free: 140.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001739/5.721, allocations: 367.6 kB / 3.066 GB, free: 139.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008924/5.721, allocations: 298.1 kB / 3.066 GB, free: 139.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006258/5.722, allocations: 0.8144 MB / 3.067 GB, free: 139.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002351/5.724, allocations: 236.7 kB / 3.067 GB, free: 139.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/5.725, allocations: 79.61 kB / 3.067 GB, free: 139 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.001342/5.726, allocations: 0.5676 MB / 3.067 GB, free: 138.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000791/5.727, allocations: 252.5 kB / 3.068 GB, free: 138.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005135/5.732, allocations: 2.399 MB / 3.07 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.043e-05/5.732, allocations: 26.08 kB / 3.07 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/5.732, allocations: 0 / 3.07 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003125/5.735, allocations: 1.803 MB / 3.072 GB, free: 135.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/5.746, allocations: 5.075 MB / 3.077 GB, free: 130.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.06e-05/5.746, allocations: 11.98 kB / 3.077 GB, free: 130.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008434/5.747, allocations: 236.5 kB / 3.077 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001429/5.748, allocations: 299.9 kB / 3.077 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/5.748, allocations: 51.97 kB / 3.077 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005953/5.749, allocations: 0.8138 MB / 3.078 GB, free: 129.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/5.749, allocations: 11.94 kB / 3.078 GB, free: 129.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005147/5.754, allocations: 3.613 MB / 3.082 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001711/5.756, allocations: 0.618 MB / 3.082 GB, free: 124.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007784/5.756, allocations: 32 kB / 3.082 GB, free: 124.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002046/5.758, allocations: 155.5 kB / 3.082 GB, free: 124.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/5.759, allocations: 117 kB / 3.083 GB, free: 124.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/5.759, allocations: 83.91 kB / 3.083 GB, free: 124.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003086/5.762, allocations: 1.629 MB / 3.084 GB, free: 122.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 7.52e-07/5.762, allocations: 112 / 3.084 GB, free: 122.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005807/5.768, allocations: 1.605 MB / 3.086 GB, free: 121.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (pipChW.del.x,pipChW.timDel.x,pipChW.vol_b.dynBal.U,pipChW.vol_a.dynBal.U,senTemChWIn.T,senTemChWOut.T,pipHotW.del.x,pipHotW.timDel.x,pipHotW.vol_b.dynBal.U,pipHotW.vol_a.dynBal.U,senTemHotWIn.T,senTemHotWOut.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 28 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.008064/5.776, allocations: 7.077 MB / 3.093 GB, free: 114 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003763/5.78, allocations: 2.322 MB / 3.095 GB, free: 111.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/5.78, allocations: 7.938 kB / 3.095 GB, free: 111.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/5.781, allocations: 0.9163 MB / 3.096 GB, free: 110.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006585/5.788, allocations: 1.378 MB / 3.097 GB, free: 109.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01326/5.801, allocations: 13.52 MB / 3.11 GB, free: 95.43 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/5.802, allocations: 1.728 MB / 3.112 GB, free: 93.66 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002993/5.805, allocations: 0.6879 MB / 3.113 GB, free: 93.04 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/5.807, allocations: 1.136 MB / 3.114 GB, free: 91.91 MB / 1.167 GB Notification: Performance of SimCode: time 9.42e-07/5.807, allocations: 3.938 kB / 3.114 GB, free: 91.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1217/5.928, allocations: 90.57 MB / 3.202 GB, free: 2.996 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/5.929, allocations: 271.4 kB / 3.203 GB, free: 2.629 MB / 1.167 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:7: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:405:81: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[116] /* pipChW.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[1] /* pipChW.timDel.x STATE(1,pipChW.timDel.u) */, tmp0, tmp1, tmp2 ,&data->localData[0]->realVars[115] /* pipChW.timDel.time_out_des variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:709:82: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[113] /* pipChW.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[109] /* pipChW.port_a.h_outflow variable */, data->localData[0]->realVars[110] /* pipChW.port_b.h_outflow variable */, (0.001) * (data->localData[0]->realVars[0] /* pipChW.del.x STATE(1,pipChW.v) */), tmp9, tmp10, tmp11 ,&data->localData[0]->realVars[95] /* pipChW.del.port_b.h_outflow variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:945:82: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[174] /* pipHotW.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[5] /* pipHotW.timDel.x STATE(1,pipHotW.timDel.u) */, tmp23, tmp24, tmp25 ,&data->localData[0]->realVars[173] /* pipHotW.timDel.time_out_des variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:1249:83: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[171] /* pipHotW.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[167] /* pipHotW.port_a.h_outflow variable */, data->localData[0]->realVars[168] /* pipHotW.port_b.h_outflow variable */, (0.001) * (data->localData[0]->realVars[4] /* pipHotW.del.x STATE(1,pipHotW.v) */), tmp32, tmp33, tmp34 ,&data->localData[0]->realVars[153] /* pipHotW.del.port_b.h_outflow variable */); ^ 6 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_functions.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_functions.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_functions.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_functions.c:1388:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_i == _j)) ~~~^~~~~ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_functions.c:1388:18: note: remove extraneous parentheses around the comparison to silence this warning if((_i == _j)) ~ ^ ~ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_functions.c:1388:18: note: use '=' to turn this equality comparison into an assignment if((_i == _j)) ^~ = 3 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_records.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_records.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_01exo.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_01exo.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_01exo.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_02nls.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_02nls.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_02nls.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_03lsy.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_03lsy.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_03lsy.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_04set.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_04set.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_04set.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_05evt.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_05evt.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_05evt.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:919:82: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[174] /* pipHotW.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[5] /* pipHotW.timDel.x STATE(1,pipHotW.timDel.u) */, tmp4, tmp5, tmp6 ,&data->localData[0]->realVars[173] /* pipHotW.timDel.time_out_des variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:956:83: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[171] /* pipHotW.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[167] /* pipHotW.port_a.h_outflow variable */, data->localData[0]->realVars[168] /* pipHotW.port_b.h_outflow variable */, (0.001) * (data->localData[0]->realVars[4] /* pipHotW.del.x STATE(1,pipHotW.v) */), tmp7, tmp8, tmp9 ,&data->localData[0]->realVars[153] /* pipHotW.del.port_b.h_outflow variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:1239:81: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[116] /* pipChW.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[1] /* pipChW.timDel.x STATE(1,pipChW.timDel.u) */, tmp10, tmp11, tmp12 ,&data->localData[0]->realVars[115] /* pipChW.timDel.time_out_des variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:1276:82: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[113] /* pipChW.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[109] /* pipChW.port_a.h_outflow variable */, data->localData[0]->realVars[110] /* pipChW.port_b.h_outflow variable */, (0.001) * (data->localData[0]->realVars[0] /* pipChW.del.x STATE(1,pipChW.v) */), tmp13, tmp14, tmp15 ,&data->localData[0]->realVars[95] /* pipChW.del.port_b.h_outflow variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:2525:82: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[174] /* pipHotW.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[5] /* pipHotW.timDel.x STATE(1,pipHotW.timDel.u) */, tmp0, tmp1, tmp2 ,&data->localData[0]->realVars[173] /* pipHotW.timDel.time_out_des variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:2551:83: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[171] /* pipHotW.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[167] /* pipHotW.port_a.h_outflow variable */, data->localData[0]->realVars[168] /* pipHotW.port_b.h_outflow variable */, (0.001) * (data->localData[0]->realVars[4] /* pipHotW.del.x STATE(1,pipHotW.v) */), tmp3, tmp4, tmp5 ,&data->localData[0]->realVars[153] /* pipHotW.del.port_b.h_outflow variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:2625:81: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[116] /* pipChW.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[1] /* pipChW.timDel.x STATE(1,pipChW.timDel.u) */, tmp6, tmp7, tmp8 ,&data->localData[0]->realVars[115] /* pipChW.timDel.time_out_des variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:2651:82: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[113] /* pipChW.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[109] /* pipChW.port_a.h_outflow variable */, data->localData[0]->realVars[110] /* pipChW.port_b.h_outflow variable */, (0.001) * (data->localData[0]->realVars[0] /* pipChW.del.x STATE(1,pipChW.v) */), tmp9, tmp10, tmp11 ,&data->localData[0]->realVars[95] /* pipChW.del.port_b.h_outflow variable */); ^ 10 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_07dly.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_07dly.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_07dly.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_08bnd.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_08bnd.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_08bnd.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_09alg.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_09alg.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_09alg.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_10asr.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_10asr.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_10asr.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_11mix.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_11mix.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_11mix.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_12jac.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_12jac.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_12jac.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_13opt.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_13opt.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_13opt.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_14lnz.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_14lnz.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_14lnz.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_15syn.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_15syn.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_15syn.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_16dae.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_16dae.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_16dae.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_17inl.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_17inl.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_17inl.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_init_fmu.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_init_fmu.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_init_fmu.c:1: In file included from ./simulation_data.h:39: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_FMU.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_FMU.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_FMU.c:9: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_FMU.c:55: ./fmi-export/fmu2_model_interface.c.inc:79:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc:168:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ ./gc/../meta/../util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.so Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_functions.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_records.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_01exo.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_02nls.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_03lsy.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_04set.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_05evt.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_07dly.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_08bnd.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_09alg.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_10asr.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_11mix.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_12jac.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_13opt.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_14lnz.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_15syn.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_16dae.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_17inl.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_init_fmu.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/Geothermal/BuriedPipes/Examples" -Wl,-Bstatic "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" "-L/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library/x86_64-linux" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library/x86_64-linux" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library/linux64" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library/linux64" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library" -lModelicaExternalC -Wl,-Bdynamic -L'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -lSimulationRuntimeFMI -Wl,--no-as-needed -Wl,--disable-new-dtags -llapack -lblas -lm -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.o: in function `Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_eqFunction_398': Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:(.text+0x80e): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.o: in function `Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_eqFunction_421': Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:(.text+0x1606): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.o: in function `Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_eqFunction_437': Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:(.text+0x1d65): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.o: in function `Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_eqFunction_460': Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:(.text+0x2b64): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.o: in function `Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_eqFunction_91': Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:(.text+0x13da): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.o:Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:(.text+0x14f0): more undefined references to `spatialDistribution' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:58: nozip] Error 1