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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001386/0.001386, allocations: 176.9 kB / 487.4 MB, free: 5.031 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.554/1.554, allocations: 221.5 MB / 0.7824 GB, free: 0.8828 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.0009979/0.0009982, allocations: 107.7 kB / 0.9219 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.737e-05/2.739e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2922, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.087/1.379, allocations: 169.5 MB / 1.372 GB, free: 17.91 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/1.379, allocations: 117.6 kB / 1.372 GB, free: 17.88 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04127/1.42, allocations: 15.29 MB / 1.387 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.853e-06/1.42, allocations: 4 kB / 1.387 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.288e-06/1.42, allocations: 3.844 kB / 1.387 GB, free: 27.95 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.0009875/1.421, allocations: 0.5491 MB / 1.387 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/1.421, allocations: 8.469 kB / 1.387 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/1.422, allocations: 87.02 kB / 1.387 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/1.422, allocations: 255.9 kB / 1.387 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/1.422, allocations: 154.5 kB / 1.388 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/1.422, allocations: 158.5 kB / 1.388 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.604e-05/1.422, allocations: 150.6 kB / 1.388 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.875e-05/1.422, allocations: 101 kB / 1.388 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/1.422, allocations: 75.28 kB / 1.388 GB, free: 26.44 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.667e-05/1.422, allocations: 153.8 kB / 1.388 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.856e-05/1.422, allocations: 154.6 kB / 1.388 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002587/1.422, allocations: 445.3 kB / 1.389 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.378e-05/1.422, allocations: 172.9 kB / 1.389 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/1.422, allocations: 80.14 kB / 1.389 GB, free: 25.42 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/1.422, allocations: 75.28 kB / 1.389 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/1.423, allocations: 109.8 kB / 1.389 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.031e-06/1.423, allocations: 0 / 1.389 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.556e-05/1.423, allocations: 40 kB / 1.389 GB, free: 25.19 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/1.423, allocations: 51.41 kB / 1.389 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/1.423, allocations: 115.5 kB / 1.389 GB, free: 25.03 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/1.423, allocations: 25.7 kB / 1.389 GB, free: 25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/1.423, allocations: 91.11 kB / 1.39 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/1.423, allocations: 4 kB / 1.39 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/1.423, allocations: 0 / 1.39 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001084/1.423, allocations: 326.1 kB / 1.39 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.429e-05/1.423, allocations: 3.875 kB / 1.39 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.257e-05/1.423, allocations: 3.812 kB / 1.39 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.607e-05/1.423, allocations: 7.844 kB / 1.39 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.423, allocations: 0 / 1.39 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001444/1.423, allocations: 55.59 kB / 1.39 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/1.423, allocations: 5.719 kB / 1.39 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/1.423, allocations: 3.906 kB / 1.39 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/1.423, allocations: 4 kB / 1.39 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.393e-06/1.423, allocations: 0 / 1.39 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/1.423, allocations: 0 / 1.39 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/1.423, allocations: 7.75 kB / 1.39 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/1.423, allocations: 0 / 1.39 GB, free: 24.54 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.442e-05/1.423, allocations: 180.2 kB / 1.39 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/1.424, allocations: 116.7 kB / 1.39 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/1.424, allocations: 116.9 kB / 1.39 GB, free: 24.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.081e-05/1.424, allocations: 180.1 kB / 1.39 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.112e-05/1.424, allocations: 180.2 kB / 1.391 GB, free: 23.76 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.464e-05/1.424, allocations: 180.2 kB / 1.391 GB, free: 23.58 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/1.424, allocations: 393.1 kB / 1.391 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.921e-05/1.424, allocations: 105 kB / 1.391 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.743e-05/1.424, allocations: 112.9 kB / 1.391 GB, free: 22.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-05/1.424, allocations: 184.2 kB / 1.392 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.764e-05/1.424, allocations: 180.2 kB / 1.392 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.355e-05/1.424, allocations: 176.3 kB / 1.392 GB, free: 22.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.836e-05/1.424, allocations: 183.3 kB / 1.392 GB, free: 22.21 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/1.424, allocations: 311.5 kB / 1.392 GB, free: 21.89 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/1.424, allocations: 184.6 kB / 1.393 GB, free: 21.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.013e-05/1.425, allocations: 188.1 kB / 1.393 GB, free: 21.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.801e-05/1.425, allocations: 104.8 kB / 1.393 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/1.425, allocations: 177.2 kB / 1.393 GB, free: 21.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/1.425, allocations: 108.9 kB / 1.393 GB, free: 21.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.846e-05/1.425, allocations: 97.05 kB / 1.393 GB, free: 21.02 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.425, allocations: 0 / 1.393 GB, free: 21.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001078/1.426, allocations: 322.6 kB / 1.394 GB, free: 20.91 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.001005/1.427, allocations: 0.5447 MB / 1.394 GB, free: 20.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.299e-05/1.427, allocations: 37.42 kB / 1.394 GB, free: 20.56 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.427, allocations: 0 / 1.394 GB, free: 20.56 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/1.427, allocations: 4.062 kB / 1.394 GB, free: 20.56 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/1.427, allocations: 0.526 MB / 1.395 GB, free: 20.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001983/1.428, allocations: 146.3 kB / 1.395 GB, free: 19.89 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/1.428, allocations: 0.6919 MB / 1.395 GB, free: 19.18 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.441e-05/1.428, allocations: 3.938 kB / 1.395 GB, free: 19.18 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.717e-06/1.428, allocations: 7.438 kB / 1.395 GB, free: 19.17 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.428, allocations: 0 / 1.395 GB, free: 19.17 MB / 0.8386 GB Notification: Performance of Templates: time 0.007823/1.436, allocations: 5.334 MB / 1.401 GB, free: 16.49 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.o Buildings_9_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_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c:779: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.InternalResistancesTwoUTube_functions.o] Error 1