Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.918/1.918, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001097/0.001097, allocations: 188.5 kB / 490.8 MB, free: 1.883 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.341/1.341, allocations: 221.4 MB / 0.7863 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 96.66 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.888e-06/1.001e-05, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2662, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.695/0.9613, allocations: 161.6 MB / 1.369 GB, free: 17.35 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/0.9617, allocations: 111 kB / 1.37 GB, free: 17.35 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.0252/0.9869, allocations: 8.223 MB / 1.378 GB, free: 15.46 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.9869, allocations: 3.625 kB / 1.378 GB, free: 15.46 MB / 0.823 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.0009875/0.9879, allocations: 0.5516 MB / 1.378 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.988, allocations: 8.906 kB / 1.378 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.392e-05/0.988, allocations: 24.12 kB / 1.378 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.9883, allocations: 223.1 kB / 1.378 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.9883, allocations: 4 kB / 1.378 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.9883, allocations: 1.125 kB / 1.378 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001371/0.9885, allocations: 79.28 kB / 1.378 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.9886, allocations: 109.9 kB / 1.379 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.9887, allocations: 0 / 1.379 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.9887, allocations: 1.125 kB / 1.379 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.9887, allocations: 0 / 1.379 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.989, allocations: 239.6 kB / 1.379 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.9891, allocations: 127.9 kB / 1.379 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.9893, allocations: 108.4 kB / 1.379 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.9893, allocations: 14.75 kB / 1.379 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.9893, allocations: 31.94 kB / 1.379 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=32): time 1.543e-06/0.9893, allocations: 1.094 kB / 1.379 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=32): time 0.0004795/0.9898, allocations: 319.3 kB / 1.379 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.9899, allocations: 53.47 kB / 1.379 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.9901, allocations: 221 kB / 1.38 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.9901, allocations: 26.86 kB / 1.38 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.9902, allocations: 98.16 kB / 1.38 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.459e-05/0.9902, allocations: 109.5 kB / 1.38 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.9902, allocations: 0 / 1.38 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.9904, allocations: 344.4 kB / 1.38 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.929e-05/0.9905, allocations: 78.84 kB / 1.38 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.052e-05/0.9905, allocations: 78.36 kB / 1.38 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.9907, allocations: 111.1 kB / 1.38 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.9907, allocations: 7.969 kB / 1.38 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003881/0.9911, allocations: 319.8 kB / 1.381 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.9911, allocations: 4.062 kB / 1.381 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.9912, allocations: 3 kB / 1.381 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.9912, allocations: 0 / 1.381 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.276e-06/0.9912, allocations: 4.938 kB / 1.381 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.9912, allocations: 0 / 1.381 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.19e-05/0.9913, allocations: 13.83 kB / 1.381 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.9913, allocations: 3.094 kB / 1.381 GB, free: 29.45 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 6.519e-05/0.9914, allocations: 105.8 kB / 1.381 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.9914, allocations: 27.84 kB / 1.381 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004353/0.9918, allocations: 0.5749 MB / 1.381 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-05/0.9919, allocations: 177.8 kB / 1.382 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.261e-05/0.9919, allocations: 177.2 kB / 1.382 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.777e-05/0.992, allocations: 185.2 kB / 1.382 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.9923, allocations: 0.5297 MB / 1.383 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.519e-05/0.9924, allocations: 102 kB / 1.383 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.9924, allocations: 109.9 kB / 1.383 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-05/0.9925, allocations: 177.3 kB / 1.383 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.319e-05/0.9925, allocations: 185.5 kB / 1.383 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.941e-05/0.9926, allocations: 185.4 kB / 1.383 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.53e-05/0.9926, allocations: 176.3 kB / 1.383 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001693/0.9928, allocations: 328.7 kB / 1.384 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003802/0.9932, allocations: 359.2 kB / 1.384 GB, free: 26.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.9933, allocations: 189.5 kB / 1.384 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.9935, allocations: 106.4 kB / 1.384 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.9936, allocations: 177.8 kB / 1.385 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.9936, allocations: 101 kB / 1.385 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.00118/0.9948, allocations: 1.145 MB / 1.386 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00105/0.9959, allocations: 301.5 kB / 1.386 GB, free: 25.43 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.0008116/0.9967, allocations: 448.6 kB / 1.386 GB, free: 25.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.9969, allocations: 178.8 kB / 1.387 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.997, allocations: 0 / 1.387 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.539e-06/0.997, allocations: 9.172 kB / 1.387 GB, free: 25.1 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.9974, allocations: 0.5436 MB / 1.387 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000481/0.9979, allocations: 359.3 kB / 1.388 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.9982, allocations: 0.7657 MB / 1.388 GB, free: 23.6 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/0.9982, allocations: 3.938 kB / 1.388 GB, free: 23.6 MB / 0.8386 GB Notification: Performance of Templates: time 0.008718/1.007, allocations: 4.566 MB / 1.393 GB, free: 21.32 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.o Buildings_latest_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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o] Error 1