Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00111/0.001111, allocations: 190.8 kB / 7.805 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4394/0.4394, allocations: 90.86 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 221.4 MB / 342.8 MB, free: 5.281 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 88.67 kB / 415.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.384e-06/7.414e-06, allocations: 0 / 493.9 MB, free: 8.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3347, allocations: 72.3 MB / 0.5529 GB, free: 73.27 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5293/0.864, allocations: 375.8 MB / 0.92 GB, free: 14.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.8643, allocations: 125.4 kB / 0.9201 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.435/2.3, allocations: 490.6 MB / 1.399 GB, free: 4.289 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002423/2.3, allocations: 47.92 kB / 1.399 GB, free: 4.242 MB / 0.6042 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.004722/2.305, allocations: 1.933 MB / 1.401 GB, free: 2.254 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/2.305, allocations: 8.031 kB / 1.401 GB, free: 2.246 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/2.306, allocations: 225.5 kB / 1.401 GB, free: 2.023 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003599/2.309, allocations: 1.716 MB / 1.403 GB, free: 260 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/2.309, allocations: 32 kB / 1.403 GB, free: 228 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002267/2.31, allocations: 64 kB / 1.403 GB, free: 164 kB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001626/2.311, allocations: 0.7266 MB / 1.404 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/2.313, allocations: 0.9131 MB / 1.405 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/2.313, allocations: 7.844 kB / 1.405 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.275e-05/2.313, allocations: 0 / 1.405 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.529e-05/2.313, allocations: 28 kB / 1.405 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009626/2.323, allocations: 6.626 MB / 1.411 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007801/2.324, allocations: 404.1 kB / 1.412 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005092/2.324, allocations: 328 kB / 1.412 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/2.325, allocations: 1.271 MB / 1.413 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/2.325, allocations: 39.22 kB / 1.413 GB, free: 4.855 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=68): time 3.326e-06/2.325, allocations: 0 / 1.413 GB, free: 4.855 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68): time 0.002147/2.328, allocations: 0.7652 MB / 1.414 GB, free: 4.074 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/2.328, allocations: 85.77 kB / 1.414 GB, free: 3.973 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/2.33, allocations: 1.13 MB / 1.415 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.012e-05/2.33, allocations: 29.7 kB / 1.415 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000406/2.33, allocations: 492.7 kB / 1.416 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/2.331, allocations: 232.5 kB / 1.416 GB, free: 2.082 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/2.331, allocations: 3.938 kB / 1.416 GB, free: 2.078 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001281/2.331, allocations: 341.9 kB / 1.416 GB, free: 1.738 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/2.331, allocations: 250 kB / 1.416 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005912/2.332, allocations: 463 kB / 1.417 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/2.333, allocations: 442.4 kB / 1.417 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/2.333, allocations: 0 / 1.417 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.2537/2.587, allocations: 0.9925 MB / 1.418 GB, free: 130.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002296/2.587, allocations: 1.332 MB / 1.42 GB, free: 129.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/2.587, allocations: 7.5 kB / 1.42 GB, free: 129.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002954/2.587, allocations: 69.89 kB / 1.42 GB, free: 129.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006379/2.588, allocations: 177.7 kB / 1.42 GB, free: 129.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/2.59, allocations: 2.852 MB / 1.423 GB, free: 126.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/2.591, allocations: 103 kB / 1.423 GB, free: 126.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-05/2.591, allocations: 42.05 kB / 1.423 GB, free: 126.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.135e-06/2.591, allocations: 5.906 kB / 1.423 GB, free: 126.7 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001815/2.593, allocations: 0.811 MB / 1.424 GB, free: 126.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/2.593, allocations: 9.438 kB / 1.424 GB, free: 126.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001277/2.593, allocations: 65.45 kB / 1.424 GB, free: 126.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006048/2.594, allocations: 176.1 kB / 1.424 GB, free: 126.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/2.595, allocations: 2.855 MB / 1.427 GB, free: 124.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/2.597, allocations: 91.92 kB / 1.427 GB, free: 124.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/2.597, allocations: 38.23 kB / 1.427 GB, free: 124.2 MB / 0.6198 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.0001994/2.597, allocations: 125.1 kB / 1.427 GB, free: 124.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/2.597, allocations: 143.4 kB / 1.427 GB, free: 124 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/2.599, allocations: 1.021 MB / 1.428 GB, free: 123.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/2.599, allocations: 15.59 kB / 1.428 GB, free: 123.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/2.599, allocations: 2.25 kB / 1.428 GB, free: 123.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001262/2.6, allocations: 0.8058 MB / 1.429 GB, free: 123.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003938/2.604, allocations: 2.501 MB / 1.431 GB, free: 123.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/2.604, allocations: 3.062 kB / 1.431 GB, free: 123.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005335/2.605, allocations: 136.4 kB / 1.431 GB, free: 123.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000182/2.605, allocations: 77.09 kB / 1.431 GB, free: 123.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.189e-05/2.605, allocations: 10.03 kB / 1.431 GB, free: 123.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/2.607, allocations: 2.844 MB / 1.434 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/2.607, allocations: 3.531 kB / 1.434 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002137/2.609, allocations: 1.561 MB / 1.436 GB, free: 120 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005882/2.61, allocations: 356.4 kB / 1.436 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/2.61, allocations: 3.812 kB / 1.436 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006417/2.61, allocations: 37.16 kB / 1.436 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/2.61, allocations: 52.08 kB / 1.436 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-05/2.611, allocations: 32.61 kB / 1.436 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001128/2.612, allocations: 0.8555 MB / 1.437 GB, free: 119.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003648/2.615, allocations: 1.206 MB / 1.438 GB, free: 119.7 MB / 0.6198 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.00254/2.618, allocations: 1.257 MB / 1.439 GB, free: 119.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002242/2.62, allocations: 1.577 MB / 1.441 GB, free: 119 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/2.62, allocations: 0 / 1.441 GB, free: 119 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005665/2.621, allocations: 0.5422 MB / 1.441 GB, free: 118.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/2.624, allocations: 0.5807 MB / 1.442 GB, free: 118.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004057/2.628, allocations: 2.272 MB / 1.444 GB, free: 118.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000992/2.629, allocations: 1.432 MB / 1.446 GB, free: 117.5 MB / 0.6198 GB Notification: Performance of SimCode: time 1.353e-06/2.629, allocations: 0 / 1.446 GB, free: 117.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.05616/2.685, allocations: 37.65 MB / 1.482 GB, free: 116.2 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile make -j1 -f IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c IBPSA_latest_IBPSA.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: *** [: IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o] Error 1