Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.003812/0.003812, allocations: 187.7 kB / 7.461 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6976/0.6976, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 221.3 MB / 395 MB, free: 10.22 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 113.9 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4793/0.4804, allocations: 88.45 MB / 0.553 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.6649, allocations: 82.3 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.204/1.869, allocations: 387.1 MB / 1.011 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004136/1.87, allocations: 110 kB / 1.011 GB, free: 203.2 MB / 0.6823 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.69/12.56, allocations: 2.85 GB / 3.862 GB, free: 50.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/12.56, allocations: 9.438 kB / 3.862 GB, free: 50.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0144/12.57, allocations: 1.63 MB / 3.864 GB, free: 49.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06004/12.63, allocations: 19.17 MB / 3.882 GB, free: 32.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006505/12.63, allocations: 268 kB / 3.883 GB, free: 31.85 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004335/12.64, allocations: 0.5038 MB / 3.883 GB, free: 31.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02647/12.66, allocations: 9.876 MB / 3.893 GB, free: 21.46 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03764/12.7, allocations: 10.82 MB / 3.903 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005875/12.7, allocations: 31.64 kB / 3.903 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004133/12.71, allocations: 19.94 kB / 3.903 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001795/12.71, allocations: 204 kB / 3.903 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.015/13.72, allocations: 52.47 MB / 3.955 GB, free: 111.7 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008732/13.73, allocations: 4.416 MB / 3.959 GB, free: 111.7 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005625/13.74, allocations: 3.836 MB / 3.963 GB, free: 111.6 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001964/13.74, allocations: 2.183 MB / 3.965 GB, free: 109.3 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/13.74, allocations: 94.58 kB / 3.965 GB, free: 109.2 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=482): time 9.678e-06/13.74, allocations: 0 / 3.965 GB, free: 109.2 MB / 0.7293 GB Notification: Performance of matching and sorting (n=482): time 0.02129/13.76, allocations: 7.44 MB / 3.972 GB, free: 108.9 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/13.76, allocations: 366.6 kB / 3.973 GB, free: 108.5 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03505/13.79, allocations: 13.18 MB / 3.985 GB, free: 107.9 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 0.002187/13.8, allocations: 32.61 kB / 3.986 GB, free: 107.9 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 0.01189/13.81, allocations: 3.575 MB / 3.989 GB, free: 106.7 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 0.01328/13.82, allocations: 1.644 MB / 3.991 GB, free: 105.8 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001806/13.82, allocations: 3.531 kB / 3.991 GB, free: 105.8 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 0.001008/13.82, allocations: 0.5722 MB / 3.991 GB, free: 105.5 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007361/13.83, allocations: 3.492 MB / 3.995 GB, free: 105.5 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008927/13.84, allocations: 5.487 MB / 4 GB, free: 103.5 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/13.85, allocations: 4.826 MB / 4.005 GB, free: 103.4 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001335/13.85, allocations: 10.22 kB / 4.005 GB, free: 103.4 MB / 0.7293 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.03425/13.89, allocations: 10.64 MB / 4.015 GB, free: 102.5 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 0.008214/13.89, allocations: 24.23 MB / 4.039 GB, free: 77.03 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005314/13.9, allocations: 58.81 kB / 4.039 GB, free: 77.03 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002617/13.9, allocations: 0.9919 MB / 4.04 GB, free: 76.87 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007183/13.91, allocations: 1.409 MB / 4.041 GB, free: 76.87 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02489/13.93, allocations: 31.59 MB / 4.072 GB, free: 83.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01742/13.95, allocations: 1.031 MB / 4.073 GB, free: 83.27 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002516/13.95, allocations: 275.9 kB / 4.073 GB, free: 83.27 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/13.95, allocations: 7.406 kB / 4.073 GB, free: 83.27 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02581/13.98, allocations: 9.528 MB / 4.083 GB, free: 82.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003527/13.98, allocations: 65.12 kB / 4.083 GB, free: 82.93 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001743/13.98, allocations: 0.998 MB / 4.084 GB, free: 82.77 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006876/13.99, allocations: 1.41 MB / 4.085 GB, free: 82.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02437/14.01, allocations: 31.62 MB / 4.116 GB, free: 73.32 MB / 0.7762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01503/14.02, allocations: 0.9225 MB / 4.117 GB, free: 73.07 MB / 0.7762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002338/14.03, allocations: 276.6 kB / 4.117 GB, free: 73.07 MB / 0.7762 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.004532/14.03, allocations: 267.2 kB / 4.117 GB, free: 72.93 MB / 0.7762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006244/14.04, allocations: 1.063 MB / 4.118 GB, free: 72.37 MB / 0.7762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02187/14.06, allocations: 8.34 MB / 4.126 GB, free: 71.93 MB / 0.7762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.723e-05/14.06, allocations: 59.62 kB / 4.126 GB, free: 71.93 MB / 0.7762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.05e-05/14.06, allocations: 12.88 kB / 4.127 GB, free: 71.93 MB / 0.7762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01114/14.07, allocations: 6.51 MB / 4.133 GB, free: 71.6 MB / 0.7762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08239/14.15, allocations: 43.22 MB / 4.175 GB, free: 48.66 MB / 0.7762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.758e-05/14.15, allocations: 7.531 kB / 4.175 GB, free: 48.66 MB / 0.7762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005292/14.16, allocations: 1.022 MB / 4.176 GB, free: 48.63 MB / 0.7762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002212/14.16, allocations: 0.9382 MB / 4.177 GB, free: 48.24 MB / 0.7762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001142/14.16, allocations: 96.22 kB / 4.177 GB, free: 48.21 MB / 0.7762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5447/14.71, allocations: 31.56 MB / 4.208 GB, free: 134.1 MB / 0.7762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.43e-05/14.71, allocations: 14.53 kB / 4.208 GB, free: 134.1 MB / 0.7762 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02742/14.73, allocations: 14.96 MB / 4.223 GB, free: 130 MB / 0.7762 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03244/14.77, allocations: 19.72 MB / 4.242 GB, free: 125 MB / 0.7762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01222/14.78, allocations: 2.757 MB / 4.244 GB, free: 124.3 MB / 0.7762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00682/14.79, allocations: 62.5 kB / 4.245 GB, free: 124.3 MB / 0.7762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01301/14.8, allocations: 458.8 kB / 4.245 GB, free: 124.3 MB / 0.7762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001667/14.8, allocations: 284.2 kB / 4.245 GB, free: 124.3 MB / 0.7762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001491/14.8, allocations: 190.1 kB / 4.245 GB, free: 124.3 MB / 0.7762 GB Notification: Performance of sort global known variables: time 0.03265/14.83, allocations: 10.1 MB / 4.255 GB, free: 124 MB / 0.7762 GB Notification: Performance of remove unused functions: time 0.05384/14.89, allocations: 6.959 MB / 4.262 GB, free: 123.6 MB / 0.7762 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.007291/14.9, allocations: 1.342 MB / 4.263 GB, free: 123.4 MB / 0.7762 GB Notification: Performance of simCode: created initialization part: time 0.03796/14.93, allocations: 17.49 MB / 4.28 GB, free: 118.7 MB / 0.7762 GB Notification: Performance of simCode: created event and clocks part: time 4.454e-05/14.93, allocations: 4.906 kB / 4.28 GB, free: 118.7 MB / 0.7762 GB Notification: Performance of simCode: created simulation system equations: time 0.009723/14.94, allocations: 5.303 MB / 4.286 GB, free: 116.7 MB / 0.7762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04282/14.99, allocations: 5.694 MB / 4.291 GB, free: 116.6 MB / 0.7762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09173/15.08, allocations: 25.82 MB / 4.316 GB, free: 112.3 MB / 0.7762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02628/15.11, allocations: 10.46 MB / 4.327 GB, free: 111.1 MB / 0.7762 GB Notification: Performance of SimCode: time 1.913e-06/15.11, allocations: 0 / 4.327 GB, free: 111.1 MB / 0.7762 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube/IDEAS_IDEAS_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=IDEAS_IDEAS_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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.c In file included from IDEAS_IDEAS_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=IDEAS_IDEAS_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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c:2: In file included from ./IDEAS_IDEAS_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=IDEAS_IDEAS_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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1: In file included from ./IDEAS_IDEAS_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); ^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1251: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: *** [: IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube/IDEAS_IDEAS_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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.def IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.a IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.so IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_records.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_01exo.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_02nls.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_03lsy.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_04set.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_05evt.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_06inz.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_07dly.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_09alg.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_10asr.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_11mix.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_12jac.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_13opt.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_14lnz.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_15syn.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_16dae.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_17inl.o IDEAS_IDEAS_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