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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadModel(Buildings): time 3.862/3.862, allocations: 433.4 MB / 440.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.11e-05/2.121e-05, allocations: 4 kB / 0.5326 GB, free: 1.887 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4912/0.4912, allocations: 98.71 MB / 0.629 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2131/0.7043, allocations: 144.4 MB / 0.77 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003985/0.7048, allocations: 117.9 kB / 0.7701 GB, free: 15 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06307/0.7679, allocations: 14.55 MB / 0.7843 GB, free: 436 kB / 0.6511 GB Notification: Performance of FrontEnd: time 1.945e-06/0.7679, allocations: 0 / 0.7843 GB, free: 436 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.078e-06/0.7679, allocations: 0 / 0.7843 GB, free: 436 kB / 0.6511 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.0009863/0.7689, allocations: 0.5525 MB / 0.7848 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.769, allocations: 8.031 kB / 0.7849 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.196e-05/0.769, allocations: 91.45 kB / 0.7849 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.7692, allocations: 250.2 kB / 0.7852 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.532e-05/0.7693, allocations: 150.6 kB / 0.7853 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.149e-05/0.7694, allocations: 154.6 kB / 0.7855 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.001e-05/0.7695, allocations: 154.6 kB / 0.7856 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.787e-05/0.7696, allocations: 108.9 kB / 0.7857 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.144e-05/0.7696, allocations: 75.28 kB / 0.7858 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.357e-05/0.7697, allocations: 154.5 kB / 0.7859 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.105e-05/0.7698, allocations: 154.5 kB / 0.7861 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.7702, allocations: 446.5 kB / 0.7865 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 9.6e-05/0.7703, allocations: 165.1 kB / 0.7867 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.7703, allocations: 80.14 kB / 0.7867 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.7704, allocations: 79.22 kB / 0.7868 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.552e-05/0.7705, allocations: 113.8 kB / 0.7869 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 2.003e-06/0.7705, allocations: 0 / 0.7869 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 8.154e-05/0.7706, allocations: 29.7 kB / 0.787 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.7706, allocations: 55.34 kB / 0.787 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.7708, allocations: 119.4 kB / 0.7871 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.7708, allocations: 25.7 kB / 0.7871 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.641e-05/0.7709, allocations: 92.14 kB / 0.7872 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-06/0.7709, allocations: 0 / 0.7872 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-06/0.7709, allocations: 0 / 0.7872 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.7711, allocations: 326.8 kB / 0.7875 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.13e-05/0.7711, allocations: 4 kB / 0.7876 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.968e-05/0.7711, allocations: 4 kB / 0.7876 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.799e-05/0.7712, allocations: 4 kB / 0.7876 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.243e-06/0.7712, allocations: 0 / 0.7876 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001623/0.7714, allocations: 57.53 kB / 0.7876 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.7714, allocations: 4 kB / 0.7876 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.7715, allocations: 4 kB / 0.7876 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.7715, allocations: 0 / 0.7876 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.7715, allocations: 0 / 0.7876 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.685e-06/0.7715, allocations: 7.938 kB / 0.7876 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.736e-05/0.7715, allocations: 4.062 kB / 0.7876 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.331e-06/0.7716, allocations: 4 kB / 0.7876 GB, free: 12.8 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.000114/0.7717, allocations: 180.2 kB / 0.7878 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.871e-05/0.7718, allocations: 112.9 kB / 0.7879 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.095e-05/0.7719, allocations: 115.9 kB / 0.788 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.371e-05/0.772, allocations: 176.3 kB / 0.7882 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.705e-05/0.7721, allocations: 184.3 kB / 0.7884 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.918e-05/0.7722, allocations: 184.2 kB / 0.7885 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.7725, allocations: 393.7 kB / 0.7889 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.071e-05/0.7725, allocations: 101 kB / 0.789 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.443e-05/0.7726, allocations: 104.9 kB / 0.7891 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.598e-05/0.7727, allocations: 176.3 kB / 0.7893 GB, free: 11 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.022e-05/0.7728, allocations: 192.3 kB / 0.7895 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.969e-05/0.7729, allocations: 184.2 kB / 0.7896 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.587e-05/0.773, allocations: 176.3 kB / 0.7898 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.7732, allocations: 299.8 kB / 0.7901 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.7733, allocations: 201.9 kB / 0.7903 GB, free: 9.898 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.82e-05/0.7734, allocations: 176.3 kB / 0.7905 GB, free: 9.719 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.7735, allocations: 104.9 kB / 0.7906 GB, free: 9.609 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.729e-05/0.7736, allocations: 180.2 kB / 0.7907 GB, free: 9.426 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.267e-05/0.7737, allocations: 105 kB / 0.7908 GB, free: 9.316 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 7.637e-05/0.7738, allocations: 91.27 kB / 0.7909 GB, free: 9.227 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.83e-07/0.7738, allocations: 4 kB / 0.7909 GB, free: 9.223 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001131/0.7749, allocations: 327.4 kB / 0.7912 GB, free: 8.902 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.001369/0.7763, allocations: 0.5642 MB / 0.7918 GB, free: 8.332 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.7764, allocations: 41.97 kB / 0.7918 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.037e-06/0.7765, allocations: 0 / 0.7918 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.35e-06/0.7765, allocations: 3.938 kB / 0.7918 GB, free: 8.281 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.7769, allocations: 0.5296 MB / 0.7923 GB, free: 7.75 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002141/0.7771, allocations: 147.1 kB / 0.7925 GB, free: 7.582 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.7775, allocations: 0.6846 MB / 0.7932 GB, free: 6.871 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 1.693e-05/0.7775, allocations: 8 kB / 0.7932 GB, free: 6.863 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.406e-05/0.7776, allocations: 7.438 kB / 0.7932 GB, free: 6.855 MB / 0.6667 GB Notification: Performance of SimCode: time 1.299e-06/0.7776, allocations: 0 / 0.7932 GB, free: 6.855 MB / 0.6667 GB Notification: Performance of Templates: time 0.01221/0.7898, allocations: 5.293 MB / 0.7983 GB, free: 1.598 MB / 0.6667 GB make -j1 -f Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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_InternalResistancesOneUTubeNegative -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.InternalResistancesOneUTubeNegative.o Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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_InternalResistancesOneUTubeNegative -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.InternalResistancesOneUTubeNegative_functions.o Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.c\nBuildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.c:786: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.InternalResistancesOneUTubeNegative_functions.o\' failed\nmake: *** [Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o] Error 1\n'