Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.672/1.672, allocations: 289.8 MB / 297.1 MB, free: 9.023 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001564, allocations: 193.2 kB / 366.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.1 MB / 0.6256 GB, free: 11.34 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009987/0.0009985, allocations: 89.2 kB / 0.7396 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.5541/0.5551, allocations: 122.4 MB / 0.8591 GB, free: 147.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.8174, allocations: 116.3 MB / 0.9727 GB, free: 31.47 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9279/1.745, allocations: 414 MB / 1.377 GB, free: 208 kB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/1.746, allocations: 108.9 kB / 1.377 GB, free: 144 kB / 0.9011 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 10.82/12.57, allocations: 2.797 GB / 4.174 GB, free: 132.6 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/12.57, allocations: 7.906 kB / 4.174 GB, free: 132.6 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01276/12.58, allocations: 1.624 MB / 4.176 GB, free: 131.8 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05442/12.64, allocations: 18.96 MB / 4.194 GB, free: 130 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005334/12.64, allocations: 270.8 kB / 4.195 GB, free: 130 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004293/12.64, allocations: 0.5184 MB / 4.195 GB, free: 130 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02645/12.67, allocations: 9.871 MB / 4.205 GB, free: 130 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03935/12.71, allocations: 10.82 MB / 4.215 GB, free: 129.1 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006539/12.71, allocations: 24.95 kB / 4.215 GB, free: 129.1 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003813/12.71, allocations: 11.25 kB / 4.215 GB, free: 129.1 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001769/12.71, allocations: 210.7 kB / 4.216 GB, free: 129.1 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1209/12.83, allocations: 52.53 MB / 4.267 GB, free: 113.1 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009556/12.84, allocations: 4.421 MB / 4.271 GB, free: 113.1 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006217/12.85, allocations: 3.827 MB / 4.275 GB, free: 112.3 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001963/12.85, allocations: 2.187 MB / 4.277 GB, free: 110 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.934e-05/12.85, allocations: 91.89 kB / 4.277 GB, free: 109.9 MB / 1.01 GB Notification: Performance of pre-optimization done (n=482): time 8.146e-06/12.85, allocations: 0 / 4.277 GB, free: 109.9 MB / 1.01 GB Notification: Performance of matching and sorting (n=482): time 0.0187/12.87, allocations: 7.427 MB / 4.284 GB, free: 107.2 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/12.87, allocations: 368.8 kB / 4.285 GB, free: 106.8 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04199/12.91, allocations: 13.09 MB / 4.298 GB, free: 102.3 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.002147/12.92, allocations: 37.97 kB / 4.298 GB, free: 102.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.01038/12.93, allocations: 3.574 MB / 4.301 GB, free: 99.92 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.01211/12.94, allocations: 1.644 MB / 4.303 GB, free: 98.63 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/12.94, allocations: 0 / 4.303 GB, free: 98.63 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0008198/12.94, allocations: 0.5789 MB / 4.303 GB, free: 98.21 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007168/12.95, allocations: 3.495 MB / 4.307 GB, free: 96.95 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01099/12.96, allocations: 5.67 MB / 4.312 GB, free: 93.3 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01143/12.97, allocations: 4.835 MB / 4.317 GB, free: 91.68 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.116e-05/12.97, allocations: 14.28 kB / 4.317 GB, free: 91.68 MB / 1.01 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.03255/13, allocations: 10.65 MB / 4.327 GB, free: 86.24 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.007054/13.01, allocations: 24.16 MB / 4.351 GB, free: 60.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004029/13.01, allocations: 70.94 kB / 4.351 GB, free: 60.33 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002633/13.01, allocations: 0.9802 MB / 4.352 GB, free: 59.45 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00672/13.02, allocations: 1.412 MB / 4.353 GB, free: 58.23 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02094/13.04, allocations: 31.6 MB / 4.384 GB, free: 26 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01627/13.06, allocations: 1.055 MB / 4.385 GB, free: 25.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002657/13.06, allocations: 279.7 kB / 4.385 GB, free: 24.94 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/13.06, allocations: 4 kB / 4.385 GB, free: 24.94 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02097/13.08, allocations: 9.533 MB / 4.395 GB, free: 16.77 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003033/13.08, allocations: 67.84 kB / 4.395 GB, free: 16.71 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001584/13.08, allocations: 0.9926 MB / 4.396 GB, free: 15.82 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006382/13.09, allocations: 1.407 MB / 4.397 GB, free: 14.61 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135/14.22, allocations: 31.62 MB / 4.428 GB, free: 243.3 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01672/14.24, allocations: 0.9501 MB / 4.429 GB, free: 243.3 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00235/14.24, allocations: 276.9 kB / 4.429 GB, free: 243.3 MB / 1.026 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.002508/14.24, allocations: 267.4 kB / 4.43 GB, free: 243.2 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005048/14.25, allocations: 1.053 MB / 4.431 GB, free: 243.2 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0196/14.27, allocations: 8.334 MB / 4.439 GB, free: 242.8 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-05/14.27, allocations: 51.42 kB / 4.439 GB, free: 242.8 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.587e-05/14.27, allocations: 14.06 kB / 4.439 GB, free: 242.8 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01228/14.28, allocations: 6.515 MB / 4.445 GB, free: 242.5 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07792/14.36, allocations: 43.17 MB / 4.487 GB, free: 220.1 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.179e-05/14.36, allocations: 16.25 kB / 4.487 GB, free: 220.1 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004529/14.36, allocations: 1.021 MB / 4.488 GB, free: 220.1 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001897/14.37, allocations: 0.9374 MB / 4.489 GB, free: 220 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005199/14.37, allocations: 100.6 kB / 4.489 GB, free: 220 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02125/14.39, allocations: 31.56 MB / 4.52 GB, free: 195 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.747e-05/14.39, allocations: 19.75 kB / 4.52 GB, free: 195 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02475/14.41, allocations: 14.92 MB / 4.535 GB, free: 190.4 MB / 1.026 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03249/14.45, allocations: 19.69 MB / 4.554 GB, free: 185.3 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01462/14.46, allocations: 2.748 MB / 4.557 GB, free: 184.6 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008729/14.47, allocations: 60.5 kB / 4.557 GB, free: 184.6 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01248/14.48, allocations: 464.7 kB / 4.557 GB, free: 184.6 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001584/14.48, allocations: 273.5 kB / 4.557 GB, free: 184.6 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001581/14.48, allocations: 196 kB / 4.558 GB, free: 184.6 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.03154/14.52, allocations: 10.03 MB / 4.567 GB, free: 184.3 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.05412/14.57, allocations: 6.966 MB / 4.574 GB, free: 183.9 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * 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 (428): * Single equations (assignments): 402 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.006368/14.58, allocations: 1.352 MB / 4.575 GB, free: 183.7 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0342/14.61, allocations: 17.51 MB / 4.593 GB, free: 179 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.114e-05/14.61, allocations: 5.156 kB / 4.593 GB, free: 179 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.009374/14.62, allocations: 5.306 MB / 4.598 GB, free: 177 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03871/14.66, allocations: 5.725 MB / 4.603 GB, free: 176.9 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0858/14.75, allocations: 25.72 MB / 4.628 GB, free: 172.6 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02552/14.77, allocations: 10.43 MB / 4.639 GB, free: 171.7 MB / 1.026 GB Notification: Performance of SimCode: time 1.873e-06/14.77, allocations: 0 / 4.639 GB, free: 171.7 MB / 1.026 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube/Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.fmutmp/sources' clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.c In file included from Buildings_8_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:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c In file included from Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c:2: In file included from ./Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c In file included from Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1: In file included from ./Buildings_8_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:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1027: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: *** [: Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube/Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.fmutmp/sources' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.def Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.a Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.so Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_records.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_01exo.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_02nls.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_03lsy.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_04set.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_05evt.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_06inz.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_07dly.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_09alg.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_10asr.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_11mix.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_12jac.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_13opt.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_14lnz.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_15syn.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_16dae.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_17inl.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_init_fmu.o include/./gc/memory_pool.o include/./util/base_array.o include/./util/boolean_array.o include/./util/omc_error.o include/./util/division.o include/./util/generic_array.o include/./util/index_spec.o include/./util/integer_array.o include/./util/list.o include/./util/modelica_string.o include/./util/real_array.o include/./util/ringbuffer.o include/./util/string_array.o include/./util/utility.o include/./util/varinfo.o include/./util/ModelicaUtilities.o include/./util/omc_msvc.o include/./util/simulation_options.o include/./util/cJSON.o include/./util/rational.o include/./util/modelica_string_lit.o include/./util/omc_init.o include/./util/omc_mmap.o include/./math-support/pivot.o include/./simulation/simulation_info_json.o include/./simulation/options.o include/./simulation/simulation_omc_assert.o include/./simulation/solver/delay.o include/./simulation/solver/linearSystem.o include/./simulation/solver/linearSolverLapack.o include/./simulation/solver/linearSolverTotalPivot.o include/./simulation/solver/omc_math.o include/./simulation/solver/model_help.o include/./simulation/solver/stateset.o include/./simulation/solver/synchronous.o include/./simulation/solver/initialization/initialization.o include/./meta/meta_modelica_catch.o include/./external_solvers/dgesv.o include/./external_solvers/dgetrf.o include/./external_solvers/dlamch.o include/./external_solvers/ilaenv.o include/./external_solvers/xerbla.o include/./external_solvers/dgetf2.o include/./external_solvers/dgetrs.o include/./external_solvers/dlaswp.o include/./external_solvers/ieeeck.o include/./external_solvers/iparmq.o include/./external_solvers/dgemm.o include/./external_solvers/dger.o include/./external_solvers/dscal.o include/./external_solvers/dswap.o include/./external_solvers/dtrsm.o include/./external_solvers/idamax.o include/./external_solvers/lsame.o include/./external_solvers/i_nint.o include/./external_solvers/pow_di.o include/./external_solvers/s_cmp.o include/./external_solvers/s_copy.o