Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.6819/0.6819, allocations: 127.4 MB / 134.6 MB, free: 4.137 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 181.3 kB / 164.4 MB, free: 6.895 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.1 MB / 399.1 MB, free: 6.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009499/0.0009498, allocations: 92.11 kB / 476.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.879e-06/9.898e-06, allocations: 4 kB / 0.546 GB, free: 42.72 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1586, allocations: 76.75 MB / 0.621 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.16/1.319, allocations: 381.8 MB / 0.9938 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003353/1.319, allocations: 121.2 kB / 0.9939 GB, free: 100.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984/3.304, allocations: 487.3 MB / 1.47 GB, free: 77.76 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003278/3.304, allocations: 43.73 kB / 1.47 GB, free: 77.75 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.007596/3.312, allocations: 1.96 MB / 1.472 GB, free: 76.66 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/3.312, allocations: 7.312 kB / 1.472 GB, free: 76.66 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/3.313, allocations: 217.1 kB / 1.472 GB, free: 76.55 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006499/3.32, allocations: 1.928 MB / 1.474 GB, free: 76.14 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.788e-05/3.32, allocations: 35.25 kB / 1.474 GB, free: 76.14 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004582/3.32, allocations: 70.41 kB / 1.474 GB, free: 76.14 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002369/3.323, allocations: 0.7305 MB / 1.475 GB, free: 76.13 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002681/3.326, allocations: 0.9478 MB / 1.476 GB, free: 75.96 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.064e-05/3.326, allocations: 5.531 kB / 1.476 GB, free: 75.96 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/3.326, allocations: 0 / 1.476 GB, free: 75.96 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.562e-05/3.326, allocations: 29.42 kB / 1.476 GB, free: 75.96 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01282/3.339, allocations: 7.336 MB / 1.483 GB, free: 71.28 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006156/3.339, allocations: 341.4 kB / 1.483 GB, free: 71.25 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005115/3.34, allocations: 287.9 kB / 1.483 GB, free: 71.24 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/3.341, allocations: 1.102 MB / 1.484 GB, free: 70.02 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/3.341, allocations: 47.83 kB / 1.484 GB, free: 69.98 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=59): time 4.979e-06/3.341, allocations: 0 / 1.484 GB, free: 69.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59): time 0.002998/3.344, allocations: 0.7362 MB / 1.485 GB, free: 69.84 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/3.344, allocations: 81.52 kB / 1.485 GB, free: 69.75 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/3.347, allocations: 1.163 MB / 1.486 GB, free: 69.59 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001575/3.347, allocations: 25.7 kB / 1.486 GB, free: 69.56 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006063/3.348, allocations: 0.5319 MB / 1.487 GB, free: 69.26 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002962/3.348, allocations: 207.6 kB / 1.487 GB, free: 69.12 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.379e-05/3.348, allocations: 0 / 1.487 GB, free: 69.12 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001206/3.349, allocations: 343.6 kB / 1.487 GB, free: 68.82 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004048/3.349, allocations: 251.5 kB / 1.488 GB, free: 68.82 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005727/3.35, allocations: 0.5024 MB / 1.488 GB, free: 68.52 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/3.351, allocations: 446.1 kB / 1.489 GB, free: 68.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/3.351, allocations: 0 / 1.489 GB, free: 68.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00266/3.353, allocations: 1.014 MB / 1.49 GB, free: 68.34 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006837/3.354, allocations: 2.049 MB / 1.492 GB, free: 66.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.718e-05/3.354, allocations: 13.67 kB / 1.492 GB, free: 66.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003314/3.355, allocations: 65.98 kB / 1.492 GB, free: 66.22 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008169/3.355, allocations: 206.5 kB / 1.492 GB, free: 66.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/3.358, allocations: 2.847 MB / 1.495 GB, free: 63.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/3.36, allocations: 133.9 kB / 1.495 GB, free: 63.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/3.36, allocations: 46.34 kB / 1.495 GB, free: 63.61 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/3.36, allocations: 3.656 kB / 1.495 GB, free: 63.61 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001982/3.362, allocations: 0.8214 MB / 1.496 GB, free: 63.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/3.362, allocations: 7.812 kB / 1.496 GB, free: 63.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000152/3.362, allocations: 71.75 kB / 1.496 GB, free: 63.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006417/3.363, allocations: 190.7 kB / 1.496 GB, free: 63.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/3.365, allocations: 2.847 MB / 1.499 GB, free: 60.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/3.367, allocations: 99.48 kB / 1.499 GB, free: 60.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/3.367, allocations: 44.8 kB / 1.499 GB, free: 60.93 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 101 * 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.0003289/3.367, allocations: 123.6 kB / 1.499 GB, free: 60.81 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006371/3.368, allocations: 144.5 kB / 1.499 GB, free: 60.73 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/3.37, allocations: 0.8594 MB / 1.5 GB, free: 60.61 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/3.37, allocations: 11.47 kB / 1.5 GB, free: 60.61 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/3.37, allocations: 2.25 kB / 1.5 GB, free: 60.61 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001172/3.371, allocations: 0.6523 MB / 1.501 GB, free: 60.41 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005764/3.377, allocations: 2.205 MB / 1.503 GB, free: 59.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/3.377, allocations: 3.031 kB / 1.503 GB, free: 59.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005448/3.378, allocations: 119.1 kB / 1.503 GB, free: 59.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002299/3.378, allocations: 67.81 kB / 1.503 GB, free: 59.55 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.227e-05/3.378, allocations: 7.141 kB / 1.503 GB, free: 59.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002087/3.38, allocations: 2.835 MB / 1.506 GB, free: 56.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/3.38, allocations: 10.94 kB / 1.506 GB, free: 56.82 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00239/3.383, allocations: 1.254 MB / 1.507 GB, free: 56 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/3.384, allocations: 342.5 kB / 1.507 GB, free: 55.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006857/3.384, allocations: 3.906 kB / 1.507 GB, free: 55.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/3.386, allocations: 46.91 kB / 1.507 GB, free: 55.75 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/3.386, allocations: 40.98 kB / 1.507 GB, free: 55.74 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.531e-05/3.386, allocations: 26.56 kB / 1.507 GB, free: 55.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.002097/3.388, allocations: 0.8992 MB / 1.508 GB, free: 55.34 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.006623/3.395, allocations: 1.207 MB / 1.509 GB, free: 55.05 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.004767/3.4, allocations: 1.294 MB / 1.511 GB, free: 54.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003106/3.403, allocations: 1.52 MB / 1.512 GB, free: 53.82 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/3.403, allocations: 3.906 kB / 1.512 GB, free: 53.82 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007843/3.403, allocations: 469.4 kB / 1.513 GB, free: 53.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003765/3.407, allocations: 0.5715 MB / 1.513 GB, free: 53.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006157/3.413, allocations: 2.174 MB / 1.515 GB, free: 52.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001864/3.415, allocations: 1.439 MB / 1.517 GB, free: 51.79 MB / 0.6511 GB Notification: Performance of SimCode: time 1.022e-06/3.415, allocations: 0 / 1.517 GB, free: 51.79 MB / 0.6511 GB Notification: Performance of Templates: time 0.09006/3.505, allocations: 38.12 MB / 1.554 GB, free: 33.74 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.c clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c:971: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: *** [: BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o] Error 1