Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.355/2.355, allocations: 284.9 MB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001612/0.001612, allocations: 181.3 kB / 360.4 MB, free: 7.469 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.895/1.895, allocations: 205.1 MB / 0.6188 GB, free: 12.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001249/0.001248, allocations: 85.56 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.191e-05/1.2e-05, allocations: 4 kB / 0.8503 GB, free: 3.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.616/0.6161, allocations: 115.2 MB / 0.9628 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2708/0.8869, allocations: 149.3 MB / 1.109 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004509/0.8874, allocations: 115.6 kB / 1.109 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03916/0.9266, allocations: 8.119 MB / 1.117 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.9267, allocations: 0 / 1.117 GB, free: 15.22 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007831/0.9275, allocations: 0.5599 MB / 1.117 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.9275, allocations: 8.531 kB / 1.117 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.496e-05/0.9276, allocations: 24.56 kB / 1.117 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.9279, allocations: 221.7 kB / 1.117 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.9279, allocations: 3.906 kB / 1.117 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.9279, allocations: 0 / 1.117 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001535/0.9281, allocations: 71.97 kB / 1.118 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.9283, allocations: 109.7 kB / 1.118 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.9283, allocations: 0 / 1.118 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.9283, allocations: 0 / 1.118 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.9283, allocations: 4 kB / 1.118 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.9287, allocations: 246.3 kB / 1.118 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.9289, allocations: 127.6 kB / 1.118 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.9291, allocations: 108.9 kB / 1.118 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.9291, allocations: 0 / 1.118 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.9292, allocations: 32.31 kB / 1.118 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 1.523e-06/0.9292, allocations: 4 kB / 1.118 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.0005684/0.9298, allocations: 326.4 kB / 1.118 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.9298, allocations: 51.41 kB / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.9301, allocations: 220.3 kB / 1.119 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.9302, allocations: 29.64 kB / 1.119 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.9302, allocations: 100.8 kB / 1.119 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.9303, allocations: 106.4 kB / 1.119 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.9304, allocations: 0.6562 kB / 1.119 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.9305, allocations: 342.8 kB / 1.119 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.9306, allocations: 76 kB / 1.119 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.9308, allocations: 84.47 kB / 1.119 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.931, allocations: 103.9 kB / 1.12 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.931, allocations: 0 / 1.12 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004723/0.9315, allocations: 325.3 kB / 1.12 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.9315, allocations: 11.66 kB / 1.12 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.9316, allocations: 0 / 1.12 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.9316, allocations: 4 kB / 1.12 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.253e-06/0.9316, allocations: 0 / 1.12 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.9316, allocations: 0 / 1.12 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.014e-05/0.9317, allocations: 15.84 kB / 1.12 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.9317, allocations: 4 kB / 1.12 GB, free: 11.77 MB / 0.7292 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 7.572e-05/0.9318, allocations: 106.3 kB / 1.12 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.9319, allocations: 31.61 kB / 1.12 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006456/0.9325, allocations: 0.572 MB / 1.121 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.238e-05/0.9326, allocations: 180.3 kB / 1.121 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.334e-05/0.9327, allocations: 180.2 kB / 1.121 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.715e-05/0.9328, allocations: 180.2 kB / 1.121 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005449/0.9333, allocations: 0.5247 MB / 1.122 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-05/0.9334, allocations: 104.9 kB / 1.122 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.9334, allocations: 103.3 kB / 1.122 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.06e-05/0.9335, allocations: 180.3 kB / 1.122 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.685e-05/0.9336, allocations: 180.2 kB / 1.122 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.206e-05/0.9336, allocations: 180.3 kB / 1.122 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.847e-05/0.9337, allocations: 184.2 kB / 1.122 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002431/0.934, allocations: 331.4 kB / 1.123 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006456/0.9346, allocations: 366.8 kB / 1.123 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002281/0.9349, allocations: 180.2 kB / 1.123 GB, free: 7.965 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.9351, allocations: 105 kB / 1.123 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.9352, allocations: 180.3 kB / 1.124 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/0.9353, allocations: 104.9 kB / 1.124 GB, free: 7.562 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.002195/0.9375, allocations: 1.145 MB / 1.125 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001241/0.9387, allocations: 307.6 kB / 1.125 GB, free: 6.113 MB / 0.7292 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.001117/0.9398, allocations: 436 kB / 1.126 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003094/0.9402, allocations: 181.9 kB / 1.126 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.9402, allocations: 0 / 1.126 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/0.9402, allocations: 4 kB / 1.126 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/0.9408, allocations: 0.5431 MB / 1.126 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007163/0.9415, allocations: 357.7 kB / 1.127 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004065/0.9419, allocations: 0.7699 MB / 1.127 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/0.9419, allocations: 0 / 1.127 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of Templates: time 0.01326/0.9552, allocations: 4.564 MB / 1.132 GB, free: 15.29 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile b'clang -fPIC -O0 -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube -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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.c\nclang -fPIC -O0 -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube -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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c\nBuildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c:358:59: error: cannot take the address of an rvalue of type \'real_array_t\' (aka \'struct base_array_s\')\n copy_real_array_data(add_alloc_scalar_real_array(_TBor, &mul_alloc_real_matrix_product_smart(_R0, _QPip_flow)), &_TFlu);\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n1 error generated.\n: recipe for target \'Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o\' failed\nmake: *** [Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o] Error 1\n'