Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.453/1.453, allocations: 133.6 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.971/2.971, allocations: 221.5 MB / 395.4 MB, free: 10.85 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 106.6 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 6.934e-05/6.936e-05, allocations: 7.984 kB / 0.5536 GB, free: 8.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.009, allocations: 82.29 MB / 0.634 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.614/2.623, allocations: 385.6 MB / 1.011 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005542/2.624, allocations: 124.7 kB / 1.011 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.22/5.844, allocations: 481.8 MB / 1.481 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.166e-06/5.844, allocations: 0 / 1.481 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000299/5.845, allocations: 51.53 kB / 1.481 GB, free: 115.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.008571/5.853, allocations: 1.93 MB / 1.483 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.679e-05/5.853, allocations: 14.67 kB / 1.483 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/5.855, allocations: 214.4 kB / 1.483 GB, free: 113 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005971/5.861, allocations: 1.701 MB / 1.485 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.316e-05/5.861, allocations: 32 kB / 1.485 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002415/5.861, allocations: 79.92 kB / 1.485 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002297/5.863, allocations: 0.711 MB / 1.486 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/5.866, allocations: 0.9051 MB / 1.487 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.991e-05/5.866, allocations: 0 / 1.487 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/5.866, allocations: 0 / 1.487 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.24e-05/5.866, allocations: 28 kB / 1.487 GB, free: 109.5 MB / 0.6823 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.01614/5.882, allocations: 6.243 MB / 1.493 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/5.884, allocations: 0.5161 MB / 1.493 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006359/5.884, allocations: 319.7 kB / 1.494 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001436/5.886, allocations: 1.267 MB / 1.495 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/5.886, allocations: 42.78 kB / 1.495 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 5.37e-06/5.886, allocations: 0 / 1.495 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.00292/5.889, allocations: 0.7429 MB / 1.496 GB, free: 99.55 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/5.889, allocations: 93.66 kB / 1.496 GB, free: 99.45 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/5.891, allocations: 1.126 MB / 1.497 GB, free: 98.31 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000138/5.892, allocations: 25.7 kB / 1.497 GB, free: 98.28 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007742/5.892, allocations: 0.7254 MB / 1.498 GB, free: 97.55 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003488/5.893, allocations: 232.5 kB / 1.498 GB, free: 97.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/5.893, allocations: 4 kB / 1.498 GB, free: 97.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001366/5.893, allocations: 341.9 kB / 1.498 GB, free: 96.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005485/5.893, allocations: 249.7 kB / 1.498 GB, free: 96.73 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007359/5.894, allocations: 457.1 kB / 1.499 GB, free: 96.21 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/5.896, allocations: 418.7 kB / 1.499 GB, free: 95.81 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/5.896, allocations: 0 / 1.499 GB, free: 95.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003254/5.899, allocations: 0.977 MB / 1.5 GB, free: 94.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006275/5.9, allocations: 1.339 MB / 1.501 GB, free: 93.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.648e-05/5.9, allocations: 4 kB / 1.501 GB, free: 93.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004311/5.9, allocations: 82.67 kB / 1.501 GB, free: 93.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009662/5.901, allocations: 175.8 kB / 1.502 GB, free: 93.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003027/5.904, allocations: 2.871 MB / 1.504 GB, free: 90.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/5.907, allocations: 99.89 kB / 1.505 GB, free: 89.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/5.907, allocations: 39.98 kB / 1.505 GB, free: 89.94 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/5.907, allocations: 4 kB / 1.505 GB, free: 89.94 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002871/5.91, allocations: 0.8091 MB / 1.505 GB, free: 89.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/5.91, allocations: 4 kB / 1.505 GB, free: 89.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002081/5.91, allocations: 61.7 kB / 1.505 GB, free: 89.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008923/5.911, allocations: 178.7 kB / 1.506 GB, free: 88.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0026/5.913, allocations: 2.885 MB / 1.508 GB, free: 85.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/5.916, allocations: 88.61 kB / 1.509 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/5.916, allocations: 39.98 kB / 1.509 GB, free: 85.66 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004315/5.916, allocations: 120.7 kB / 1.509 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002958/5.919, allocations: 0.7468 MB / 1.509 GB, free: 84.78 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/5.919, allocations: 142.3 kB / 1.51 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003054/5.922, allocations: 0.9591 MB / 1.51 GB, free: 83.67 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/5.923, allocations: 8 kB / 1.51 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/5.923, allocations: 0 / 1.51 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002035/5.925, allocations: 0.7886 MB / 1.511 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006526/5.931, allocations: 2.478 MB / 1.514 GB, free: 80.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/5.931, allocations: 4 kB / 1.514 GB, free: 80.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007962/5.932, allocations: 138.5 kB / 1.514 GB, free: 80.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003137/5.932, allocations: 61.69 kB / 1.514 GB, free: 80.06 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.914e-05/5.932, allocations: 15.98 kB / 1.514 GB, free: 80.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002554/5.935, allocations: 2.874 MB / 1.517 GB, free: 76.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/5.935, allocations: 4 kB / 1.517 GB, free: 76.95 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003825/5.939, allocations: 1.529 MB / 1.518 GB, free: 75.28 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/5.94, allocations: 358 kB / 1.519 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000272/5.94, allocations: 4 kB / 1.519 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/5.941, allocations: 38.8 kB / 1.519 GB, free: 74.88 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/5.942, allocations: 60.42 kB / 1.519 GB, free: 74.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.129e-05/5.942, allocations: 32.58 kB / 1.519 GB, free: 74.79 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001936/5.944, allocations: 0.856 MB / 1.519 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/5.944, allocations: 4 kB / 1.519 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006992/5.951, allocations: 1.193 MB / 1.521 GB, free: 72.74 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008797/5.96, allocations: 4.032 MB / 1.525 GB, free: 68.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003914/5.964, allocations: 1.596 MB / 1.526 GB, free: 67.16 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/5.964, allocations: 0 / 1.526 GB, free: 67.16 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/5.965, allocations: 0.5474 MB / 1.527 GB, free: 66.59 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005779/5.97, allocations: 0.6101 MB / 1.527 GB, free: 66.02 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/5.981, allocations: 2.698 MB / 1.53 GB, free: 63.27 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/5.982, allocations: 1.311 MB / 1.531 GB, free: 61.92 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003959/5.986, allocations: 450.1 kB / 1.532 GB, free: 61.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/5.988, allocations: 0.5891 MB / 1.532 GB, free: 60.91 MB / 0.6823 GB Notification: Performance of SimCode: time 2.013e-06/5.988, allocations: 4 kB / 1.532 GB, free: 60.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1497/6.138, allocations: 47.46 MB / 1.579 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004699/6.138, allocations: 219.8 kB / 1.579 GB, free: 13.9 MB / 0.6823 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=IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_FMU.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_FMU.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_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 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_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=IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.c:7: In file included from ./IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_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=IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c:1: In file included from ./IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_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); ^ IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c:1175:59: error: cannot take the address of an rvalue of type 'real_array_t' (aka 'struct base_array_s') copy_real_array_data(add_alloc_scalar_real_array(_TBor, &mul_alloc_real_matrix_product_smart(_R0, _QPip_flow)), &_TFlu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.o] Error 1