Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7377/0.7377, allocations: 141.8 MB / 149.1 MB, free: 15.89 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.001217/0.001217, allocations: 180.9 kB / 181.9 MB, free: 12.21 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.323/1.323, allocations: 221.3 MB / 436 MB, free: 4.922 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.0009725/0.0009725, allocations: 95.62 kB / 0.507 GB, free: 19.03 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001834/0.001833, allocations: 294.4 kB / 0.5884 GB, free: 6.16 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4636/0.4655, allocations: 89.66 MB / 0.676 GB, free: 139.2 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.6449, allocations: 82.79 MB / 0.7569 GB, free: 87.45 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.747, allocations: 401.1 MB / 1.149 GB, free: 257.9 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003592/1.748, allocations: 126.2 kB / 1.149 GB, free: 257.9 MB / 0.6982 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 3.335/5.083, allocations: 1.043 GB / 2.192 GB, free: 9.094 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/5.083, allocations: 12 kB / 2.192 GB, free: 9.082 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/5.085, allocations: 375.8 kB / 2.192 GB, free: 8.711 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007844/5.093, allocations: 2.93 MB / 2.195 GB, free: 5.773 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/5.093, allocations: 67.69 kB / 2.195 GB, free: 5.711 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000648/5.094, allocations: 135.9 kB / 2.195 GB, free: 5.578 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003258/5.097, allocations: 1.457 MB / 2.197 GB, free: 4.113 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/5.1, allocations: 1.8 MB / 2.198 GB, free: 2.211 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.238e-05/5.1, allocations: 7.906 kB / 2.198 GB, free: 2.203 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/5.1, allocations: 4 kB / 2.198 GB, free: 2.199 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.548e-05/5.1, allocations: 48 kB / 2.198 GB, free: 2.152 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01349/5.114, allocations: 8.861 MB / 2.207 GB, free: 9.141 MB / 0.7294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/5.115, allocations: 0.8517 MB / 2.208 GB, free: 8.281 MB / 0.7294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/5.116, allocations: 0.7651 MB / 2.209 GB, free: 7.52 MB / 0.7294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002387/5.119, allocations: 2.922 MB / 2.212 GB, free: 3.953 MB / 0.7294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/5.119, allocations: 55.88 kB / 2.212 GB, free: 3.887 MB / 0.7294 GB Notification: Performance of pre-optimization done (n=148): time 3.877e-06/5.119, allocations: 0 / 2.212 GB, free: 3.887 MB / 0.7294 GB Notification: Performance of matching and sorting (n=148): time 0.004484/5.123, allocations: 1.67 MB / 2.213 GB, free: 2.191 MB / 0.7294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/5.123, allocations: 98.41 kB / 2.213 GB, free: 2.078 MB / 0.7294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002882/5.126, allocations: 1.681 MB / 2.215 GB, free: 384 kB / 0.7294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001852/5.126, allocations: 29.7 kB / 2.215 GB, free: 348 kB / 0.7294 GB Notification: Performance of collectInitialEqns (initialization): time 0.3417/5.468, allocations: 0.8005 MB / 2.216 GB, free: 103.8 MB / 0.7294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001063/5.469, allocations: 0.4905 MB / 2.216 GB, free: 103.5 MB / 0.7294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/5.469, allocations: 0 / 2.216 GB, free: 103.5 MB / 0.7294 GB Notification: Performance of setup shared object (initialization): time 0.0001154/5.469, allocations: 368.1 kB / 2.217 GB, free: 103.2 MB / 0.7294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008301/5.47, allocations: 0.4969 MB / 2.217 GB, free: 103.2 MB / 0.7294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009158/5.471, allocations: 0.8472 MB / 2.218 GB, free: 102.9 MB / 0.7294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/5.473, allocations: 0.8475 MB / 2.219 GB, free: 102.9 MB / 0.7294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/5.473, allocations: 0 / 2.219 GB, free: 102.9 MB / 0.7294 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.004424/5.478, allocations: 2.014 MB / 2.221 GB, free: 102.6 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004731/5.478, allocations: 2.684 MB / 2.223 GB, free: 99.77 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.606e-05/5.478, allocations: 10.88 kB / 2.223 GB, free: 99.77 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004885/5.479, allocations: 203.2 kB / 2.224 GB, free: 99.72 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/5.48, allocations: 350.4 kB / 2.224 GB, free: 99.72 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003833/5.484, allocations: 6.848 MB / 2.231 GB, free: 93.61 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/5.486, allocations: 220.3 kB / 2.231 GB, free: 93.57 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/5.486, allocations: 72.47 kB / 2.231 GB, free: 93.57 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 8.305e-06/5.486, allocations: 3.656 kB / 2.231 GB, free: 93.57 MB / 0.7294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003591/5.49, allocations: 1.712 MB / 2.232 GB, free: 93.47 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/5.49, allocations: 9.531 kB / 2.233 GB, free: 93.47 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004624/5.491, allocations: 204.6 kB / 2.233 GB, free: 93.42 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/5.492, allocations: 351 kB / 2.233 GB, free: 93.42 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005308/5.497, allocations: 8.569 MB / 2.241 GB, free: 85.81 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003014/5.5, allocations: 201.5 kB / 2.242 GB, free: 85.78 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00026/5.5, allocations: 74.16 kB / 2.242 GB, free: 85.78 MB / 0.7294 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.0005139/5.501, allocations: 139.9 kB / 2.242 GB, free: 85.67 MB / 0.7294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006791/5.502, allocations: 242.4 kB / 2.242 GB, free: 85.55 MB / 0.7294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004721/5.506, allocations: 2.146 MB / 2.244 GB, free: 85.38 MB / 0.7294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/5.506, allocations: 14.78 kB / 2.244 GB, free: 85.38 MB / 0.7294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/5.506, allocations: 7.844 kB / 2.244 GB, free: 85.38 MB / 0.7294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002965/5.509, allocations: 1.727 MB / 2.246 GB, free: 85.04 MB / 0.7294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008086/5.517, allocations: 4.186 MB / 2.25 GB, free: 84.59 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/5.518, allocations: 7.344 kB / 2.25 GB, free: 84.58 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/5.519, allocations: 273.9 kB / 2.25 GB, free: 84.58 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004226/5.519, allocations: 187 kB / 2.25 GB, free: 84.54 MB / 0.7294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-05/5.519, allocations: 21.94 kB / 2.25 GB, free: 84.54 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003834/5.523, allocations: 6.808 MB / 2.257 GB, free: 78.41 MB / 0.7294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/5.523, allocations: 3.359 kB / 2.257 GB, free: 78.41 MB / 0.7294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005046/5.528, allocations: 2.786 MB / 2.26 GB, free: 77.9 MB / 0.7294 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006114/5.534, allocations: 4.09 MB / 2.264 GB, free: 77.01 MB / 0.7294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/5.536, allocations: 0.5518 MB / 2.264 GB, free: 76.79 MB / 0.7294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004276/5.536, allocations: 6.344 kB / 2.264 GB, free: 76.79 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/5.538, allocations: 130.4 kB / 2.264 GB, free: 76.78 MB / 0.7294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/5.538, allocations: 81.39 kB / 2.265 GB, free: 76.78 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/5.538, allocations: 59.92 kB / 2.265 GB, free: 76.78 MB / 0.7294 GB Notification: Performance of sort global known variables: time 0.001893/5.54, allocations: 1.262 MB / 2.266 GB, free: 76.63 MB / 0.7294 GB Notification: Performance of remove unused functions: time 0.008879/5.549, allocations: 2.487 MB / 2.268 GB, free: 76.54 MB / 0.7294 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.004023/5.553, allocations: 1.76 MB / 2.27 GB, free: 76.29 MB / 0.7294 GB Notification: Performance of simCode: created initialization part: time 0.004944/5.558, allocations: 3.389 MB / 2.273 GB, free: 75.19 MB / 0.7294 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/5.558, allocations: 0 / 2.273 GB, free: 75.19 MB / 0.7294 GB Notification: Performance of simCode: created simulation system equations: time 0.001432/5.559, allocations: 1.153 MB / 2.274 GB, free: 74.79 MB / 0.7294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006119/5.565, allocations: 1.105 MB / 2.275 GB, free: 74.77 MB / 0.7294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008733/5.574, allocations: 4.049 MB / 2.279 GB, free: 73.83 MB / 0.7294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001876/5.576, allocations: 2.037 MB / 2.281 GB, free: 73.08 MB / 0.7294 GB Notification: Performance of SimCode: time 8.71e-07/5.576, allocations: 0 / 2.281 GB, free: 73.08 MB / 0.7294 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube/BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.c In file included from BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.c:2: In file included from ./BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c:1: In file included from ./BuildingSystems_BuildingSystems_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); ^ BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.c:1179: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_BaseClasses_Examples_InternalHEXTwoUTube_functions.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube/BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.def BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.a BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.so BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_FMU.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_functions.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_records.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_01exo.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_02nls.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_03lsy.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_04set.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_05evt.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_06inz.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_07dly.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_08bnd.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_09alg.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_10asr.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_11mix.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_12jac.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_13opt.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_14lnz.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_15syn.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_16dae.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_17inl.o BuildingSystems_BuildingSystems_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