Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadModel(Buildings): time 3.812/3.812, allocations: 433.3 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.659e-05/2.672e-05, allocations: 8 kB / 0.5326 GB, free: 1.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4968/0.4969, allocations: 98.71 MB / 0.629 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2017/0.6986, allocations: 136.1 MB / 0.7619 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003526/0.699, allocations: 115.9 kB / 0.762 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.032/0.731, allocations: 7.811 MB / 0.7696 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.792e-06/0.731, allocations: 0 / 0.7696 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.461e-06/0.7311, allocations: 0 / 0.7696 GB, free: 15.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006922/0.7318, allocations: 485.9 kB / 0.7701 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.7318, allocations: 12.02 kB / 0.7701 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.7319, allocations: 11.86 kB / 0.7701 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.7321, allocations: 191.5 kB / 0.7703 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.9e-06/0.7321, allocations: 7.875 kB / 0.7703 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.7322, allocations: 0 / 0.7703 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.216e-05/0.7322, allocations: 27.92 kB / 0.7703 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.962e-05/0.7324, allocations: 53.69 kB / 0.7704 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.937e-06/0.7324, allocations: 0 / 0.7704 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.547e-06/0.7324, allocations: 0 / 0.7704 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.417e-06/0.7324, allocations: 3.953 kB / 0.7704 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002124/0.7326, allocations: 162.2 kB / 0.7705 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.392e-05/0.7327, allocations: 46.56 kB / 0.7706 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.717e-05/0.7328, allocations: 36.88 kB / 0.7706 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.7328, allocations: 0 / 0.7706 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.7329, allocations: 30.56 kB / 0.7706 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 1.913e-06/0.7329, allocations: 0 / 0.7706 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0002454/0.7331, allocations: 93.52 kB / 0.7707 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.7332, allocations: 55.39 kB / 0.7708 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.7334, allocations: 136.4 kB / 0.7709 GB, free: 14 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.7334, allocations: 25.7 kB / 0.7709 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.7335, allocations: 100.1 kB / 0.771 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.7335, allocations: 27.55 kB / 0.771 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-06/0.7335, allocations: 0 / 0.771 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.7337, allocations: 322.8 kB / 0.7713 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.017e-05/0.7338, allocations: 27.98 kB / 0.7714 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.315e-05/0.7338, allocations: 23.98 kB / 0.7714 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.027e-05/0.7339, allocations: 31.97 kB / 0.7714 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.192e-06/0.7339, allocations: 4.031 kB / 0.7714 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001844/0.7341, allocations: 89.72 kB / 0.7715 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.7341, allocations: 10.5 kB / 0.7715 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.7342, allocations: 3.938 kB / 0.7715 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.7342, allocations: 3.984 kB / 0.7715 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.73e-06/0.7342, allocations: 0 / 0.7715 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.019e-06/0.7342, allocations: 0 / 0.7715 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.796e-05/0.7343, allocations: 8 kB / 0.7715 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.7343, allocations: 0 / 0.7715 GB, free: 13.31 MB / 0.6511 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.357e-05/0.7344, allocations: 104.9 kB / 0.7716 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.7344, allocations: 15.84 kB / 0.7717 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.7347, allocations: 204.2 kB / 0.7719 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-05/0.7348, allocations: 184.2 kB / 0.772 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-05/0.7349, allocations: 180.3 kB / 0.7722 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-05/0.735, allocations: 180.3 kB / 0.7724 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.7353, allocations: 428.6 kB / 0.7728 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.396e-05/0.7354, allocations: 105.7 kB / 0.7729 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.313e-05/0.7354, allocations: 101 kB / 0.773 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.682e-05/0.7355, allocations: 188.1 kB / 0.7732 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.62e-05/0.7356, allocations: 184.3 kB / 0.7733 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.206e-05/0.7357, allocations: 176.3 kB / 0.7735 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.734e-05/0.7358, allocations: 188.2 kB / 0.7737 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.736, allocations: 311.7 kB / 0.774 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.7362, allocations: 221.8 kB / 0.7742 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.7363, allocations: 180.2 kB / 0.7744 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.7365, allocations: 105 kB / 0.7745 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.467e-05/0.7366, allocations: 184.2 kB / 0.7746 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.907e-05/0.7367, allocations: 101 kB / 0.7747 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003402/0.737, allocations: 255.2 kB / 0.775 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.17e-07/0.737, allocations: 0 / 0.775 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009309/0.738, allocations: 247.6 kB / 0.7752 GB, free: 9.32 MB / 0.6511 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.0009631/0.7389, allocations: 450 kB / 0.7756 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000141/0.7391, allocations: 61.69 kB / 0.7757 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.358e-06/0.7391, allocations: 0 / 0.7757 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.039e-06/0.7391, allocations: 0 / 0.7757 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.7396, allocations: 0.5357 MB / 0.7762 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.7399, allocations: 191.5 kB / 0.7764 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.7403, allocations: 0.7041 MB / 0.7771 GB, free: 7.328 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.21e-05/0.7403, allocations: 4 kB / 0.7771 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.7404, allocations: 7.438 kB / 0.7771 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of SimCode: time 1.342e-06/0.7404, allocations: 3.938 kB / 0.7771 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of Templates: time 0.01039/0.7508, allocations: 4.173 MB / 0.7812 GB, free: 3.184 MB / 0.6511 GB make -j1 -f Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile b'clang -Os -fPIC -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_6_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_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.o Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.c\nclang -Os -fPIC -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_6_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_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c\nBuildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c:310: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_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o\' failed\nmake: *** [Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o] Error 1\n'