Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json 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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.003466/0.003466, allocations: 175.2 kB / 7.451 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6662/0.6662, allocations: 130.6 MB / 138.5 MB, free: 2.312 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 221.3 MB / 391.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 97.34 kB / 473.4 MB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.406e-06/8.426e-06, allocations: 3.562 kB / 0.5479 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1545, allocations: 81.58 MB / 0.6276 GB, free: 18.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.04/1.194, allocations: 385.3 MB / 1.004 GB, free: 225.9 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/1.195, allocations: 123 kB / 1.004 GB, free: 225.8 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.788/2.983, allocations: 484.5 MB / 1.477 GB, free: 84.15 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001664/2.983, allocations: 46.84 kB / 1.477 GB, free: 84.15 MB / 0.6667 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.004772/2.988, allocations: 1.945 MB / 1.479 GB, free: 83.55 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/2.988, allocations: 8.125 kB / 1.479 GB, free: 83.55 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000767/2.989, allocations: 212.4 kB / 1.479 GB, free: 83.45 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00389/2.993, allocations: 1.714 MB / 1.481 GB, free: 83.13 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.345e-05/2.993, allocations: 36.09 kB / 1.481 GB, free: 83.13 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/2.993, allocations: 63.78 kB / 1.481 GB, free: 83.13 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00149/2.995, allocations: 0.725 MB / 1.482 GB, free: 83.12 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/2.996, allocations: 0.9091 MB / 1.483 GB, free: 82.98 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.572e-05/2.996, allocations: 4.938 kB / 1.483 GB, free: 82.98 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.062e-05/2.996, allocations: 3.844 kB / 1.483 GB, free: 82.98 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/2.996, allocations: 24.31 kB / 1.483 GB, free: 82.98 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009174/3.005, allocations: 6.648 MB / 1.489 GB, free: 79.11 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006888/3.006, allocations: 393.6 kB / 1.49 GB, free: 79.1 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004158/3.007, allocations: 330.1 kB / 1.49 GB, free: 79.08 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009439/3.008, allocations: 1.272 MB / 1.491 GB, free: 77.68 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/3.008, allocations: 37.38 kB / 1.491 GB, free: 77.64 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=68): time 3.586e-06/3.008, allocations: 0 / 1.491 GB, free: 77.64 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68): time 0.001862/3.009, allocations: 0.768 MB / 1.492 GB, free: 77.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/3.01, allocations: 85.36 kB / 1.492 GB, free: 77.41 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/3.011, allocations: 1.132 MB / 1.493 GB, free: 77.26 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.722e-05/3.011, allocations: 27.77 kB / 1.493 GB, free: 77.23 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/3.011, allocations: 495.5 kB / 1.494 GB, free: 77.02 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/3.012, allocations: 233.8 kB / 1.494 GB, free: 76.9 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/3.012, allocations: 2.156 kB / 1.494 GB, free: 76.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001048/3.012, allocations: 346.9 kB / 1.494 GB, free: 76.6 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/3.012, allocations: 250.8 kB / 1.494 GB, free: 76.6 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004785/3.013, allocations: 460.2 kB / 1.495 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/3.014, allocations: 435.7 kB / 1.495 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/3.014, allocations: 0 / 1.495 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00199/3.016, allocations: 0.9875 MB / 1.496 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002768/3.016, allocations: 1.339 MB / 1.497 GB, free: 74.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/3.016, allocations: 11.28 kB / 1.497 GB, free: 74.88 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000265/3.016, allocations: 70.19 kB / 1.498 GB, free: 74.87 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006214/3.017, allocations: 177.1 kB / 1.498 GB, free: 74.87 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/3.019, allocations: 2.852 MB / 1.501 GB, free: 72.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/3.02, allocations: 102.6 kB / 1.501 GB, free: 72.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/3.02, allocations: 44.27 kB / 1.501 GB, free: 72.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/3.02, allocations: 3.312 kB / 1.501 GB, free: 72.3 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002111/3.023, allocations: 0.8157 MB / 1.501 GB, free: 72.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/3.023, allocations: 5.844 kB / 1.501 GB, free: 72.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/3.023, allocations: 66.97 kB / 1.502 GB, free: 72.25 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006337/3.023, allocations: 176 kB / 1.502 GB, free: 72.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/3.025, allocations: 2.85 MB / 1.504 GB, free: 69.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/3.027, allocations: 87.8 kB / 1.505 GB, free: 69.69 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/3.027, allocations: 39.8 kB / 1.505 GB, free: 69.69 MB / 0.6667 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.0002925/3.027, allocations: 123.2 kB / 1.505 GB, free: 69.58 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004669/3.028, allocations: 147.4 kB / 1.505 GB, free: 69.51 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/3.03, allocations: 1.027 MB / 1.506 GB, free: 69.41 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/3.03, allocations: 13.97 kB / 1.506 GB, free: 69.41 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/3.03, allocations: 0 / 1.506 GB, free: 69.41 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001464/3.032, allocations: 0.806 MB / 1.507 GB, free: 69.22 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005772/3.037, allocations: 2.507 MB / 1.509 GB, free: 68.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/3.037, allocations: 3.828 kB / 1.509 GB, free: 68.61 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006005/3.038, allocations: 136.8 kB / 1.509 GB, free: 68.61 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002499/3.038, allocations: 72.17 kB / 1.509 GB, free: 68.59 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.04e-05/3.038, allocations: 17.12 kB / 1.509 GB, free: 68.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/3.04, allocations: 2.852 MB / 1.512 GB, free: 66.04 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/3.041, allocations: 5.406 kB / 1.512 GB, free: 66.04 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002713/3.043, allocations: 1.556 MB / 1.514 GB, free: 65.44 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/3.044, allocations: 356.2 kB / 1.514 GB, free: 65.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004999/3.045, allocations: 7.312 kB / 1.514 GB, free: 65.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/3.046, allocations: 38.53 kB / 1.514 GB, free: 65.27 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/3.046, allocations: 48.41 kB / 1.514 GB, free: 65.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.977e-05/3.046, allocations: 32.75 kB / 1.514 GB, free: 65.27 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001857/3.048, allocations: 0.8568 MB / 1.515 GB, free: 65.16 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005149/3.053, allocations: 1.199 MB / 1.516 GB, free: 64.95 MB / 0.6667 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.003717/3.057, allocations: 1.256 MB / 1.517 GB, free: 64.66 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002675/3.06, allocations: 1.582 MB / 1.519 GB, free: 64.18 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/3.06, allocations: 3.469 kB / 1.519 GB, free: 64.18 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006769/3.06, allocations: 0.5386 MB / 1.519 GB, free: 63.98 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003354/3.064, allocations: 0.5755 MB / 1.52 GB, free: 63.97 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005642/3.069, allocations: 2.265 MB / 1.522 GB, free: 63.33 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001581/3.071, allocations: 1.433 MB / 1.524 GB, free: 62.6 MB / 0.6667 GB Notification: Performance of SimCode: time 1.162e-06/3.071, allocations: 0 / 1.524 GB, free: 62.6 MB / 0.6667 GB Notification: Performance of Templates: time 0.0682/3.139, allocations: 37.63 MB / 1.56 GB, free: 61.16 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile clang -fPIC -O0 -falign-functions -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IDEAS_IDEAS_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 IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.o IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.c clang -fPIC -O0 -falign-functions -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IDEAS_IDEAS_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 IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c:1251: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: *** [: IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o] Error 1