Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002671/0.002672, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.313/2.313, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.727/4.727, allocations: 409.2 MB / 0.6838 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005336/0.000534, allocations: 8 kB / 0.8375 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.516/1.517, allocations: 146.8 MB / 0.9809 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes): time 0.1969/1.714, allocations: 98.78 MB / 1.077 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.06992/1.784, allocations: 23.92 MB / 1.101 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009262/1.793, allocations: 107.2 kB / 1.101 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01152/1.805, allocations: 1.473 MB / 1.102 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.03628/1.841, allocations: 4.744 MB / 1.107 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.01915/1.86, allocations: 2.843 MB / 1.11 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.02001/1.88, allocations: 4.868 MB / 1.114 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0081/1.889, allocations: 1.906 MB / 1.116 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01299/1.902, allocations: 2.437 MB / 1.119 GB, free: 8.961 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006873/1.909, allocations: 1.497 MB / 1.12 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001558/1.91, allocations: 112 kB / 1.12 GB, free: 7.348 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01917/1.929, allocations: 2.321 MB / 1.122 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002257/1.932, allocations: 498 kB / 1.123 GB, free: 4.535 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00276/1.935, allocations: 0.6212 MB / 1.124 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01389/1.948, allocations: 3.916 MB / 1.127 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/1.949, allocations: 0 / 1.127 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.779e-06/1.949, allocations: 3.938 kB / 1.127 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002132/1.949, allocations: 0 / 1.127 GB, free: 15.98 MB / 0.8887 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.01515/1.964, allocations: 2.993 MB / 1.13 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 9.419e-05/1.964, allocations: 12.03 kB / 1.13 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001619/1.966, allocations: 245 kB / 1.131 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002704/1.969, allocations: 344.2 kB / 1.131 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01112/1.98, allocations: 2.351 MB / 1.133 GB, free: 9.895 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002465/1.98, allocations: 131.3 kB / 1.133 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007785/1.981, allocations: 179.9 kB / 1.133 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007/1.988, allocations: 1.88 MB / 1.135 GB, free: 7.641 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.062e-05/1.988, allocations: 3.938 kB / 1.135 GB, free: 7.637 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003179/1.988, allocations: 72 kB / 1.135 GB, free: 7.566 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/1.988, allocations: 48 kB / 1.135 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00527/1.994, allocations: 1.414 MB / 1.137 GB, free: 6.102 MB / 0.8887 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.02731/2.021, allocations: 10.08 MB / 1.147 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003143/2.024, allocations: 0.8905 MB / 1.148 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00461/2.029, allocations: 3.08 MB / 1.151 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.492e-05/2.029, allocations: 47.5 kB / 1.151 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=121): time 6.111e-06/2.029, allocations: 4 kB / 1.151 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of matching and sorting (n=121): time 0.01346/2.043, allocations: 2.605 MB / 1.153 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.67e-05/2.043, allocations: 64.41 kB / 1.153 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007237/2.05, allocations: 2.275 MB / 1.155 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0005417/2.051, allocations: 45.7 kB / 1.155 GB, free: 1.434 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001773/2.052, allocations: 1.169 MB / 1.157 GB, free: 256 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001002/2.053, allocations: 433.8 kB / 1.157 GB, free: 15.82 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/2.054, allocations: 28 kB / 1.157 GB, free: 15.79 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002631/2.054, allocations: 369.9 kB / 1.157 GB, free: 15.42 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/2.055, allocations: 483.8 kB / 1.158 GB, free: 14.95 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/2.058, allocations: 0.8132 MB / 1.159 GB, free: 14.01 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/2.06, allocations: 0.6037 MB / 1.159 GB, free: 13.41 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/2.06, allocations: 4 kB / 1.159 GB, free: 13.4 MB / 0.92 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.008666/2.068, allocations: 1.916 MB / 1.161 GB, free: 11.47 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.002155/2.071, allocations: 3.664 MB / 1.165 GB, free: 7.492 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-05/2.071, allocations: 15.98 kB / 1.165 GB, free: 7.477 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003607/2.074, allocations: 380.4 kB / 1.165 GB, free: 7.102 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002361/2.077, allocations: 299.5 kB / 1.165 GB, free: 6.809 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/2.079, allocations: 0.8177 MB / 1.166 GB, free: 5.965 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004908/2.084, allocations: 254.2 kB / 1.166 GB, free: 5.715 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006802/2.084, allocations: 79.89 kB / 1.166 GB, free: 5.637 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/2.084, allocations: 5.875 kB / 1.166 GB, free: 5.633 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007523/2.092, allocations: 1.659 MB / 1.168 GB, free: 3.969 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.761e-05/2.092, allocations: 12 kB / 1.168 GB, free: 3.957 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003302/2.095, allocations: 389 kB / 1.168 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/2.098, allocations: 291.5 kB / 1.169 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/2.099, allocations: 0.821 MB / 1.17 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004263/2.103, allocations: 226.5 kB / 1.17 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004668/2.104, allocations: 75.97 kB / 1.17 GB, free: 2.148 MB / 0.92 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 (168): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.002617/2.107, allocations: 0.5671 MB / 1.17 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001338/2.108, allocations: 248.9 kB / 1.171 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009643/2.118, allocations: 2.426 MB / 1.173 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.988e-05/2.118, allocations: 23.98 kB / 1.173 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/2.118, allocations: 0 / 1.173 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006796/2.125, allocations: 1.833 MB / 1.175 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02321/2.148, allocations: 5.245 MB / 1.18 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-05/2.148, allocations: 11.98 kB / 1.18 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001996/2.15, allocations: 236.4 kB / 1.18 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002739/2.153, allocations: 318.2 kB / 1.18 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003887/2.153, allocations: 51.97 kB / 1.181 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/2.155, allocations: 0.81 MB / 1.181 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.781e-05/2.155, allocations: 11.94 kB / 1.181 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01236/2.167, allocations: 3.628 MB / 1.185 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003072/2.17, allocations: 0.6491 MB / 1.185 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001174/2.171, allocations: 32 kB / 1.186 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003891/2.175, allocations: 154.9 kB / 1.186 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004159/2.176, allocations: 117 kB / 1.186 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003293/2.176, allocations: 75.95 kB / 1.186 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00562/2.182, allocations: 1.672 MB / 1.187 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of sort global known variables: time 5.81e-07/2.182, allocations: 0 / 1.187 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.009325/2.191, allocations: 1.529 MB / 1.189 GB, free: 14.01 MB / 0.9512 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.01562/2.207, allocations: 6.489 MB / 1.195 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.008924/2.216, allocations: 2.396 MB / 1.198 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.24e-05/2.216, allocations: 0 / 1.198 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003127/2.219, allocations: 0.932 MB / 1.199 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01351/2.233, allocations: 1.373 MB / 1.2 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02844/2.261, allocations: 13.5 MB / 1.213 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002802/2.264, allocations: 1.728 MB / 1.215 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00623/2.27, allocations: 0.6742 MB / 1.215 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003792/2.274, allocations: 1.128 MB / 1.217 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of SimCode: time 2.465e-06/2.274, allocations: 0 / 1.217 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.431/3.705, allocations: 86.94 MB / 1.301 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004392/3.705, allocations: 273.4 kB / 1.302 GB, free: 220.4 MB / 0.9981 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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:7: In file included from ./Buildings_latest_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:414:81: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[114] /* 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[113] /* pipChW.timDel.time_out_des variable */); ^ Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:761:82: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[109] /* pipChW.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[210] /* senTemChWIn.port_a.h_outflow variable */, data->localData[0]->realVars[216] /* senTemChWOut.port_b.h_outflow variable */, DIVISION_SIM(data->localData[0]->realVars[0] /* pipChW.del.x STATE(1,pipChW.v) */,data->simulationInfo->realParameter[68] /* pipChW.del.length PARAM */,"pipChW.del.length",equationIndexes), tmp11, tmp12, tmp13 ,&data->localData[0]->realVars[95] /* pipChW.del.port_b.h_outflow variable */); ^ Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:954:82: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[170] /* 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[169] /* pipHotW.timDel.time_out_des variable */); ^ Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:1301:83: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[165] /* pipHotW.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[222] /* senTemHotWIn.port_a.h_outflow variable */, data->localData[0]->realVars[228] /* senTemHotWOut.port_b.h_outflow variable */, DIVISION_SIM(data->localData[0]->realVars[4] /* pipHotW.del.x STATE(1,pipHotW.v) */,data->simulationInfo->realParameter[249] /* pipHotW.del.length PARAM */,"pipHotW.del.length",equationIndexes), tmp34, tmp35, tmp36 ,&data->localData[0]->realVars[151] /* 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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_functions.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_functions.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_functions.c:2: In file included from ./Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_functions.c:372:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_i == _j)) ~~~^~~~~ Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_functions.c:372:18: note: remove extraneous parentheses around the comparison to silence this warning if((_i == _j)) ~ ^ ~ Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_functions.c:372: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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_records.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_records.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_01exo.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_01exo.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_01exo.c:2: In file included from ./Buildings_latest_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_02nls.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_02nls.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_02nls.c:2: In file included from ./Buildings_latest_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_03lsy.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_03lsy.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_03lsy.c:2: In file included from ./Buildings_latest_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_04set.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_04set.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_04set.c:2: In file included from ./Buildings_latest_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_05evt.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_05evt.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_05evt.c:2: In file included from ./Buildings_latest_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:2: In file included from ./Buildings_latest_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:906:82: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[170] /* 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[169] /* pipHotW.timDel.time_out_des variable */); ^ Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:943:83: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[165] /* pipHotW.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[222] /* senTemHotWIn.port_a.h_outflow variable */, data->localData[0]->realVars[228] /* senTemHotWOut.port_b.h_outflow variable */, DIVISION_SIM(data->localData[0]->realVars[4] /* pipHotW.del.x STATE(1,pipHotW.v) */,data->simulationInfo->realParameter[249] /* pipHotW.del.length PARAM */,"pipHotW.del.length",equationIndexes), tmp7, tmp8, tmp9 ,&data->localData[0]->realVars[151] /* pipHotW.del.port_b.h_outflow variable */); ^ Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:1226:81: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[114] /* 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[113] /* pipChW.timDel.time_out_des variable */); ^ Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:1263:82: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[109] /* pipChW.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[210] /* senTemChWIn.port_a.h_outflow variable */, data->localData[0]->realVars[216] /* senTemChWOut.port_b.h_outflow variable */, DIVISION_SIM(data->localData[0]->realVars[0] /* pipChW.del.x STATE(1,pipChW.v) */,data->simulationInfo->realParameter[68] /* pipChW.del.length PARAM */,"pipChW.del.length",equationIndexes), tmp13, tmp14, tmp15 ,&data->localData[0]->realVars[95] /* pipChW.del.port_b.h_outflow variable */); ^ Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:2411:82: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[170] /* 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[169] /* pipHotW.timDel.time_out_des variable */); ^ Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:2437:83: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[165] /* pipHotW.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[222] /* senTemHotWIn.port_a.h_outflow variable */, data->localData[0]->realVars[228] /* senTemHotWOut.port_b.h_outflow variable */, DIVISION_SIM(data->localData[0]->realVars[4] /* pipHotW.del.x STATE(1,pipHotW.v) */,data->simulationInfo->realParameter[249] /* pipHotW.del.length PARAM */,"pipHotW.del.length",equationIndexes), tmp3, tmp4, tmp5 ,&data->localData[0]->realVars[151] /* pipHotW.del.port_b.h_outflow variable */); ^ Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:2511:81: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[114] /* 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[113] /* pipChW.timDel.time_out_des variable */); ^ Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:2537:82: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[109] /* pipChW.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[210] /* senTemChWIn.port_a.h_outflow variable */, data->localData[0]->realVars[216] /* senTemChWOut.port_b.h_outflow variable */, DIVISION_SIM(data->localData[0]->realVars[0] /* pipChW.del.x STATE(1,pipChW.v) */,data->simulationInfo->realParameter[68] /* pipChW.del.length PARAM */,"pipChW.del.length",equationIndexes), 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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_07dly.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_07dly.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_07dly.c:2: In file included from ./Buildings_latest_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_08bnd.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_08bnd.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_08bnd.c:2: In file included from ./Buildings_latest_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_09alg.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_09alg.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_09alg.c:2: In file included from ./Buildings_latest_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_10asr.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_10asr.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_10asr.c:2: In file included from ./Buildings_latest_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_11mix.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_11mix.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_11mix.c:2: In file included from ./Buildings_latest_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_12jac.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_12jac.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_12jac.c:2: In file included from ./Buildings_latest_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_13opt.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_13opt.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_13opt.c:2: In file included from ./Buildings_latest_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_14lnz.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_14lnz.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_14lnz.c:2: In file included from ./Buildings_latest_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_15syn.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_15syn.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_15syn.c:2: In file included from ./Buildings_latest_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_16dae.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_16dae.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_16dae.c:2: In file included from ./Buildings_latest_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_17inl.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_17inl.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_17inl.c:2: In file included from ./Buildings_latest_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_init_fmu.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_init_fmu.c In file included from Buildings_latest_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_FMU.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_FMU.c In file included from Buildings_latest_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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_latest_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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.so Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_functions.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_records.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_01exo.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_02nls.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_03lsy.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_04set.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_05evt.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_07dly.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_08bnd.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_09alg.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_10asr.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_11mix.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_12jac.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_13opt.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_14lnz.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_15syn.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_16dae.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_17inl.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_init_fmu.o Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.o: in function `Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_eqFunction_396': Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:(.text+0x81f): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.o: in function `Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_eqFunction_422': Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:(.text+0x183e): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.o: in function `Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_eqFunction_435': Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:(.text+0x1eab): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.o: in function `Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_eqFunction_461': Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:(.text+0x2ed1): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.o: in function `Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_eqFunction_90': Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:(.text+0x139e): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.o:Buildings_latest_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:(.text+0x15c7): more undefined references to `spatialDistribution' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:60: nozip] Error 1