Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [: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 7.0.1/package.mo): time 1.953/1.953, allocations: 253.1 MB / 260.4 MB, free: 0.5742 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001675/0.001674, allocations: 179 kB / 319.6 MB, free: 7.668 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.4 MB / 0.5704 GB, free: 25.61 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001345/0.001344, allocations: 97.94 kB / 0.6746 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.32e-05/1.337e-05, allocations: 0 / 0.7844 GB, free: 2.621 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5077/0.5078, allocations: 106.2 MB / 0.8881 GB, free: 77.12 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2426/0.7505, allocations: 152 MB / 1.037 GB, free: 4.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004696/0.751, allocations: 119.8 kB / 1.037 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.4616/1.213, allocations: 14.72 MB / 1.051 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.866e-06/1.213, allocations: 1.094 kB / 1.051 GB, free: 148.1 MB / 0.6823 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.001095/1.214, allocations: 0.5494 MB / 1.052 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/1.214, allocations: 10.42 kB / 1.052 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/1.214, allocations: 85.38 kB / 1.052 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/1.214, allocations: 248 kB / 1.052 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/1.214, allocations: 155.8 kB / 1.052 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/1.214, allocations: 150.6 kB / 1.052 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.185e-05/1.214, allocations: 156.3 kB / 1.052 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.307e-05/1.214, allocations: 106 kB / 1.052 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/1.214, allocations: 75.28 kB / 1.053 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/1.214, allocations: 151.3 kB / 1.053 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/1.214, allocations: 152.1 kB / 1.053 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/1.215, allocations: 448.8 kB / 1.053 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.209e-05/1.215, allocations: 174.9 kB / 1.053 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/1.215, allocations: 81.61 kB / 1.054 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/1.215, allocations: 75.28 kB / 1.054 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/1.215, allocations: 106.5 kB / 1.054 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/1.215, allocations: 1.188 kB / 1.054 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 8.119e-05/1.215, allocations: 36.69 kB / 1.054 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/1.215, allocations: 55.41 kB / 1.054 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/1.215, allocations: 117.9 kB / 1.054 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/1.215, allocations: 25.7 kB / 1.054 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.793e-05/1.215, allocations: 88.7 kB / 1.054 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/1.215, allocations: 0 / 1.054 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/1.215, allocations: 0 / 1.054 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.661e-05/1.215, allocations: 323.9 kB / 1.054 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.98e-05/1.215, allocations: 6.906 kB / 1.054 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.204e-05/1.215, allocations: 10.75 kB / 1.054 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.713e-05/1.215, allocations: 8.141 kB / 1.054 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.215, allocations: 1.031 kB / 1.054 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001802/1.216, allocations: 54.98 kB / 1.054 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/1.216, allocations: 4.125 kB / 1.054 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.64e-05/1.216, allocations: 3.609 kB / 1.054 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/1.216, allocations: 0 / 1.054 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.424e-06/1.216, allocations: 3.984 kB / 1.054 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/1.216, allocations: 2.25 kB / 1.054 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.579e-05/1.216, allocations: 11.84 kB / 1.054 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-06/1.216, allocations: 1.406 kB / 1.054 GB, free: 144.7 MB / 0.6823 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.272e-05/1.216, allocations: 182.6 kB / 1.055 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/1.216, allocations: 116.2 kB / 1.055 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/1.216, allocations: 118.8 kB / 1.055 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.09e-05/1.216, allocations: 178.3 kB / 1.055 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.563e-05/1.216, allocations: 182.2 kB / 1.055 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.405e-05/1.216, allocations: 182.5 kB / 1.055 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/1.216, allocations: 393.7 kB / 1.056 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.107e-05/1.216, allocations: 104.9 kB / 1.056 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.068e-05/1.216, allocations: 102.7 kB / 1.056 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-05/1.216, allocations: 182 kB / 1.056 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/1.216, allocations: 186 kB / 1.056 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.335e-05/1.216, allocations: 178.7 kB / 1.056 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.389e-05/1.216, allocations: 178.1 kB / 1.057 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.284e-05/1.217, allocations: 309.9 kB / 1.057 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/1.217, allocations: 184.9 kB / 1.057 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/1.217, allocations: 186.7 kB / 1.057 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/1.217, allocations: 103.1 kB / 1.057 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/1.217, allocations: 177.4 kB / 1.058 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/1.217, allocations: 107 kB / 1.058 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.857e-05/1.217, allocations: 96.77 kB / 1.058 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00153/1.218, allocations: 331.5 kB / 1.058 GB, free: 141 MB / 0.6823 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.001734/1.22, allocations: 0.5572 MB / 1.059 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001343/1.22, allocations: 47.66 kB / 1.059 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.22, allocations: 0 / 1.059 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.106e-06/1.22, allocations: 1.25 kB / 1.059 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/1.221, allocations: 0.5391 MB / 1.059 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002243/1.221, allocations: 144.5 kB / 1.059 GB, free: 140 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/1.221, allocations: 0.6988 MB / 1.06 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of SimCode: time 7.11e-07/1.221, allocations: 0 / 1.06 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.01709/1.238, allocations: 5.708 MB / 1.066 GB, free: 138.2 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube -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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube -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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c\nBuildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c:895: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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o\' failed\nmake: *** [Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o] Error 1\n'