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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 249.5 MB / 257 MB, free: 6.879 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.0009676/0.0009676, allocations: 180.8 kB / 316.3 MB, free: 3.246 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.589/1.589, allocations: 205.3 MB / 0.5672 GB, free: 15.82 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.0007885/0.0007885, allocations: 91.88 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.145e-05/2.147e-05, allocations: 8 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2259, allocations: 106.3 MB / 0.8853 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8095/1.035, allocations: 152.4 MB / 1.034 GB, free: 1.391 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/1.036, allocations: 114.2 kB / 1.034 GB, free: 1.32 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04491/1.081, allocations: 14.87 MB / 1.049 GB, free: 4.742 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.824e-06/1.081, allocations: 0 / 1.049 GB, free: 4.742 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.843e-06/1.081, allocations: 0 / 1.049 GB, free: 4.742 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.001108/1.082, allocations: 0.5402 MB / 1.049 GB, free: 4.164 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/1.082, allocations: 8.031 kB / 1.049 GB, free: 4.156 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/1.082, allocations: 87.45 kB / 1.049 GB, free: 4.07 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/1.082, allocations: 249.5 kB / 1.05 GB, free: 3.789 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.61e-05/1.082, allocations: 154.5 kB / 1.05 GB, free: 3.637 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-05/1.082, allocations: 150.6 kB / 1.05 GB, free: 3.488 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.752e-05/1.082, allocations: 154.5 kB / 1.05 GB, free: 3.336 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.603e-05/1.083, allocations: 109 kB / 1.05 GB, free: 3.223 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/1.083, allocations: 75.28 kB / 1.05 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.145e-05/1.083, allocations: 155.5 kB / 1.05 GB, free: 2.996 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.967e-05/1.083, allocations: 150.6 kB / 1.051 GB, free: 2.848 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003023/1.083, allocations: 449.6 kB / 1.051 GB, free: 2.379 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 9.141e-05/1.083, allocations: 173 kB / 1.051 GB, free: 2.203 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/1.083, allocations: 84.14 kB / 1.051 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-05/1.083, allocations: 75.28 kB / 1.051 GB, free: 2.043 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/1.083, allocations: 105.8 kB / 1.051 GB, free: 1.93 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/1.083, allocations: 0 / 1.051 GB, free: 1.93 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 7.559e-05/1.083, allocations: 29.7 kB / 1.051 GB, free: 1.895 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/1.083, allocations: 51.41 kB / 1.051 GB, free: 1.832 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/1.083, allocations: 125.5 kB / 1.052 GB, free: 1.707 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/1.083, allocations: 29.7 kB / 1.052 GB, free: 1.672 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/1.084, allocations: 95.69 kB / 1.052 GB, free: 1.582 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.312e-06/1.084, allocations: 0 / 1.052 GB, free: 1.582 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/1.084, allocations: 0 / 1.052 GB, free: 1.582 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.084, allocations: 322.7 kB / 1.052 GB, free: 1.262 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.21e-05/1.084, allocations: 0 / 1.052 GB, free: 1.262 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.471e-05/1.084, allocations: 7.984 kB / 1.052 GB, free: 1.254 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.659e-05/1.084, allocations: 14.94 kB / 1.052 GB, free: 1.242 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/1.084, allocations: 0 / 1.052 GB, free: 1.242 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001283/1.084, allocations: 49.64 kB / 1.052 GB, free: 1.188 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.084, allocations: 4 kB / 1.052 GB, free: 1.184 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/1.084, allocations: 4 kB / 1.052 GB, free: 1.18 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/1.084, allocations: 0 / 1.052 GB, free: 1.18 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.756e-06/1.084, allocations: 3.984 kB / 1.052 GB, free: 1.176 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.778e-06/1.084, allocations: 0 / 1.052 GB, free: 1.176 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/1.084, allocations: 0 / 1.052 GB, free: 1.176 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/1.084, allocations: 4 kB / 1.052 GB, free: 1.172 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.0001089/1.084, allocations: 183.4 kB / 1.052 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/1.084, allocations: 116.9 kB / 1.052 GB, free: 0.8672 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.182e-05/1.084, allocations: 105 kB / 1.052 GB, free: 0.7539 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.669e-05/1.084, allocations: 180.2 kB / 1.053 GB, free: 0.5703 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.158e-05/1.085, allocations: 184.2 kB / 1.053 GB, free: 392 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.839e-05/1.085, allocations: 176.3 kB / 1.053 GB, free: 208 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/1.085, allocations: 393.3 kB / 1.053 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-05/1.085, allocations: 108.9 kB / 1.053 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/1.085, allocations: 105 kB / 1.054 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.519e-05/1.085, allocations: 184.3 kB / 1.054 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.008e-05/1.085, allocations: 180.2 kB / 1.054 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.437e-05/1.085, allocations: 180.3 kB / 1.054 GB, free: 15 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.825e-05/1.085, allocations: 180.3 kB / 1.054 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/1.085, allocations: 307.5 kB / 1.055 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-05/1.085, allocations: 182 kB / 1.055 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.417e-05/1.086, allocations: 188.2 kB / 1.055 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.991e-05/1.086, allocations: 105 kB / 1.055 GB, free: 14 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/1.086, allocations: 185.1 kB / 1.055 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/1.086, allocations: 104.9 kB / 1.055 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.805e-05/1.086, allocations: 92.41 kB / 1.055 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.086, allocations: 0 / 1.055 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001135/1.087, allocations: 329.7 kB / 1.056 GB, free: 13.31 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.001192/1.088, allocations: 0.5629 MB / 1.056 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.752e-05/1.088, allocations: 41.77 kB / 1.056 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.088, allocations: 0 / 1.056 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/1.088, allocations: 0 / 1.056 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/1.089, allocations: 0.5269 MB / 1.057 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/1.089, allocations: 151 kB / 1.057 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/1.089, allocations: 0.6846 MB / 1.058 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.304e-05/1.089, allocations: 3.938 kB / 1.058 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.317e-05/1.089, allocations: 11.44 kB / 1.058 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/1.089, allocations: 0 / 1.058 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of Templates: time 0.009652/1.099, allocations: 5.31 MB / 1.063 GB, free: 6.039 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.c Buildings_maint.7.0.x_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') 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.InternalResistancesOneUTubeNegative_functions.o] Error 1