Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.577/1.577, allocations: 285.6 MB / 293.1 MB, free: 10.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 176.9 kB / 361.4 MB, free: 6.793 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.2 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000784/0.0007839, allocations: 85.23 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.738e-05/1.739e-05, allocations: 4 kB / 0.8518 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6569/0.6569, allocations: 115.3 MB / 0.9644 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2271/0.884, allocations: 158.5 MB / 1.119 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003864/0.8845, allocations: 121.7 kB / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04428/0.9288, allocations: 15.17 MB / 1.134 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.9288, allocations: 0 / 1.134 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.9288, allocations: 0 / 1.134 GB, free: 14.08 MB / 0.7448 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.0009652/0.9298, allocations: 0.5527 MB / 1.135 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.9298, allocations: 16.03 kB / 1.135 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.184e-05/0.9299, allocations: 76.31 kB / 1.135 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.9301, allocations: 255 kB / 1.135 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.407e-05/0.9302, allocations: 157 kB / 1.135 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.798e-05/0.9302, allocations: 150.6 kB / 1.135 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.233e-05/0.9303, allocations: 150.6 kB / 1.135 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.478e-05/0.9303, allocations: 108.9 kB / 1.136 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.9304, allocations: 75.28 kB / 1.136 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.738e-05/0.9304, allocations: 150.6 kB / 1.136 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.486e-05/0.9305, allocations: 150.6 kB / 1.136 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003044/0.9308, allocations: 450.4 kB / 1.136 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.989e-05/0.9309, allocations: 173.1 kB / 1.137 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.628e-05/0.9309, allocations: 84.14 kB / 1.137 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.931, allocations: 75.28 kB / 1.137 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/0.931, allocations: 113.7 kB / 1.137 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.931, allocations: 0 / 1.137 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.075e-05/0.9311, allocations: 41.59 kB / 1.137 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.9312, allocations: 51.41 kB / 1.137 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.9313, allocations: 119 kB / 1.137 GB, free: 11 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.9313, allocations: 25.7 kB / 1.137 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.9314, allocations: 92.14 kB / 1.137 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.9314, allocations: 0 / 1.137 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.9314, allocations: 0 / 1.137 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.9315, allocations: 314.8 kB / 1.137 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.654e-05/0.9315, allocations: 12 kB / 1.137 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.313e-05/0.9316, allocations: 5.219 kB / 1.137 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.25e-05/0.9317, allocations: 12 kB / 1.137 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.9317, allocations: 0 / 1.137 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001324/0.9318, allocations: 53.48 kB / 1.137 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.9318, allocations: 8 kB / 1.137 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/0.9319, allocations: 8 kB / 1.137 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.9319, allocations: 0 / 1.137 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.9319, allocations: 0 / 1.137 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.9319, allocations: 0 / 1.137 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.9319, allocations: 4.656 kB / 1.137 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.9319, allocations: 4.062 kB / 1.137 GB, free: 10.45 MB / 0.7448 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.709e-05/0.932, allocations: 182 kB / 1.138 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/0.9321, allocations: 104.9 kB / 1.138 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.623e-05/0.9321, allocations: 119.8 kB / 1.138 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.709e-05/0.9322, allocations: 176.3 kB / 1.138 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.453e-05/0.9323, allocations: 180.3 kB / 1.138 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.577e-05/0.9323, allocations: 184.2 kB / 1.138 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.9326, allocations: 396.4 kB / 1.139 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.263e-05/0.9326, allocations: 101 kB / 1.139 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.594e-05/0.9326, allocations: 109 kB / 1.139 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.086e-05/0.9327, allocations: 180.3 kB / 1.139 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-05/0.9328, allocations: 184.2 kB / 1.139 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.551e-05/0.9328, allocations: 184.2 kB / 1.139 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.674e-05/0.9329, allocations: 180.3 kB / 1.14 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.933, allocations: 307.7 kB / 1.14 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.138e-05/0.9331, allocations: 189.9 kB / 1.14 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.583e-05/0.9332, allocations: 184.2 kB / 1.14 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/0.9333, allocations: 108.9 kB / 1.14 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.9333, allocations: 177.2 kB / 1.141 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/0.9334, allocations: 101 kB / 1.141 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.949e-05/0.9334, allocations: 101.8 kB / 1.141 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9334, allocations: 0 / 1.141 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000931/0.9344, allocations: 335.4 kB / 1.141 GB, free: 6.535 MB / 0.7448 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.001063/0.9355, allocations: 0.5683 MB / 1.142 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.088e-05/0.9356, allocations: 38.03 kB / 1.142 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.9356, allocations: 4 kB / 1.142 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.9356, allocations: 3.938 kB / 1.142 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.9359, allocations: 0.5313 MB / 1.142 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002049/0.9361, allocations: 145.6 kB / 1.142 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.9364, allocations: 0.6846 MB / 1.143 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.529e-05/0.9364, allocations: 7.984 kB / 1.143 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.065e-05/0.9364, allocations: 11.44 kB / 1.143 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/0.9364, allocations: 0 / 1.143 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of Templates: time 0.008788/0.9452, allocations: 5.435 MB / 1.148 GB, free: 15.13 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile b'clang -Os -fPIC -falign-functions -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.c\nclang -Os -fPIC -falign-functions -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c\nBuildings_maint.8.0.x_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.\nmake: *** [: Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o] Error 1\n'