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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadModel(Buildings): time 3.809/3.809, allocations: 433.3 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.919e-05/1.93e-05, allocations: 4 kB / 0.5326 GB, free: 1.895 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4933/0.4934, allocations: 98.71 MB / 0.629 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2167/0.7101, allocations: 145.1 MB / 0.7707 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003787/0.7106, allocations: 123.7 kB / 0.7708 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06543/0.776, allocations: 14.87 MB / 0.7853 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of FrontEnd: time 4.502e-06/0.7761, allocations: 3.984 kB / 0.7853 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.041e-06/0.7761, allocations: 0 / 0.7853 GB, free: 15.39 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001001/0.7771, allocations: 0.5603 MB / 0.7859 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.7772, allocations: 8.031 kB / 0.7859 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.449e-05/0.7772, allocations: 87.45 kB / 0.786 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.7774, allocations: 248.4 kB / 0.7862 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-05/0.7775, allocations: 158.5 kB / 0.7863 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.823e-05/0.7776, allocations: 154.6 kB / 0.7865 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.004e-05/0.7777, allocations: 150.6 kB / 0.7866 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.659e-05/0.7778, allocations: 101 kB / 0.7867 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.128e-05/0.7778, allocations: 79.27 kB / 0.7868 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.459e-05/0.7779, allocations: 150.6 kB / 0.787 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.169e-05/0.778, allocations: 158.5 kB / 0.7871 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.7784, allocations: 442.5 kB / 0.7875 GB, free: 13 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.7785, allocations: 169.1 kB / 0.7877 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.929e-05/0.7786, allocations: 88.14 kB / 0.7878 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.575e-05/0.7786, allocations: 87.22 kB / 0.7879 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.167e-05/0.7787, allocations: 105.8 kB / 0.788 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 1.91e-06/0.7787, allocations: 0 / 0.788 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 9.257e-05/0.7788, allocations: 37.59 kB / 0.788 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.7789, allocations: 55.34 kB / 0.788 GB, free: 12.42 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.779, allocations: 117.1 kB / 0.7882 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.779, allocations: 25.7 kB / 0.7882 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/0.7791, allocations: 100.1 kB / 0.7883 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-06/0.7791, allocations: 0 / 0.7883 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-06/0.7791, allocations: 0 / 0.7883 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.7793, allocations: 314.8 kB / 0.7886 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.836e-05/0.7793, allocations: 8 kB / 0.7886 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.928e-05/0.7794, allocations: 4 kB / 0.7886 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.529e-05/0.7795, allocations: 11.98 kB / 0.7886 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.302e-06/0.7795, allocations: 0 / 0.7886 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001843/0.7797, allocations: 45.61 kB / 0.7886 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.7797, allocations: 4 kB / 0.7886 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.7797, allocations: 8.062 kB / 0.7887 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.7798, allocations: 0 / 0.7887 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.107e-06/0.7798, allocations: 4 kB / 0.7887 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.771e-06/0.7798, allocations: 3.984 kB / 0.7887 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.205e-05/0.7798, allocations: 4 kB / 0.7887 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.15e-06/0.7798, allocations: 0 / 0.7887 GB, free: 11.75 MB / 0.6667 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 0.0001144/0.78, allocations: 180.2 kB / 0.7888 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.862e-05/0.7801, allocations: 112.8 kB / 0.7889 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.004e-05/0.7801, allocations: 116 kB / 0.7891 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.098e-05/0.7802, allocations: 180.2 kB / 0.7892 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.093e-05/0.7804, allocations: 180.2 kB / 0.7894 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.01e-05/0.7805, allocations: 176.3 kB / 0.7896 GB, free: 10.78 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.7808, allocations: 397.7 kB / 0.7899 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.666e-05/0.7808, allocations: 108.9 kB / 0.7901 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.002e-05/0.7809, allocations: 101 kB / 0.7902 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-05/0.781, allocations: 184.2 kB / 0.7903 GB, free: 9.941 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.545e-05/0.7811, allocations: 184.2 kB / 0.7905 GB, free: 9.754 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.798e-05/0.7812, allocations: 176.3 kB / 0.7907 GB, free: 9.574 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-05/0.7813, allocations: 176.3 kB / 0.7908 GB, free: 9.395 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.7815, allocations: 319.7 kB / 0.7911 GB, free: 9.059 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.7816, allocations: 182 kB / 0.7913 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.7817, allocations: 180.2 kB / 0.7915 GB, free: 8.672 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.7819, allocations: 105 kB / 0.7916 GB, free: 8.562 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/0.782, allocations: 188.2 kB / 0.7918 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.408e-05/0.782, allocations: 108.9 kB / 0.7919 GB, free: 8.258 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 7.972e-05/0.7821, allocations: 100.8 kB / 0.792 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.62e-07/0.7821, allocations: 0 / 0.792 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001159/0.7833, allocations: 331.4 kB / 0.7923 GB, free: 7.836 MB / 0.6667 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.001349/0.7847, allocations: 0.5608 MB / 0.7928 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.7848, allocations: 38.03 kB / 0.7929 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.566e-06/0.7848, allocations: 0 / 0.7929 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.277e-06/0.7848, allocations: 7.938 kB / 0.7929 GB, free: 7.219 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.7853, allocations: 0.5194 MB / 0.7934 GB, free: 6.695 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002165/0.7855, allocations: 151.4 kB / 0.7935 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.7859, allocations: 0.6846 MB / 0.7942 GB, free: 5.812 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 2.321e-05/0.7859, allocations: 11.84 kB / 0.7942 GB, free: 5.801 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.123e-05/0.7859, allocations: 7.438 kB / 0.7942 GB, free: 5.793 MB / 0.6667 GB Notification: Performance of SimCode: time 1.308e-06/0.7859, allocations: 0 / 0.7942 GB, free: 5.793 MB / 0.6667 GB Notification: Performance of Templates: time 0.01253/0.7985, allocations: 5.438 MB / 0.7995 GB, free: 392 kB / 0.6667 GB make -j1 -f Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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_InternalResistancesTwoUTube -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.InternalResistancesTwoUTube.o Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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_InternalResistancesTwoUTube -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.InternalResistancesTwoUTube_functions.o Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c\nBuildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c:817: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.InternalResistancesTwoUTube_functions.o\' failed\nmake: *** [Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o] Error 1\n'