Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") [: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 8.1.4-maint.8.1.x/package.mo): time 1.561/1.561, allocations: 289.8 MB / 297.1 MB, free: 6.637 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001321, allocations: 181.3 kB / 366.3 MB, free: 1.949 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.1 MB / 0.6256 GB, free: 5.824 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009052/0.0009053, allocations: 90.2 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.149e-05/1.151e-05, allocations: 4 kB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6618/0.6618, allocations: 116.3 MB / 0.9726 GB, free: 68.68 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9892/1.651, allocations: 412.4 MB / 1.375 GB, free: 72.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/1.651, allocations: 125.3 kB / 1.375 GB, free: 72.05 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.554/3.206, allocations: 475.1 MB / 1.839 GB, free: 90.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001827/3.206, allocations: 43.91 kB / 1.839 GB, free: 90.76 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.005533/3.211, allocations: 1.932 MB / 1.841 GB, free: 88.79 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/3.212, allocations: 15.97 kB / 1.841 GB, free: 88.77 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009362/3.213, allocations: 209.5 kB / 1.842 GB, free: 88.57 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003956/3.216, allocations: 1.717 MB / 1.843 GB, free: 86.83 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/3.217, allocations: 32 kB / 1.843 GB, free: 86.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/3.217, allocations: 71.91 kB / 1.843 GB, free: 86.73 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001366/3.218, allocations: 0.7149 MB / 1.844 GB, free: 86.01 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/3.22, allocations: 0.9131 MB / 1.845 GB, free: 85.04 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/3.22, allocations: 0 / 1.845 GB, free: 85.04 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.826e-05/3.22, allocations: 0 / 1.845 GB, free: 85.04 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/3.22, allocations: 28 kB / 1.845 GB, free: 85.02 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00855/3.228, allocations: 6.648 MB / 1.851 GB, free: 77.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006366/3.229, allocations: 392.2 kB / 1.852 GB, free: 77.41 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003844/3.229, allocations: 324.4 kB / 1.852 GB, free: 77.09 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008969/3.23, allocations: 1.267 MB / 1.853 GB, free: 75.55 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/3.23, allocations: 47.16 kB / 1.853 GB, free: 75.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=68): time 3.396e-06/3.23, allocations: 3.938 kB / 1.853 GB, free: 75.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=68): time 0.001854/3.232, allocations: 0.7614 MB / 1.854 GB, free: 74.72 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/3.232, allocations: 81.77 kB / 1.854 GB, free: 74.62 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/3.234, allocations: 1.136 MB / 1.855 GB, free: 73.48 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.598e-05/3.234, allocations: 29.7 kB / 1.855 GB, free: 73.44 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/3.234, allocations: 488.7 kB / 1.856 GB, free: 72.96 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/3.234, allocations: 236.5 kB / 1.856 GB, free: 72.72 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/3.234, allocations: 0 / 1.856 GB, free: 72.72 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.359e-05/3.234, allocations: 338 kB / 1.856 GB, free: 72.39 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/3.235, allocations: 246 kB / 1.857 GB, free: 72.14 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004637/3.235, allocations: 485.3 kB / 1.857 GB, free: 71.58 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/3.236, allocations: 438.8 kB / 1.857 GB, free: 71.16 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/3.236, allocations: 0 / 1.857 GB, free: 71.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002253/3.239, allocations: 0.9944 MB / 1.858 GB, free: 70.15 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003222/3.239, allocations: 1.343 MB / 1.86 GB, free: 68.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/3.239, allocations: 4 kB / 1.86 GB, free: 68.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002884/3.239, allocations: 65.69 kB / 1.86 GB, free: 68.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000631/3.24, allocations: 187.7 kB / 1.86 GB, free: 68.47 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/3.242, allocations: 2.85 MB / 1.863 GB, free: 65.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/3.243, allocations: 103.2 kB / 1.863 GB, free: 65.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.594e-05/3.244, allocations: 39.98 kB / 1.863 GB, free: 65.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/3.244, allocations: 4 kB / 1.863 GB, free: 65.24 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001805/3.245, allocations: 0.8107 MB / 1.864 GB, free: 64.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/3.245, allocations: 12.42 kB / 1.864 GB, free: 64.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001415/3.246, allocations: 69.83 kB / 1.864 GB, free: 64.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005841/3.246, allocations: 171.8 kB / 1.864 GB, free: 64.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/3.248, allocations: 2.858 MB / 1.867 GB, free: 61.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/3.249, allocations: 91.44 kB / 1.867 GB, free: 61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.678e-05/3.249, allocations: 43.98 kB / 1.867 GB, free: 60.96 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002772/3.25, allocations: 120.7 kB / 1.867 GB, free: 60.83 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002725/3.25, allocations: 142.3 kB / 1.867 GB, free: 60.69 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/3.252, allocations: 1.017 MB / 1.868 GB, free: 59.65 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/3.252, allocations: 8 kB / 1.868 GB, free: 59.64 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/3.252, allocations: 8 kB / 1.868 GB, free: 59.63 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001282/3.254, allocations: 0.8109 MB / 1.869 GB, free: 58.79 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004482/3.258, allocations: 2.503 MB / 1.871 GB, free: 56.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/3.258, allocations: 4 kB / 1.871 GB, free: 56.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005637/3.259, allocations: 131.9 kB / 1.871 GB, free: 56.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002104/3.259, allocations: 74 kB / 1.872 GB, free: 55.96 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.364e-05/3.259, allocations: 12 kB / 1.872 GB, free: 55.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/3.261, allocations: 2.846 MB / 1.874 GB, free: 52.87 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/3.261, allocations: 0 / 1.874 GB, free: 52.87 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002448/3.263, allocations: 1.566 MB / 1.876 GB, free: 51.15 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000723/3.264, allocations: 351 kB / 1.876 GB, free: 50.79 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/3.264, allocations: 8 kB / 1.876 GB, free: 50.78 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006861/3.265, allocations: 39.81 kB / 1.876 GB, free: 50.74 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/3.265, allocations: 48.53 kB / 1.876 GB, free: 50.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-05/3.265, allocations: 31.98 kB / 1.876 GB, free: 50.66 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001215/3.266, allocations: 0.8556 MB / 1.877 GB, free: 49.81 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003961/3.27, allocations: 1.193 MB / 1.878 GB, free: 48.61 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002815/3.273, allocations: 1.277 MB / 1.88 GB, free: 47.41 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002264/3.275, allocations: 1.584 MB / 1.881 GB, free: 45.77 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/3.275, allocations: 4.375 kB / 1.881 GB, free: 45.77 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005662/3.276, allocations: 0.5405 MB / 1.882 GB, free: 45.21 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003178/3.279, allocations: 0.5806 MB / 1.882 GB, free: 44.63 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004458/3.283, allocations: 2.261 MB / 1.884 GB, free: 42.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/3.285, allocations: 1.428 MB / 1.886 GB, free: 40.84 MB / 0.948 GB Notification: Performance of SimCode: time 1.302e-06/3.285, allocations: 4 kB / 1.886 GB, free: 40.84 MB / 0.948 GB Notification: Performance of Templates: time 0.05867/3.343, allocations: 37.89 MB / 1.923 GB, free: 3.32 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.c clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c:1027: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o] Error 1