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.MultipoleThermalResistances_TwoUTube.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.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",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.7507/0.7507, allocations: 127.4 MB / 134.9 MB, free: 3.77 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.001161/0.001162, allocations: 180.8 kB / 164.7 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.761/1.761, allocations: 205.2 MB / 399.5 MB, free: 5.879 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.0008314/0.0008313, allocations: 103.2 kB / 476.7 MB, free: 8.605 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.006e-05/2.009e-05, allocations: 8 kB / 0.5467 GB, free: 60.32 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1537, allocations: 76.76 MB / 0.6217 GB, free: 15.5 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5809/0.7347, allocations: 115.2 MB / 0.7342 GB, free: 476 kB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003789/0.7351, allocations: 125.2 kB / 0.7343 GB, free: 396 kB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:25:40-25:54:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:31:35-31:49:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:38:26-38:40:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:40:21-40:35:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:19:32-19:46:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.02461/0.7597, allocations: 8.589 MB / 0.7427 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.042e-06/0.7598, allocations: 0 / 0.7427 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.7598, allocations: 4 kB / 0.7427 GB, free: 8.988 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008595/0.7607, allocations: 0.5689 MB / 0.7433 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.7607, allocations: 12.03 kB / 0.7433 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.7608, allocations: 31.52 kB / 0.7433 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.7611, allocations: 221.6 kB / 0.7435 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.7611, allocations: 0 / 0.7435 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.7611, allocations: 0 / 0.7435 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001371/0.7613, allocations: 77.72 kB / 0.7436 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.7614, allocations: 108.1 kB / 0.7437 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.7615, allocations: 0 / 0.7437 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.7615, allocations: 3.953 kB / 0.7437 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.7615, allocations: 0 / 0.7437 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.7618, allocations: 244 kB / 0.7439 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.762, allocations: 126.8 kB / 0.7441 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.7621, allocations: 108.9 kB / 0.7442 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.7622, allocations: 0 / 0.7442 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.7622, allocations: 30.56 kB / 0.7442 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 1.082e-06/0.7622, allocations: 0 / 0.7442 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.0004179/0.7626, allocations: 230.5 kB / 0.7444 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.7627, allocations: 55.44 kB / 0.7445 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.7629, allocations: 217.9 kB / 0.7447 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.763, allocations: 29.69 kB / 0.7447 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.7631, allocations: 121.1 kB / 0.7448 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.156e-05/0.7632, allocations: 104.7 kB / 0.7449 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.7632, allocations: 3.938 kB / 0.7449 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.7633, allocations: 345.4 kB / 0.7453 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.1e-05/0.7634, allocations: 74.09 kB / 0.7453 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.781e-05/0.7635, allocations: 74.34 kB / 0.7454 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.7636, allocations: 113.2 kB / 0.7455 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7637, allocations: 0 / 0.7455 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002537/0.7639, allocations: 222.6 kB / 0.7457 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.7639, allocations: 4 kB / 0.7457 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.764, allocations: 4 kB / 0.7457 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.764, allocations: 0 / 0.7457 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.764, allocations: 0 / 0.7457 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.764, allocations: 0 / 0.7457 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.695e-05/0.7641, allocations: 11.84 kB / 0.7457 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.7641, allocations: 8 kB / 0.7457 GB, free: 6.031 MB / 0.4948 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 9.508e-05/0.7642, allocations: 116.9 kB / 0.7459 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002642/0.7645, allocations: 231.1 kB / 0.7461 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.7645, allocations: 19.72 kB / 0.7461 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005046/0.765, allocations: 0.5638 MB / 0.7466 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.358e-05/0.7651, allocations: 183.7 kB / 0.7468 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.06e-05/0.7652, allocations: 184.2 kB / 0.747 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.723e-05/0.7652, allocations: 184.2 kB / 0.7472 GB, free: 4.539 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.7656, allocations: 0.5276 MB / 0.7477 GB, free: 3.988 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.633e-05/0.7657, allocations: 101.7 kB / 0.7478 GB, free: 3.883 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.7657, allocations: 101 kB / 0.7479 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.128e-05/0.7658, allocations: 188.2 kB / 0.7481 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.488e-05/0.7659, allocations: 184.2 kB / 0.7482 GB, free: 3.398 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-05/0.7659, allocations: 176.3 kB / 0.7484 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.757e-05/0.766, allocations: 180.2 kB / 0.7486 GB, free: 3.035 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.7662, allocations: 334.6 kB / 0.7489 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003909/0.7666, allocations: 359.4 kB / 0.7492 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.7668, allocations: 180.3 kB / 0.7494 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.7669, allocations: 104.9 kB / 0.7495 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.767, allocations: 184.2 kB / 0.7497 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.7671, allocations: 101 kB / 0.7498 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001127/0.7682, allocations: 1.113 MB / 0.7509 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7682, allocations: 0 / 0.7509 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001036/0.7693, allocations: 301.6 kB / 0.7512 GB, free: 0.7578 MB / 0.4948 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.001223/0.7705, allocations: 1.103 MB / 0.7522 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002281/0.7707, allocations: 179.1 kB / 0.7524 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.7708, allocations: 0 / 0.7524 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.7708, allocations: 0 / 0.7524 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.7712, allocations: 0.5414 MB / 0.7529 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008181/0.772, allocations: 0.5282 MB / 0.7534 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.7724, allocations: 0.7587 MB / 0.7542 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.309e-05/0.7725, allocations: 0 / 0.7542 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.7725, allocations: 62.59 kB / 0.7542 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.7725, allocations: 0 / 0.7542 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.8045, allocations: 7.044 MB / 0.7611 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002454/0.8048, allocations: 248.3 kB / 0.7614 GB, free: 6.316 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_MultipoleThermalResistances_TwoUTube -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_MultipoleThermalResistances_TwoUTube_FMU.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_FMU.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_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_MultipoleThermalResistances_TwoUTube_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_MultipoleThermalResistances_TwoUTube -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_MultipoleThermalResistances_TwoUTube.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.c:7: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_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_MultipoleThermalResistances_TwoUTube -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_MultipoleThermalResistances_TwoUTube_functions.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_functions.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_functions.c:1: In file included from ./BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_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_MultipoleThermalResistances_TwoUTube_functions.c:310: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_MultipoleThermalResistances_TwoUTube_functions.o] Error 1