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.MultipoleThermalResistances_TwoUTube.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.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_9_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="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_9_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.077/2.077, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.001302/0.001302, allocations: 179.1 kB / 487 MB, free: 5.402 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.46/1.46, allocations: 221.3 MB / 0.7819 GB, free: 1.473 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.001011/0.001011, allocations: 96.53 kB / 0.9213 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.335e-06/8.446e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2511, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7477/0.9989, allocations: 160.8 MB / 1.362 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003467/0.9993, allocations: 111.9 kB / 1.362 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02261/1.022, allocations: 8.226 MB / 1.37 GB, free: 6.207 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.595e-05/1.022, allocations: 0 / 1.37 GB, free: 6.207 MB / 0.8073 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.000749/1.023, allocations: 0.557 MB / 1.371 GB, free: 5.621 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/1.023, allocations: 8.031 kB / 1.371 GB, free: 5.613 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/1.023, allocations: 23.62 kB / 1.371 GB, free: 5.59 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/1.023, allocations: 217.1 kB / 1.371 GB, free: 5.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/1.023, allocations: 0 / 1.371 GB, free: 5.34 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/1.023, allocations: 3.906 kB / 1.371 GB, free: 5.336 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001179/1.023, allocations: 75.28 kB / 1.371 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/1.023, allocations: 115.9 kB / 1.371 GB, free: 5.172 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/1.023, allocations: 3.984 kB / 1.371 GB, free: 5.168 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/1.023, allocations: 0 / 1.371 GB, free: 5.168 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/1.024, allocations: 0 / 1.371 GB, free: 5.168 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/1.024, allocations: 239.1 kB / 1.372 GB, free: 4.926 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/1.024, allocations: 135.4 kB / 1.372 GB, free: 4.824 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.359e-05/1.024, allocations: 107.2 kB / 1.372 GB, free: 4.754 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/1.024, allocations: 4 kB / 1.372 GB, free: 4.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/1.024, allocations: 35.42 kB / 1.372 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=32): time 9.82e-07/1.024, allocations: 4 kB / 1.372 GB, free: 4.703 MB / 0.8073 GB Notification: Performance of matching and sorting (n=32): time 0.0004103/1.025, allocations: 318.4 kB / 1.372 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/1.025, allocations: 51.41 kB / 1.372 GB, free: 4.355 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/1.025, allocations: 218.6 kB / 1.373 GB, free: 4.16 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/1.025, allocations: 25.7 kB / 1.373 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.828e-05/1.025, allocations: 101.2 kB / 1.373 GB, free: 4.035 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.836e-05/1.025, allocations: 115.1 kB / 1.373 GB, free: 3.934 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/1.025, allocations: 0.5625 kB / 1.373 GB, free: 3.934 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.57e-05/1.025, allocations: 341.2 kB / 1.373 GB, free: 3.602 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-05/1.025, allocations: 73.91 kB / 1.373 GB, free: 3.543 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.97e-05/1.025, allocations: 86.14 kB / 1.373 GB, free: 3.477 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/1.025, allocations: 101 kB / 1.373 GB, free: 3.391 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.025, allocations: 0 / 1.373 GB, free: 3.391 MB / 0.8073 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002379/1.025, allocations: 329 kB / 1.374 GB, free: 3.094 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/1.025, allocations: 6.5 kB / 1.374 GB, free: 3.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/1.026, allocations: 12.52 kB / 1.374 GB, free: 3.078 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/1.026, allocations: 0 / 1.374 GB, free: 3.078 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/1.026, allocations: 0 / 1.374 GB, free: 3.078 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/1.026, allocations: 0 / 1.374 GB, free: 3.078 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/1.026, allocations: 7.844 kB / 1.374 GB, free: 3.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/1.026, allocations: 11.98 kB / 1.374 GB, free: 3.059 MB / 0.8073 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 6.04e-05/1.026, allocations: 103.7 kB / 1.374 GB, free: 2.953 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/1.026, allocations: 27.62 kB / 1.374 GB, free: 2.926 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004028/1.026, allocations: 0.5732 MB / 1.374 GB, free: 2.324 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.519e-05/1.026, allocations: 177 kB / 1.375 GB, free: 2.145 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.674e-05/1.026, allocations: 176.3 kB / 1.375 GB, free: 1.965 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.549e-05/1.026, allocations: 180.2 kB / 1.375 GB, free: 1.781 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/1.027, allocations: 0.5408 MB / 1.375 GB, free: 1.223 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.108e-05/1.027, allocations: 101 kB / 1.375 GB, free: 1.117 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/1.027, allocations: 104.9 kB / 1.376 GB, free: 1.008 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.919e-05/1.027, allocations: 176.3 kB / 1.376 GB, free: 0.8281 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/1.027, allocations: 180.2 kB / 1.376 GB, free: 0.6445 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-05/1.027, allocations: 188.2 kB / 1.376 GB, free: 464 kB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.702e-05/1.027, allocations: 180.3 kB / 1.376 GB, free: 276 kB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001964/1.027, allocations: 331.2 kB / 1.377 GB, free: 15.93 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/1.027, allocations: 361.3 kB / 1.377 GB, free: 15.56 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/1.028, allocations: 180.2 kB / 1.377 GB, free: 15.38 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/1.028, allocations: 104.9 kB / 1.377 GB, free: 15.27 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.009e-05/1.028, allocations: 187.8 kB / 1.377 GB, free: 15.08 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/1.028, allocations: 101 kB / 1.377 GB, free: 14.97 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001168/1.029, allocations: 1.146 MB / 1.379 GB, free: 14.24 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001013/1.03, allocations: 301.7 kB / 1.379 GB, free: 13.96 MB / 0.823 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.0008768/1.031, allocations: 441.5 kB / 1.379 GB, free: 13.54 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002167/1.031, allocations: 182.1 kB / 1.379 GB, free: 13.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.031, allocations: 4.062 kB / 1.379 GB, free: 13.39 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.794e-06/1.031, allocations: 0 / 1.379 GB, free: 13.39 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/1.032, allocations: 0.5497 MB / 1.38 GB, free: 12.85 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004879/1.032, allocations: 358.9 kB / 1.38 GB, free: 12.48 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/1.033, allocations: 0.7777 MB / 1.381 GB, free: 11.67 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/1.033, allocations: 0 / 1.381 GB, free: 11.67 MB / 0.823 GB Notification: Performance of Templates: time 0.008682/1.041, allocations: 4.565 MB / 1.386 GB, free: 7.188 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile clang -fPIC -O0 -falign-functions -march=native -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_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.o Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.c clang -fPIC -O0 -falign-functions -march=native -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_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c Buildings_9_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') 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.MultipoleThermalResistances_TwoUTube_functions.o] Error 1