Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.228/4.228, allocations: 433.2 MB / 440.7 MB, free: 10.56 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.371e-05/2.383e-05, allocations: 4 kB / 0.5325 GB, free: 1.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6192/0.6193, allocations: 98.71 MB / 0.6289 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.172/1.791, allocations: 399.5 MB / 1.019 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003936/1.792, allocations: 115.5 kB / 1.019 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 15.46/17.25, allocations: 2.771 GB / 3.79 GB, free: 106.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.645e-06/17.25, allocations: 0 / 3.79 GB, free: 106.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.003791/17.26, allocations: 307.3 kB / 3.791 GB, free: 106.5 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2147 * Number of variables: 2147 Notification: Performance of Generate backend data structure: time 0.04693/17.3, allocations: 10.84 MB / 3.801 GB, free: 102.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/17.3, allocations: 8.719 kB / 3.801 GB, free: 102.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01163/17.32, allocations: 1.624 MB / 3.803 GB, free: 101.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06459/17.38, allocations: 18.82 MB / 3.821 GB, free: 99.63 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006294/17.38, allocations: 274.7 kB / 3.821 GB, free: 99.63 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004344/17.39, allocations: 0.5162 MB / 3.822 GB, free: 99.62 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03203/17.42, allocations: 9.574 MB / 3.831 GB, free: 99.58 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04341/17.46, allocations: 10.59 MB / 3.842 GB, free: 98.67 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008572/17.46, allocations: 28.95 kB / 3.842 GB, free: 98.67 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004066/17.47, allocations: 9.938 kB / 3.842 GB, free: 98.67 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002444/17.47, allocations: 207.6 kB / 3.842 GB, free: 98.67 MB / 0.8542 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.1241/17.59, allocations: 49.6 MB / 3.89 GB, free: 75.89 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01365/17.6, allocations: 5.524 MB / 3.896 GB, free: 73.76 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009234/17.61, allocations: 3.682 MB / 3.899 GB, free: 72.37 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002949/17.62, allocations: 2.183 MB / 3.901 GB, free: 70 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/17.62, allocations: 96.75 kB / 3.902 GB, free: 69.91 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=480): time 7.825e-06/17.62, allocations: 6.719 kB / 3.902 GB, free: 69.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=480): time 0.02546/17.64, allocations: 7.197 MB / 3.909 GB, free: 67.15 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/17.64, allocations: 360.2 kB / 3.909 GB, free: 66.73 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03853/17.68, allocations: 12.75 MB / 3.921 GB, free: 55.79 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001996/17.68, allocations: 33.7 kB / 3.921 GB, free: 55.75 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.01126/17.69, allocations: 5.991 MB / 3.927 GB, free: 50.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.003816/17.7, allocations: 1.634 MB / 3.929 GB, free: 48.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001555/17.7, allocations: 0 / 3.929 GB, free: 48.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0008555/17.7, allocations: 0.5755 MB / 3.929 GB, free: 48.29 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009253/17.71, allocations: 3.338 MB / 3.933 GB, free: 45.42 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01194/17.72, allocations: 5.497 MB / 3.938 GB, free: 39.72 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01383/17.74, allocations: 4.623 MB / 3.943 GB, free: 35.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.56e-05/17.74, allocations: 12 kB / 3.943 GB, free: 35.89 MB / 0.8542 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.0357/17.77, allocations: 10.32 MB / 3.953 GB, free: 26.87 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.005249/17.78, allocations: 24.3 MB / 3.976 GB, free: 16.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004457/17.78, allocations: 67.84 kB / 3.976 GB, free: 16.78 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003433/17.78, allocations: 0.9641 MB / 3.977 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01094/17.79, allocations: 1.447 MB / 3.979 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382/19.17, allocations: 32.01 MB / 4.01 GB, free: 102.3 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01973/19.19, allocations: 1.144 MB / 4.011 GB, free: 102.3 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002409/19.2, allocations: 271.5 kB / 4.011 GB, free: 102.3 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/19.2, allocations: 8.578 kB / 4.011 GB, free: 102.3 MB / 0.8699 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03143/19.23, allocations: 9.203 MB / 4.02 GB, free: 101.9 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00043/19.23, allocations: 69.7 kB / 4.02 GB, free: 101.9 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003004/19.23, allocations: 0.9657 MB / 4.021 GB, free: 101.8 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01092/19.24, allocations: 1.447 MB / 4.023 GB, free: 101.8 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0299/19.27, allocations: 32.03 MB / 4.054 GB, free: 76.6 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01793/19.29, allocations: 1.029 MB / 4.055 GB, free: 76.6 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002241/19.29, allocations: 274.8 kB / 4.055 GB, free: 76.6 MB / 0.8699 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (757): * Single equations (assignments): 727 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003962/19.3, allocations: 279 kB / 4.056 GB, free: 76.49 MB / 0.8699 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02617/19.32, allocations: 7.189 MB / 4.063 GB, free: 75.91 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005683/19.33, allocations: 1.048 MB / 4.064 GB, free: 75.35 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03002/19.36, allocations: 8.142 MB / 4.072 GB, free: 74.82 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001084/19.36, allocations: 42.81 kB / 4.072 GB, free: 74.82 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.176e-05/19.36, allocations: 11.38 kB / 4.072 GB, free: 74.82 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01987/19.38, allocations: 6.259 MB / 4.078 GB, free: 74.48 MB / 0.8699 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0904/19.47, allocations: 42.42 MB / 4.119 GB, free: 51.92 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.124e-05/19.47, allocations: 10.41 kB / 4.119 GB, free: 51.92 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01033/19.48, allocations: 1.061 MB / 4.12 GB, free: 51.92 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003244/19.48, allocations: 0.922 MB / 4.121 GB, free: 51.76 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001373/19.48, allocations: 95.45 kB / 4.121 GB, free: 51.76 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03576/19.52, allocations: 31.94 MB / 4.152 GB, free: 42.33 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.676e-05/19.52, allocations: 17.53 kB / 4.152 GB, free: 42.33 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03622/19.56, allocations: 14.37 MB / 4.167 GB, free: 53.67 MB / 0.9012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01173/19.57, allocations: 2.711 MB / 4.169 GB, free: 53.02 MB / 0.9012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005901/19.57, allocations: 60.97 kB / 4.169 GB, free: 53.02 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01468/19.59, allocations: 0.5035 MB / 4.17 GB, free: 53 MB / 0.9012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001788/19.59, allocations: 355.3 kB / 4.17 GB, free: 52.98 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001521/19.59, allocations: 188.5 kB / 4.17 GB, free: 52.98 MB / 0.9012 GB Notification: Performance of sorting global known variables: time 0.02915/19.62, allocations: 9.771 MB / 4.18 GB, free: 52.66 MB / 0.9012 GB Notification: Performance of sort global known variables: time 1.202e-06/19.62, allocations: 0.75 kB / 4.18 GB, free: 52.66 MB / 0.9012 GB Notification: Performance of remove unused functions: time 0.04616/19.67, allocations: 6.686 MB / 4.186 GB, free: 52.24 MB / 0.9012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 40 (borHol.intHex[1].vol1.dynBal.U,borHol.intHex[1].vol2.dynBal.U,borHol.intHex[1].intResUTub.capFil1.T,borHol.intHex[1].intResUTub.capFil2.T,borHol.intHex[2].vol1.dynBal.U,borHol.intHex[2].vol2.dynBal.U,borHol.intHex[2].intResUTub.capFil1.T,borHol.intHex[2].intResUTub.capFil2.T,borHol.intHex[3].vol1.dynBal.U,borHol.intHex[3].vol2.dynBal.U,borHol.intHex[3].intResUTub.capFil1.T,borHol.intHex[3].intResUTub.capFil2.T,borHol.intHex[4].vol1.dynBal.U,borHol.intHex[4].vol2.dynBal.U,borHol.intHex[4].intResUTub.capFil1.T,borHol.intHex[4].intResUTub.capFil2.T,borHol.intHex[5].vol1.dynBal.U,borHol.intHex[5].vol2.dynBal.U,borHol.intHex[5].intResUTub.capFil1.T,borHol.intHex[5].intResUTub.capFil2.T,borHol.intHex[6].vol1.dynBal.U,borHol.intHex[6].vol2.dynBal.U,borHol.intHex[6].intResUTub.capFil1.T,borHol.intHex[6].intResUTub.capFil2.T,borHol.intHex[7].vol1.dynBal.U,borHol.intHex[7].vol2.dynBal.U,borHol.intHex[7].intResUTub.capFil1.T,borHol.intHex[7].intResUTub.capFil2.T,borHol.intHex[8].vol1.dynBal.U,borHol.intHex[8].vol2.dynBal.U,borHol.intHex[8].intResUTub.capFil1.T,borHol.intHex[8].intResUTub.capFil2.T,borHol.intHex[9].vol1.dynBal.U,borHol.intHex[9].vol2.dynBal.U,borHol.intHex[9].intResUTub.capFil1.T,borHol.intHex[9].intResUTub.capFil2.T,borHol.intHex[10].vol1.dynBal.U,borHol.intHex[10].vol2.dynBal.U,borHol.intHex[10].intResUTub.capFil1.T,borHol.intHex[10].intResUTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (424): * Single equations (assignments): 399 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(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.04/19.71, allocations: 16.94 MB / 4.203 GB, free: 46.52 MB / 0.9012 GB Notification: Performance of simCode: created initialization part: time 0.04031/19.75, allocations: 17.42 MB / 4.22 GB, free: 41.62 MB / 0.9012 GB Notification: Performance of simCode: created event and clocks part: time 2.682e-05/19.75, allocations: 7.812 kB / 4.22 GB, free: 41.62 MB / 0.9012 GB Notification: Performance of simCode: created simulation system equations: time 0.01135/19.76, allocations: 5.371 MB / 4.225 GB, free: 39.54 MB / 0.9012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0499/19.81, allocations: 5.992 MB / 4.231 GB, free: 39.39 MB / 0.9012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1002/19.91, allocations: 29.33 MB / 4.26 GB, free: 32.64 MB / 0.9012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02294/19.93, allocations: 9.556 MB / 4.269 GB, free: 29.41 MB / 0.9012 GB Notification: Performance of simCode: alias equations: time 0.059/19.99, allocations: 11.56 MB / 4.28 GB, free: 22.76 MB / 0.9012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01614/20.01, allocations: 5.363 MB / 4.285 GB, free: 17.77 MB / 0.9012 GB Notification: Performance of SimCode: time 1.924e-06/20.01, allocations: 0 / 4.285 GB, free: 17.77 MB / 0.9012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.579/21.59, allocations: 335.2 MB / 4.613 GB, free: 19.31 MB / 0.9168 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/21.59, allocations: 232.5 kB / 4.613 GB, free: 19.02 MB / 0.9168 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=60 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.c In file included from Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_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 Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=60 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c In file included from Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c:7: In file included from ./Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_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 -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=60 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c In file included from Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1: In file included from ./Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_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); ^ Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:953: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. : recipe for target 'Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o] Error 1