Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",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.134/2.134, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001143/0.001143, allocations: 181.2 kB / 487 MB, free: 5.344 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.418/1.418, allocations: 221.3 MB / 0.7819 GB, free: 1.363 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.0009593/0.0009594, allocations: 91.95 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6489/0.6499, allocations: 148.5 MB / 1.066 GB, free: 168 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.9379, allocations: 142.3 MB / 1.205 GB, free: 26.03 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.16/2.097, allocations: 441.1 MB / 1.636 GB, free: 13.43 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/2.098, allocations: 123.7 kB / 1.636 GB, free: 13.36 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 4.297/6.395, allocations: 1.068 GB / 2.705 GB, free: 177.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/6.395, allocations: 11.5 kB / 2.705 GB, free: 177.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002185/6.397, allocations: 375.7 kB / 2.705 GB, free: 177.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007776/6.405, allocations: 2.952 MB / 2.708 GB, free: 177.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.873e-05/6.405, allocations: 66.91 kB / 2.708 GB, free: 177.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003637/6.405, allocations: 134.9 kB / 2.708 GB, free: 177.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003051/6.408, allocations: 1.461 MB / 2.709 GB, free: 177.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003255/6.412, allocations: 1.796 MB / 2.711 GB, free: 176.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.98e-05/6.412, allocations: 6.484 kB / 2.711 GB, free: 176.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/6.412, allocations: 3.906 kB / 2.711 GB, free: 176.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.692e-05/6.412, allocations: 49.75 kB / 2.711 GB, free: 176.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01444/6.427, allocations: 8.847 MB / 2.72 GB, free: 173.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/6.428, allocations: 0.8421 MB / 2.721 GB, free: 173.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009629/6.429, allocations: 0.7782 MB / 2.721 GB, free: 173.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002287/6.431, allocations: 2.921 MB / 2.724 GB, free: 170.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/6.431, allocations: 53.56 kB / 2.724 GB, free: 170.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=148): time 4.298e-06/6.431, allocations: 0 / 2.724 GB, free: 170.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=148): time 0.004698/6.436, allocations: 1.675 MB / 2.726 GB, free: 170.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/6.436, allocations: 94.2 kB / 2.726 GB, free: 170.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003347/6.439, allocations: 1.701 MB / 2.728 GB, free: 170 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002518/6.44, allocations: 25.7 kB / 2.728 GB, free: 170 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006523/6.44, allocations: 0.8044 MB / 2.729 GB, free: 169.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000741/6.441, allocations: 0.4913 MB / 2.729 GB, free: 169.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.27e-05/6.441, allocations: 0 / 2.729 GB, free: 169.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001402/6.441, allocations: 371.6 kB / 2.729 GB, free: 168.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008103/6.442, allocations: 0.4946 MB / 2.73 GB, free: 168.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/6.443, allocations: 0.8458 MB / 2.731 GB, free: 168.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002177/6.445, allocations: 0.8325 MB / 2.731 GB, free: 168.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/6.445, allocations: 3.844 kB / 2.731 GB, free: 168.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.004652/6.45, allocations: 2.018 MB / 2.733 GB, free: 168.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007915/6.451, allocations: 2.693 MB / 2.736 GB, free: 165.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.305e-05/6.451, allocations: 7.125 kB / 2.736 GB, free: 165.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005564/6.451, allocations: 204.5 kB / 2.736 GB, free: 165.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/6.453, allocations: 349.5 kB / 2.737 GB, free: 165.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004226/6.457, allocations: 6.853 MB / 2.743 GB, free: 159.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/6.46, allocations: 215.6 kB / 2.744 GB, free: 159.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/6.46, allocations: 75.03 kB / 2.744 GB, free: 159.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/6.46, allocations: 7.766 kB / 2.744 GB, free: 159.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003869/6.464, allocations: 1.703 MB / 2.745 GB, free: 159.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.944e-05/6.464, allocations: 11.75 kB / 2.745 GB, free: 159.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004851/6.464, allocations: 202.7 kB / 2.745 GB, free: 159 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/6.466, allocations: 347.5 kB / 2.746 GB, free: 159 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006191/6.472, allocations: 8.574 MB / 2.754 GB, free: 151.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003708/6.476, allocations: 203.7 kB / 2.754 GB, free: 151.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006304/6.476, allocations: 69.52 kB / 2.754 GB, free: 151.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0007269/6.477, allocations: 153.2 kB / 2.755 GB, free: 151.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001328/6.478, allocations: 237.8 kB / 2.755 GB, free: 151.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005298/6.484, allocations: 2.146 MB / 2.757 GB, free: 150.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.004e-05/6.484, allocations: 23.17 kB / 2.757 GB, free: 150.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/6.484, allocations: 0 / 2.757 GB, free: 150.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003093/6.487, allocations: 1.73 MB / 2.759 GB, free: 150.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009256/6.496, allocations: 4.185 MB / 2.763 GB, free: 150.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/6.496, allocations: 2.812 kB / 2.763 GB, free: 150.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/6.497, allocations: 277.1 kB / 2.763 GB, free: 150.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004047/6.498, allocations: 184.8 kB / 2.763 GB, free: 150.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.87e-05/6.498, allocations: 25.02 kB / 2.763 GB, free: 150.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004041/6.502, allocations: 6.806 MB / 2.77 GB, free: 143.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/6.502, allocations: 0 / 2.77 GB, free: 143.9 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005568/6.508, allocations: 2.796 MB / 2.773 GB, free: 143.4 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006424/6.514, allocations: 4.09 MB / 2.777 GB, free: 142.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001988/6.516, allocations: 0.5476 MB / 2.777 GB, free: 142.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004319/6.516, allocations: 6.375 kB / 2.777 GB, free: 142.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/6.518, allocations: 135.3 kB / 2.777 GB, free: 142.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/6.518, allocations: 85.28 kB / 2.777 GB, free: 142.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/6.518, allocations: 53.06 kB / 2.777 GB, free: 142.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.002074/6.52, allocations: 1.275 MB / 2.779 GB, free: 142.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009499/6.53, allocations: 2.475 MB / 2.781 GB, free: 141.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003878/6.534, allocations: 1.738 MB / 2.783 GB, free: 141.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005292/6.539, allocations: 3.385 MB / 2.786 GB, free: 140.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/6.539, allocations: 6.734 kB / 2.786 GB, free: 140.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001487/6.54, allocations: 1.139 MB / 2.787 GB, free: 139.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006526/6.547, allocations: 1.096 MB / 2.788 GB, free: 139.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00862/6.556, allocations: 4.075 MB / 2.792 GB, free: 138.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001873/6.558, allocations: 2.047 MB / 2.794 GB, free: 138.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.322e-06/6.558, allocations: 0 / 2.794 GB, free: 138.1 MB / 1.167 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube/Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.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_BaseClasses_Examples_InternalHEXTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.c In file included from Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_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_BaseClasses_Examples_InternalHEXTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c In file included from Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c:2: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_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_BaseClasses_Examples_InternalHEXTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c In file included from Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c:1: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_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_BaseClasses_Examples_InternalHEXTwoUTube_functions.c:1141: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_BaseClasses_Examples_InternalHEXTwoUTube_functions.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube/Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.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_BaseClasses_Examples_InternalHEXTwoUTube.def Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.a Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.so Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_records.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_01exo.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_02nls.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_03lsy.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_04set.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_05evt.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_06inz.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_07dly.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_08bnd.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_09alg.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_10asr.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_11mix.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_12jac.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_13opt.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_14lnz.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_15syn.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_16dae.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_17inl.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_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/nonlinearSystem.o include/./simulation/solver/nonlinearValuesList.o include/./simulation/solver/nonlinearSolverHybrd.o include/./simulation/solver/nonlinearSolverHomotopy.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/enorm_.o include/./external_solvers/hybrj_.o include/./external_solvers/dpmpar_.o include/./external_solvers/qrfac_.o include/./external_solvers/qform_.o include/./external_solvers/dogleg_.o include/./external_solvers/r1updt_.o include/./external_solvers/r1mpyq_.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