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_TwoUTube.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_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadModel(Buildings): time 3.87/3.87, allocations: 433.4 MB / 440.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.441e-05/2.447e-05, allocations: 8 kB / 0.5326 GB, free: 1.867 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4932/0.4933, allocations: 98.72 MB / 0.629 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2059/0.6993, allocations: 136.1 MB / 0.7619 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000378/0.6997, allocations: 115.9 kB / 0.762 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03471/0.7344, allocations: 8.273 MB / 0.7701 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.521e-06/0.7345, allocations: 0 / 0.7701 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.509e-05/0.7345, allocations: 4 kB / 0.7701 GB, free: 15.03 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008428/0.7353, allocations: 0.56 MB / 0.7706 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.7354, allocations: 16 kB / 0.7706 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.022e-05/0.7355, allocations: 23.67 kB / 0.7706 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.7358, allocations: 217.6 kB / 0.7709 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.7358, allocations: 0 / 0.7709 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.7358, allocations: 0 / 0.7709 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001424/0.736, allocations: 79.95 kB / 0.7709 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.7362, allocations: 109.6 kB / 0.771 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.7362, allocations: 0 / 0.771 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.7363, allocations: 0 / 0.771 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.73e-06/0.7363, allocations: 7.953 kB / 0.771 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.7366, allocations: 238.5 kB / 0.7713 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.7368, allocations: 114.8 kB / 0.7714 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.7369, allocations: 113.1 kB / 0.7715 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.737, allocations: 0 / 0.7715 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.737, allocations: 38.56 kB / 0.7715 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 1.96e-06/0.737, allocations: 0 / 0.7715 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.0004289/0.7375, allocations: 225.2 kB / 0.7717 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.7375, allocations: 51.41 kB / 0.7718 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.7378, allocations: 216.5 kB / 0.772 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.7378, allocations: 25.7 kB / 0.772 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.738, allocations: 132.7 kB / 0.7721 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.7381, allocations: 98.47 kB / 0.7722 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-06/0.7381, allocations: 7.875 kB / 0.7722 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.7383, allocations: 342.8 kB / 0.7726 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.7384, allocations: 83.98 kB / 0.7727 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.7385, allocations: 75.95 kB / 0.7727 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.7387, allocations: 104.2 kB / 0.7728 GB, free: 12 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.249e-06/0.7388, allocations: 0 / 0.7728 GB, free: 12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003942/0.7392, allocations: 229.2 kB / 0.773 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.7392, allocations: 7.984 kB / 0.773 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.7392, allocations: 4 kB / 0.7731 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.7392, allocations: 0 / 0.7731 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.535e-06/0.7393, allocations: 0 / 0.7731 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.734e-06/0.7393, allocations: 3.984 kB / 0.7731 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.936e-05/0.7394, allocations: 15.91 kB / 0.7731 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.7394, allocations: 7.938 kB / 0.7731 GB, free: 11.73 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.856e-05/0.7395, allocations: 108.9 kB / 0.7732 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.7396, allocations: 23.62 kB / 0.7732 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006336/0.7402, allocations: 0.5655 MB / 0.7738 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.04e-05/0.7403, allocations: 184.2 kB / 0.7739 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.075e-05/0.7404, allocations: 184.2 kB / 0.7741 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.664e-05/0.7405, allocations: 180.2 kB / 0.7743 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005167/0.741, allocations: 0.5237 MB / 0.7748 GB, free: 9.801 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.532e-05/0.7411, allocations: 105.6 kB / 0.7749 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.257e-05/0.7412, allocations: 105 kB / 0.775 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.899e-05/0.7413, allocations: 184.3 kB / 0.7752 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.043e-05/0.7414, allocations: 184.2 kB / 0.7753 GB, free: 9.207 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.657e-05/0.7415, allocations: 176.3 kB / 0.7755 GB, free: 9.027 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.574e-05/0.7416, allocations: 180.3 kB / 0.7757 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.7418, allocations: 331.5 kB / 0.776 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005397/0.7424, allocations: 361.4 kB / 0.7763 GB, free: 8.117 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.7426, allocations: 184.2 kB / 0.7765 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.7428, allocations: 105 kB / 0.7766 GB, free: 7.82 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-05/0.7429, allocations: 176.3 kB / 0.7768 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-05/0.743, allocations: 108.9 kB / 0.7769 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001814/0.7448, allocations: 1.114 MB / 0.778 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.055e-06/0.7448, allocations: 0 / 0.778 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001104/0.7459, allocations: 303.6 kB / 0.7783 GB, free: 6.113 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.001076/0.747, allocations: 448.1 kB / 0.7787 GB, free: 5.668 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003162/0.7474, allocations: 185.6 kB / 0.7789 GB, free: 5.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.283e-06/0.7474, allocations: 0 / 0.7789 GB, free: 5.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.819e-06/0.7474, allocations: 0 / 0.7789 GB, free: 5.48 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.748, allocations: 0.5443 MB / 0.7794 GB, free: 4.934 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000603/0.7486, allocations: 357.5 kB / 0.7797 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.7491, allocations: 0.7587 MB / 0.7805 GB, free: 3.773 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.159e-05/0.7491, allocations: 8 kB / 0.7805 GB, free: 3.766 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/0.7492, allocations: 7.438 kB / 0.7805 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of SimCode: time 1.601e-06/0.7492, allocations: 0 / 0.7805 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of Templates: time 0.01199/0.7612, allocations: 4.475 MB / 0.7849 GB, free: 15.32 MB / 0.6667 GB make -j1 -f Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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_TwoUTube -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_TwoUTube.o Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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_TwoUTube -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_TwoUTube_functions.o Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c\nBuildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_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_TwoUTube_functions.o\' failed\nmake: *** [Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o] Error 1\n'