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_OneUTube.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_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") [: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.4/2.4, allocations: 284.9 MB / 292.2 MB, free: 10.71 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.001635/0.001634, allocations: 184.4 kB / 360.4 MB, free: 7.473 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.786/1.786, 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.001665/0.001665, allocations: 93.56 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.699e-05/1.716e-05, allocations: 4 kB / 0.8503 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6231/0.6232, allocations: 115.2 MB / 0.9628 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2496/0.8728, allocations: 149.3 MB / 1.109 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004206/0.8733, allocations: 118.8 kB / 1.109 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03807/0.9114, allocations: 7.656 MB / 1.116 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.9114, allocations: 0 / 1.116 GB, free: 15.75 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008865/0.9123, allocations: 481.9 kB / 1.117 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.9124, allocations: 16.02 kB / 1.117 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.9124, allocations: 7.906 kB / 1.117 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.9127, allocations: 184.5 kB / 1.117 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.9127, allocations: 0 / 1.117 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.9127, allocations: 3.938 kB / 1.117 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.603e-05/0.9128, allocations: 32.58 kB / 1.117 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.913, allocations: 57.67 kB / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.913, allocations: 0 / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.913, allocations: 0 / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.913, allocations: 0 / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/0.9133, allocations: 166.1 kB / 1.117 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.29e-05/0.9134, allocations: 42.56 kB / 1.117 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.515e-05/0.9135, allocations: 37.44 kB / 1.117 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.9135, allocations: 4 kB / 1.117 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.9135, allocations: 39.98 kB / 1.117 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.783e-06/0.9136, allocations: 0 / 1.117 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0002864/0.9139, allocations: 93.73 kB / 1.117 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.9139, allocations: 55.44 kB / 1.117 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.9141, allocations: 147.1 kB / 1.118 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.9141, allocations: 25.7 kB / 1.118 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.9142, allocations: 88.14 kB / 1.118 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.9143, allocations: 23.64 kB / 1.118 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-06/0.9143, allocations: 0 / 1.118 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.9144, allocations: 322.8 kB / 1.118 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.426e-05/0.9145, allocations: 27.97 kB / 1.118 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.468e-05/0.9145, allocations: 31.98 kB / 1.118 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.75e-05/0.9147, allocations: 27.98 kB / 1.118 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.9147, allocations: 0 / 1.118 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000221/0.9149, allocations: 105.4 kB / 1.118 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.9149, allocations: 8 kB / 1.118 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.915, allocations: 0 / 1.118 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.915, allocations: 0 / 1.118 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.283e-06/0.915, allocations: 0 / 1.118 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.915, allocations: 0 / 1.118 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.93e-05/0.9151, allocations: 4 kB / 1.118 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.9151, allocations: 0 / 1.118 GB, free: 13.56 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 8.452e-05/0.9152, allocations: 117.7 kB / 1.118 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.9152, allocations: 7.906 kB / 1.118 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.9155, allocations: 204.2 kB / 1.118 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-05/0.9156, allocations: 188 kB / 1.119 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.627e-05/0.9157, allocations: 180.3 kB / 1.119 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.86e-05/0.9157, allocations: 184.2 kB / 1.119 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.9161, allocations: 423.9 kB / 1.119 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.204e-05/0.9161, allocations: 101 kB / 1.12 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.161e-05/0.9162, allocations: 101.7 kB / 1.12 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-05/0.9162, allocations: 180.2 kB / 1.12 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.886e-05/0.9163, allocations: 191.9 kB / 1.12 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000121/0.9165, allocations: 180.3 kB / 1.12 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.277e-05/0.9166, allocations: 184.2 kB / 1.12 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001682/0.9167, allocations: 307.7 kB / 1.121 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.9169, allocations: 223.1 kB / 1.121 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.9171, allocations: 180.3 kB / 1.121 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.9172, allocations: 101 kB / 1.121 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.06e-05/0.9173, allocations: 184.2 kB / 1.121 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.9174, allocations: 105 kB / 1.121 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0004406/0.9178, allocations: 259.2 kB / 1.122 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001175/0.919, allocations: 239.7 kB / 1.122 GB, free: 9.582 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.001196/0.9202, allocations: 451.6 kB / 1.122 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001761/0.9204, allocations: 65.98 kB / 1.122 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9204, allocations: 0 / 1.122 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.771e-06/0.9205, allocations: 3.984 kB / 1.122 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.9209, allocations: 0.5339 MB / 1.123 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.9213, allocations: 197.2 kB / 1.123 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003344/0.9217, allocations: 0.7149 MB / 1.124 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/0.9217, allocations: 0 / 1.124 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of Templates: time 0.01285/0.9345, allocations: 4.281 MB / 1.128 GB, free: 3.363 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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_OneUTube -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_OneUTube.o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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_OneUTube -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_OneUTube_functions.o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c\nBuildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_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_OneUTube_functions.o\' failed\nmake: *** [Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o] Error 1\n'