Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 3.69/3.69, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4931/4.183, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/4.393, allocations: 98.73 MB / 0.6283 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/5.419, allocations: 420.8 MB / 1.039 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004323/5.419, allocations: 114.4 kB / 1.039 GB, free: 11.34 MB / 0.7917 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.04/42.46, allocations: 7.296 GB / 8.335 GB, free: 55.02 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/42.46, allocations: 11.84 kB / 8.335 GB, free: 55.02 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02231/42.48, allocations: 3.019 MB / 8.338 GB, free: 53.57 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.136/42.62, allocations: 35.66 MB / 8.373 GB, free: 50.39 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002439/42.62, allocations: 0.5396 MB / 8.373 GB, free: 50.38 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01252/42.63, allocations: 1.039 MB / 8.374 GB, free: 50.37 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.09896/42.73, allocations: 21.03 MB / 8.395 GB, free: 46.02 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09486/42.83, allocations: 22.48 MB / 8.417 GB, free: 26.71 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001313/42.83, allocations: 53.27 kB / 8.417 GB, free: 26.67 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006951/42.84, allocations: 20 kB / 8.417 GB, free: 26.65 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003954/42.84, allocations: 420 kB / 8.417 GB, free: 26.24 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.256/44.09, allocations: 103.7 MB / 8.519 GB, free: 95.7 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03106/44.12, allocations: 9.944 MB / 8.528 GB, free: 95.61 MB / 0.9168 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02638/44.15, allocations: 9.294 MB / 8.538 GB, free: 95.49 MB / 0.9168 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004267/44.16, allocations: 2.627 MB / 8.54 GB, free: 92.76 MB / 0.9168 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/44.16, allocations: 161.7 kB / 8.54 GB, free: 92.71 MB / 0.9168 GB Notification: Performance of pre-optimization done (n=1032): time 1.693e-05/44.16, allocations: 0 / 8.54 GB, free: 92.71 MB / 0.9168 GB Notification: Performance of matching and sorting (n=1032): time 0.06399/44.22, allocations: 16 MB / 8.556 GB, free: 91.08 MB / 0.9168 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/44.22, allocations: 157.2 kB / 8.556 GB, free: 91.01 MB / 0.9168 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07771/44.3, allocations: 21.88 MB / 8.577 GB, free: 90.11 MB / 0.9168 GB Notification: Performance of collectPreVariables (initialization): time 0.003882/44.3, allocations: 44.7 kB / 8.577 GB, free: 90.08 MB / 0.9168 GB Notification: Performance of collectInitialEqns (initialization): time 0.03745/44.34, allocations: 6.761 MB / 8.584 GB, free: 87.73 MB / 0.9168 GB Notification: Performance of collectInitialBindings (initialization): time 0.07668/44.42, allocations: 3.506 MB / 8.587 GB, free: 85.45 MB / 0.9168 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003701/44.42, allocations: 3.094 kB / 8.587 GB, free: 85.45 MB / 0.9168 GB Notification: Performance of setup shared object (initialization): time 0.002131/44.42, allocations: 0.8633 MB / 8.588 GB, free: 85.12 MB / 0.9168 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02351/44.45, allocations: 7.313 MB / 8.595 GB, free: 85.09 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02834/44.47, allocations: 10.94 MB / 8.606 GB, free: 81.62 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0402/44.51, allocations: 9.942 MB / 8.616 GB, free: 81.47 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003248/44.51, allocations: 25.28 kB / 8.616 GB, free: 81.47 MB / 0.9168 GB Notification: Performance of matching and sorting (n=1744) (initialization): time 0.09938/44.61, allocations: 21.77 MB / 8.637 GB, free: 79.86 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 0.02832/44.64, allocations: 59.42 MB / 8.695 GB, free: 82.44 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007555/44.64, allocations: 115.9 kB / 8.695 GB, free: 82.44 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007503/44.65, allocations: 2.016 MB / 8.697 GB, free: 82.12 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02643/44.68, allocations: 3.054 MB / 8.7 GB, free: 82.12 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176/45.85, allocations: 63.82 MB / 8.763 GB, free: 183.3 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0397/45.89, allocations: 2.008 MB / 8.765 GB, free: 183.3 MB / 0.995 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005253/45.9, allocations: 0.5421 MB / 8.765 GB, free: 183.3 MB / 0.995 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/45.9, allocations: 6.125 kB / 8.765 GB, free: 183.3 MB / 0.995 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07804/45.98, allocations: 19.77 MB / 8.784 GB, free: 182.7 MB / 0.995 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009208/45.98, allocations: 113.5 kB / 8.784 GB, free: 182.7 MB / 0.995 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007877/45.98, allocations: 2.027 MB / 8.786 GB, free: 182.4 MB / 0.995 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03243/46.02, allocations: 3.059 MB / 8.789 GB, free: 182.4 MB / 0.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08952/46.11, allocations: 64.76 MB / 8.853 GB, free: 131.2 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03561/46.14, allocations: 1.832 MB / 8.854 GB, free: 131.2 MB / 0.995 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004803/46.15, allocations: 0.533 MB / 8.855 GB, free: 131.2 MB / 0.995 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.007894/46.16, allocations: 449.6 kB / 8.855 GB, free: 131.1 MB / 0.995 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01121/46.17, allocations: 1.853 MB / 8.857 GB, free: 130.3 MB / 0.995 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07559/46.24, allocations: 17.77 MB / 8.875 GB, free: 129.3 MB / 0.995 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002402/46.24, allocations: 97.41 kB / 8.875 GB, free: 129.3 MB / 0.995 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001198/46.24, allocations: 20.66 kB / 8.875 GB, free: 129.3 MB / 0.995 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05124/46.29, allocations: 14.28 MB / 8.889 GB, free: 128.6 MB / 0.995 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.159/46.45, allocations: 44.24 MB / 8.932 GB, free: 124.1 MB / 0.995 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001316/46.45, allocations: 6.203 kB / 8.932 GB, free: 124.1 MB / 0.995 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02622/46.48, allocations: 2.234 MB / 8.934 GB, free: 124.1 MB / 0.995 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008384/46.49, allocations: 1.885 MB / 8.936 GB, free: 123.7 MB / 0.995 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00325/46.49, allocations: 168.4 kB / 8.936 GB, free: 123.7 MB / 0.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06953/46.56, allocations: 63.54 MB / 8.998 GB, free: 72.41 MB / 0.995 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/46.56, allocations: 7.75 kB / 8.998 GB, free: 72.4 MB / 0.995 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.09209/46.65, allocations: 26.02 MB / 9.023 GB, free: 70.26 MB / 0.995 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1241/46.78, allocations: 36.44 MB / 9.059 GB, free: 67.67 MB / 0.995 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03303/46.81, allocations: 5.037 MB / 9.064 GB, free: 65.12 MB / 0.995 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01518/46.83, allocations: 87 kB / 9.064 GB, free: 65.09 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0445/46.87, allocations: 1.127 MB / 9.065 GB, free: 65.04 MB / 0.995 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004203/46.87, allocations: 0.5015 MB / 9.066 GB, free: 64.97 MB / 0.995 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004313/46.88, allocations: 380.2 kB / 9.066 GB, free: 64.89 MB / 0.995 GB Notification: Performance of sort global known variables: time 0.06524/46.94, allocations: 16.79 MB / 9.082 GB, free: 58.91 MB / 0.995 GB Notification: Performance of remove unused functions: time 0.102/47.05, allocations: 13.13 MB / 9.095 GB, free: 56.72 MB / 0.995 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (919): * Single equations (assignments): 872 * 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.008178/47.05, allocations: 1.852 MB / 9.097 GB, free: 56.37 MB / 0.995 GB Notification: Performance of simCode: created initialization part: time 0.1147/47.17, allocations: 36.17 MB / 9.132 GB, free: 34.29 MB / 0.995 GB Notification: Performance of simCode: created event and clocks part: time 1.898e-05/47.17, allocations: 6.594 kB / 9.132 GB, free: 34.29 MB / 0.995 GB Notification: Performance of simCode: created simulation system equations: time 0.02634/47.2, allocations: 11.49 MB / 9.144 GB, free: 23.66 MB / 0.995 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1015/47.3, allocations: 10.49 MB / 9.154 GB, free: 16.48 MB / 0.995 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7589/48.06, allocations: 49.58 MB / 9.202 GB, free: 146.2 MB / 0.995 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.06944/48.13, allocations: 18.95 MB / 9.221 GB, free: 145 MB / 0.995 GB Notification: Performance of SimCode: time 1.693e-06/48.13, allocations: 0 / 9.221 GB, free: 145 MB / 0.995 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube/Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.c In file included from Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.c In file included from Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.c:2: In file included from ./Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c In file included from Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c:1: In file included from ./Buildings_6_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_6_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_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o] Error 1 make: Leaving directory '/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube/Buildings_6_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_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.def Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.a Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.so Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_records.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_01exo.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_02nls.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_03lsy.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_04set.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_05evt.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_06inz.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_07dly.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_09alg.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_10asr.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_11mix.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_12jac.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_13opt.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_14lnz.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_15syn.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_16dae.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_17inl.o Buildings_6_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