Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.057/2.057, allocations: 387.2 MB / 394.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 177.3 kB / 487 MB, free: 5.359 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 221.3 MB / 0.7819 GB, free: 1.422 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 96.62 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.63/0.6311, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.9188, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.99, allocations: 447.2 MB / 1.642 GB, free: 7.531 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/1.99, allocations: 112.6 kB / 1.642 GB, free: 7.469 MB / 1.073 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 29.62/31.61, allocations: 7.692 GB / 9.334 GB, free: 121.3 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/31.61, allocations: 8.188 kB / 9.334 GB, free: 121.3 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02426/31.64, allocations: 3.031 MB / 9.337 GB, free: 119.8 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1004/31.74, allocations: 35.91 MB / 9.372 GB, free: 116.7 MB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001331/31.74, allocations: 0.541 MB / 9.372 GB, free: 116.7 MB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009642/31.75, allocations: 1.024 MB / 9.373 GB, free: 116.7 MB / 1.292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05765/31.8, allocations: 21.04 MB / 9.394 GB, free: 116.6 MB / 1.292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07855/31.88, allocations: 22.49 MB / 9.416 GB, free: 115 MB / 1.292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001842/31.89, allocations: 58.77 kB / 9.416 GB, free: 115 MB / 1.292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01066/31.9, allocations: 21.62 kB / 9.416 GB, free: 115 MB / 1.292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003882/31.9, allocations: 421.1 kB / 9.416 GB, free: 115 MB / 1.292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1992/32.1, allocations: 103.7 MB / 9.518 GB, free: 86.34 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01865/32.11, allocations: 9.929 MB / 9.527 GB, free: 83.74 MB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01519/32.13, allocations: 9.302 MB / 9.536 GB, free: 80.37 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003159/32.13, allocations: 2.627 MB / 9.539 GB, free: 77.61 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/32.13, allocations: 161.8 kB / 9.539 GB, free: 77.48 MB / 1.292 GB Notification: Performance of pre-optimization done (n=1034): time 1.37e-05/32.13, allocations: 0 / 9.539 GB, free: 77.48 MB / 1.292 GB Notification: Performance of matching and sorting (n=1034): time 0.04358/32.18, allocations: 16.01 MB / 9.555 GB, free: 71.62 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/32.18, allocations: 160.6 kB / 9.555 GB, free: 71.55 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06179/32.24, allocations: 22.09 MB / 9.577 GB, free: 64.02 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.003966/32.24, allocations: 42.42 kB / 9.577 GB, free: 63.98 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.02883/32.27, allocations: 6.753 MB / 9.583 GB, free: 59.53 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.04127/32.31, allocations: 3.512 MB / 9.587 GB, free: 56.77 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003402/32.32, allocations: 0 / 9.587 GB, free: 56.77 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.001915/32.32, allocations: 0.8684 MB / 9.587 GB, free: 56.22 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01674/32.33, allocations: 7.317 MB / 9.595 GB, free: 53.55 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02341/32.36, allocations: 10.8 MB / 9.605 GB, free: 44.96 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02319/32.38, allocations: 9.947 MB / 9.615 GB, free: 36.9 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003255/32.38, allocations: 24 kB / 9.615 GB, free: 36.88 MB / 1.292 GB Notification: Performance of matching and sorting (n=1744) (initialization): time 0.06764/32.45, allocations: 21.77 MB / 9.636 GB, free: 18.36 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.245/33.69, allocations: 59.55 MB / 9.694 GB, free: 237.6 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006693/33.7, allocations: 109.8 kB / 9.694 GB, free: 237.6 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004673/33.7, allocations: 2.013 MB / 9.696 GB, free: 237.3 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01471/33.71, allocations: 3.06 MB / 9.699 GB, free: 237.3 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04103/33.76, allocations: 63.81 MB / 9.762 GB, free: 186.8 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02732/33.78, allocations: 1.962 MB / 9.764 GB, free: 186.8 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003987/33.79, allocations: 0.5387 MB / 9.764 GB, free: 186.8 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/33.79, allocations: 3.938 kB / 9.764 GB, free: 186.8 MB / 1.307 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05286/33.84, allocations: 19.77 MB / 9.783 GB, free: 186.2 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007246/33.84, allocations: 113.5 kB / 9.784 GB, free: 186.2 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004411/33.85, allocations: 2.032 MB / 9.786 GB, free: 185.9 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01451/33.86, allocations: 3.058 MB / 9.788 GB, free: 185.9 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0504/33.91, allocations: 64.76 MB / 9.852 GB, free: 150.6 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02931/33.94, allocations: 1.774 MB / 9.853 GB, free: 150.5 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005014/33.94, allocations: 0.5363 MB / 9.854 GB, free: 150.5 MB / 1.323 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.008515/33.95, allocations: 435.9 kB / 9.854 GB, free: 150.3 MB / 1.323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01195/33.97, allocations: 1.868 MB / 9.856 GB, free: 149.4 MB / 1.323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06306/34.03, allocations: 17.81 MB / 9.874 GB, free: 148.4 MB / 1.323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003179/34.03, allocations: 102 kB / 9.874 GB, free: 148.4 MB / 1.323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001995/34.03, allocations: 20.31 kB / 9.874 GB, free: 148.4 MB / 1.323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03897/34.07, allocations: 14.3 MB / 9.888 GB, free: 147.7 MB / 1.323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.131/34.2, allocations: 44.42 MB / 9.931 GB, free: 143.2 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.645e-05/34.2, allocations: 3.5 kB / 9.931 GB, free: 143.2 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0121/34.21, allocations: 2.242 MB / 9.933 GB, free: 143.2 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004907/34.22, allocations: 1.886 MB / 9.935 GB, free: 142.8 MB / 1.323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003717/34.22, allocations: 163 kB / 9.935 GB, free: 142.8 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04795/34.27, allocations: 63.55 MB / 9.997 GB, free: 123.5 MB / 1.354 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/34.27, allocations: 5.406 kB / 9.997 GB, free: 123.5 MB / 1.354 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06067/34.33, allocations: 26.3 MB / 10.02 GB, free: 121.1 MB / 1.354 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08402/34.41, allocations: 36.74 MB / 10.06 GB, free: 134.2 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02378/34.44, allocations: 5.112 MB / 10.06 GB, free: 133.1 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01246/34.45, allocations: 91.95 kB / 10.06 GB, free: 133.1 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02467/34.47, allocations: 1.122 MB / 10.07 GB, free: 133 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004009/34.48, allocations: 0.514 MB / 10.07 GB, free: 133 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00464/34.48, allocations: 371 kB / 10.07 GB, free: 133 MB / 1.37 GB Notification: Performance of sort global known variables: time 0.05152/34.53, allocations: 16.96 MB / 10.08 GB, free: 132.5 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.08416/34.62, allocations: 13.11 MB / 10.1 GB, free: 130.8 MB / 1.37 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.009173/34.63, allocations: 1.824 MB / 10.1 GB, free: 130.5 MB / 1.37 GB Notification: Performance of simCode: created initialization part: time 0.07069/34.7, allocations: 36.17 MB / 10.13 GB, free: 115.6 MB / 1.37 GB Notification: Performance of simCode: created event and clocks part: time 2.015e-05/34.7, allocations: 7.688 kB / 10.13 GB, free: 115.6 MB / 1.37 GB Notification: Performance of simCode: created simulation system equations: time 0.02043/34.72, allocations: 11.5 MB / 10.14 GB, free: 109.1 MB / 1.37 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06467/34.78, allocations: 10.45 MB / 10.15 GB, free: 107.5 MB / 1.37 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1527/34.94, allocations: 49.79 MB / 10.2 GB, free: 76.46 MB / 1.37 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05103/34.99, allocations: 19.04 MB / 10.22 GB, free: 62.14 MB / 1.37 GB Notification: Performance of SimCode: time 1.823e-06/34.99, allocations: 0 / 10.22 GB, free: 62.14 MB / 1.37 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube/Buildings_9_Buildings_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=Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.c In file included from Buildings_9_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 -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=Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.c In file included from Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.c:2: In file included from ./Buildings_9_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 -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=Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c In file included from Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c:1: In file included from ./Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.c:1141: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: *** [: Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube/Buildings_9_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... /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 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.def Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.a Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.so Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_FMU.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_functions.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_records.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_01exo.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_02nls.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_03lsy.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_04set.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_05evt.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_06inz.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_07dly.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_08bnd.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_09alg.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_10asr.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_11mix.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_12jac.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_13opt.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_14lnz.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_15syn.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_16dae.o Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeTwoUTube_17inl.o Buildings_9_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