Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.226/1.226, allocations: 249.4 MB / 256.7 MB, free: 7.027 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 185.2 kB / 316 MB, free: 3.59 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.208/1.208, allocations: 205.2 MB / 0.5667 GB, free: 15.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008993/0.0008994, allocations: 89.02 kB / 0.671 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3598/0.3608, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.5308, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9789/1.51, allocations: 407.8 MB / 1.283 GB, free: 321.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/1.51, allocations: 110.5 kB / 1.283 GB, free: 321.9 MB / 0.8698 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 7.945/9.455, allocations: 2.797 GB / 4.08 GB, free: 111.7 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/9.455, allocations: 7.406 kB / 4.08 GB, free: 111.7 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008853/9.464, allocations: 1.631 MB / 4.082 GB, free: 110.9 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04366/9.508, allocations: 18.96 MB / 4.1 GB, free: 109.2 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005208/9.508, allocations: 267.5 kB / 4.1 GB, free: 109.2 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00378/9.512, allocations: 0.5192 MB / 4.101 GB, free: 109.2 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02301/9.535, allocations: 9.865 MB / 4.111 GB, free: 109.1 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03039/9.566, allocations: 10.83 MB / 4.121 GB, free: 108.2 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005672/9.566, allocations: 33.38 kB / 4.121 GB, free: 108.2 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002867/9.569, allocations: 11.22 kB / 4.121 GB, free: 108.2 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001297/9.569, allocations: 207.1 kB / 4.121 GB, free: 108.2 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09951/9.669, allocations: 52.52 MB / 4.173 GB, free: 88.45 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008015/9.677, allocations: 4.411 MB / 4.177 GB, free: 86.92 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006653/9.683, allocations: 3.829 MB / 4.181 GB, free: 85.53 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002044/9.686, allocations: 2.19 MB / 4.183 GB, free: 83.16 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/9.686, allocations: 93.23 kB / 4.183 GB, free: 83.08 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=482): time 1.121e-05/9.686, allocations: 0 / 4.183 GB, free: 83.08 MB / 0.9011 GB Notification: Performance of matching and sorting (n=482): time 0.02053/9.706, allocations: 7.426 MB / 4.19 GB, free: 80.37 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/9.706, allocations: 370 kB / 4.191 GB, free: 79.99 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04388/9.75, allocations: 13.09 MB / 4.203 GB, free: 75.49 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001955/9.752, allocations: 33.33 kB / 4.203 GB, free: 75.46 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.01075/9.763, allocations: 3.581 MB / 4.207 GB, free: 73.12 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.01197/9.775, allocations: 1.647 MB / 4.208 GB, free: 71.83 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001606/9.777, allocations: 0 / 4.208 GB, free: 71.83 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.001046/9.778, allocations: 0.5789 MB / 4.209 GB, free: 71.4 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007393/9.785, allocations: 3.493 MB / 4.212 GB, free: 70.14 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00974/9.795, allocations: 5.666 MB / 4.218 GB, free: 66.5 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00938/9.804, allocations: 4.847 MB / 4.223 GB, free: 62.59 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001133/9.805, allocations: 12 kB / 4.223 GB, free: 62.58 MB / 0.9011 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02664/9.831, allocations: 10.66 MB / 4.233 GB, free: 53.44 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.005096/9.836, allocations: 24.16 MB / 4.257 GB, free: 27.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000393/9.837, allocations: 67.25 kB / 4.257 GB, free: 27.54 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002195/9.839, allocations: 0.9797 MB / 4.258 GB, free: 26.66 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006156/9.845, allocations: 1.411 MB / 4.259 GB, free: 25.45 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02211/9.867, allocations: 31.61 MB / 4.29 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01365/9.881, allocations: 1.059 MB / 4.291 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002002/9.883, allocations: 273.9 kB / 4.291 GB, free: 8.141 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/9.883, allocations: 4 kB / 4.291 GB, free: 8.137 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02292/9.906, allocations: 9.532 MB / 4.301 GB, free: 0 / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007227/9.907, allocations: 99.12 kB / 4.301 GB, free: 0 / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002096/9.909, allocations: 1.005 MB / 4.302 GB, free: 15.12 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006857/9.916, allocations: 1.409 MB / 4.303 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6432/10.56, allocations: 31.6 MB / 4.334 GB, free: 193.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01067/10.57, allocations: 0.956 MB / 4.335 GB, free: 193.9 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001696/10.57, allocations: 272.3 kB / 4.335 GB, free: 193.9 MB / 0.9324 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.001984/10.57, allocations: 273.8 kB / 4.335 GB, free: 193.8 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003426/10.58, allocations: 1.053 MB / 4.336 GB, free: 193.8 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01503/10.59, allocations: 8.342 MB / 4.345 GB, free: 193.4 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.755e-05/10.59, allocations: 46.41 kB / 4.345 GB, free: 193.4 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/10.59, allocations: 13.56 kB / 4.345 GB, free: 193.4 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009385/10.6, allocations: 6.512 MB / 4.351 GB, free: 193.1 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0579/10.66, allocations: 43.19 MB / 4.393 GB, free: 170.7 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-05/10.66, allocations: 11.06 kB / 4.393 GB, free: 170.7 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004825/10.66, allocations: 1.022 MB / 4.394 GB, free: 170.7 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002053/10.67, allocations: 0.9339 MB / 4.395 GB, free: 170.5 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001011/10.67, allocations: 94.88 kB / 4.395 GB, free: 170.5 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01815/10.69, allocations: 31.57 MB / 4.426 GB, free: 145.4 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.438e-05/10.69, allocations: 15.62 kB / 4.426 GB, free: 145.4 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02291/10.71, allocations: 14.94 MB / 4.441 GB, free: 140.7 MB / 0.9324 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02331/10.73, allocations: 19.68 MB / 4.46 GB, free: 135.6 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008195/10.74, allocations: 2.749 MB / 4.462 GB, free: 134.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004296/10.74, allocations: 58.8 kB / 4.463 GB, free: 134.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009165/10.75, allocations: 460.2 kB / 4.463 GB, free: 134.9 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001119/10.75, allocations: 280.3 kB / 4.463 GB, free: 134.9 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006253/10.76, allocations: 192.8 kB / 4.463 GB, free: 134.9 MB / 0.9324 GB Notification: Performance of sort global known variables: time 0.01841/10.77, allocations: 10.02 MB / 4.473 GB, free: 134.6 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.03307/10.81, allocations: 6.966 MB / 4.48 GB, free: 134.1 MB / 0.9324 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.004446/10.81, allocations: 1.348 MB / 4.481 GB, free: 133.9 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.02534/10.84, allocations: 17.51 MB / 4.498 GB, free: 129.2 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-05/10.84, allocations: 4.594 kB / 4.498 GB, free: 129.2 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.006076/10.84, allocations: 5.301 MB / 4.504 GB, free: 127.2 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02919/10.87, allocations: 5.731 MB / 4.509 GB, free: 127.1 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05307/10.93, allocations: 25.72 MB / 4.534 GB, free: 122.9 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01571/10.94, allocations: 10.43 MB / 4.545 GB, free: 121.9 MB / 0.9324 GB Notification: Performance of SimCode: time 8.41e-07/10.94, allocations: 0 / 4.545 GB, free: 121.9 MB / 0.9324 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube/Buildings_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.c In file included from Buildings_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c:2: In file included from ./Buildings_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1: In file included from ./Buildings_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube/Buildings_maint_7_0_x_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_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.def Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.a Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.so Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_records.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_01exo.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_02nls.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_03lsy.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_04set.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_05evt.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_06inz.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_07dly.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_09alg.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_10asr.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_11mix.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_12jac.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_13opt.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_14lnz.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_15syn.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_16dae.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_17inl.o Buildings_maint_7_0_x_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