Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.7942/0.7942, allocations: 127.4 MB / 134.9 MB, free: 3.504 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.001195/0.001195, allocations: 173 kB / 164.6 MB, free: 11.61 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.559/1.559, allocations: 205.2 MB / 399.5 MB, free: 13.54 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.0008651/0.0008651, allocations: 82.42 kB / 476.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.37e-05/2.373e-05, allocations: 5.828 kB / 0.5467 GB, free: 95.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1562, allocations: 76.78 MB / 0.6217 GB, free: 42.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5447/0.7009, allocations: 124.8 MB / 0.7436 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004475/0.7014, allocations: 123.2 kB / 0.7437 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.0471/0.7485, allocations: 15.52 MB / 0.7589 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7486, allocations: 0 / 0.7589 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.351e-06/0.7486, allocations: 0 / 0.7589 GB, free: 113.1 MB / 0.5105 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.0009704/0.7496, allocations: 0.5533 MB / 0.7594 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.7496, allocations: 11.81 kB / 0.7595 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.7497, allocations: 87.12 kB / 0.7595 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.7498, allocations: 253.8 kB / 0.7598 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.7498, allocations: 158.5 kB / 0.7599 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.7499, allocations: 150.6 kB / 0.7601 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.993e-05/0.7499, allocations: 150.6 kB / 0.7602 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.446e-05/0.7499, allocations: 104.9 kB / 0.7603 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.75, allocations: 79.28 kB / 0.7604 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.75, allocations: 154.5 kB / 0.7605 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.75, allocations: 150.6 kB / 0.7607 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002149/0.7503, allocations: 445.8 kB / 0.7611 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.657e-05/0.7503, allocations: 169.1 kB / 0.7613 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.7504, allocations: 80.14 kB / 0.7613 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.7504, allocations: 75.28 kB / 0.7614 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.7504, allocations: 114.5 kB / 0.7615 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.7504, allocations: 0 / 0.7615 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.367e-05/0.7505, allocations: 37.28 kB / 0.7616 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.7505, allocations: 55.41 kB / 0.7616 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.7507, allocations: 117.7 kB / 0.7617 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.749e-06/0.7507, allocations: 25.7 kB / 0.7617 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.7e-05/0.7507, allocations: 84.14 kB / 0.7618 GB, free: 110 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.7507, allocations: 3.938 kB / 0.7618 GB, free: 110 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-06/0.7507, allocations: 3.938 kB / 0.7618 GB, free: 110 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.739e-05/0.7508, allocations: 322.8 kB / 0.7621 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.111e-05/0.7508, allocations: 7.969 kB / 0.7622 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.307e-05/0.7509, allocations: 3.469 kB / 0.7622 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.234e-05/0.7509, allocations: 7.969 kB / 0.7622 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.7509, allocations: 0 / 0.7622 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001307/0.7511, allocations: 56.97 kB / 0.7622 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.7511, allocations: 7.5 kB / 0.7622 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.7511, allocations: 3.844 kB / 0.7622 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.7512, allocations: 0 / 0.7622 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.7512, allocations: 0 / 0.7622 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.7512, allocations: 0 / 0.7622 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.351e-05/0.7512, allocations: 4.062 kB / 0.7622 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.7512, allocations: 0 / 0.7622 GB, free: 109.6 MB / 0.5105 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 7.791e-05/0.7513, allocations: 187.8 kB / 0.7624 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.573e-05/0.7514, allocations: 150.2 kB / 0.7626 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.7514, allocations: 108.6 kB / 0.7627 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.7514, allocations: 105 kB / 0.7628 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.927e-05/0.7515, allocations: 184 kB / 0.7629 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.918e-05/0.7515, allocations: 180.2 kB / 0.7631 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.76e-05/0.7515, allocations: 184.2 kB / 0.7633 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.7517, allocations: 397.3 kB / 0.7637 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.7517, allocations: 105.1 kB / 0.7638 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.546e-05/0.7517, allocations: 101 kB / 0.7639 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.688e-05/0.7518, allocations: 184.2 kB / 0.764 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.7518, allocations: 183.8 kB / 0.7642 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.509e-05/0.7518, allocations: 176.3 kB / 0.7644 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-05/0.7519, allocations: 180.2 kB / 0.7645 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.282e-05/0.7519, allocations: 315 kB / 0.7648 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.752, allocations: 186 kB / 0.765 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/0.752, allocations: 177.2 kB / 0.7652 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.251e-05/0.7521, allocations: 104.9 kB / 0.7653 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.7522, allocations: 180.2 kB / 0.7655 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.7522, allocations: 105 kB / 0.7656 GB, free: 106 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.853e-05/0.7522, allocations: 97.41 kB / 0.7657 GB, free: 106 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7522, allocations: 0 / 0.7657 GB, free: 106 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001098/0.7533, allocations: 337.3 kB / 0.766 GB, free: 105.8 MB / 0.5105 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.001232/0.7546, allocations: 1.216 MB / 0.7672 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.828e-05/0.7547, allocations: 40.95 kB / 0.7672 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7547, allocations: 0 / 0.7672 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.7547, allocations: 3.938 kB / 0.7672 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.7549, allocations: 0.526 MB / 0.7677 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004861/0.7554, allocations: 339.1 kB / 0.768 GB, free: 104 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.7556, allocations: 0.6913 MB / 0.7687 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.375e-05/0.7556, allocations: 0 / 0.7687 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.7556, allocations: 19.17 kB / 0.7687 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.7556, allocations: 0 / 0.7687 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.7834, allocations: 6.327 MB / 0.7749 GB, free: 97.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.7837, allocations: 271.1 kB / 0.7752 GB, free: 97.04 MB / 0.5105 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_Functions_Validation_InternalResistancesTwoUTubeNegative -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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_FMU.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_FMU.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_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_Functions_Validation_InternalResistancesTwoUTubeNegative_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_Functions_Validation_InternalResistancesTwoUTubeNegative -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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.c:7: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_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_Functions_Validation_InternalResistancesTwoUTubeNegative -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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.c:1: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_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_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.c:817: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_Functions_Validation_InternalResistancesTwoUTubeNegative_functions.o] Error 1