Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7926/0.7926, allocations: 127.4 MB / 134.9 MB, free: 3.703 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 172.8 kB / 164.6 MB, free: 6.52 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.2 MB / 399.5 MB, free: 5.938 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008326/0.0008326, allocations: 102 kB / 476.7 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.172e-05/2.174e-05, allocations: 4 kB / 0.5467 GB, free: 60.35 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1477, allocations: 76.75 MB / 0.6217 GB, free: 15.53 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.266/1.413, allocations: 382.1 MB / 0.9948 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003423/1.414, allocations: 128.5 kB / 0.995 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.842/3.256, allocations: 484.6 MB / 1.468 GB, free: 91.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/3.256, allocations: 2.281 kB / 1.468 GB, free: 91.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001455/3.256, allocations: 46.89 kB / 1.468 GB, free: 91.01 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004034/3.26, allocations: 1.952 MB / 1.47 GB, free: 89.94 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/3.261, allocations: 7.875 kB / 1.47 GB, free: 89.94 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005063/3.261, allocations: 221 kB / 1.47 GB, free: 89.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003398/3.264, allocations: 1.917 MB / 1.472 GB, free: 89.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/3.265, allocations: 34.25 kB / 1.472 GB, free: 89.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/3.265, allocations: 64.75 kB / 1.472 GB, free: 89.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001396/3.266, allocations: 0.7296 MB / 1.473 GB, free: 89.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/3.268, allocations: 0.9453 MB / 1.474 GB, free: 89.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/3.268, allocations: 0 / 1.474 GB, free: 89.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.003e-05/3.268, allocations: 0 / 1.474 GB, free: 89.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/3.268, allocations: 28.28 kB / 1.474 GB, free: 89.25 MB / 0.6355 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.009503/3.277, allocations: 6.951 MB / 1.481 GB, free: 84.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000703/3.278, allocations: 485.9 kB / 1.481 GB, free: 84.83 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/3.278, allocations: 276.8 kB / 1.482 GB, free: 84.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008656/3.279, allocations: 1.098 MB / 1.483 GB, free: 83.61 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/3.279, allocations: 45.48 kB / 1.483 GB, free: 83.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=59): time 3.096e-06/3.279, allocations: 0 / 1.483 GB, free: 83.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59): time 0.002098/3.282, allocations: 0.7134 MB / 1.483 GB, free: 83.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/3.282, allocations: 88.8 kB / 1.483 GB, free: 83.33 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/3.283, allocations: 1.164 MB / 1.485 GB, free: 83.17 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.12e-05/3.283, allocations: 25.7 kB / 1.485 GB, free: 83.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006794/3.284, allocations: 0.7703 MB / 1.485 GB, free: 82.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/3.284, allocations: 204 kB / 1.486 GB, free: 82.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/3.284, allocations: 0 / 1.486 GB, free: 82.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001328/3.285, allocations: 342 kB / 1.486 GB, free: 82.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/3.285, allocations: 248.1 kB / 1.486 GB, free: 82.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006219/3.286, allocations: 0.5095 MB / 1.487 GB, free: 82.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/3.287, allocations: 436.1 kB / 1.487 GB, free: 82.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/3.287, allocations: 0 / 1.487 GB, free: 82.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002047/3.289, allocations: 1.001 MB / 1.488 GB, free: 81.94 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000674/3.289, allocations: 2.051 MB / 1.49 GB, free: 79.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/3.289, allocations: 6.625 kB / 1.49 GB, free: 79.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000273/3.29, allocations: 67.34 kB / 1.49 GB, free: 79.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007336/3.29, allocations: 201.5 kB / 1.49 GB, free: 79.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/3.292, allocations: 2.868 MB / 1.493 GB, free: 77.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/3.294, allocations: 138.2 kB / 1.493 GB, free: 77.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/3.294, allocations: 45.48 kB / 1.493 GB, free: 77.24 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/3.294, allocations: 3.875 kB / 1.493 GB, free: 77.24 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00169/3.296, allocations: 0.8046 MB / 1.494 GB, free: 77.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/3.296, allocations: 7.719 kB / 1.494 GB, free: 77.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001307/3.296, allocations: 69.67 kB / 1.494 GB, free: 77.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006058/3.297, allocations: 193.1 kB / 1.494 GB, free: 77.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/3.298, allocations: 2.874 MB / 1.497 GB, free: 74.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/3.299, allocations: 101.1 kB / 1.497 GB, free: 74.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.39e-05/3.3, allocations: 37.03 kB / 1.497 GB, free: 74.61 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 101 * 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.000246/3.3, allocations: 130.4 kB / 1.497 GB, free: 74.5 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001471/3.301, allocations: 0.6748 MB / 1.498 GB, free: 74.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/3.301, allocations: 143.1 kB / 1.498 GB, free: 74.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/3.303, allocations: 0.8193 MB / 1.499 GB, free: 74.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/3.303, allocations: 6.812 kB / 1.499 GB, free: 74.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/3.303, allocations: 3.375 kB / 1.499 GB, free: 74.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001041/3.304, allocations: 0.6385 MB / 1.5 GB, free: 73.97 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00416/3.309, allocations: 2.181 MB / 1.502 GB, free: 73.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/3.309, allocations: 3.406 kB / 1.502 GB, free: 73.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005003/3.309, allocations: 118.4 kB / 1.502 GB, free: 73.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001982/3.309, allocations: 65.19 kB / 1.502 GB, free: 73.37 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.286e-05/3.309, allocations: 10.31 kB / 1.502 GB, free: 73.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/3.311, allocations: 2.862 MB / 1.505 GB, free: 70.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/3.311, allocations: 3.594 kB / 1.505 GB, free: 70.82 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0023/3.314, allocations: 1.241 MB / 1.506 GB, free: 70.29 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007899/3.315, allocations: 337.4 kB / 1.506 GB, free: 70.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/3.315, allocations: 3.844 kB / 1.506 GB, free: 70.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007268/3.315, allocations: 48.67 kB / 1.506 GB, free: 70.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.277e-05/3.316, allocations: 48.95 kB / 1.506 GB, free: 70.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.346e-05/3.316, allocations: 28.67 kB / 1.506 GB, free: 70.11 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001486/3.317, allocations: 0.8937 MB / 1.507 GB, free: 70 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.1e-07/3.317, allocations: 0 / 1.507 GB, free: 70 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004442/3.322, allocations: 1.213 MB / 1.508 GB, free: 69.77 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.005215/3.327, allocations: 3.66 MB / 1.512 GB, free: 67.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002566/3.329, allocations: 1.535 MB / 1.513 GB, free: 67.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/3.329, allocations: 0 / 1.513 GB, free: 67.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005604/3.33, allocations: 478.1 kB / 1.514 GB, free: 67.13 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003575/3.334, allocations: 0.5914 MB / 1.514 GB, free: 67.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005886/3.339, allocations: 2.612 MB / 1.517 GB, free: 66.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007792/3.34, allocations: 1.306 MB / 1.518 GB, free: 65.54 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001876/3.342, allocations: 454.3 kB / 1.519 GB, free: 65.47 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000716/3.343, allocations: 0.5999 MB / 1.519 GB, free: 65.46 MB / 0.6355 GB Notification: Performance of SimCode: time 1.844e-06/3.343, allocations: 0 / 1.519 GB, free: 65.46 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09727/3.44, allocations: 47.74 MB / 1.566 GB, free: 40.73 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003168/3.441, allocations: 238.6 kB / 1.566 GB, free: 40.44 MB / 0.6355 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. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_FMU.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_FMU.c In file included from BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_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. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.c:7: In file included from ./BuildSysPro_BuildSysPro_IBPSA_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. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c:1: In file included from ./BuildSysPro_BuildSysPro_IBPSA_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); ^ BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.c:900: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: *** [: BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_functions.o] Error 1