Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.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.SingleBuriedPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe",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.113/2.113, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001071/0.001071, allocations: 173.1 kB / 498.1 MB, free: 5.746 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.389/1.389, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.0009101/0.00091, allocations: 106.5 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003777, allocations: 10.47 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2497, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9827/1.232, allocations: 458.5 MB / 1.671 GB, free: 3.152 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/1.233, allocations: 110.8 kB / 1.671 GB, free: 3.09 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.481/5.713, allocations: 1.352 GB / 3.023 GB, free: 149.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.884e-06/5.713, allocations: 4 kB / 3.023 GB, free: 149.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004202/5.714, allocations: 73.84 kB / 3.023 GB, free: 149 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.01115/5.725, allocations: 3.471 MB / 3.027 GB, free: 146.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/5.725, allocations: 8.75 kB / 3.027 GB, free: 146.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007671/5.726, allocations: 250.5 kB / 3.027 GB, free: 145.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/5.727, allocations: 344.1 kB / 3.027 GB, free: 145.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01642/5.744, allocations: 6.006 MB / 3.033 GB, free: 141.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.669e-05/5.744, allocations: 135 kB / 3.033 GB, free: 141 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000303/5.744, allocations: 182.2 kB / 3.033 GB, free: 140.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003255/5.748, allocations: 1.848 MB / 3.035 GB, free: 139.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.75e-05/5.748, allocations: 5.781 kB / 3.035 GB, free: 139.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/5.748, allocations: 71.64 kB / 3.035 GB, free: 139.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.722e-05/5.748, allocations: 48.19 kB / 3.035 GB, free: 139.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002165/5.75, allocations: 1.336 MB / 3.037 GB, free: 138.7 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.01155/5.762, allocations: 9.845 MB / 3.046 GB, free: 130.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/5.763, allocations: 0.8743 MB / 3.047 GB, free: 129.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001593/5.764, allocations: 3.076 MB / 3.05 GB, free: 126 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/5.764, allocations: 51.19 kB / 3.05 GB, free: 125.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=120): time 4.458e-06/5.764, allocations: 0 / 3.05 GB, free: 125.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=120): time 0.004675/5.769, allocations: 2.436 MB / 3.053 GB, free: 123.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/5.769, allocations: 64.41 kB / 3.053 GB, free: 123.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/5.772, allocations: 1.989 MB / 3.055 GB, free: 122.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000143/5.772, allocations: 51.45 kB / 3.055 GB, free: 122.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007434/5.773, allocations: 1.187 MB / 3.056 GB, free: 121.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003201/5.773, allocations: 432.3 kB / 3.056 GB, free: 121.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/5.773, allocations: 30.94 kB / 3.056 GB, free: 121.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.111e-05/5.773, allocations: 356.4 kB / 3.057 GB, free: 121 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000647/5.774, allocations: 438 kB / 3.057 GB, free: 120.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007992/5.775, allocations: 0.8197 MB / 3.058 GB, free: 119.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007964/5.775, allocations: 0.5633 MB / 3.058 GB, free: 119.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/5.775, allocations: 3.953 kB / 3.058 GB, free: 119.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003436/5.779, allocations: 1.776 MB / 3.06 GB, free: 118.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005744/5.78, allocations: 3.688 MB / 3.064 GB, free: 114.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/5.78, allocations: 15.98 kB / 3.064 GB, free: 114.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/5.781, allocations: 287.1 kB / 3.064 GB, free: 114.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008781/5.782, allocations: 288.1 kB / 3.064 GB, free: 113.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007264/5.782, allocations: 1.286 MB / 3.065 GB, free: 112.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/5.785, allocations: 242.6 kB / 3.066 GB, free: 112.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/5.785, allocations: 76.34 kB / 3.066 GB, free: 112.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/5.785, allocations: 4 kB / 3.066 GB, free: 112.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002707/5.787, allocations: 1.525 MB / 3.067 GB, free: 111.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/5.788, allocations: 12 kB / 3.067 GB, free: 111.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/5.789, allocations: 286.8 kB / 3.068 GB, free: 111.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008107/5.79, allocations: 294.8 kB / 3.068 GB, free: 110.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006279/5.79, allocations: 1.287 MB / 3.069 GB, free: 109.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/5.792, allocations: 227.8 kB / 3.069 GB, free: 109.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/5.792, allocations: 77.78 kB / 3.069 GB, free: 109.3 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 (165): * Single equations (assignments): 159 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001255/5.794, allocations: 0.5818 MB / 3.07 GB, free: 108.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004229/5.794, allocations: 256.8 kB / 3.07 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003816/5.798, allocations: 2.321 MB / 3.072 GB, free: 107 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.157e-05/5.798, allocations: 27.86 kB / 3.072 GB, free: 107 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/5.798, allocations: 3.953 kB / 3.072 GB, free: 107 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002355/5.8, allocations: 1.725 MB / 3.074 GB, free: 105.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008261/5.809, allocations: 4.989 MB / 3.079 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-05/5.809, allocations: 19.12 kB / 3.079 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000777/5.809, allocations: 227.9 kB / 3.079 GB, free: 101.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008145/5.81, allocations: 224 kB / 3.079 GB, free: 101.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.971e-05/5.81, allocations: 51.78 kB / 3.08 GB, free: 101.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006681/5.811, allocations: 1.285 MB / 3.081 GB, free: 100.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/5.811, allocations: 11.98 kB / 3.081 GB, free: 100.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004224/5.815, allocations: 3.51 MB / 3.084 GB, free: 97.41 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/5.817, allocations: 0.6132 MB / 3.085 GB, free: 96.91 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003495/5.817, allocations: 42.42 kB / 3.085 GB, free: 96.89 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/5.819, allocations: 139.6 kB / 3.085 GB, free: 96.78 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/5.819, allocations: 123.2 kB / 3.085 GB, free: 96.67 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/5.819, allocations: 74.02 kB / 3.085 GB, free: 96.61 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002485/5.822, allocations: 1.665 MB / 3.087 GB, free: 95.45 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/5.822, allocations: 0 / 3.087 GB, free: 95.45 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004208/5.826, allocations: 1.604 MB / 3.088 GB, free: 94.01 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 12 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,senTemInl.T,senTemOut.T,pipRev.del.x,pipRev.timDel.x,pipRev.vol_b.dynBal.U,pipRev.vol_a.dynBal.U,senTemOutRev.T,senTemInlRev.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 (142): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.006457/5.832, allocations: 6.935 MB / 3.095 GB, free: 87.98 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003308/5.836, allocations: 2.295 MB / 3.097 GB, free: 86.22 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/5.836, allocations: 2.156 kB / 3.097 GB, free: 86.22 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/5.837, allocations: 0.9028 MB / 3.098 GB, free: 85.52 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006049/5.843, allocations: 1.396 MB / 3.1 GB, free: 84.43 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/5.853, allocations: 13.75 MB / 3.113 GB, free: 70.91 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009431/5.854, allocations: 1.757 MB / 3.115 GB, free: 69.15 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002737/5.857, allocations: 0.6889 MB / 3.115 GB, free: 68.53 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/5.858, allocations: 1.158 MB / 3.117 GB, free: 67.84 MB / 1.167 GB Notification: Performance of SimCode: time 9.518e-06/5.858, allocations: 0 / 3.117 GB, free: 67.84 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1219/5.98, allocations: 91.28 MB / 3.206 GB, free: 11.09 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003294/5.98, allocations: 266.5 kB / 3.206 GB, free: 10.73 MB / 1.198 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_SingleBuriedPipe.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe.c:7: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe.c:393:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[118] /* pip.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[1] /* pip.timDel.x STATE(1,pip.timDel.u) */, tmp0, tmp1, tmp2 ,&data->localData[0]->realVars[117] /* pip.timDel.time_out_des variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe.c:697:79: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[115] /* pip.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[111] /* pip.port_a.h_outflow variable */, data->localData[0]->realVars[112] /* pip.port_b.h_outflow variable */, (0.001) * (data->localData[0]->realVars[0] /* pip.del.x STATE(1,pip.v) */), tmp9, tmp10, tmp11 ,&data->localData[0]->realVars[97] /* pip.del.port_b.h_outflow variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe.c:995:81: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[177] /* pipRev.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[5] /* pipRev.timDel.x STATE(1,pipRev.timDel.u) */, tmp27, tmp28, tmp29 ,&data->localData[0]->realVars[176] /* pipRev.timDel.time_out_des variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe.c:1378:82: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[174] /* pipRev.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[170] /* pipRev.port_a.h_outflow variable */, data->localData[0]->realVars[171] /* pipRev.port_b.h_outflow variable */, (0.001) * (data->localData[0]->realVars[4] /* pipRev.del.x STATE(1,pipRev.v) */), tmp38, tmp39, tmp40 ,&data->localData[0]->realVars[155] /* pipRev.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_SingleBuriedPipe_functions.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_functions.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_functions.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe_functions.c:1388:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_i == _j)) ~~~^~~~~ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe_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_SingleBuriedPipe_records.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_records.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe_01exo.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_01exo.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_01exo.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe_02nls.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_02nls.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_02nls.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe_03lsy.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_03lsy.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_03lsy.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe_04set.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_04set.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_04set.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe_05evt.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_05evt.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_05evt.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe_06inz.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_06inz.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_06inz.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe_06inz.c:904:81: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[177] /* pipRev.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[5] /* pipRev.timDel.x STATE(1,pipRev.timDel.u) */, tmp4, tmp5, tmp6 ,&data->localData[0]->realVars[176] /* pipRev.timDel.time_out_des variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_06inz.c:941:82: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[174] /* pipRev.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[170] /* pipRev.port_a.h_outflow variable */, data->localData[0]->realVars[171] /* pipRev.port_b.h_outflow variable */, (0.001) * (data->localData[0]->realVars[4] /* pipRev.del.x STATE(1,pipRev.v) */), tmp7, tmp8, tmp9 ,&data->localData[0]->realVars[155] /* pipRev.del.port_b.h_outflow variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_06inz.c:1321:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[118] /* pip.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[1] /* pip.timDel.x STATE(1,pip.timDel.u) */, tmp0, tmp1, tmp2 ,&data->localData[0]->realVars[117] /* pip.timDel.time_out_des variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_06inz.c:1358:79: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[115] /* pip.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[111] /* pip.port_a.h_outflow variable */, data->localData[0]->realVars[112] /* pip.port_b.h_outflow variable */, (0.001) * (data->localData[0]->realVars[0] /* pip.del.x STATE(1,pip.v) */), tmp3, tmp4, tmp5 ,&data->localData[0]->realVars[97] /* pip.del.port_b.h_outflow variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_06inz.c:2565:81: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[177] /* pipRev.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[5] /* pipRev.timDel.x STATE(1,pipRev.timDel.u) */, tmp0, tmp1, tmp2 ,&data->localData[0]->realVars[176] /* pipRev.timDel.time_out_des variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_06inz.c:2591:82: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[174] /* pipRev.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[170] /* pipRev.port_a.h_outflow variable */, data->localData[0]->realVars[171] /* pipRev.port_b.h_outflow variable */, (0.001) * (data->localData[0]->realVars[4] /* pipRev.del.x STATE(1,pipRev.v) */), tmp3, tmp4, tmp5 ,&data->localData[0]->realVars[155] /* pipRev.del.port_b.h_outflow variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_06inz.c:2718:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[118] /* pip.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[1] /* pip.timDel.x STATE(1,pip.timDel.u) */, tmp0, tmp1, tmp2 ,&data->localData[0]->realVars[117] /* pip.timDel.time_out_des variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_06inz.c:2744:79: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[115] /* pip.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[111] /* pip.port_a.h_outflow variable */, data->localData[0]->realVars[112] /* pip.port_b.h_outflow variable */, (0.001) * (data->localData[0]->realVars[0] /* pip.del.x STATE(1,pip.v) */), tmp3, tmp4, tmp5 ,&data->localData[0]->realVars[97] /* pip.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_SingleBuriedPipe_07dly.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_07dly.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_07dly.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe_08bnd.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_08bnd.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_08bnd.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe_09alg.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_09alg.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_09alg.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe_10asr.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_10asr.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_10asr.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe_11mix.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_11mix.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_11mix.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe_12jac.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_12jac.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_12jac.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe_13opt.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_13opt.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_13opt.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe_14lnz.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_14lnz.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_14lnz.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe_15syn.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_15syn.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_15syn.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe_16dae.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_16dae.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_16dae.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe_17inl.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_17inl.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_17inl.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe_init_fmu.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_init_fmu.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe_FMU.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_FMU.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe_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_SingleBuriedPipe.so Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_functions.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_records.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_01exo.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_02nls.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_03lsy.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_04set.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_05evt.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_06inz.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_07dly.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_08bnd.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_09alg.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_10asr.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_11mix.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_12jac.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_13opt.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_14lnz.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_15syn.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_16dae.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_17inl.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_init_fmu.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_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_SingleBuriedPipe.o: in function `Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_eqFunction_396': Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe.c:(.text+0x7e6): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe.o: in function `Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_eqFunction_419': Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe.c:(.text+0x15de): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe.o: in function `Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_eqFunction_439': Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe.c:(.text+0x1ee6): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe.o: in function `Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_eqFunction_468': Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe.c:(.text+0x2ecc): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_06inz.o: in function `Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_eqFunction_89': Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_06inz.c:(.text+0x13f0): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_06inz.o:Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_06inz.c:(.text+0x1506): 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