Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.457/1.457, allocations: 249.5 MB / 257 MB, free: 6.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 180.8 kB / 316.3 MB, free: 3.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.3 MB / 0.5671 GB, free: 15.92 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008473/0.0008473, allocations: 96.19 kB / 0.6714 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.654e-05/1.678e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2283, allocations: 106.3 MB / 0.8853 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7841/1.012, allocations: 153.1 MB / 1.035 GB, free: 0.7031 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/1.013, allocations: 114.1 kB / 1.035 GB, free: 0.6328 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04503/1.058, allocations: 15.18 MB / 1.05 GB, free: 3.754 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.563e-06/1.058, allocations: 0 / 1.05 GB, free: 3.754 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.874e-06/1.058, allocations: 0 / 1.05 GB, free: 3.754 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.0009567/1.059, allocations: 0.5462 MB / 1.05 GB, free: 3.172 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.059, allocations: 12.03 kB / 1.05 GB, free: 3.16 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.509e-05/1.059, allocations: 83.45 kB / 1.05 GB, free: 3.078 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/1.059, allocations: 252.1 kB / 1.051 GB, free: 2.793 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-05/1.059, allocations: 150.6 kB / 1.051 GB, free: 2.645 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/1.059, allocations: 154.6 kB / 1.051 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.153e-05/1.059, allocations: 154.5 kB / 1.051 GB, free: 2.34 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.993e-05/1.059, allocations: 107.7 kB / 1.051 GB, free: 2.23 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/1.059, allocations: 75.28 kB / 1.051 GB, free: 2.156 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.937e-05/1.06, allocations: 150.6 kB / 1.051 GB, free: 2.008 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.363e-05/1.06, allocations: 158.6 kB / 1.052 GB, free: 1.852 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002798/1.06, allocations: 445.4 kB / 1.052 GB, free: 1.387 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 8.203e-05/1.06, allocations: 169.1 kB / 1.052 GB, free: 1.211 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.447e-05/1.06, allocations: 80.14 kB / 1.052 GB, free: 1.129 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/1.06, allocations: 83.12 kB / 1.052 GB, free: 1.051 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/1.06, allocations: 105.8 kB / 1.052 GB, free: 0.9375 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/1.06, allocations: 0 / 1.052 GB, free: 0.9375 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 7.574e-05/1.06, allocations: 33.61 kB / 1.052 GB, free: 0.8984 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/1.06, allocations: 51.41 kB / 1.052 GB, free: 0.8359 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/1.06, allocations: 118.2 kB / 1.053 GB, free: 0.7188 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/1.06, allocations: 25.7 kB / 1.053 GB, free: 0.6875 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/1.06, allocations: 94.19 kB / 1.053 GB, free: 0.5977 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/1.06, allocations: 4 kB / 1.053 GB, free: 0.5938 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/1.06, allocations: 3.938 kB / 1.053 GB, free: 0.5898 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001118/1.061, allocations: 322.7 kB / 1.053 GB, free: 276 kB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/1.061, allocations: 3.938 kB / 1.053 GB, free: 272 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.377e-05/1.061, allocations: 7.938 kB / 1.053 GB, free: 268 kB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.922e-05/1.061, allocations: 15.94 kB / 1.053 GB, free: 252 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.061, allocations: 0 / 1.053 GB, free: 252 kB / 0.6667 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000124/1.061, allocations: 49.48 kB / 1.053 GB, free: 200 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/1.061, allocations: 5.406 kB / 1.053 GB, free: 196 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/1.061, allocations: 8.125 kB / 1.053 GB, free: 188 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/1.061, allocations: 4 kB / 1.053 GB, free: 184 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.497e-06/1.061, allocations: 3.984 kB / 1.053 GB, free: 180 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/1.061, allocations: 0 / 1.053 GB, free: 180 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/1.061, allocations: 0 / 1.053 GB, free: 180 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/1.061, allocations: 4 kB / 1.053 GB, free: 176 kB / 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.0001152/1.061, allocations: 180.2 kB / 1.053 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.02e-05/1.061, allocations: 112.8 kB / 1.053 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.934e-05/1.061, allocations: 112.5 kB / 1.053 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.847e-05/1.061, allocations: 180.2 kB / 1.054 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.709e-05/1.061, allocations: 180.2 kB / 1.054 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-05/1.061, allocations: 180.3 kB / 1.054 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/1.062, allocations: 385.5 kB / 1.054 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.523e-05/1.062, allocations: 116.9 kB / 1.054 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/1.062, allocations: 105.1 kB / 1.055 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.683e-05/1.062, allocations: 184.2 kB / 1.055 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-05/1.062, allocations: 180.2 kB / 1.055 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.159e-05/1.062, allocations: 180.3 kB / 1.055 GB, free: 14 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.525e-05/1.062, allocations: 176.3 kB / 1.055 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/1.062, allocations: 319.5 kB / 1.056 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/1.062, allocations: 178.1 kB / 1.056 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.085e-05/1.062, allocations: 188.2 kB / 1.056 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.518e-05/1.062, allocations: 101 kB / 1.056 GB, free: 13 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.586e-05/1.062, allocations: 185.2 kB / 1.056 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/1.062, allocations: 104.9 kB / 1.056 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.132e-05/1.063, allocations: 99.22 kB / 1.056 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.01e-07/1.063, allocations: 0 / 1.056 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009716/1.064, allocations: 329.8 kB / 1.057 GB, free: 12.3 MB / 0.6823 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.001105/1.065, allocations: 0.5705 MB / 1.057 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.544e-05/1.065, allocations: 44.78 kB / 1.057 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.065, allocations: 0 / 1.057 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/1.065, allocations: 4 kB / 1.057 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/1.065, allocations: 0.524 MB / 1.058 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002116/1.065, allocations: 153.4 kB / 1.058 GB, free: 11 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/1.066, allocations: 0.6846 MB / 1.059 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.502e-05/1.066, allocations: 4 kB / 1.059 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.047e-05/1.066, allocations: 7.438 kB / 1.059 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/1.066, allocations: 0 / 1.059 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of Templates: time 0.008899/1.075, allocations: 5.441 MB / 1.064 GB, free: 4.891 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile 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_7_0_x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.c 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_7_0_x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c Buildings_maint.7.0.x_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') copy_real_array_data(add_alloc_scalar_real_array(_TBor, &mul_alloc_real_matrix_product_smart(_R0, _QPip_flow)), &_TFlu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o] Error 1