Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.499/2.499, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001706/0.001705, allocations: 185.2 kB / 360.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.1 MB / 0.6187 GB, free: 13.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001207/0.001206, allocations: 84.64 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3067/0.3079, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7523/1.06, allocations: 115.2 MB / 0.9628 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.033/2.094, allocations: 412.9 MB / 1.366 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003809/2.094, allocations: 116.9 kB / 1.366 GB, free: 147.2 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 14.6/16.7, allocations: 2.797 GB / 4.163 GB, free: 197.2 MB / 0.9793 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/16.7, allocations: 9.812 kB / 4.163 GB, free: 197.2 MB / 0.9793 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01228/16.71, allocations: 1.631 MB / 4.165 GB, free: 196.4 MB / 0.9793 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07231/16.78, allocations: 18.94 MB / 4.183 GB, free: 195.3 MB / 0.9793 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006548/16.78, allocations: 271.9 kB / 4.183 GB, free: 195.3 MB / 0.9793 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004596/16.79, allocations: 0.5198 MB / 4.184 GB, free: 195.3 MB / 0.9793 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03709/16.82, allocations: 9.87 MB / 4.194 GB, free: 195.3 MB / 0.9793 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04631/16.87, allocations: 10.83 MB / 4.204 GB, free: 194.3 MB / 0.9793 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007921/16.87, allocations: 28.45 kB / 4.204 GB, free: 194.3 MB / 0.9793 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003593/16.88, allocations: 11.19 kB / 4.204 GB, free: 194.3 MB / 0.9793 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002275/16.88, allocations: 207.5 kB / 4.204 GB, free: 194.3 MB / 0.9793 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1383/17.01, allocations: 52.51 MB / 4.256 GB, free: 178.7 MB / 0.9793 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01257/17.03, allocations: 4.418 MB / 4.26 GB, free: 178.7 MB / 0.9793 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01093/17.04, allocations: 3.828 MB / 4.264 GB, free: 178.6 MB / 0.9793 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002976/17.04, allocations: 2.189 MB / 4.266 GB, free: 176.3 MB / 0.9793 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/17.04, allocations: 95.83 kB / 4.266 GB, free: 176.3 MB / 0.9793 GB Notification: Performance of pre-optimization done (n=482): time 8.266e-06/17.04, allocations: 0 / 4.266 GB, free: 176.3 MB / 0.9793 GB Notification: Performance of matching and sorting (n=482): time 0.03727/17.08, allocations: 7.432 MB / 4.273 GB, free: 175.4 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/17.08, allocations: 361.4 kB / 4.274 GB, free: 175 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04452/17.12, allocations: 13.09 MB / 4.286 GB, free: 174.4 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.001863/17.12, allocations: 39.53 kB / 4.286 GB, free: 174.4 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.01232/17.14, allocations: 3.579 MB / 4.29 GB, free: 172.6 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.01546/17.15, allocations: 1.646 MB / 4.291 GB, free: 171.5 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/17.15, allocations: 0 / 4.291 GB, free: 171.5 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 0.0007687/17.15, allocations: 0.5749 MB / 4.292 GB, free: 171.2 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01029/17.16, allocations: 3.493 MB / 4.295 GB, free: 171.2 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01332/17.18, allocations: 5.673 MB / 4.301 GB, free: 169 MB / 0.9793 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0157/17.19, allocations: 4.841 MB / 4.306 GB, free: 168.9 MB / 0.9793 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.901e-05/17.19, allocations: 11.47 kB / 4.306 GB, free: 168.9 MB / 0.9793 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.04537/17.24, allocations: 10.65 MB / 4.316 GB, free: 168 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 0.00571/17.25, allocations: 24.17 MB / 4.34 GB, free: 142.5 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005133/17.25, allocations: 68.45 kB / 4.34 GB, free: 142.5 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003793/17.25, allocations: 0.9828 MB / 4.341 GB, free: 142.4 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01155/17.26, allocations: 1.41 MB / 4.342 GB, free: 142.4 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03286/17.29, allocations: 31.61 MB / 4.373 GB, free: 117 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02018/17.31, allocations: 1.059 MB / 4.374 GB, free: 116.6 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002285/17.32, allocations: 272.3 kB / 4.374 GB, free: 116.6 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/17.32, allocations: 6.406 kB / 4.374 GB, free: 116.6 MB / 0.9793 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03422/17.35, allocations: 9.527 MB / 4.384 GB, free: 116.3 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005047/17.35, allocations: 68.86 kB / 4.384 GB, free: 116.3 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003428/17.35, allocations: 0.9969 MB / 4.385 GB, free: 116.1 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01198/17.37, allocations: 1.405 MB / 4.386 GB, free: 116.1 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03155/17.4, allocations: 31.61 MB / 4.417 GB, free: 90.7 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01894/17.42, allocations: 0.9529 MB / 4.418 GB, free: 90.45 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002299/17.42, allocations: 271.6 kB / 4.418 GB, free: 90.45 MB / 0.9793 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.003054/17.42, allocations: 275 kB / 4.418 GB, free: 90.31 MB / 0.9793 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004969/17.43, allocations: 1.048 MB / 4.419 GB, free: 89.75 MB / 0.9793 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03355/17.46, allocations: 8.347 MB / 4.428 GB, free: 89.31 MB / 0.9793 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001337/17.46, allocations: 49.47 kB / 4.428 GB, free: 89.31 MB / 0.9793 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.815e-05/17.46, allocations: 7.438 kB / 4.428 GB, free: 89.31 MB / 0.9793 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02384/17.49, allocations: 6.513 MB / 4.434 GB, free: 88.98 MB / 0.9793 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1075/17.59, allocations: 43.18 MB / 4.476 GB, free: 61.11 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.049e-05/17.59, allocations: 10.03 kB / 4.476 GB, free: 61.11 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01116/17.6, allocations: 1.028 MB / 4.477 GB, free: 61.08 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00362/17.61, allocations: 0.9317 MB / 4.478 GB, free: 60.69 MB / 0.9793 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001492/17.61, allocations: 93.77 kB / 4.478 GB, free: 60.67 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4967/18.11, allocations: 31.57 MB / 4.509 GB, free: 175.8 MB / 0.9793 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.735e-05/18.11, allocations: 20.88 kB / 4.509 GB, free: 175.8 MB / 0.9793 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03973/18.15, allocations: 14.93 MB / 4.524 GB, free: 171.7 MB / 0.9793 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05497/18.2, allocations: 19.69 MB / 4.543 GB, free: 167.2 MB / 0.9793 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01462/18.22, allocations: 2.739 MB / 4.545 GB, free: 166.8 MB / 0.9793 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00732/18.22, allocations: 63.62 kB / 4.545 GB, free: 166.8 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0157/18.24, allocations: 460.1 kB / 4.546 GB, free: 166.8 MB / 0.9793 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001594/18.24, allocations: 277.6 kB / 4.546 GB, free: 166.8 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009086/18.24, allocations: 191.4 kB / 4.546 GB, free: 166.8 MB / 0.9793 GB Notification: Performance of sort global known variables: time 0.03229/18.27, allocations: 10.03 MB / 4.556 GB, free: 166.5 MB / 0.9793 GB Notification: Performance of remove unused functions: time 0.05647/18.33, allocations: 6.974 MB / 4.563 GB, free: 166 MB / 0.9793 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.005498/18.34, allocations: 1.342 MB / 4.564 GB, free: 165.9 MB / 0.9793 GB Notification: Performance of simCode: created initialization part: time 0.04272/18.38, allocations: 17.51 MB / 4.581 GB, free: 161.1 MB / 0.9793 GB Notification: Performance of simCode: created event and clocks part: time 2.516e-05/18.38, allocations: 5.312 kB / 4.581 GB, free: 161.1 MB / 0.9793 GB Notification: Performance of simCode: created simulation system equations: time 0.01193/18.39, allocations: 5.294 MB / 4.587 GB, free: 159.1 MB / 0.9793 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05493/18.45, allocations: 5.724 MB / 4.592 GB, free: 159.1 MB / 0.9793 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09773/18.54, allocations: 25.73 MB / 4.617 GB, free: 154.8 MB / 0.9793 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03251/18.58, allocations: 10.42 MB / 4.627 GB, free: 153.8 MB / 0.9793 GB Notification: Performance of SimCode: time 1.443e-06/18.58, allocations: 0 / 4.627 GB, free: 153.8 MB / 0.9793 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube/Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.fmutmp/sources' clang -fPIC -O0 -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_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_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.c In file included from Buildings_8_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: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 -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_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_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c In file included from Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c:2: In file included from ./Buildings_8_0_0_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 -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_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_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c In file included from Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1: In file included from ./Buildings_8_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: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_0_0_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. : recipe for target 'Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube/Buildings_8_0_0_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... /bin/grep checking for egrep... /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_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.def Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.a Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.so Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_records.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_01exo.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_02nls.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_03lsy.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_04set.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_05evt.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_06inz.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_07dly.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_09alg.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_10asr.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_11mix.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_12jac.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_13opt.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_14lnz.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_15syn.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_16dae.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_17inl.o Buildings_8_0_0_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