Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.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.Examples.BoreholeTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7423/0.7423, allocations: 141.8 MB / 149.1 MB, free: 1.363 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 187.9 kB / 181.9 MB, free: 0.7188 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.343/1.343, allocations: 221.4 MB / 436 MB, free: 5.402 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.0008942/0.0008942, allocations: 104.5 kB / 0.507 GB, free: 2.074 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001713/0.001713, allocations: 287.3 kB / 0.5885 GB, free: 47.21 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3649/0.3667, allocations: 89.65 MB / 0.676 GB, free: 59.56 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.5406, allocations: 82.78 MB / 0.7568 GB, free: 0.5469 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.633, allocations: 407.1 MB / 1.154 GB, free: 266.8 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004776/1.633, allocations: 115.9 kB / 1.155 GB, free: 266.8 MB / 0.7138 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 27.5/29.13, allocations: 7.423 GB / 8.578 GB, free: 48.29 MB / 0.8232 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/29.13, allocations: 10.34 kB / 8.578 GB, free: 48.29 MB / 0.8232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02011/29.15, allocations: 3.023 MB / 8.581 GB, free: 46.84 MB / 0.8232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08864/29.24, allocations: 35.35 MB / 8.615 GB, free: 43.69 MB / 0.8232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001225/29.24, allocations: 0.54 MB / 8.616 GB, free: 43.69 MB / 0.8232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008629/29.25, allocations: 1.039 MB / 8.617 GB, free: 43.67 MB / 0.8232 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06074/29.31, allocations: 21.04 MB / 8.638 GB, free: 43.6 MB / 0.8232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07917/29.39, allocations: 22.48 MB / 8.66 GB, free: 29.67 MB / 0.8232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001504/29.39, allocations: 57.92 kB / 8.66 GB, free: 29.63 MB / 0.8232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008633/29.4, allocations: 20 kB / 8.66 GB, free: 29.61 MB / 0.8232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000515/29.4, allocations: 426.5 kB / 8.66 GB, free: 29.2 MB / 0.8232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.084/30.48, allocations: 103.8 MB / 8.761 GB, free: 88.54 MB / 0.8233 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01941/30.5, allocations: 9.931 MB / 8.771 GB, free: 88.45 MB / 0.8233 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01709/30.52, allocations: 9.305 MB / 8.78 GB, free: 88.33 MB / 0.8233 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002927/30.52, allocations: 2.633 MB / 8.783 GB, free: 85.6 MB / 0.8233 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/30.52, allocations: 158.5 kB / 8.783 GB, free: 85.55 MB / 0.8233 GB Notification: Performance of pre-optimization done (n=1034): time 1.149e-05/30.52, allocations: 0 / 8.783 GB, free: 85.55 MB / 0.8233 GB Notification: Performance of matching and sorting (n=1034): time 0.04633/30.57, allocations: 16 MB / 8.798 GB, free: 83.92 MB / 0.8233 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.227e-05/30.57, allocations: 166.8 kB / 8.799 GB, free: 83.85 MB / 0.8233 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05701/30.63, allocations: 21.88 MB / 8.82 GB, free: 82.95 MB / 0.8233 GB Notification: Performance of collectPreVariables (initialization): time 0.003421/30.63, allocations: 46.73 kB / 8.82 GB, free: 82.92 MB / 0.8233 GB Notification: Performance of collectInitialEqns (initialization): time 0.02577/30.65, allocations: 6.736 MB / 8.827 GB, free: 80.52 MB / 0.8233 GB Notification: Performance of collectInitialBindings (initialization): time 0.04156/30.7, allocations: 3.51 MB / 8.83 GB, free: 78.2 MB / 0.8233 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003574/30.7, allocations: 0 / 8.83 GB, free: 78.2 MB / 0.8233 GB Notification: Performance of setup shared object (initialization): time 0.002251/30.7, allocations: 0.8661 MB / 8.831 GB, free: 77.87 MB / 0.8233 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01629/30.72, allocations: 7.315 MB / 8.838 GB, free: 77.84 MB / 0.8233 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02227/30.74, allocations: 10.95 MB / 8.849 GB, free: 74.37 MB / 0.8233 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02505/30.77, allocations: 9.945 MB / 8.858 GB, free: 74.22 MB / 0.8233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002976/30.77, allocations: 26.03 kB / 8.858 GB, free: 74.22 MB / 0.8233 GB Notification: Performance of matching and sorting (n=1744) (initialization): time 0.06898/30.84, allocations: 21.75 MB / 8.88 GB, free: 72.61 MB / 0.8233 GB Notification: Performance of prepare postOptimizeDAE: time 0.01763/30.85, allocations: 59.09 MB / 8.937 GB, free: 60.61 MB / 0.8702 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007272/30.85, allocations: 110.8 kB / 8.938 GB, free: 60.61 MB / 0.8702 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004382/30.86, allocations: 2.019 MB / 8.939 GB, free: 60.28 MB / 0.8702 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01494/30.87, allocations: 3.056 MB / 8.942 GB, free: 60.28 MB / 0.8702 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.541/31.41, allocations: 63.81 MB / 9.005 GB, free: 119.9 MB / 0.8702 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02648/31.44, allocations: 2.007 MB / 9.007 GB, free: 119.9 MB / 0.8702 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004434/31.44, allocations: 0.5399 MB / 9.007 GB, free: 119.9 MB / 0.8702 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/31.45, allocations: 3.969 kB / 9.007 GB, free: 119.9 MB / 0.8702 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04485/31.49, allocations: 19.77 MB / 9.027 GB, free: 119.3 MB / 0.8702 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004735/31.49, allocations: 111.8 kB / 9.027 GB, free: 119.3 MB / 0.8702 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003631/31.49, allocations: 2.032 MB / 9.029 GB, free: 119 MB / 0.8702 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01381/31.51, allocations: 3.051 MB / 9.032 GB, free: 119 MB / 0.8702 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0399/31.55, allocations: 64.78 MB / 9.095 GB, free: 67.53 MB / 0.8702 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02474/31.57, allocations: 1.825 MB / 9.097 GB, free: 67.26 MB / 0.8702 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004191/31.58, allocations: 0.5415 MB / 9.097 GB, free: 67.26 MB / 0.8702 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.005591/31.58, allocations: 440.6 kB / 9.098 GB, free: 67.15 MB / 0.8702 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007578/31.59, allocations: 1.85 MB / 9.099 GB, free: 66.17 MB / 0.8702 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04188/31.63, allocations: 17.77 MB / 9.117 GB, free: 65.22 MB / 0.8702 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001235/31.63, allocations: 108.4 kB / 9.117 GB, free: 65.21 MB / 0.8702 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.398e-05/31.63, allocations: 21.25 kB / 9.117 GB, free: 65.21 MB / 0.8702 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03004/31.66, allocations: 14.29 MB / 9.131 GB, free: 64.52 MB / 0.8702 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1142/31.78, allocations: 44.35 MB / 9.174 GB, free: 59.98 MB / 0.8702 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.46e-05/31.78, allocations: 2.906 kB / 9.174 GB, free: 59.98 MB / 0.8702 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01214/31.79, allocations: 2.236 MB / 9.176 GB, free: 59.98 MB / 0.8702 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004095/31.79, allocations: 1.888 MB / 9.178 GB, free: 59.66 MB / 0.8702 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002457/31.8, allocations: 169.4 kB / 9.178 GB, free: 59.66 MB / 0.8702 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04378/31.84, allocations: 63.54 MB / 9.24 GB, free: 40.33 MB / 0.9014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-06/31.84, allocations: 4.281 kB / 9.24 GB, free: 40.33 MB / 0.9014 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05719/31.9, allocations: 26.28 MB / 9.266 GB, free: 37.93 MB / 0.9014 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.07775/31.97, allocations: 36.7 MB / 9.302 GB, free: 24.52 MB / 0.9014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02058/31.99, allocations: 5.107 MB / 9.307 GB, free: 21.8 MB / 0.9014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01113/32.01, allocations: 87.55 kB / 9.307 GB, free: 21.77 MB / 0.9014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02288/32.03, allocations: 1.127 MB / 9.308 GB, free: 21.69 MB / 0.9014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00342/32.03, allocations: 0.5125 MB / 9.309 GB, free: 21.61 MB / 0.9014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003135/32.04, allocations: 372.3 kB / 9.309 GB, free: 21.54 MB / 0.9014 GB Notification: Performance of sort global known variables: time 0.04775/32.08, allocations: 16.8 MB / 9.325 GB, free: 15.55 MB / 0.9014 GB Notification: Performance of remove unused functions: time 0.08393/32.17, allocations: 13.13 MB / 9.338 GB, free: 7.25 MB / 0.9014 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.007774/32.18, allocations: 1.849 MB / 9.34 GB, free: 6.086 MB / 0.9014 GB Notification: Performance of simCode: created initialization part: time 0.566/32.74, allocations: 38.67 MB / 9.378 GB, free: 145.1 MB / 0.9014 GB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/32.74, allocations: 13.81 kB / 9.378 GB, free: 145.1 MB / 0.9014 GB Notification: Performance of simCode: created simulation system equations: time 0.01743/32.76, allocations: 11.5 MB / 9.389 GB, free: 141.1 MB / 0.9014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05579/32.81, allocations: 10.49 MB / 9.399 GB, free: 140.9 MB / 0.9014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.139/32.95, allocations: 49.56 MB / 9.448 GB, free: 132.5 MB / 0.9014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04698/33, allocations: 18.94 MB / 9.466 GB, free: 131 MB / 0.9014 GB Notification: Performance of SimCode: time 1.613e-06/33, allocations: 0 / 9.466 GB, free: 131 MB / 0.9014 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube/BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.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_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.c In file included from BuildingSystems_BuildingSystems_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 -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_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.c:2: In file included from ./BuildingSystems_BuildingSystems_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 -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_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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c In file included from BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c:1: In file included from ./BuildingSystems_BuildingSystems_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); ^ BuildingSystems_BuildingSystems_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. make: *** [: BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube/BuildingSystems_BuildingSystems_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... /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_Examples_BoreholeTwoUTube.def BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.a BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.so BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_records.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_01exo.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_02nls.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_03lsy.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_04set.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_05evt.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_06inz.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_07dly.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_09alg.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_10asr.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_11mix.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_12jac.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_13opt.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_14lnz.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_15syn.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_16dae.o BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_17inl.o BuildingSystems_BuildingSystems_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