Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_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_dev_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.001854/0.001854, allocations: 177.2 kB / 7.456 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5854/0.5854, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.124/1.124, allocations: 221.3 MB / 395 MB, free: 10.2 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.0008679/0.0008679, allocations: 106.2 kB / 477.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.504e-06/7.604e-06, allocations: 3.25 kB / 0.5529 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.736/0.8466, allocations: 385.5 MB / 1.01 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.8469, allocations: 119.3 kB / 1.01 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.04/1.886, allocations: 484.5 MB / 1.483 GB, free: 16.17 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001213/1.887, allocations: 43.75 kB / 1.483 GB, free: 16.13 MB / 0.6823 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.002642/1.889, allocations: 1.943 MB / 1.485 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/1.889, allocations: 8.031 kB / 1.485 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003729/1.89, allocations: 209.6 kB / 1.485 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/1.892, allocations: 1.716 MB / 1.487 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/1.892, allocations: 32 kB / 1.487 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/1.892, allocations: 75.91 kB / 1.487 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00106/1.893, allocations: 0.7188 MB / 1.488 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/1.894, allocations: 0.9053 MB / 1.489 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/1.895, allocations: 4 kB / 1.489 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-05/1.895, allocations: 4 kB / 1.489 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/1.895, allocations: 24 kB / 1.489 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006009/1.901, allocations: 6.632 MB / 1.495 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005376/1.901, allocations: 396.2 kB / 1.495 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/1.902, allocations: 327.9 kB / 1.496 GB, free: 2.457 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007351/1.902, allocations: 1.269 MB / 1.497 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/1.902, allocations: 39.22 kB / 1.497 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 2.595e-06/1.902, allocations: 4 kB / 1.497 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.001463/1.904, allocations: 0.7612 MB / 1.498 GB, free: 92 kB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2137/2.118, allocations: 85.77 kB / 1.498 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/2.119, allocations: 1.124 MB / 1.499 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001576/2.119, allocations: 28.73 kB / 1.499 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/2.12, allocations: 495.5 kB / 1.499 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/2.12, allocations: 241.4 kB / 1.5 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/2.12, allocations: 0 / 1.5 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.977e-05/2.12, allocations: 339.1 kB / 1.5 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/2.12, allocations: 252.8 kB / 1.5 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/2.121, allocations: 460.6 kB / 1.501 GB, free: 147 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/2.122, allocations: 440.3 kB / 1.501 GB, free: 147 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/2.122, allocations: 0 / 1.501 GB, free: 147 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001758/2.123, allocations: 0.9924 MB / 1.502 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001891/2.124, allocations: 1.34 MB / 1.503 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/2.124, allocations: 3.781 kB / 1.503 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002523/2.124, allocations: 71.69 kB / 1.503 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006056/2.125, allocations: 184.1 kB / 1.504 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/2.126, allocations: 2.848 MB / 1.506 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009273/2.127, allocations: 101.1 kB / 1.506 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.566e-05/2.127, allocations: 40.27 kB / 1.507 GB, free: 143 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.54e-06/2.127, allocations: 3.719 kB / 1.507 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001507/2.129, allocations: 0.8232 MB / 1.507 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/2.129, allocations: 3.875 kB / 1.507 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001169/2.129, allocations: 61.28 kB / 1.507 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005598/2.129, allocations: 178.1 kB / 1.508 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/2.131, allocations: 2.854 MB / 1.51 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009805/2.132, allocations: 84.33 kB / 1.51 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.291e-05/2.132, allocations: 42.19 kB / 1.51 GB, free: 140.4 MB / 0.6823 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.0002107/2.132, allocations: 126.1 kB / 1.511 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/2.132, allocations: 141.6 kB / 1.511 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/2.135, allocations: 1.033 MB / 1.512 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/2.135, allocations: 14.31 kB / 1.512 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/2.135, allocations: 0 / 1.512 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001262/2.136, allocations: 0.8056 MB / 1.513 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003839/2.14, allocations: 2.5 MB / 1.515 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/2.14, allocations: 3.656 kB / 1.515 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005271/2.14, allocations: 136.7 kB / 1.515 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001762/2.14, allocations: 67.41 kB / 1.515 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/2.141, allocations: 16.94 kB / 1.515 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/2.142, allocations: 2.845 MB / 1.518 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/2.142, allocations: 6.969 kB / 1.518 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00188/2.144, allocations: 1.56 MB / 1.519 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005089/2.144, allocations: 352.9 kB / 1.52 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/2.145, allocations: 14.81 kB / 1.52 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006179/2.145, allocations: 30.91 kB / 1.52 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/2.145, allocations: 52.72 kB / 1.52 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.975e-05/2.145, allocations: 26.55 kB / 1.52 GB, free: 136 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0009449/2.146, allocations: 0.8623 MB / 1.521 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003035/2.149, allocations: 1.195 MB / 1.522 GB, free: 135.8 MB / 0.6823 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.001991/2.151, allocations: 1.259 MB / 1.523 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001794/2.153, allocations: 1.577 MB / 1.525 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/2.153, allocations: 2.156 kB / 1.525 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004929/2.154, allocations: 0.5474 MB / 1.525 GB, free: 135 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/2.156, allocations: 0.583 MB / 1.526 GB, free: 135 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/2.159, allocations: 2.262 MB / 1.528 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008312/2.16, allocations: 1.438 MB / 1.529 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of SimCode: time 4.5e-07/2.16, allocations: 0 / 1.529 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.05003/2.21, allocations: 37.64 MB / 1.566 GB, free: 132.5 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile make -j1 -f IDEAS_dev_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/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IDEAS_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.o IDEAS_dev_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/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IDEAS_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c IDEAS_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o] Error 1