Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.302/2.302, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001093/0.001093, allocations: 184.9 kB / 487.4 MB, free: 5.039 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.542/1.542, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009789/0.0009789, allocations: 95.89 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.787e-05/1.781e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2774, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.237/1.514, allocations: 457.1 MB / 1.652 GB, free: 14.52 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/1.515, allocations: 102.5 kB / 1.653 GB, free: 14.46 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 4.89/6.405, allocations: 1.343 GB / 2.995 GB, free: 75.09 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.036e-06/6.405, allocations: 0 / 2.995 GB, free: 75.09 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003597/6.406, allocations: 74.41 kB / 2.995 GB, free: 75.03 MB / 1.151 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.01134/6.417, allocations: 2.811 MB / 2.998 GB, free: 72.19 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/6.417, allocations: 12.03 kB / 2.998 GB, free: 72.18 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/6.419, allocations: 344 kB / 2.998 GB, free: 71.84 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01547/6.434, allocations: 5.841 MB / 3.004 GB, free: 66.11 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/6.434, allocations: 52 kB / 3.004 GB, free: 66.06 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002764/6.435, allocations: 111.9 kB / 3.004 GB, free: 65.95 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002198/6.437, allocations: 1.198 MB / 3.005 GB, free: 64.75 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/6.439, allocations: 1.581 MB / 3.007 GB, free: 63.09 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.025e-05/6.439, allocations: 4 kB / 3.007 GB, free: 63.09 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/6.439, allocations: 0 / 3.007 GB, free: 63.09 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.063e-05/6.439, allocations: 55.98 kB / 3.007 GB, free: 63.04 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.01111/6.451, allocations: 9.552 MB / 3.016 GB, free: 52.82 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/6.452, allocations: 0.8151 MB / 3.017 GB, free: 52 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005537/6.452, allocations: 0.4993 MB / 3.018 GB, free: 51.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001688/6.454, allocations: 3.072 MB / 3.021 GB, free: 47.75 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/6.454, allocations: 55.8 kB / 3.021 GB, free: 47.68 MB / 1.151 GB Notification: Performance of pre-optimization done (n=121): time 3.496e-06/6.454, allocations: 0 / 3.021 GB, free: 47.68 MB / 1.151 GB Notification: Performance of matching and sorting (n=121): time 0.004952/6.459, allocations: 1.612 MB / 3.022 GB, free: 46.07 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/6.459, allocations: 64.72 kB / 3.022 GB, free: 46 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/6.461, allocations: 1.661 MB / 3.024 GB, free: 44.32 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001628/6.461, allocations: 29.7 kB / 3.024 GB, free: 44.28 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006388/6.462, allocations: 1.172 MB / 3.025 GB, free: 43.09 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003263/6.462, allocations: 417.8 kB / 3.025 GB, free: 42.68 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/6.462, allocations: 0 / 3.025 GB, free: 42.68 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.225e-05/6.463, allocations: 361.9 kB / 3.026 GB, free: 42.32 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005311/6.463, allocations: 407.9 kB / 3.026 GB, free: 41.92 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006729/6.464, allocations: 0.7695 MB / 3.027 GB, free: 41 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002447/6.466, allocations: 0.7929 MB / 3.028 GB, free: 40.21 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/6.466, allocations: 0 / 3.028 GB, free: 40.21 MB / 1.151 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005099/6.471, allocations: 1.922 MB / 3.03 GB, free: 38.28 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005913/6.472, allocations: 3.627 MB / 3.033 GB, free: 34.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/6.472, allocations: 15.98 kB / 3.033 GB, free: 34.29 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001384/6.473, allocations: 312.5 kB / 3.033 GB, free: 33.98 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008718/6.474, allocations: 287.6 kB / 3.034 GB, free: 33.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000707/6.475, allocations: 0.8528 MB / 3.035 GB, free: 32.82 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/6.477, allocations: 201.9 kB / 3.035 GB, free: 32.62 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/6.478, allocations: 79.95 kB / 3.035 GB, free: 32.55 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/6.478, allocations: 4 kB / 3.035 GB, free: 32.54 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004579/6.482, allocations: 1.655 MB / 3.036 GB, free: 30.89 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/6.482, allocations: 16.05 kB / 3.036 GB, free: 30.87 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/6.483, allocations: 304.6 kB / 3.037 GB, free: 30.57 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008392/6.484, allocations: 291.6 kB / 3.037 GB, free: 30.29 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006596/6.485, allocations: 0.8527 MB / 3.038 GB, free: 29.41 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/6.487, allocations: 178.8 kB / 3.038 GB, free: 29.23 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/6.487, allocations: 71.97 kB / 3.038 GB, free: 29.16 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.000343/6.488, allocations: 148.3 kB / 3.038 GB, free: 29.01 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005272/6.493, allocations: 1.623 MB / 3.04 GB, free: 27.38 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006459/6.494, allocations: 229.2 kB / 3.04 GB, free: 27.15 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005806/6.499, allocations: 2.362 MB / 3.042 GB, free: 24.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-05/6.5, allocations: 23.98 kB / 3.042 GB, free: 24.77 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/6.5, allocations: 0 / 3.042 GB, free: 24.77 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003918/6.503, allocations: 1.817 MB / 3.044 GB, free: 22.91 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/6.515, allocations: 4.743 MB / 3.049 GB, free: 17.96 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.581e-05/6.515, allocations: 15.98 kB / 3.049 GB, free: 17.95 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008835/6.516, allocations: 232.5 kB / 3.049 GB, free: 17.72 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001132/6.518, allocations: 244.6 kB / 3.049 GB, free: 17.48 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000164/6.518, allocations: 39.97 kB / 3.049 GB, free: 17.44 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006746/6.518, allocations: 0.8438 MB / 3.05 GB, free: 16.57 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/6.518, allocations: 15.92 kB / 3.05 GB, free: 16.55 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006295/6.525, allocations: 3.443 MB / 3.054 GB, free: 12.84 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001563/6.526, allocations: 0.5793 MB / 3.054 GB, free: 12.24 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006896/6.527, allocations: 23.94 kB / 3.054 GB, free: 12.21 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002088/6.529, allocations: 107.7 kB / 3.054 GB, free: 12.11 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/6.529, allocations: 125 kB / 3.054 GB, free: 11.99 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001861/6.53, allocations: 75.89 kB / 3.054 GB, free: 11.91 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002451/6.532, allocations: 1.254 MB / 3.056 GB, free: 10.65 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/6.532, allocations: 0 / 3.056 GB, free: 10.65 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006469/6.538, allocations: 1.567 MB / 3.057 GB, free: 9.078 MB / 1.151 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 () * 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.009714/6.548, allocations: 6.978 MB / 3.064 GB, free: 1.875 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003787/6.552, allocations: 2.226 MB / 3.066 GB, free: 15.61 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/6.552, allocations: 4.312 kB / 3.066 GB, free: 15.61 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001492/6.554, allocations: 0.8548 MB / 3.067 GB, free: 14.73 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00628/6.56, allocations: 1.03 MB / 3.068 GB, free: 13.72 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/6.573, allocations: 4.491 MB / 3.072 GB, free: 9.098 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002017/6.575, allocations: 1.739 MB / 3.074 GB, free: 7.328 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004523/6.579, allocations: 0.791 MB / 3.075 GB, free: 6.551 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001681/6.581, allocations: 1.065 MB / 3.076 GB, free: 5.484 MB / 1.167 GB Notification: Performance of SimCode: time 1.363e-06/6.581, allocations: 0 / 3.076 GB, free: 5.484 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8851/7.466, allocations: 78.08 MB / 3.152 GB, free: 167.9 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/7.466, allocations: 186.8 kB / 3.152 GB, free: 167.7 MB / 1.182 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_FMU.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_FMU.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c:162: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); ^~~~ include/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. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:7: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:388:81: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[116] /* pipChW.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[1] /* pipChW.timDel.x STATE(1,pipChW.timDel.u) */, tmp0, tmp1, tmp2 ,&data->localData[0]->realVars[115] /* pipChW.timDel.time_out_des variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:689:82: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[113] /* pipChW.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[109] /* pipChW.port_a.h_outflow variable */, data->localData[0]->realVars[110] /* pipChW.port_b.h_outflow variable */, (0.001) * (data->localData[0]->realVars[0] /* pipChW.del.x STATE(1,pipChW.v) */), tmp9, tmp10, tmp11 ,&data->localData[0]->realVars[95] /* pipChW.del.port_b.h_outflow variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:920:82: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[174] /* pipHotW.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[5] /* pipHotW.timDel.x STATE(1,pipHotW.timDel.u) */, tmp23, tmp24, tmp25 ,&data->localData[0]->realVars[173] /* pipHotW.timDel.time_out_des variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:1221:83: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[171] /* pipHotW.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[167] /* pipHotW.port_a.h_outflow variable */, data->localData[0]->realVars[168] /* pipHotW.port_b.h_outflow variable */, (0.001) * (data->localData[0]->realVars[4] /* pipHotW.del.x STATE(1,pipHotW.v) */), tmp32, tmp33, tmp34 ,&data->localData[0]->realVars[153] /* pipHotW.del.port_b.h_outflow variable */); ^ 6 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_functions.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_functions.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_functions.c:1: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_records.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_records.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_records.c:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_01exo.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_01exo.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_01exo.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_02nls.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_02nls.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_02nls.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_03lsy.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_03lsy.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_03lsy.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_04set.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_04set.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_04set.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_05evt.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_05evt.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_05evt.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:919:82: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[174] /* pipHotW.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[5] /* pipHotW.timDel.x STATE(1,pipHotW.timDel.u) */, tmp4, tmp5, tmp6 ,&data->localData[0]->realVars[173] /* pipHotW.timDel.time_out_des variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:956:83: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[171] /* pipHotW.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[167] /* pipHotW.port_a.h_outflow variable */, data->localData[0]->realVars[168] /* pipHotW.port_b.h_outflow variable */, (0.001) * (data->localData[0]->realVars[4] /* pipHotW.del.x STATE(1,pipHotW.v) */), tmp7, tmp8, tmp9 ,&data->localData[0]->realVars[153] /* pipHotW.del.port_b.h_outflow variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:1239:81: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[116] /* pipChW.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[1] /* pipChW.timDel.x STATE(1,pipChW.timDel.u) */, tmp10, tmp11, tmp12 ,&data->localData[0]->realVars[115] /* pipChW.timDel.time_out_des variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:1276:82: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[113] /* pipChW.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[109] /* pipChW.port_a.h_outflow variable */, data->localData[0]->realVars[110] /* pipChW.port_b.h_outflow variable */, (0.001) * (data->localData[0]->realVars[0] /* pipChW.del.x STATE(1,pipChW.v) */), tmp13, tmp14, tmp15 ,&data->localData[0]->realVars[95] /* pipChW.del.port_b.h_outflow variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:10053:82: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[174] /* pipHotW.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[5] /* pipHotW.timDel.x STATE(1,pipHotW.timDel.u) */, tmp37, tmp38, tmp39 ,&data->localData[0]->realVars[173] /* pipHotW.timDel.time_out_des variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:10079:83: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[171] /* pipHotW.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[167] /* pipHotW.port_a.h_outflow variable */, data->localData[0]->realVars[168] /* pipHotW.port_b.h_outflow variable */, (0.001) * (data->localData[0]->realVars[4] /* pipHotW.del.x STATE(1,pipHotW.v) */), tmp40, tmp41, tmp42 ,&data->localData[0]->realVars[153] /* pipHotW.del.port_b.h_outflow variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:10153:81: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[116] /* pipChW.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[1] /* pipChW.timDel.x STATE(1,pipChW.timDel.u) */, tmp43, tmp44, tmp45 ,&data->localData[0]->realVars[115] /* pipChW.timDel.time_out_des variable */); ^ Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:10179:82: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[113] /* pipChW.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[109] /* pipChW.port_a.h_outflow variable */, data->localData[0]->realVars[110] /* pipChW.port_b.h_outflow variable */, (0.001) * (data->localData[0]->realVars[0] /* pipChW.del.x STATE(1,pipChW.v) */), tmp46, tmp47, tmp48 ,&data->localData[0]->realVars[95] /* pipChW.del.port_b.h_outflow variable */); ^ 10 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_07dly.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_07dly.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_07dly.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_08bnd.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_08bnd.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_08bnd.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_09alg.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_09alg.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_09alg.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_10asr.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_10asr.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_10asr.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_11mix.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_11mix.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_11mix.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_12jac.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_12jac.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_12jac.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_13opt.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_13opt.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_13opt.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_14lnz.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_14lnz.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_14lnz.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_15syn.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_15syn.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_15syn.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_16dae.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_16dae.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_16dae.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_17inl.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_17inl.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_17inl.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_init_fmu.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_init_fmu.c In file included from Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_init_fmu.c:1: In file included from include/simulation_data.h:39: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.so Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_FMU.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_functions.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_records.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_01exo.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_02nls.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_03lsy.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_04set.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_05evt.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_07dly.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_08bnd.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_09alg.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_10asr.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_11mix.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_12jac.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_13opt.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_14lnz.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_15syn.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_16dae.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_17inl.o Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_init_fmu.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Fluid/Geothermal/BuriedPipes/Examples" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -L'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc' -lSimulationRuntimeFMI -llapack -lblas -lm -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.o: in function `Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_eqFunction_970': Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:(.text+0x804): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.o: in function `Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_eqFunction_993': Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:(.text+0x15f2): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.o: in function `Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_eqFunction_1009': Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:(.text+0x1d45): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.o: in function `Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_eqFunction_1032': Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes.c:(.text+0x2b3a): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.o: in function `Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_eqFunction_91': Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:(.text+0x13c6): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.o:Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoBuriedPipes_06inz.c:(.text+0x14d5): more undefined references to `spatialDistribution' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:44: nozip] Error 1