Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.246/2.246, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 188.8 kB / 491.2 MB, free: 1.594 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 221.5 MB / 0.7868 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009816/0.0009815, allocations: 106.2 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.132e-05/2.134e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2994, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/1.358, allocations: 169.6 MB / 1.378 GB, free: 16.33 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/1.358, allocations: 121.6 kB / 1.378 GB, free: 16.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03979/1.398, allocations: 14.98 MB / 1.393 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.893e-06/1.398, allocations: 0 / 1.393 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.793e-06/1.398, allocations: 3.688 kB / 1.393 GB, free: 26.49 MB / 0.8386 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.0008653/1.399, allocations: 0.5493 MB / 1.393 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/1.399, allocations: 11.56 kB / 1.393 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.881e-05/1.399, allocations: 87.12 kB / 1.393 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/1.399, allocations: 249.8 kB / 1.394 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.301e-05/1.399, allocations: 154.4 kB / 1.394 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.27e-05/1.399, allocations: 150.6 kB / 1.394 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.078e-05/1.4, allocations: 154.6 kB / 1.394 GB, free: 25.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.522e-05/1.4, allocations: 104.9 kB / 1.394 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/1.4, allocations: 75.28 kB / 1.394 GB, free: 24.97 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.853e-05/1.4, allocations: 150.6 kB / 1.394 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.874e-05/1.4, allocations: 159.1 kB / 1.394 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/1.4, allocations: 441.8 kB / 1.395 GB, free: 24.21 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.758e-05/1.4, allocations: 172.5 kB / 1.395 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.101e-05/1.4, allocations: 80.14 kB / 1.395 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/1.4, allocations: 75.28 kB / 1.395 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/1.4, allocations: 113.8 kB / 1.395 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/1.4, allocations: 0 / 1.395 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.759e-05/1.4, allocations: 37.44 kB / 1.395 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.899e-05/1.4, allocations: 51.41 kB / 1.395 GB, free: 23.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/1.4, allocations: 113.3 kB / 1.396 GB, free: 23.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.707e-06/1.4, allocations: 29.64 kB / 1.396 GB, free: 23.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/1.401, allocations: 91.48 kB / 1.396 GB, free: 23.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/1.401, allocations: 0 / 1.396 GB, free: 23.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/1.401, allocations: 0 / 1.396 GB, free: 23.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.401, allocations: 326.4 kB / 1.396 GB, free: 23.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.406e-05/1.401, allocations: 3.844 kB / 1.396 GB, free: 23.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.361e-05/1.401, allocations: 3.844 kB / 1.396 GB, free: 23.12 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.525e-05/1.401, allocations: 7.406 kB / 1.396 GB, free: 23.12 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.401, allocations: 0 / 1.396 GB, free: 23.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001167/1.401, allocations: 60.88 kB / 1.396 GB, free: 23.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/1.401, allocations: 5.25 kB / 1.396 GB, free: 23.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/1.401, allocations: 3.844 kB / 1.396 GB, free: 23.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/1.401, allocations: 0 / 1.396 GB, free: 23.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/1.401, allocations: 0 / 1.396 GB, free: 23.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/1.401, allocations: 4.062 kB / 1.396 GB, free: 23.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/1.401, allocations: 3.844 kB / 1.396 GB, free: 23.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/1.401, allocations: 0 / 1.396 GB, free: 23.07 MB / 0.8386 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 9.304e-05/1.401, allocations: 183.4 kB / 1.396 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-05/1.401, allocations: 108.7 kB / 1.396 GB, free: 22.78 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.855e-05/1.401, allocations: 112.9 kB / 1.396 GB, free: 22.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.894e-05/1.401, allocations: 184.1 kB / 1.397 GB, free: 22.48 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.25e-05/1.401, allocations: 176.3 kB / 1.397 GB, free: 22.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-05/1.401, allocations: 184.1 kB / 1.397 GB, free: 22.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/1.402, allocations: 397.1 kB / 1.397 GB, free: 21.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-05/1.402, allocations: 101 kB / 1.397 GB, free: 21.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/1.402, allocations: 104.9 kB / 1.398 GB, free: 21.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.275e-05/1.402, allocations: 184.3 kB / 1.398 GB, free: 21.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.977e-05/1.402, allocations: 184.1 kB / 1.398 GB, free: 21.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-05/1.402, allocations: 184.2 kB / 1.398 GB, free: 20.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-05/1.402, allocations: 176.3 kB / 1.398 GB, free: 20.74 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/1.402, allocations: 307.5 kB / 1.398 GB, free: 20.43 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/1.402, allocations: 189.9 kB / 1.399 GB, free: 20.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.48e-05/1.402, allocations: 180.2 kB / 1.399 GB, free: 20.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/1.402, allocations: 104.9 kB / 1.399 GB, free: 19.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/1.402, allocations: 185 kB / 1.399 GB, free: 19.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/1.402, allocations: 101 kB / 1.399 GB, free: 19.64 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.426e-05/1.402, allocations: 100.1 kB / 1.399 GB, free: 19.56 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.402, allocations: 0 / 1.399 GB, free: 19.56 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009365/1.403, allocations: 316.2 kB / 1.4 GB, free: 19.45 MB / 0.8386 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.000974/1.404, allocations: 0.5482 MB / 1.4 GB, free: 19.13 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001025/1.404, allocations: 41.11 kB / 1.4 GB, free: 19.1 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.404, allocations: 0 / 1.4 GB, free: 19.1 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.846e-06/1.404, allocations: 3.938 kB / 1.4 GB, free: 19.09 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/1.405, allocations: 0.5294 MB / 1.401 GB, free: 18.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001794/1.405, allocations: 142.6 kB / 1.401 GB, free: 18.42 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/1.405, allocations: 0.6879 MB / 1.402 GB, free: 17.71 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.477e-05/1.405, allocations: 0 / 1.402 GB, free: 17.71 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.749e-06/1.405, allocations: 15.28 kB / 1.402 GB, free: 17.7 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.405, allocations: 0 / 1.402 GB, free: 17.7 MB / 0.8386 GB Notification: Performance of Templates: time 0.007716/1.413, allocations: 5.183 MB / 1.407 GB, free: 15.11 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.o Buildings_latest_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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.c Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.c:748: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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o] Error 1