Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.8195/0.8195, allocations: 127.4 MB / 134.6 MB, free: 4.07 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001558/0.001558, allocations: 173.3 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.1 MB / 399.1 MB, free: 6.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 88.03 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3308/0.332, allocations: 82.92 MB / 0.5461 GB, free: 42.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.5221, allocations: 76.74 MB / 0.621 GB, free: 13.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.328/1.85, allocations: 406.5 MB / 1.018 GB, free: 73.66 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000374/1.85, allocations: 116.6 kB / 1.018 GB, free: 73.59 MB / 0.6198 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 33.8/35.65, allocations: 7.353 GB / 8.371 GB, free: 40.67 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/35.65, allocations: 7.812 kB / 8.371 GB, free: 40.67 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03761/35.69, allocations: 3.023 MB / 8.374 GB, free: 39.22 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1922/35.88, allocations: 39.53 MB / 8.413 GB, free: 9.57 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001719/35.88, allocations: 0.5391 MB / 8.414 GB, free: 9.031 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0111/35.9, allocations: 1.039 MB / 8.415 GB, free: 7.992 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 1.079/36.97, allocations: 20.41 MB / 8.434 GB, free: 92.7 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1037/37.08, allocations: 22.16 MB / 8.456 GB, free: 91.08 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001951/37.08, allocations: 56.19 kB / 8.456 GB, free: 91.08 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01273/37.09, allocations: 20.12 kB / 8.456 GB, free: 91.08 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001007/37.09, allocations: 420.8 kB / 8.457 GB, free: 91.08 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2785/37.37, allocations: 103.8 MB / 8.558 GB, free: 78.34 MB / 0.7762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0242/37.4, allocations: 9.293 MB / 8.567 GB, free: 78.25 MB / 0.7762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02257/37.42, allocations: 8.934 MB / 8.576 GB, free: 78.13 MB / 0.7762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004444/37.42, allocations: 2.459 MB / 8.578 GB, free: 75.59 MB / 0.7762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003986/37.42, allocations: 163.1 kB / 8.578 GB, free: 75.54 MB / 0.7762 GB Notification: Performance of pre-optimization done (n=1029): time 6.361e-05/37.42, allocations: 0 / 8.578 GB, free: 75.54 MB / 0.7762 GB Notification: Performance of matching and sorting (n=1029): time 0.06506/37.49, allocations: 15.66 MB / 8.594 GB, free: 73.91 MB / 0.7762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001777/37.49, allocations: 154.7 kB / 8.594 GB, free: 73.83 MB / 0.7762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0881/37.58, allocations: 21.25 MB / 8.615 GB, free: 68.07 MB / 0.7762 GB Notification: Performance of collectPreVariables (initialization): time 0.004929/37.58, allocations: 44.02 kB / 8.615 GB, free: 68.04 MB / 0.7762 GB Notification: Performance of collectInitialEqns (initialization): time 0.02883/37.61, allocations: 6.762 MB / 8.621 GB, free: 64.08 MB / 0.7762 GB Notification: Performance of collectInitialBindings (initialization): time 0.03993/37.65, allocations: 3.5 MB / 8.625 GB, free: 61.33 MB / 0.7762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004764/37.66, allocations: 2.953 kB / 8.625 GB, free: 61.33 MB / 0.7762 GB Notification: Performance of setup shared object (initialization): time 0.003317/37.66, allocations: 0.8658 MB / 8.625 GB, free: 60.79 MB / 0.7762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02021/37.68, allocations: 6.913 MB / 8.632 GB, free: 58.26 MB / 0.7762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02548/37.71, allocations: 10.73 MB / 8.643 GB, free: 51.55 MB / 0.7762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02858/37.73, allocations: 9.571 MB / 8.652 GB, free: 48.34 MB / 0.7762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003135/37.73, allocations: 28.41 kB / 8.652 GB, free: 48.34 MB / 0.7762 GB Notification: Performance of matching and sorting (n=1743) (initialization): time 0.07956/37.81, allocations: 21.28 MB / 8.673 GB, free: 41.29 MB / 0.7762 GB Notification: Performance of prepare postOptimizeDAE: time 1.204/39.02, allocations: 66 MB / 8.737 GB, free: 80.47 MB / 0.8075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008694/39.02, allocations: 124.9 kB / 8.737 GB, free: 80.47 MB / 0.8075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005229/39.02, allocations: 2.101 MB / 8.739 GB, free: 80.15 MB / 0.8075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01649/39.04, allocations: 3.068 MB / 8.742 GB, free: 80.15 MB / 0.8075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05931/39.1, allocations: 63.94 MB / 8.805 GB, free: 61.64 MB / 0.8388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03354/39.13, allocations: 1.874 MB / 8.807 GB, free: 61.64 MB / 0.8388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005359/39.14, allocations: 0.5557 MB / 8.807 GB, free: 61.64 MB / 0.8388 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/39.14, allocations: 3.625 kB / 8.807 GB, free: 61.64 MB / 0.8388 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05983/39.2, allocations: 19 MB / 8.826 GB, free: 61.07 MB / 0.8388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007651/39.2, allocations: 118.8 kB / 8.826 GB, free: 61.07 MB / 0.8388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004624/39.2, allocations: 2.042 MB / 8.828 GB, free: 60.75 MB / 0.8388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01596/39.22, allocations: 3.066 MB / 8.831 GB, free: 60.75 MB / 0.8388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06652/39.29, allocations: 64.78 MB / 8.894 GB, free: 57.45 MB / 0.8857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03337/39.32, allocations: 1.684 MB / 8.896 GB, free: 57.22 MB / 0.8857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006612/39.33, allocations: 0.5486 MB / 8.896 GB, free: 57.22 MB / 0.8857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 401 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1579): * Single equations (assignments): 1528 * 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.01048/39.34, allocations: 454.8 kB / 8.897 GB, free: 57.11 MB / 0.8857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01189/39.35, allocations: 1.852 MB / 8.899 GB, free: 56.13 MB / 0.8857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05695/39.41, allocations: 17.29 MB / 8.916 GB, free: 55.18 MB / 0.8857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002238/39.41, allocations: 100.9 kB / 8.916 GB, free: 55.18 MB / 0.8857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001979/39.41, allocations: 18.94 kB / 8.916 GB, free: 55.18 MB / 0.8857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04322/39.45, allocations: 13.86 MB / 8.929 GB, free: 54.49 MB / 0.8857 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1584/39.61, allocations: 42.17 MB / 8.97 GB, free: 49.98 MB / 0.8857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.592e-05/39.61, allocations: 0 / 8.97 GB, free: 49.98 MB / 0.8857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01207/39.62, allocations: 2.179 MB / 8.972 GB, free: 49.98 MB / 0.8857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004856/39.63, allocations: 1.974 MB / 8.974 GB, free: 49.66 MB / 0.8857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003551/39.63, allocations: 161.1 kB / 8.975 GB, free: 49.66 MB / 0.8857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7555/40.39, allocations: 65.46 MB / 9.038 GB, free: 155.3 MB / 0.8857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/40.39, allocations: 4.156 kB / 9.038 GB, free: 155.3 MB / 0.8857 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06605/40.45, allocations: 25.01 MB / 9.063 GB, free: 154.4 MB / 0.8857 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.09457/40.55, allocations: 34.96 MB / 9.097 GB, free: 152 MB / 0.8857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02693/40.57, allocations: 4.893 MB / 9.102 GB, free: 150.9 MB / 0.8857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01423/40.59, allocations: 87.05 kB / 9.102 GB, free: 150.9 MB / 0.8857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02749/40.61, allocations: 1.068 MB / 9.103 GB, free: 150.9 MB / 0.8857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004127/40.62, allocations: 0.5067 MB / 9.103 GB, free: 150.9 MB / 0.8857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004518/40.62, allocations: 373 kB / 9.104 GB, free: 150.9 MB / 0.8857 GB Notification: Performance of sort global known variables: time 0.06461/40.69, allocations: 16.36 MB / 9.12 GB, free: 150.4 MB / 0.8857 GB Notification: Performance of remove unused functions: time 0.1115/40.8, allocations: 13 MB / 9.132 GB, free: 149.1 MB / 0.8857 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (914): * Single equations (assignments): 869 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.01274/40.81, allocations: 1.88 MB / 9.134 GB, free: 148.8 MB / 0.8857 GB Notification: Performance of simCode: created initialization part: time 0.08638/40.9, allocations: 35.05 MB / 9.169 GB, free: 139.8 MB / 0.8857 GB Notification: Performance of simCode: created event and clocks part: time 2.317e-05/40.9, allocations: 5.719 kB / 9.169 GB, free: 139.8 MB / 0.8857 GB Notification: Performance of simCode: created simulation system equations: time 0.02402/40.92, allocations: 11.29 MB / 9.18 GB, free: 135.7 MB / 0.8857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08498/41.01, allocations: 10.48 MB / 9.19 GB, free: 135.5 MB / 0.8857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1874/41.2, allocations: 49 MB / 9.238 GB, free: 126.5 MB / 0.8857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.06287/41.26, allocations: 18.93 MB / 9.256 GB, free: 120.2 MB / 0.8857 GB Notification: Performance of SimCode: time 1.683e-06/41.26, allocations: 0 / 9.256 GB, free: 120.2 MB / 0.8857 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube/BuildSysPro_BuildSysPro_IBPSA_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. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.c In file included from BuildSysPro_BuildSysPro_IBPSA_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. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.c:2: In file included from ./BuildSysPro_BuildSysPro_IBPSA_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. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c:1: In file included from ./BuildSysPro_BuildSysPro_IBPSA_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); ^ BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c:1123: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: *** [: BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube/BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.def BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.a BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.so BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_records.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_01exo.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_02nls.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_03lsy.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_04set.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_05evt.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_06inz.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_07dly.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_09alg.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_10asr.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_11mix.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_12jac.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_13opt.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_14lnz.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_15syn.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_16dae.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_17inl.o BuildSysPro_BuildSysPro_IBPSA_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