Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.326/2.326, allocations: 387.4 MB / 394.9 MB, free: 13.44 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.001008/0.001008, allocations: 188.4 kB / 487.4 MB, free: 5.043 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.702/1.702, allocations: 221.5 MB / 0.7824 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008766/0.0008766, allocations: 91.78 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.012e-05/3.024e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2753, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.303, allocations: 168.8 MB / 1.371 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/1.303, allocations: 120.1 kB / 1.371 GB, free: 18.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04022/1.343, allocations: 14.97 MB / 1.386 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/1.343, allocations: 0 / 1.386 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.949e-06/1.343, allocations: 0 / 1.386 GB, free: 28.31 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.0009542/1.344, allocations: 0.5518 MB / 1.386 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.344, allocations: 8.219 kB / 1.386 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.676e-05/1.344, allocations: 87.14 kB / 1.386 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/1.344, allocations: 256.2 kB / 1.386 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.354e-05/1.345, allocations: 150.6 kB / 1.387 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/1.345, allocations: 150.6 kB / 1.387 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.101e-05/1.345, allocations: 158.1 kB / 1.387 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.087e-05/1.345, allocations: 108.8 kB / 1.387 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/1.345, allocations: 79.28 kB / 1.387 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.802e-05/1.345, allocations: 150.6 kB / 1.387 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.224e-05/1.345, allocations: 150.6 kB / 1.387 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/1.345, allocations: 444.9 kB / 1.388 GB, free: 26.03 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.733e-05/1.345, allocations: 169.1 kB / 1.388 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/1.345, allocations: 80.14 kB / 1.388 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/1.345, allocations: 75.28 kB / 1.388 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/1.345, allocations: 116.7 kB / 1.388 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/1.345, allocations: 3.844 kB / 1.388 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001151/1.346, allocations: 29.61 kB / 1.388 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/1.346, allocations: 51.41 kB / 1.388 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/1.346, allocations: 114.8 kB / 1.388 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/1.346, allocations: 29.55 kB / 1.388 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/1.346, allocations: 91.25 kB / 1.388 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/1.346, allocations: 0 / 1.388 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/1.346, allocations: 0 / 1.388 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.346, allocations: 322.5 kB / 1.389 GB, free: 24.95 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.984e-05/1.346, allocations: 3.844 kB / 1.389 GB, free: 24.95 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.389e-05/1.346, allocations: 3.5 kB / 1.389 GB, free: 24.95 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.463e-05/1.346, allocations: 11.7 kB / 1.389 GB, free: 24.94 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/1.346, allocations: 4 kB / 1.389 GB, free: 24.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001328/1.346, allocations: 45.2 kB / 1.389 GB, free: 24.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.346, allocations: 13.89 kB / 1.389 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/1.346, allocations: 0 / 1.389 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/1.346, allocations: 0 / 1.389 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.434e-06/1.346, allocations: 3.844 kB / 1.389 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/1.346, allocations: 0 / 1.389 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/1.346, allocations: 0 / 1.389 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/1.346, allocations: 3.375 kB / 1.389 GB, free: 24.89 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 8.826e-05/1.346, allocations: 184.2 kB / 1.389 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.248e-05/1.347, allocations: 112.7 kB / 1.389 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.139e-05/1.347, allocations: 116.7 kB / 1.389 GB, free: 24.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.044e-05/1.347, allocations: 176.3 kB / 1.389 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.785e-05/1.347, allocations: 176.3 kB / 1.39 GB, free: 24.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.164e-05/1.347, allocations: 183.8 kB / 1.39 GB, free: 23.94 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/1.347, allocations: 392.6 kB / 1.39 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-05/1.347, allocations: 105 kB / 1.39 GB, free: 23.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-05/1.347, allocations: 108.9 kB / 1.39 GB, free: 23.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.147e-05/1.347, allocations: 184.2 kB / 1.391 GB, free: 23.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-05/1.347, allocations: 179.6 kB / 1.391 GB, free: 22.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.959e-05/1.347, allocations: 188.1 kB / 1.391 GB, free: 22.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.049e-05/1.347, allocations: 176.3 kB / 1.391 GB, free: 22.56 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/1.347, allocations: 315.2 kB / 1.391 GB, free: 22.24 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.055e-05/1.348, allocations: 178.1 kB / 1.392 GB, free: 22.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8e-05/1.348, allocations: 184.1 kB / 1.392 GB, free: 21.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.849e-05/1.348, allocations: 116.9 kB / 1.392 GB, free: 21.74 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/1.348, allocations: 177.2 kB / 1.392 GB, free: 21.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/1.348, allocations: 101 kB / 1.392 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.705e-05/1.348, allocations: 97.86 kB / 1.392 GB, free: 21.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/1.348, allocations: 0 / 1.392 GB, free: 21.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001006/1.349, allocations: 318.4 kB / 1.392 GB, free: 21.27 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.001477/1.35, allocations: 0.5522 MB / 1.393 GB, free: 20.95 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.437e-05/1.35, allocations: 37.14 kB / 1.393 GB, free: 20.92 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.35, allocations: 0 / 1.393 GB, free: 20.92 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/1.35, allocations: 3.938 kB / 1.393 GB, free: 20.91 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/1.351, allocations: 0.5212 MB / 1.394 GB, free: 20.39 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002108/1.351, allocations: 151.8 kB / 1.394 GB, free: 20.24 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/1.351, allocations: 0.6843 MB / 1.394 GB, free: 19.54 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.598e-05/1.351, allocations: 0 / 1.394 GB, free: 19.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.349e-05/1.351, allocations: 11.41 kB / 1.394 GB, free: 19.53 MB / 0.8386 GB Notification: Performance of SimCode: time 4.1e-07/1.351, allocations: 0 / 1.394 GB, free: 19.53 MB / 0.8386 GB Notification: Performance of Templates: time 0.009132/1.36, allocations: 5.194 MB / 1.399 GB, free: 16.91 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.o Buildings_9_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_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.c Buildings_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o] Error 1