Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7447/0.7447, allocations: 141.8 MB / 149.1 MB, free: 12.05 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 188.3 kB / 181.9 MB, free: 8.812 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 221.4 MB / 436 MB, free: 1.031 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008866/0.0008867, allocations: 95.28 kB / 0.507 GB, free: 9.992 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001949/0.00195, allocations: 281.1 kB / 0.5884 GB, free: 6.828 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1808/0.1828, allocations: 89.67 MB / 0.676 GB, free: 13.07 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.6044, allocations: 82.77 MB / 0.7568 GB, free: 138 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7245/1.329, allocations: 385.1 MB / 1.133 GB, free: 13.35 MB / 0.6825 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/1.329, allocations: 117.4 kB / 1.133 GB, free: 13.29 MB / 0.6825 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.54/11.87, allocations: 2.847 GB / 3.98 GB, free: 77.52 MB / 0.745 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/11.87, allocations: 11.59 kB / 3.98 GB, free: 77.52 MB / 0.745 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/11.88, allocations: 1.628 MB / 3.982 GB, free: 76.73 MB / 0.745 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05666/11.94, allocations: 18.92 MB / 4 GB, free: 74.98 MB / 0.745 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006722/11.94, allocations: 270.7 kB / 4.001 GB, free: 74.98 MB / 0.745 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004624/11.94, allocations: 0.5164 MB / 4.001 GB, free: 74.98 MB / 0.745 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03072/11.97, allocations: 9.867 MB / 4.011 GB, free: 74.94 MB / 0.745 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04171/12.01, allocations: 10.83 MB / 4.021 GB, free: 74.03 MB / 0.745 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009319/12.01, allocations: 26.56 kB / 4.021 GB, free: 74.02 MB / 0.745 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004406/12.02, allocations: 13.12 kB / 4.021 GB, free: 74.02 MB / 0.745 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002669/12.02, allocations: 209.5 kB / 4.022 GB, free: 74.02 MB / 0.745 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1161/12.14, allocations: 52.54 MB / 4.073 GB, free: 58.11 MB / 0.745 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008936/12.14, allocations: 4.417 MB / 4.077 GB, free: 58.05 MB / 0.745 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00782/12.15, allocations: 3.832 MB / 4.081 GB, free: 57.78 MB / 0.745 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002391/12.16, allocations: 2.184 MB / 4.083 GB, free: 55.41 MB / 0.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/12.16, allocations: 98.2 kB / 4.083 GB, free: 55.33 MB / 0.745 GB Notification: Performance of pre-optimization done (n=482): time 1.242e-05/12.16, allocations: 0 / 4.083 GB, free: 55.33 MB / 0.745 GB Notification: Performance of matching and sorting (n=482): time 0.02431/12.18, allocations: 7.424 MB / 4.09 GB, free: 52.62 MB / 0.745 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/12.18, allocations: 360.1 kB / 4.091 GB, free: 52.24 MB / 0.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03829/12.22, allocations: 13.11 MB / 4.104 GB, free: 47.73 MB / 0.745 GB Notification: Performance of collectPreVariables (initialization): time 0.002179/12.22, allocations: 36.33 kB / 4.104 GB, free: 47.7 MB / 0.745 GB Notification: Performance of collectInitialEqns (initialization): time 0.01158/12.23, allocations: 3.575 MB / 4.107 GB, free: 45.36 MB / 0.745 GB Notification: Performance of collectInitialBindings (initialization): time 0.01294/12.24, allocations: 1.644 MB / 4.109 GB, free: 44.07 MB / 0.745 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001827/12.25, allocations: 0 / 4.109 GB, free: 44.07 MB / 0.745 GB Notification: Performance of setup shared object (initialization): time 0.0009886/12.25, allocations: 0.5704 MB / 4.109 GB, free: 43.65 MB / 0.745 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006989/12.25, allocations: 3.496 MB / 4.113 GB, free: 42.39 MB / 0.745 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01016/12.26, allocations: 5.671 MB / 4.118 GB, free: 38.74 MB / 0.745 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01317/12.28, allocations: 4.836 MB / 4.123 GB, free: 37.12 MB / 0.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000111/12.28, allocations: 15.03 kB / 4.123 GB, free: 37.12 MB / 0.745 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.03342/12.31, allocations: 10.65 MB / 4.133 GB, free: 31.62 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 0.0112/12.32, allocations: 24.17 MB / 4.157 GB, free: 37.79 MB / 0.7763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004824/12.32, allocations: 71.28 kB / 4.157 GB, free: 37.72 MB / 0.7763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002763/12.33, allocations: 0.9835 MB / 4.158 GB, free: 36.85 MB / 0.7763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007318/12.33, allocations: 1.41 MB / 4.159 GB, free: 35.71 MB / 0.7763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02601/12.36, allocations: 31.6 MB / 4.19 GB, free: 19.57 MB / 0.7919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01554/12.38, allocations: 1.065 MB / 4.191 GB, free: 18.75 MB / 0.7919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002429/12.38, allocations: 273.3 kB / 4.192 GB, free: 18.5 MB / 0.7919 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/12.38, allocations: 7.219 kB / 4.192 GB, free: 18.49 MB / 0.7919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0252/12.4, allocations: 9.533 MB / 4.201 GB, free: 10.33 MB / 0.7919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003744/12.4, allocations: 63.61 kB / 4.201 GB, free: 10.27 MB / 0.7919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002173/12.41, allocations: 1.002 MB / 4.202 GB, free: 9.379 MB / 0.7919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007304/12.41, allocations: 1.407 MB / 4.203 GB, free: 8.164 MB / 0.7919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4655/12.88, allocations: 31.61 MB / 4.234 GB, free: 132.4 MB / 0.7919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01461/12.89, allocations: 0.9492 MB / 4.235 GB, free: 132.4 MB / 0.7919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002269/12.9, allocations: 271.6 kB / 4.235 GB, free: 132.4 MB / 0.7919 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.002845/12.9, allocations: 274.9 kB / 4.236 GB, free: 132.3 MB / 0.7919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005232/12.9, allocations: 1.053 MB / 4.237 GB, free: 132.3 MB / 0.7919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02122/12.92, allocations: 8.336 MB / 4.245 GB, free: 131.9 MB / 0.7919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.568e-05/12.92, allocations: 49.94 kB / 4.245 GB, free: 131.9 MB / 0.7919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.19e-05/12.92, allocations: 14.56 kB / 4.245 GB, free: 131.9 MB / 0.7919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01465/12.94, allocations: 6.518 MB / 4.251 GB, free: 131.6 MB / 0.7919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07753/13.02, allocations: 43.19 MB / 4.293 GB, free: 109.2 MB / 0.7919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.552e-05/13.02, allocations: 13.5 kB / 4.293 GB, free: 109.2 MB / 0.7919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005139/13.02, allocations: 1.023 MB / 4.294 GB, free: 109.2 MB / 0.7919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002001/13.02, allocations: 0.9332 MB / 4.295 GB, free: 109 MB / 0.7919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001028/13.03, allocations: 97.41 kB / 4.295 GB, free: 109 MB / 0.7919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02173/13.05, allocations: 31.56 MB / 4.326 GB, free: 83.81 MB / 0.7919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.812e-05/13.05, allocations: 14 kB / 4.326 GB, free: 83.81 MB / 0.7919 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02962/13.08, allocations: 14.93 MB / 4.341 GB, free: 79.08 MB / 0.7919 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03448/13.11, allocations: 19.68 MB / 4.36 GB, free: 73.96 MB / 0.7919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01137/13.12, allocations: 2.745 MB / 4.363 GB, free: 73.3 MB / 0.7919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006003/13.13, allocations: 61.66 kB / 4.363 GB, free: 73.3 MB / 0.7919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01178/13.14, allocations: 460.5 kB / 4.363 GB, free: 73.28 MB / 0.7919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001563/13.14, allocations: 278.6 kB / 4.363 GB, free: 73.27 MB / 0.7919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001555/13.14, allocations: 192.9 kB / 4.364 GB, free: 73.27 MB / 0.7919 GB Notification: Performance of sort global known variables: time 0.02761/13.17, allocations: 10.03 MB / 4.373 GB, free: 72.95 MB / 0.7919 GB Notification: Performance of remove unused functions: time 0.04714/13.22, allocations: 6.977 MB / 4.38 GB, free: 72.38 MB / 0.7919 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.005939/13.22, allocations: 1.352 MB / 4.382 GB, free: 72.2 MB / 0.7919 GB Notification: Performance of simCode: created initialization part: time 0.03191/13.26, allocations: 17.5 MB / 4.399 GB, free: 67.45 MB / 0.7919 GB Notification: Performance of simCode: created event and clocks part: time 2.899e-05/13.26, allocations: 7.312 kB / 4.399 GB, free: 67.45 MB / 0.7919 GB Notification: Performance of simCode: created simulation system equations: time 0.008527/13.27, allocations: 5.307 MB / 4.404 GB, free: 65.45 MB / 0.7919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03357/13.3, allocations: 5.724 MB / 4.409 GB, free: 65.38 MB / 0.7919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07229/13.37, allocations: 25.72 MB / 4.435 GB, free: 61.1 MB / 0.7919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02147/13.39, allocations: 10.43 MB / 4.445 GB, free: 59.94 MB / 0.7919 GB Notification: Performance of SimCode: time 8.92e-07/13.39, allocations: 3.312 kB / 4.445 GB, free: 59.94 MB / 0.7919 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube/BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.c In file included from BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c:2: In file included from ./BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1: In file included from ./BuildingSystems_BuildingSystems_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); ^ BuildingSystems_BuildingSystems_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: *** [: BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube/BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.def BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.a BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.so BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_records.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_01exo.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_02nls.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_03lsy.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_04set.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_05evt.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_06inz.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_07dly.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_09alg.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_10asr.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_11mix.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_12jac.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_13opt.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_14lnz.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_15syn.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_16dae.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_17inl.o BuildingSystems_BuildingSystems_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