Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.052/2.052, allocations: 387.2 MB / 394.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 181 kB / 487 MB, free: 5.371 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 221.3 MB / 0.7819 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 98 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6329/0.634, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.928, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.109/2.037, allocations: 425.2 MB / 1.621 GB, free: 13.27 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003764/2.038, allocations: 119.6 kB / 1.621 GB, free: 13.2 MB / 1.057 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 11.73/13.77, allocations: 2.914 GB / 4.534 GB, free: 167.4 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/13.77, allocations: 16.98 kB / 4.534 GB, free: 167.4 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01258/13.78, allocations: 1.623 MB / 4.536 GB, free: 166.6 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05501/13.84, allocations: 19.17 MB / 4.555 GB, free: 164.9 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005985/13.84, allocations: 266.7 kB / 4.555 GB, free: 164.9 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004591/13.84, allocations: 0.5011 MB / 4.555 GB, free: 164.9 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02756/13.87, allocations: 9.872 MB / 4.565 GB, free: 164.8 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03675/13.91, allocations: 10.83 MB / 4.576 GB, free: 163.9 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005186/13.91, allocations: 34.25 kB / 4.576 GB, free: 163.9 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003286/13.91, allocations: 7.406 kB / 4.576 GB, free: 163.9 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001851/13.91, allocations: 207.7 kB / 4.576 GB, free: 163.9 MB / 1.214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1165/14.03, allocations: 52.48 MB / 4.627 GB, free: 148 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007773/14.03, allocations: 4.421 MB / 4.631 GB, free: 147.9 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00522/14.04, allocations: 3.834 MB / 4.635 GB, free: 147.9 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001776/14.04, allocations: 2.186 MB / 4.637 GB, free: 145.5 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.548e-05/14.04, allocations: 93.17 kB / 4.637 GB, free: 145.5 MB / 1.214 GB Notification: Performance of pre-optimization done (n=482): time 6.692e-06/14.04, allocations: 0 / 4.637 GB, free: 145.5 MB / 1.214 GB Notification: Performance of matching and sorting (n=482): time 0.01791/14.06, allocations: 7.429 MB / 4.645 GB, free: 144.6 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/14.06, allocations: 367.2 kB / 4.645 GB, free: 144.3 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03123/14.09, allocations: 13.18 MB / 4.658 GB, free: 143.6 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.00185/14.09, allocations: 32.39 kB / 4.658 GB, free: 143.6 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01026/14.1, allocations: 3.57 MB / 4.661 GB, free: 141.9 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.01184/14.11, allocations: 1.642 MB / 4.663 GB, free: 140.8 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008243/14.12, allocations: 3.375 kB / 4.663 GB, free: 140.8 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0006089/14.12, allocations: 0.5728 MB / 4.664 GB, free: 140.5 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005378/14.12, allocations: 3.491 MB / 4.667 GB, free: 140.5 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0073/14.13, allocations: 5.49 MB / 4.672 GB, free: 138.5 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009921/14.14, allocations: 4.82 MB / 4.677 GB, free: 138.4 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.142e-05/14.14, allocations: 11.28 kB / 4.677 GB, free: 138.4 MB / 1.214 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02906/14.17, allocations: 10.65 MB / 4.687 GB, free: 137.2 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.00636/14.17, allocations: 24.22 MB / 4.711 GB, free: 111.5 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004229/14.17, allocations: 65.41 kB / 4.711 GB, free: 111.5 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00252/14.18, allocations: 0.9859 MB / 4.712 GB, free: 111.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007103/14.18, allocations: 1.406 MB / 4.713 GB, free: 111 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02263/14.21, allocations: 31.61 MB / 4.744 GB, free: 82.75 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01616/14.22, allocations: 1.027 MB / 4.745 GB, free: 82.43 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002591/14.23, allocations: 272.2 kB / 4.746 GB, free: 82.38 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/14.23, allocations: 8.562 kB / 4.746 GB, free: 82.37 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02757/14.25, allocations: 9.538 MB / 4.755 GB, free: 79.21 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004694/14.25, allocations: 65.7 kB / 4.755 GB, free: 79.21 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002536/14.26, allocations: 0.9906 MB / 4.756 GB, free: 78.81 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008061/14.26, allocations: 1.409 MB / 4.757 GB, free: 78.68 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0239/14.29, allocations: 31.62 MB / 4.788 GB, free: 50.25 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01556/14.3, allocations: 0.9233 MB / 4.789 GB, free: 50 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002565/14.31, allocations: 284.8 kB / 4.789 GB, free: 49.95 MB / 1.214 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.002519/14.31, allocations: 265.7 kB / 4.79 GB, free: 49.72 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00571/14.32, allocations: 1.057 MB / 4.791 GB, free: 49.16 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02325/14.34, allocations: 8.354 MB / 4.799 GB, free: 46.36 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-05/14.34, allocations: 54.14 kB / 4.799 GB, free: 46.36 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.478e-05/14.34, allocations: 9.906 kB / 4.799 GB, free: 46.36 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01524/14.35, allocations: 6.511 MB / 4.805 GB, free: 44.16 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08171/14.44, allocations: 43.22 MB / 4.847 GB, free: 25.11 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-05/14.44, allocations: 12 kB / 4.847 GB, free: 25.1 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005063/14.44, allocations: 1.022 MB / 4.848 GB, free: 24.25 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002381/14.44, allocations: 0.9322 MB / 4.849 GB, free: 23.42 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001184/14.44, allocations: 94.94 kB / 4.849 GB, free: 23.35 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02516/14.47, allocations: 31.56 MB / 4.88 GB, free: 7.176 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.516e-05/14.47, allocations: 15.94 kB / 4.88 GB, free: 7.16 MB / 1.245 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02894/14.5, allocations: 14.97 MB / 4.895 GB, free: 9.18 MB / 1.261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.7668/15.27, allocations: 19.87 MB / 4.914 GB, free: 335.1 MB / 1.261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01191/15.28, allocations: 2.756 MB / 4.917 GB, free: 335 MB / 1.261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006918/15.28, allocations: 61.12 kB / 4.917 GB, free: 335 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01159/15.3, allocations: 461.4 kB / 4.918 GB, free: 335 MB / 1.261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001361/15.3, allocations: 277.8 kB / 4.918 GB, free: 335 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000717/15.3, allocations: 190.2 kB / 4.918 GB, free: 335 MB / 1.261 GB Notification: Performance of sort global known variables: time 0.025/15.32, allocations: 10.1 MB / 4.928 GB, free: 334.6 MB / 1.261 GB Notification: Performance of remove unused functions: time 0.04969/15.37, allocations: 6.952 MB / 4.935 GB, free: 334.6 MB / 1.261 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.005176/15.38, allocations: 1.333 MB / 4.936 GB, free: 334.5 MB / 1.261 GB Notification: Performance of simCode: created initialization part: time 0.02992/15.41, allocations: 17.49 MB / 4.953 GB, free: 329.8 MB / 1.261 GB Notification: Performance of simCode: created event and clocks part: time 2.611e-05/15.41, allocations: 8.188 kB / 4.953 GB, free: 329.7 MB / 1.261 GB Notification: Performance of simCode: created simulation system equations: time 0.00763/15.42, allocations: 5.301 MB / 4.958 GB, free: 327.7 MB / 1.261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0369/15.45, allocations: 5.687 MB / 4.964 GB, free: 327.7 MB / 1.261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07593/15.53, allocations: 25.82 MB / 4.989 GB, free: 323.4 MB / 1.261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02662/15.56, allocations: 10.47 MB / 4.999 GB, free: 322.4 MB / 1.261 GB Notification: Performance of SimCode: time 1.252e-06/15.56, allocations: 0 / 4.999 GB, free: 322.4 MB / 1.261 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube/Buildings_9_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.c In file included from Buildings_9_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c In file included from Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c:2: In file included from ./Buildings_9_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c In file included from Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1: In file included from ./Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:989: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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube/Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.def Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.a Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.so Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_records.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_01exo.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_02nls.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_03lsy.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_04set.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_05evt.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_06inz.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_07dly.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_09alg.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_10asr.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_11mix.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_12jac.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_13opt.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_14lnz.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_15syn.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_16dae.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_17inl.o Buildings_9_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