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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadModel(Buildings): time 3.807/3.807, allocations: 433.3 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.321e-05/2.334e-05, allocations: 4 kB / 0.5326 GB, free: 1.871 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5037/0.5038, allocations: 98.7 MB / 0.629 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2139/0.7178, allocations: 144.4 MB / 0.77 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003686/0.7182, allocations: 119.9 kB / 0.7701 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06427/0.7825, allocations: 14.54 MB / 0.7843 GB, free: 432 kB / 0.6511 GB Notification: Performance of FrontEnd: time 2.067e-06/0.7825, allocations: 0 / 0.7843 GB, free: 432 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.7825, allocations: 0 / 0.7843 GB, free: 432 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.0009811/0.7835, allocations: 0.5486 MB / 0.7848 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.7836, allocations: 8.031 kB / 0.7848 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.279e-05/0.7836, allocations: 95.45 kB / 0.7849 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.7839, allocations: 254.2 kB / 0.7852 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.34e-05/0.7839, allocations: 150.6 kB / 0.7853 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.122e-05/0.784, allocations: 150.6 kB / 0.7855 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.916e-05/0.7841, allocations: 158.6 kB / 0.7856 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.646e-05/0.7842, allocations: 104.9 kB / 0.7857 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.966e-05/0.7843, allocations: 75.28 kB / 0.7858 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.018e-05/0.7843, allocations: 150.6 kB / 0.7859 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.208e-05/0.7844, allocations: 154.5 kB / 0.7861 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.7848, allocations: 446.5 kB / 0.7865 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 9.797e-05/0.7849, allocations: 165.1 kB / 0.7867 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.23e-05/0.7849, allocations: 80.14 kB / 0.7867 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/0.785, allocations: 75.28 kB / 0.7868 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.622e-05/0.7851, allocations: 117.8 kB / 0.7869 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 1.839e-06/0.7851, allocations: 4 kB / 0.7869 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 8.252e-05/0.7852, allocations: 25.7 kB / 0.787 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.7852, allocations: 55.34 kB / 0.787 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.7854, allocations: 118.8 kB / 0.7871 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.7854, allocations: 25.7 kB / 0.7871 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.7855, allocations: 92.12 kB / 0.7872 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-06/0.7855, allocations: 0 / 0.7872 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-06/0.7855, allocations: 0 / 0.7872 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.7857, allocations: 322.8 kB / 0.7875 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/0.7857, allocations: 4 kB / 0.7875 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.004e-05/0.7857, allocations: 7.984 kB / 0.7875 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.234e-05/0.7858, allocations: 8 kB / 0.7876 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.278e-06/0.7858, allocations: 0 / 0.7876 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001595/0.786, allocations: 57.47 kB / 0.7876 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.786, allocations: 4 kB / 0.7876 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.786, allocations: 4 kB / 0.7876 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.7861, allocations: 0 / 0.7876 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.43e-06/0.7861, allocations: 0 / 0.7876 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.913e-06/0.7861, allocations: 0 / 0.7876 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.893e-05/0.7861, allocations: 4.062 kB / 0.7876 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.7861, 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.0001112/0.7863, allocations: 180.2 kB / 0.7878 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.888e-05/0.7864, allocations: 112.9 kB / 0.7879 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.843e-05/0.7864, allocations: 115.9 kB / 0.788 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.752e-05/0.7865, allocations: 176.3 kB / 0.7882 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.645e-05/0.7866, allocations: 188.3 kB / 0.7884 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.615e-05/0.7867, allocations: 180.2 kB / 0.7885 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.787, allocations: 397.7 kB / 0.7889 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.434e-05/0.7871, allocations: 105 kB / 0.789 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.146e-05/0.7872, allocations: 104.9 kB / 0.7891 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-05/0.7873, allocations: 176.3 kB / 0.7893 GB, free: 11 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.7874, allocations: 184.3 kB / 0.7895 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.105e-05/0.7875, allocations: 188.2 kB / 0.7896 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.597e-05/0.7876, allocations: 176.3 kB / 0.7898 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.7878, allocations: 307.8 kB / 0.7901 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.7879, allocations: 194 kB / 0.7903 GB, free: 9.898 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.788, allocations: 180.2 kB / 0.7905 GB, free: 9.715 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.7881, allocations: 104.9 kB / 0.7906 GB, free: 9.605 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-05/0.7882, allocations: 180.2 kB / 0.7907 GB, free: 9.422 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.377e-05/0.7883, allocations: 109 kB / 0.7908 GB, free: 9.309 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 7.88e-05/0.7884, allocations: 97.14 kB / 0.7909 GB, free: 9.215 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.47e-07/0.7884, allocations: 4 kB / 0.7909 GB, free: 9.211 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001135/0.7895, allocations: 323.5 kB / 0.7912 GB, free: 8.895 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.001424/0.791, allocations: 0.5621 MB / 0.7918 GB, free: 8.324 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.7911, allocations: 34.03 kB / 0.7918 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.52e-06/0.7911, allocations: 7.938 kB / 0.7918 GB, free: 8.277 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 6.403e-06/0.7911, allocations: 11.94 kB / 0.7918 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.7916, allocations: 0.5253 MB / 0.7924 GB, free: 7.738 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002176/0.7918, allocations: 139.2 kB / 0.7925 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.7922, allocations: 0.6885 MB / 0.7932 GB, free: 6.863 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 1.448e-05/0.7922, allocations: 0 / 0.7932 GB, free: 6.863 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.564e-05/0.7922, allocations: 11.44 kB / 0.7932 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of SimCode: time 1.414e-06/0.7922, allocations: 0 / 0.7932 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of Templates: time 0.0122/0.8045, allocations: 5.288 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.InternalResistancesOneUTube.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_InternalResistancesOneUTube -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.InternalResistancesOneUTube.o Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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_InternalResistancesOneUTube -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.InternalResistancesOneUTube_functions.o Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c\nBuildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_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.InternalResistancesOneUTube_functions.o\' failed\nmake: *** [Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o] Error 1\n'