Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.001213/0.001213, allocations: 173.5 kB / 7.647 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 0.9198/0.9198, allocations: 133.6 MB / 141.6 MB, free: 2.883 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0009238/0.0009237, allocations: 107.9 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.271e-05/3.265e-05, allocations: 4 kB / 0.5536 GB, free: 8.906 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5069/0.507, allocations: 82.31 MB / 0.634 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1885/0.6955, allocations: 131.5 MB / 0.7624 GB, free: 7.074 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003235/0.6959, allocations: 123.9 kB / 0.7626 GB, free: 6.953 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04959/0.7455, allocations: 15.25 MB / 0.7775 GB, free: 7.68 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7455, allocations: 0 / 0.7775 GB, free: 7.68 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.7456, allocations: 4 kB / 0.7775 GB, free: 7.676 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001155/0.7467, allocations: 0.5566 MB / 0.778 GB, free: 7.074 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.7468, allocations: 8.031 kB / 0.778 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.037e-05/0.7469, allocations: 83.19 kB / 0.7781 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.7471, allocations: 246.3 kB / 0.7783 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.126e-05/0.7472, allocations: 154.5 kB / 0.7785 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.421e-05/0.7473, allocations: 162.6 kB / 0.7786 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.024e-05/0.7474, allocations: 150.6 kB / 0.7788 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.797e-05/0.7474, allocations: 104.9 kB / 0.7789 GB, free: 6.133 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/0.7475, allocations: 75.28 kB / 0.7789 GB, free: 6.059 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.062e-05/0.7476, allocations: 154.5 kB / 0.7791 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.719e-05/0.7476, allocations: 150.6 kB / 0.7792 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.748, allocations: 454.4 kB / 0.7797 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.152e-05/0.7481, allocations: 169.1 kB / 0.7798 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.489e-05/0.7482, allocations: 84.14 kB / 0.7799 GB, free: 5.016 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.7482, allocations: 75.28 kB / 0.78 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.853e-05/0.7483, allocations: 113.8 kB / 0.7801 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.783e-06/0.7483, allocations: 0 / 0.7801 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 9.519e-05/0.7484, allocations: 33.61 kB / 0.7801 GB, free: 4.781 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.7485, allocations: 55.41 kB / 0.7802 GB, free: 4.715 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.7486, allocations: 119 kB / 0.7803 GB, free: 4.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.7486, allocations: 25.7 kB / 0.7803 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.117e-05/0.7487, allocations: 92.12 kB / 0.7804 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-06/0.7487, allocations: 0 / 0.7804 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.7487, allocations: 4 kB / 0.7804 GB, free: 4.461 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.7489, allocations: 314.8 kB / 0.7807 GB, free: 4.145 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.393e-05/0.7489, allocations: 4 kB / 0.7807 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.979e-05/0.7489, allocations: 8 kB / 0.7807 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.598e-05/0.749, allocations: 8.062 kB / 0.7807 GB, free: 4.125 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/0.749, allocations: 3.953 kB / 0.7807 GB, free: 4.121 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001727/0.7492, allocations: 53.62 kB / 0.7808 GB, free: 4.062 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.7493, allocations: 4 kB / 0.7808 GB, free: 4.059 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.7493, allocations: 7.938 kB / 0.7808 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.7493, allocations: 64 / 0.7808 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.493e-06/0.7493, allocations: 4 kB / 0.7808 GB, free: 4.047 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.217e-06/0.7493, allocations: 4 kB / 0.7808 GB, free: 4.043 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.63e-05/0.7494, allocations: 3.906 kB / 0.7808 GB, free: 4.039 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.7494, allocations: 0 / 0.7808 GB, free: 4.039 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.7495, allocations: 180.2 kB / 0.781 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.927e-05/0.7496, allocations: 146.5 kB / 0.7811 GB, free: 3.699 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.721e-05/0.7497, allocations: 105 kB / 0.7812 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.593e-05/0.7497, allocations: 120.7 kB / 0.7813 GB, free: 3.465 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.747e-05/0.7498, allocations: 180.2 kB / 0.7815 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.39e-05/0.7499, allocations: 176.3 kB / 0.7817 GB, free: 3.102 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.275e-05/0.75, allocations: 176.3 kB / 0.7818 GB, free: 2.922 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.7503, allocations: 401.7 kB / 0.7822 GB, free: 2.484 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-05/0.7503, allocations: 117 kB / 0.7823 GB, free: 2.363 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.7504, allocations: 101 kB / 0.7824 GB, free: 2.258 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.241e-05/0.7505, allocations: 184.2 kB / 0.7826 GB, free: 2.07 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-05/0.7505, allocations: 176.3 kB / 0.7828 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.317e-05/0.7506, allocations: 176.3 kB / 0.7829 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.793e-05/0.7507, allocations: 180.2 kB / 0.7831 GB, free: 1.527 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.7509, allocations: 315.7 kB / 0.7834 GB, free: 1.195 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.751, allocations: 189.9 kB / 0.7836 GB, free: 0.9844 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-05/0.7511, allocations: 177.2 kB / 0.7838 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.561e-05/0.7512, allocations: 109 kB / 0.7839 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.7513, allocations: 184.2 kB / 0.784 GB, free: 0.5039 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/0.7514, allocations: 101 kB / 0.7841 GB, free: 408 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.77e-05/0.7514, allocations: 101.1 kB / 0.7842 GB, free: 308 kB / 0.5573 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7514, allocations: 0 / 0.7842 GB, free: 308 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001272/0.7527, allocations: 319.5 kB / 0.7845 GB, free: 15.98 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002091/0.7548, allocations: 1.19 MB / 0.7857 GB, free: 14.77 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.7549, allocations: 41.69 kB / 0.7857 GB, free: 14.73 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.755, allocations: 3.938 kB / 0.7857 GB, free: 14.72 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 4.999e-06/0.755, allocations: 4 kB / 0.7857 GB, free: 14.72 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.7554, allocations: 0.5233 MB / 0.7863 GB, free: 14.19 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009143/0.7563, allocations: 340.5 kB / 0.7866 GB, free: 13.82 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.7566, allocations: 0.6923 MB / 0.7873 GB, free: 13.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 1.906e-05/0.7567, allocations: 0 / 0.7873 GB, free: 13.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.7567, allocations: 19.42 kB / 0.7873 GB, free: 13.08 MB / 0.573 GB Notification: Performance of SimCode: time 5.61e-07/0.7567, allocations: 3.938 kB / 0.7873 GB, free: 13.08 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03919/0.7959, allocations: 6.116 MB / 0.7933 GB, free: 7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003212/0.7963, allocations: 208 kB / 0.7935 GB, free: 6.719 MB / 0.573 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=IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_FMU.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_FMU.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_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_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_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=IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.c:7: In file included from ./IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_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=IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.c:1: In file included from ./IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_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_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.c:1039: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_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_functions.o] Error 1