Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.conf.json 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 Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube",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 7.0.1/package.mo): time 2.236/2.236, allocations: 248.6 MB / 255.9 MB, free: 7.148 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001768/0.001768, allocations: 179.6 kB / 315.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.1 MB / 0.5658 GB, free: 392 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001331/0.001331, allocations: 91.12 kB / 0.67 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4772/0.4786, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.6907, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.491/2.181, allocations: 429 MB / 1.302 GB, free: 260.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004255/2.182, allocations: 111.9 kB / 1.303 GB, free: 260.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4407 * Number of variables: 4407 Notification: Performance of Generate backend data structure: time 37.21/39.4, allocations: 7.296 GB / 8.599 GB, free: 46.58 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/39.4, allocations: 9.5 kB / 8.599 GB, free: 46.58 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02631/39.42, allocations: 3.016 MB / 8.602 GB, free: 45.14 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.166/39.59, allocations: 35.39 MB / 8.637 GB, free: 25.38 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001971/39.59, allocations: 0.5391 MB / 8.637 GB, free: 24.84 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01208/39.6, allocations: 1.035 MB / 8.638 GB, free: 23.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.09105/39.69, allocations: 21.04 MB / 8.659 GB, free: 2.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.094/40.79, allocations: 22.48 MB / 8.681 GB, free: 122.4 MB / 0.9637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001659/40.79, allocations: 64.11 kB / 8.681 GB, free: 122.4 MB / 0.9637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008265/40.8, allocations: 18.59 kB / 8.681 GB, free: 122.4 MB / 0.9637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004974/40.8, allocations: 421.2 kB / 8.681 GB, free: 122.4 MB / 0.9637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3078/41.11, allocations: 103.7 MB / 8.782 GB, free: 95.25 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03078/41.14, allocations: 9.928 MB / 8.792 GB, free: 95.16 MB / 0.9637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02638/41.16, allocations: 9.304 MB / 8.801 GB, free: 95.04 MB / 0.9637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005166/41.17, allocations: 2.623 MB / 8.804 GB, free: 92.31 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004199/41.17, allocations: 162 kB / 8.804 GB, free: 92.26 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=1034): time 3.715e-05/41.17, allocations: 2.656 kB / 8.804 GB, free: 92.26 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1034): time 0.09085/41.26, allocations: 16.01 MB / 8.819 GB, free: 90.63 MB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001855/41.26, allocations: 157.1 kB / 8.82 GB, free: 90.55 MB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0795/41.34, allocations: 21.88 MB / 8.841 GB, free: 89.66 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.003659/41.34, allocations: 44.27 kB / 8.841 GB, free: 89.63 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.03438/41.38, allocations: 6.744 MB / 8.848 GB, free: 86.88 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.05232/41.43, allocations: 3.509 MB / 8.851 GB, free: 84.57 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003613/41.44, allocations: 0 / 8.851 GB, free: 84.57 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.002148/41.44, allocations: 0.8716 MB / 8.852 GB, free: 84.23 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02269/41.46, allocations: 7.314 MB / 8.859 GB, free: 84.2 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02871/41.49, allocations: 10.95 MB / 8.87 GB, free: 80.73 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03367/41.52, allocations: 9.943 MB / 8.879 GB, free: 80.58 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001827/41.52, allocations: 25.69 kB / 8.879 GB, free: 80.58 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1744) (initialization): time 0.08474/41.61, allocations: 21.75 MB / 8.901 GB, free: 75.17 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.03725/41.64, allocations: 59.09 MB / 8.958 GB, free: 78.59 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001265/41.65, allocations: 112.6 kB / 8.959 GB, free: 78.59 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009459/41.66, allocations: 2.016 MB / 8.96 GB, free: 77.78 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02589/41.68, allocations: 3.055 MB / 8.963 GB, free: 77.68 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116/42.8, allocations: 63.81 MB / 9.026 GB, free: 145.2 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04817/42.85, allocations: 2.015 MB / 9.028 GB, free: 145.2 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005981/42.85, allocations: 0.5344 MB / 9.028 GB, free: 145.2 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/42.85, allocations: 3.469 kB / 9.028 GB, free: 145.2 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08556/42.94, allocations: 19.77 MB / 9.048 GB, free: 144.6 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007241/42.94, allocations: 115.9 kB / 9.048 GB, free: 144.6 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006827/42.95, allocations: 2.027 MB / 9.05 GB, free: 144.3 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02582/42.97, allocations: 3.062 MB / 9.053 GB, free: 144.3 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06926/43.04, allocations: 64.75 MB / 9.116 GB, free: 93 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04029/43.08, allocations: 1.824 MB / 9.118 GB, free: 93 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004976/43.09, allocations: 0.5423 MB / 9.118 GB, free: 93 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1580): * Single equations (assignments): 1529 * 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: 41 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 40 {(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,(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: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.008579/43.09, allocations: 435.3 kB / 9.119 GB, free: 92.89 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01125/43.11, allocations: 1.858 MB / 9.12 GB, free: 92.06 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08138/43.19, allocations: 17.78 MB / 9.138 GB, free: 91.11 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000409/43.19, allocations: 101.8 kB / 9.138 GB, free: 91.11 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002174/43.19, allocations: 19.28 kB / 9.138 GB, free: 91.11 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05302/43.24, allocations: 14.3 MB / 9.152 GB, free: 90.41 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1524/43.39, allocations: 44.36 MB / 9.195 GB, free: 85.87 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001244/43.39, allocations: 0 / 9.195 GB, free: 85.87 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02218/43.42, allocations: 2.237 MB / 9.197 GB, free: 85.87 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006883/43.42, allocations: 1.887 MB / 9.199 GB, free: 85.55 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003284/43.43, allocations: 166.6 kB / 9.199 GB, free: 85.55 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07386/43.5, allocations: 63.55 MB / 9.261 GB, free: 66.23 MB / 1.058 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/43.5, allocations: 2.125 kB / 9.261 GB, free: 66.23 MB / 1.058 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.08686/43.59, allocations: 26.29 MB / 9.287 GB, free: 63.81 MB / 1.058 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1122/43.7, allocations: 36.7 MB / 9.323 GB, free: 60.74 MB / 1.058 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02489/43.72, allocations: 5.101 MB / 9.328 GB, free: 58.06 MB / 1.058 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01193/43.74, allocations: 81.02 kB / 9.328 GB, free: 58.04 MB / 1.058 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03188/43.77, allocations: 1.133 MB / 9.329 GB, free: 57.99 MB / 1.058 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005164/43.77, allocations: 0.5101 MB / 9.33 GB, free: 57.91 MB / 1.058 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004756/43.78, allocations: 371.8 kB / 9.33 GB, free: 57.84 MB / 1.058 GB Notification: Performance of sort global known variables: time 0.0553/43.83, allocations: 16.79 MB / 9.346 GB, free: 51.86 MB / 1.058 GB Notification: Performance of remove unused functions: time 0.1034/43.94, allocations: 13.13 MB / 9.359 GB, free: 49.77 MB / 1.058 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 80 (borHol.intHex[1].vol1.dynBal.U,borHol.intHex[1].vol2.dynBal.U,borHol.intHex[1].vol3.dynBal.U,borHol.intHex[1].vol4.dynBal.U,borHol.intHex[1].intRes2UTub.capFil1.T,borHol.intHex[1].intRes2UTub.capFil2.T,borHol.intHex[1].intRes2UTub.capFil3.T,borHol.intHex[1].intRes2UTub.capFil4.T,borHol.intHex[2].vol1.dynBal.U,borHol.intHex[2].vol2.dynBal.U,borHol.intHex[2].vol3.dynBal.U,borHol.intHex[2].vol4.dynBal.U,borHol.intHex[2].intRes2UTub.capFil1.T,borHol.intHex[2].intRes2UTub.capFil2.T,borHol.intHex[2].intRes2UTub.capFil3.T,borHol.intHex[2].intRes2UTub.capFil4.T,borHol.intHex[3].vol1.dynBal.U,borHol.intHex[3].vol2.dynBal.U,borHol.intHex[3].vol3.dynBal.U,borHol.intHex[3].vol4.dynBal.U,borHol.intHex[3].intRes2UTub.capFil1.T,borHol.intHex[3].intRes2UTub.capFil2.T,borHol.intHex[3].intRes2UTub.capFil3.T,borHol.intHex[3].intRes2UTub.capFil4.T,borHol.intHex[4].vol1.dynBal.U,borHol.intHex[4].vol2.dynBal.U,borHol.intHex[4].vol3.dynBal.U,borHol.intHex[4].vol4.dynBal.U,borHol.intHex[4].intRes2UTub.capFil1.T,borHol.intHex[4].intRes2UTub.capFil2.T,borHol.intHex[4].intRes2UTub.capFil3.T,borHol.intHex[4].intRes2UTub.capFil4.T,borHol.intHex[5].vol1.dynBal.U,borHol.intHex[5].vol2.dynBal.U,borHol.intHex[5].vol3.dynBal.U,borHol.intHex[5].vol4.dynBal.U,borHol.intHex[5].intRes2UTub.capFil1.T,borHol.intHex[5].intRes2UTub.capFil2.T,borHol.intHex[5].intRes2UTub.capFil3.T,borHol.intHex[5].intRes2UTub.capFil4.T,borHol.intHex[6].vol1.dynBal.U,borHol.intHex[6].vol2.dynBal.U,borHol.intHex[6].vol3.dynBal.U,borHol.intHex[6].vol4.dynBal.U,borHol.intHex[6].intRes2UTub.capFil1.T,borHol.intHex[6].intRes2UTub.capFil2.T,borHol.intHex[6].intRes2UTub.capFil3.T,borHol.intHex[6].intRes2UTub.capFil4.T,borHol.intHex[7].vol1.dynBal.U,borHol.intHex[7].vol2.dynBal.U,borHol.intHex[7].vol3.dynBal.U,borHol.intHex[7].vol4.dynBal.U,borHol.intHex[7].intRes2UTub.capFil1.T,borHol.intHex[7].intRes2UTub.capFil2.T,borHol.intHex[7].intRes2UTub.capFil3.T,borHol.intHex[7].intRes2UTub.capFil4.T,borHol.intHex[8].vol1.dynBal.U,borHol.intHex[8].vol2.dynBal.U,borHol.intHex[8].vol3.dynBal.U,borHol.intHex[8].vol4.dynBal.U,borHol.intHex[8].intRes2UTub.capFil1.T,borHol.intHex[8].intRes2UTub.capFil2.T,borHol.intHex[8].intRes2UTub.capFil3.T,borHol.intHex[8].intRes2UTub.capFil4.T,borHol.intHex[9].vol1.dynBal.U,borHol.intHex[9].vol2.dynBal.U,borHol.intHex[9].vol3.dynBal.U,borHol.intHex[9].vol4.dynBal.U,borHol.intHex[9].intRes2UTub.capFil1.T,borHol.intHex[9].intRes2UTub.capFil2.T,borHol.intHex[9].intRes2UTub.capFil3.T,borHol.intHex[9].intRes2UTub.capFil4.T,borHol.intHex[10].vol1.dynBal.U,borHol.intHex[10].vol2.dynBal.U,borHol.intHex[10].vol3.dynBal.U,borHol.intHex[10].vol4.dynBal.U,borHol.intHex[10].intRes2UTub.capFil1.T,borHol.intHex[10].intRes2UTub.capFil2.T,borHol.intHex[10].intRes2UTub.capFil3.T,borHol.intHex[10].intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (921): * Single equations (assignments): 874 * 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: 41 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 40 {(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,(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: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.008784/43.95, allocations: 1.845 MB / 9.361 GB, free: 49.43 MB / 1.058 GB Notification: Performance of simCode: created initialization part: time 0.6945/44.64, allocations: 36.17 MB / 9.396 GB, free: 185.5 MB / 1.058 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-05/44.64, allocations: 4.219 kB / 9.396 GB, free: 185.5 MB / 1.058 GB Notification: Performance of simCode: created simulation system equations: time 0.03271/44.67, allocations: 11.5 MB / 9.408 GB, free: 181.5 MB / 1.058 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1282/44.8, allocations: 10.48 MB / 9.418 GB, free: 181.3 MB / 1.058 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2178/45.02, allocations: 49.55 MB / 9.466 GB, free: 173.5 MB / 1.058 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.06788/45.09, allocations: 18.95 MB / 9.485 GB, free: 171.9 MB / 1.058 GB Notification: Performance of SimCode: time 1.754e-06/45.09, allocations: 3.281 kB / 9.485 GB, free: 171.9 MB / 1.058 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube/Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.fmutmp/sources' clang -fPIC -O0 -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=Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=121 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_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 -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=Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=121 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.c:2: In file included from ./Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_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 -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=Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=121 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c:1: In file included from ./Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_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_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_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. : recipe for target 'Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube/Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.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... /bin/grep checking for egrep... /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_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.def Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.a Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.so Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_records.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_01exo.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_02nls.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_03lsy.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_04set.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_05evt.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_06inz.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_07dly.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_09alg.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_10asr.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_11mix.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_12jac.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_13opt.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_14lnz.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_15syn.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_16dae.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_17inl.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_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