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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadModel(Buildings): time 3.849/3.849, allocations: 433.4 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.976e-05/1.989e-05, allocations: 8 kB / 0.5326 GB, free: 1.906 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4984/0.4984, allocations: 98.71 MB / 0.629 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2168/0.7153, allocations: 145.1 MB / 0.7707 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003734/0.7157, allocations: 119.9 kB / 0.7708 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06608/0.7818, allocations: 14.86 MB / 0.7853 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.111e-06/0.7819, allocations: 0 / 0.7853 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.943e-06/0.7819, allocations: 0 / 0.7853 GB, free: 15.42 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.001008/0.7829, allocations: 0.5552 MB / 0.7859 GB, free: 14.82 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.783, allocations: 12.03 kB / 0.7859 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.137e-05/0.7831, allocations: 83.45 kB / 0.786 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.7833, allocations: 263.4 kB / 0.7862 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-05/0.7834, allocations: 150.6 kB / 0.7863 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.529e-05/0.7835, allocations: 158.5 kB / 0.7865 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.85e-05/0.7835, allocations: 154.6 kB / 0.7866 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.923e-05/0.7836, allocations: 101 kB / 0.7867 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.037e-05/0.7837, allocations: 75.28 kB / 0.7868 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.086e-05/0.7838, allocations: 154.6 kB / 0.787 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.417e-05/0.7838, allocations: 154.5 kB / 0.7871 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.7842, allocations: 442.5 kB / 0.7875 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.7843, allocations: 173.1 kB / 0.7877 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.302e-05/0.7844, allocations: 84.14 kB / 0.7878 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-05/0.7844, allocations: 75.28 kB / 0.7878 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.098e-05/0.7845, allocations: 105.8 kB / 0.788 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 2.243e-06/0.7845, allocations: 0 / 0.788 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 9.136e-05/0.7846, allocations: 33.61 kB / 0.788 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.7847, allocations: 55.34 kB / 0.788 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.7848, allocations: 126.6 kB / 0.7882 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.7849, allocations: 25.7 kB / 0.7882 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.785, allocations: 92.08 kB / 0.7883 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-06/0.785, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-06/0.785, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.7851, allocations: 326.7 kB / 0.7886 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.713e-05/0.7852, allocations: 4 kB / 0.7886 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.396e-05/0.7852, allocations: 8 kB / 0.7886 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.549e-05/0.7853, allocations: 4 kB / 0.7886 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.318e-06/0.7853, allocations: 32 / 0.7886 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000172/0.7855, allocations: 53.61 kB / 0.7886 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.7855, allocations: 11.98 kB / 0.7887 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.7856, allocations: 0 / 0.7887 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.7856, allocations: 4 kB / 0.7887 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.671e-06/0.7856, allocations: 0 / 0.7887 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.219e-06/0.7856, allocations: 0 / 0.7887 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.055e-05/0.7857, allocations: 0 / 0.7887 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.373e-06/0.7857, allocations: 0 / 0.7887 GB, free: 11.79 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.0001181/0.7858, allocations: 184.2 kB / 0.7888 GB, free: 11.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.792e-05/0.7859, allocations: 112.8 kB / 0.7889 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.587e-05/0.786, allocations: 120 kB / 0.7891 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.39e-05/0.7861, allocations: 176.3 kB / 0.7892 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.05e-05/0.7862, allocations: 180.2 kB / 0.7894 GB, free: 11 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.374e-05/0.7863, allocations: 176.3 kB / 0.7896 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.7866, allocations: 397.7 kB / 0.7899 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.433e-05/0.7867, allocations: 108.9 kB / 0.7901 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.476e-05/0.7867, allocations: 105 kB / 0.7902 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-05/0.7868, allocations: 180.3 kB / 0.7903 GB, free: 9.977 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.061e-05/0.7869, allocations: 184.3 kB / 0.7905 GB, free: 9.789 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.631e-05/0.787, allocations: 180.3 kB / 0.7907 GB, free: 9.605 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-05/0.7871, allocations: 180.3 kB / 0.7908 GB, free: 9.422 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.7873, allocations: 315.7 kB / 0.7911 GB, free: 9.09 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.7875, allocations: 182 kB / 0.7913 GB, free: 8.887 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.7876, allocations: 188.2 kB / 0.7915 GB, free: 8.695 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.7877, allocations: 105 kB / 0.7916 GB, free: 8.586 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.019e-05/0.7878, allocations: 184.2 kB / 0.7918 GB, free: 8.398 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.343e-05/0.7879, allocations: 104.9 kB / 0.7919 GB, free: 8.289 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 8.673e-05/0.788, allocations: 101.5 kB / 0.792 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.93e-07/0.788, allocations: 0 / 0.792 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001207/0.7892, allocations: 327.5 kB / 0.7923 GB, free: 7.871 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.001558/0.7908, allocations: 0.5736 MB / 0.7928 GB, free: 7.289 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.7909, allocations: 38.03 kB / 0.7929 GB, free: 7.246 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.289e-06/0.7909, allocations: 0 / 0.7929 GB, free: 7.246 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.45e-06/0.791, allocations: 3.938 kB / 0.7929 GB, free: 7.242 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.7914, allocations: 0.5335 MB / 0.7934 GB, free: 6.707 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/0.7917, allocations: 145 kB / 0.7935 GB, free: 6.543 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.792, allocations: 0.6885 MB / 0.7942 GB, free: 5.828 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 1.797e-05/0.7921, allocations: 3.906 kB / 0.7942 GB, free: 5.824 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.497e-05/0.7921, allocations: 7.438 kB / 0.7942 GB, free: 5.816 MB / 0.6667 GB Notification: Performance of SimCode: time 1.663e-06/0.7921, allocations: 3.938 kB / 0.7942 GB, free: 5.812 MB / 0.6667 GB Notification: Performance of Templates: time 0.01278/0.8049, allocations: 5.424 MB / 0.7995 GB, free: 432 kB / 0.6667 GB make -j1 -f Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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_InternalResistancesTwoUTubeNegative -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.InternalResistancesTwoUTubeNegative.o Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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_InternalResistancesTwoUTubeNegative -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.InternalResistancesTwoUTubeNegative_functions.o Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c\nBuildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_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.InternalResistancesTwoUTubeNegative_functions.o\' failed\nmake: *** [Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o] Error 1\n'