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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,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.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,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.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.279/2.279, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001124/0.001124, allocations: 180.1 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.562/1.562, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 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.0009574/0.0009575, allocations: 87.92 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.737e-05/1.739e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3052, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.116/1.421, allocations: 168.8 MB / 1.371 GB, free: 17.89 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003774/1.422, allocations: 114.6 kB / 1.371 GB, free: 17.87 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05478/1.477, allocations: 14.98 MB / 1.386 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/1.477, allocations: 0 / 1.386 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.083e-05/1.477, allocations: 0 / 1.386 GB, free: 28.05 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.001088/1.478, allocations: 0.5546 MB / 1.386 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/1.478, allocations: 12.19 kB / 1.386 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.469e-05/1.478, allocations: 83.08 kB / 1.386 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/1.478, allocations: 249.5 kB / 1.386 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.354e-05/1.478, allocations: 150.6 kB / 1.387 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-05/1.478, allocations: 150.6 kB / 1.387 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.221e-05/1.478, allocations: 157.4 kB / 1.387 GB, free: 26.72 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.748e-05/1.478, allocations: 108.8 kB / 1.387 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.23e-05/1.478, allocations: 79.22 kB / 1.387 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.02e-05/1.479, allocations: 150.6 kB / 1.387 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.03e-05/1.479, allocations: 154.5 kB / 1.387 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/1.479, allocations: 445 kB / 1.388 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/1.479, allocations: 165.1 kB / 1.388 GB, free: 25.6 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/1.479, allocations: 87.31 kB / 1.388 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/1.479, allocations: 75.28 kB / 1.388 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/1.479, allocations: 113.8 kB / 1.388 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/1.479, allocations: 3.844 kB / 1.388 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.132e-05/1.479, allocations: 29.61 kB / 1.388 GB, free: 25.29 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/1.479, allocations: 51.41 kB / 1.388 GB, free: 25.22 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/1.479, allocations: 112.8 kB / 1.388 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/1.48, allocations: 29.61 kB / 1.388 GB, free: 25.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.265e-05/1.48, allocations: 89.64 kB / 1.388 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/1.48, allocations: 0 / 1.388 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/1.48, allocations: 0 / 1.388 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.48, allocations: 326.6 kB / 1.389 GB, free: 24.69 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.702e-05/1.48, allocations: 2.75 kB / 1.389 GB, free: 24.69 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.262e-05/1.48, allocations: 3.875 kB / 1.389 GB, free: 24.69 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.168e-05/1.48, allocations: 7.812 kB / 1.389 GB, free: 24.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.48, allocations: 0 / 1.389 GB, free: 24.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001507/1.48, allocations: 52.72 kB / 1.389 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/1.48, allocations: 9.531 kB / 1.389 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/1.48, allocations: 0 / 1.389 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/1.48, allocations: 0 / 1.389 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-06/1.48, allocations: 0 / 1.389 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/1.48, allocations: 8 kB / 1.389 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.478e-05/1.48, allocations: 0 / 1.389 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/1.48, allocations: 0 / 1.389 GB, free: 24.64 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 0.0001115/1.48, allocations: 188.1 kB / 1.389 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/1.48, allocations: 108.6 kB / 1.389 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.22e-05/1.48, allocations: 116.4 kB / 1.389 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.38e-05/1.48, allocations: 180.3 kB / 1.389 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.581e-05/1.481, allocations: 180.2 kB / 1.39 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.024e-05/1.481, allocations: 180.2 kB / 1.39 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/1.481, allocations: 391.7 kB / 1.39 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.913e-05/1.481, allocations: 101 kB / 1.39 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.594e-05/1.481, allocations: 108.9 kB / 1.39 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.705e-05/1.481, allocations: 188.2 kB / 1.391 GB, free: 22.86 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.322e-05/1.481, allocations: 184.2 kB / 1.391 GB, free: 22.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.296e-05/1.481, allocations: 180.2 kB / 1.391 GB, free: 22.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.389e-05/1.481, allocations: 176.3 kB / 1.391 GB, free: 22.31 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/1.481, allocations: 323.2 kB / 1.391 GB, free: 21.98 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/1.482, allocations: 182.1 kB / 1.392 GB, free: 21.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-05/1.482, allocations: 184.1 kB / 1.392 GB, free: 21.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/1.482, allocations: 104.9 kB / 1.392 GB, free: 21.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/1.482, allocations: 180.9 kB / 1.392 GB, free: 21.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/1.482, allocations: 105 kB / 1.392 GB, free: 21.2 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.878e-05/1.482, allocations: 94.72 kB / 1.392 GB, free: 21.12 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.31e-07/1.482, allocations: 0 / 1.392 GB, free: 21.12 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001168/1.483, allocations: 324.1 kB / 1.392 GB, free: 21.01 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.001617/1.485, allocations: 0.5386 MB / 1.393 GB, free: 20.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.565e-05/1.485, allocations: 36.67 kB / 1.393 GB, free: 20.66 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.485, allocations: 0 / 1.393 GB, free: 20.66 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.996e-06/1.485, allocations: 3.938 kB / 1.393 GB, free: 20.66 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/1.485, allocations: 0.5295 MB / 1.394 GB, free: 20.13 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002345/1.486, allocations: 142.9 kB / 1.394 GB, free: 19.98 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/1.486, allocations: 0.6842 MB / 1.394 GB, free: 19.28 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.234e-05/1.486, allocations: 0 / 1.394 GB, free: 19.28 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.636e-05/1.486, allocations: 15.28 kB / 1.394 GB, free: 19.27 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.486, allocations: 0 / 1.394 GB, free: 19.27 MB / 0.8386 GB Notification: Performance of Templates: time 0.01017/1.496, allocations: 5.179 MB / 1.399 GB, free: 16.68 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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_InternalResistancesOneUTube -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.InternalResistancesOneUTube.o Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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_InternalResistancesOneUTube -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.InternalResistancesOneUTube_functions.o Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_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.InternalResistancesOneUTube_functions.o] Error 1