Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7465/0.7465, allocations: 127.4 MB / 134.6 MB, free: 4.105 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001377/0.001377, allocations: 181.3 kB / 164.4 MB, free: 6.895 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.1 MB / 399.1 MB, free: 6.059 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001239/0.001238, allocations: 79.08 kB / 476.3 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3945/0.3958, allocations: 82.92 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.598, allocations: 76.75 MB / 0.621 GB, free: 13.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.273/1.871, allocations: 382.7 MB / 0.9948 GB, free: 99.37 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/1.871, allocations: 109.5 kB / 0.9949 GB, free: 99.3 MB / 0.6198 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.99/13.86, allocations: 2.821 GB / 3.816 GB, free: 67.45 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/13.86, allocations: 9.125 kB / 3.816 GB, free: 67.45 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01343/13.87, allocations: 1.626 MB / 3.817 GB, free: 66.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07877/13.95, allocations: 21.36 MB / 3.838 GB, free: 63.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001201/13.95, allocations: 269.2 kB / 3.838 GB, free: 63.71 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005606/13.96, allocations: 0.5106 MB / 3.839 GB, free: 63.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03949/14, allocations: 9.563 MB / 3.848 GB, free: 60.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06066/14.06, allocations: 10.66 MB / 3.859 GB, free: 53.15 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001366/14.06, allocations: 29.3 kB / 3.859 GB, free: 53.12 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005667/14.07, allocations: 12.7 kB / 3.859 GB, free: 53.11 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002871/14.07, allocations: 204 kB / 3.859 GB, free: 52.91 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1397/14.21, allocations: 52.5 MB / 3.91 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01128/14.22, allocations: 4.096 MB / 3.914 GB, free: 13.64 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01028/14.23, allocations: 3.635 MB / 3.918 GB, free: 9.992 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003355/14.23, allocations: 2.014 MB / 3.92 GB, free: 7.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/14.23, allocations: 102.5 kB / 3.92 GB, free: 7.461 MB / 0.698 GB Notification: Performance of pre-optimization done (n=476): time 2.319e-05/14.23, allocations: 3.609 kB / 3.92 GB, free: 7.461 MB / 0.698 GB Notification: Performance of matching and sorting (n=476): time 0.03183/14.26, allocations: 7.111 MB / 3.927 GB, free: 280 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.9176/15.18, allocations: 359.9 kB / 3.927 GB, free: 134.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03905/15.22, allocations: 12.66 MB / 3.939 GB, free: 134 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.002511/15.22, allocations: 32.58 kB / 3.939 GB, free: 134 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.01176/15.24, allocations: 3.606 MB / 3.943 GB, free: 133.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.01116/15.25, allocations: 1.625 MB / 3.944 GB, free: 132.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/15.25, allocations: 2.781 kB / 3.944 GB, free: 132.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0008783/15.25, allocations: 0.5694 MB / 3.945 GB, free: 132.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007274/15.26, allocations: 3.258 MB / 3.948 GB, free: 132.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01032/15.27, allocations: 5.506 MB / 3.954 GB, free: 130.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01035/15.28, allocations: 4.618 MB / 3.958 GB, free: 130.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.405e-05/15.28, allocations: 15.09 kB / 3.958 GB, free: 130.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=846) (initialization): time 0.03486/15.31, allocations: 10.22 MB / 3.968 GB, free: 129.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00844/15.32, allocations: 26.92 MB / 3.994 GB, free: 101 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004899/15.32, allocations: 73.56 kB / 3.994 GB, free: 101 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002827/15.32, allocations: 0.9909 MB / 3.995 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008079/15.33, allocations: 1.413 MB / 3.997 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02663/15.36, allocations: 31.6 MB / 4.028 GB, free: 75.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02079/15.38, allocations: 0.9623 MB / 4.029 GB, free: 75.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004126/15.38, allocations: 281.4 kB / 4.029 GB, free: 75.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/15.38, allocations: 2.25 kB / 4.029 GB, free: 75.12 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03124/15.41, allocations: 9.093 MB / 4.038 GB, free: 74.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006326/15.42, allocations: 70.17 kB / 4.038 GB, free: 74.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002406/15.42, allocations: 0.9941 MB / 4.039 GB, free: 74.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007807/15.43, allocations: 1.414 MB / 4.04 GB, free: 74.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03038/15.46, allocations: 31.6 MB / 4.071 GB, free: 65.18 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0198/15.48, allocations: 0.8452 MB / 4.072 GB, free: 64.93 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003664/15.48, allocations: 280.5 kB / 4.072 GB, free: 64.93 MB / 0.7137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (756): * Single equations (assignments): 726 * 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.006213/15.49, allocations: 291.7 kB / 4.072 GB, free: 64.79 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007971/15.49, allocations: 1.047 MB / 4.073 GB, free: 64.23 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03269/15.53, allocations: 8.109 MB / 4.081 GB, free: 63.74 MB / 0.7137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001012/15.53, allocations: 43.59 kB / 4.081 GB, free: 63.74 MB / 0.7137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.504e-05/15.53, allocations: 11.91 kB / 4.081 GB, free: 63.74 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01744/15.54, allocations: 6.126 MB / 4.087 GB, free: 63.41 MB / 0.7137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0967/15.64, allocations: 39.76 MB / 4.126 GB, free: 56.8 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-05/15.64, allocations: 15.62 kB / 4.126 GB, free: 56.8 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005479/15.65, allocations: 0.9886 MB / 4.127 GB, free: 56.8 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002584/15.65, allocations: 0.9325 MB / 4.128 GB, free: 56.64 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001395/15.65, allocations: 92.53 kB / 4.128 GB, free: 56.64 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02865/15.68, allocations: 31.56 MB / 4.159 GB, free: 47.17 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.182e-05/15.68, allocations: 13.66 kB / 4.159 GB, free: 47.16 MB / 0.7449 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03444/15.71, allocations: 14.1 MB / 4.173 GB, free: 42.57 MB / 0.7449 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04217/15.76, allocations: 18.55 MB / 4.191 GB, free: 34.19 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01449/15.77, allocations: 2.612 MB / 4.193 GB, free: 32.7 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008489/15.78, allocations: 59.52 kB / 4.193 GB, free: 32.68 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01386/15.79, allocations: 430.7 kB / 4.194 GB, free: 32.64 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002148/15.8, allocations: 274.3 kB / 4.194 GB, free: 32.59 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001939/15.8, allocations: 191.1 kB / 4.194 GB, free: 32.56 MB / 0.7449 GB Notification: Performance of sort global known variables: time 0.6648/16.46, allocations: 9.743 MB / 4.204 GB, free: 161.5 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.05627/16.52, allocations: 6.843 MB / 4.211 GB, free: 161.5 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (418): * Single equations (assignments): 395 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.007292/16.53, allocations: 1.355 MB / 4.212 GB, free: 161.3 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.03845/16.56, allocations: 16.85 MB / 4.228 GB, free: 156.6 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 3.53e-05/16.56, allocations: 4.656 kB / 4.228 GB, free: 156.6 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.009815/16.57, allocations: 5.09 MB / 4.233 GB, free: 154.6 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04071/16.62, allocations: 5.729 MB / 4.239 GB, free: 154.5 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09781/16.71, allocations: 25.38 MB / 4.264 GB, free: 150.3 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0349/16.75, allocations: 10.42 MB / 4.274 GB, free: 149.3 MB / 0.7449 GB Notification: Performance of SimCode: time 2.495e-06/16.75, allocations: 0 / 4.274 GB, free: 149.3 MB / 0.7449 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube/BuildSysPro_BuildSysPro_IBPSA_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=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.c In file included from BuildSysPro_BuildSysPro_IBPSA_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=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_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=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:1: In file included from ./BuildSysPro_BuildSysPro_IBPSA_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); ^ BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.c:971: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: *** [: BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube/BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.def BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.a BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.so BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_FMU.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_functions.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_records.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_01exo.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_02nls.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_03lsy.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_04set.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_05evt.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_06inz.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_07dly.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_08bnd.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_09alg.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_10asr.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_11mix.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_12jac.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_13opt.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_14lnz.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_15syn.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_16dae.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_17inl.o BuildSysPro_BuildSysPro_IBPSA_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