Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.122/2.122, allocations: 253.1 MB / 260.4 MB, free: 0.5352 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00171/0.001709, allocations: 187.8 kB / 319.6 MB, free: 7.656 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.938/1.938, allocations: 205.4 MB / 0.5704 GB, free: 25.86 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001455/0.001455, allocations: 99.3 kB / 0.6746 GB, free: 3.305 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.209e-05/1.23e-05, allocations: 4 kB / 0.7844 GB, free: 2.852 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5376/0.5376, allocations: 106.2 MB / 0.8881 GB, free: 77.14 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.241/0.7787, allocations: 143 MB / 1.028 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004235/0.7791, allocations: 107.9 kB / 1.028 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.03831/0.8175, allocations: 7.677 MB / 1.035 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.8175, allocations: 4 kB / 1.035 GB, free: 6.156 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009034/0.8184, allocations: 473.9 kB / 1.036 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.8185, allocations: 11.97 kB / 1.036 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.8186, allocations: 11.81 kB / 1.036 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.8188, allocations: 187.4 kB / 1.036 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.8188, allocations: 0 / 1.036 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.8189, allocations: 4 kB / 1.036 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.043e-05/0.819, allocations: 27.98 kB / 1.036 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.8191, allocations: 53.67 kB / 1.036 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.8191, allocations: 0 / 1.036 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.8191, allocations: 3.906 kB / 1.036 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.8192, allocations: 0 / 1.036 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.8194, allocations: 162.2 kB / 1.036 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.755e-05/0.8195, allocations: 50.5 kB / 1.036 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.053e-05/0.8196, allocations: 36.88 kB / 1.036 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.8196, allocations: 3.938 kB / 1.036 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.8197, allocations: 34.56 kB / 1.036 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.764e-06/0.8197, allocations: 0 / 1.036 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0002939/0.82, allocations: 105.6 kB / 1.036 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.82, allocations: 51.41 kB / 1.036 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.8202, allocations: 133.5 kB / 1.037 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.8203, allocations: 29.73 kB / 1.037 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.8203, allocations: 92.12 kB / 1.037 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.536e-05/0.8204, allocations: 27.64 kB / 1.037 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.8204, allocations: 0 / 1.037 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.8206, allocations: 330.7 kB / 1.037 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.132e-05/0.8207, allocations: 23.98 kB / 1.037 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.218e-05/0.8207, allocations: 23.98 kB / 1.037 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.985e-05/0.8208, allocations: 31.98 kB / 1.037 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.8209, allocations: 0 / 1.037 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002209/0.8211, allocations: 97.61 kB / 1.037 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.8211, allocations: 10.81 kB / 1.037 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.8211, allocations: 3.984 kB / 1.037 GB, free: 3.973 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.8212, allocations: 0 / 1.037 GB, free: 3.973 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.8212, allocations: 0 / 1.037 GB, free: 3.973 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.8212, allocations: 4 kB / 1.037 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.972e-05/0.8213, allocations: 3.906 kB / 1.037 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.8213, allocations: 0 / 1.037 GB, free: 3.965 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.473e-05/0.8214, allocations: 105 kB / 1.037 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.8214, allocations: 7.812 kB / 1.037 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.8217, allocations: 216.1 kB / 1.038 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.84e-05/0.8218, allocations: 180.3 kB / 1.038 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.415e-05/0.8219, allocations: 176.3 kB / 1.038 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.89e-05/0.822, allocations: 183.2 kB / 1.038 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.8223, allocations: 429.6 kB / 1.039 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001012/0.8224, allocations: 101 kB / 1.039 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.891e-05/0.8225, allocations: 109.6 kB / 1.039 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.703e-05/0.8226, allocations: 180.3 kB / 1.039 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.468e-05/0.8227, allocations: 180.3 kB / 1.039 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-05/0.8228, allocations: 180.2 kB / 1.039 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.335e-05/0.8229, allocations: 188.2 kB / 1.039 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001967/0.8231, allocations: 315.5 kB / 1.04 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.8233, allocations: 214 kB / 1.04 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.8234, allocations: 180.3 kB / 1.04 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.8236, allocations: 104.9 kB / 1.04 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.26e-05/0.8237, allocations: 188.2 kB / 1.04 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.871e-05/0.8238, allocations: 101 kB / 1.04 GB, free: 488 kB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000451/0.8242, allocations: 259.7 kB / 1.041 GB, free: 228 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.2912/1.115, allocations: 254.8 kB / 1.041 GB, free: 208.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001334/1.117, allocations: 434.5 kB / 1.041 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00017/1.117, allocations: 72.19 kB / 1.041 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.117, allocations: 0 / 1.041 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.045e-06/1.117, allocations: 3.844 kB / 1.041 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/1.117, allocations: 0.5368 MB / 1.042 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/1.118, allocations: 185.3 kB / 1.042 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/1.118, allocations: 0.7138 MB / 1.043 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.215e-06/1.118, allocations: 0 / 1.043 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.01198/1.13, allocations: 4.28 MB / 1.047 GB, free: 206.3 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile b'clang -fPIC -O0 -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.c\nclang -fPIC -O0 -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c\nBuildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c:358:59: error: cannot take the address of an rvalue of type \'real_array_t\' (aka \'struct base_array_s\')\n copy_real_array_data(add_alloc_scalar_real_array(_TBor, &mul_alloc_real_matrix_product_smart(_R0, _QPip_flow)), &_TFlu);\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n1 error generated.\n: recipe for target \'Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o\' failed\nmake: *** [Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o] Error 1\n'