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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.945/1.945, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.000988/0.0009879, allocations: 185.2 kB / 490.8 MB, free: 1.961 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.246/1.246, allocations: 221.4 MB / 0.7863 GB, free: 13.68 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.0008974/0.0008975, allocations: 87.3 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.647e-06/8.847e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2562, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6538/0.9101, allocations: 170.2 MB / 1.378 GB, free: 15.91 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/0.9105, allocations: 115.7 kB / 1.378 GB, free: 15.88 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.04485/0.9553, allocations: 15.13 MB / 1.393 GB, free: 10.12 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.9554, allocations: 0 / 1.393 GB, free: 10.12 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001037/0.9564, allocations: 0.5517 MB / 1.393 GB, free: 25.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.9565, allocations: 9.031 kB / 1.393 GB, free: 25.6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.884e-05/0.9565, allocations: 80.58 kB / 1.393 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.9567, allocations: 250.6 kB / 1.394 GB, free: 25.24 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.097e-05/0.9567, allocations: 150.6 kB / 1.394 GB, free: 25.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-05/0.9568, allocations: 159.7 kB / 1.394 GB, free: 24.94 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.974e-05/0.9569, allocations: 150.6 kB / 1.394 GB, free: 24.79 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.271e-05/0.9569, allocations: 106.3 kB / 1.394 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.9569, allocations: 75.28 kB / 1.394 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.93e-05/0.957, allocations: 151.9 kB / 1.394 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.962e-05/0.9571, allocations: 154.5 kB / 1.394 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002476/0.9573, allocations: 445.1 kB / 1.395 GB, free: 23.85 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.084e-05/0.9574, allocations: 174.4 kB / 1.395 GB, free: 23.67 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.63e-05/0.9574, allocations: 80.14 kB / 1.395 GB, free: 23.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.9574, allocations: 79.19 kB / 1.395 GB, free: 23.51 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.9575, allocations: 115.1 kB / 1.395 GB, free: 23.39 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.9575, allocations: 0 / 1.395 GB, free: 23.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.098e-05/0.9576, allocations: 32.33 kB / 1.395 GB, free: 23.36 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/0.9576, allocations: 55.31 kB / 1.395 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.9578, allocations: 117.8 kB / 1.396 GB, free: 23.19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.9578, allocations: 27.08 kB / 1.396 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.46e-05/0.9579, allocations: 81.42 kB / 1.396 GB, free: 23.08 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.302e-06/0.9579, allocations: 0 / 1.396 GB, free: 23.08 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.9579, allocations: 0 / 1.396 GB, free: 23.08 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.958, allocations: 324.3 kB / 1.396 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.647e-05/0.958, allocations: 11.41 kB / 1.396 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.394e-05/0.958, allocations: 2.531 kB / 1.396 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.89e-05/0.9581, allocations: 10.31 kB / 1.396 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9581, allocations: 3.938 kB / 1.396 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000141/0.9583, allocations: 58.38 kB / 1.396 GB, free: 22.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.9583, allocations: 8.031 kB / 1.396 GB, free: 22.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.9583, allocations: 2.594 kB / 1.396 GB, free: 22.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.9583, allocations: 0 / 1.396 GB, free: 22.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.9583, allocations: 1.312 kB / 1.396 GB, free: 22.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.9583, allocations: 3.906 kB / 1.396 GB, free: 22.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.9584, allocations: 5.375 kB / 1.396 GB, free: 22.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.9584, allocations: 5.266 kB / 1.396 GB, free: 22.7 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 7.712e-05/0.9585, allocations: 177.6 kB / 1.396 GB, free: 22.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/0.9585, allocations: 115.4 kB / 1.396 GB, free: 22.4 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/0.9586, allocations: 109.7 kB / 1.396 GB, free: 22.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.374e-05/0.9586, allocations: 177.6 kB / 1.397 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.884e-05/0.9587, allocations: 189.4 kB / 1.397 GB, free: 21.91 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.366e-05/0.9588, allocations: 179.1 kB / 1.397 GB, free: 21.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.9589, allocations: 392.2 kB / 1.397 GB, free: 21.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.592e-05/0.9589, allocations: 106 kB / 1.397 GB, free: 21.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.665e-05/0.959, allocations: 102.4 kB / 1.398 GB, free: 21.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.37e-05/0.959, allocations: 179.4 kB / 1.398 GB, free: 20.92 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/0.9591, allocations: 189.9 kB / 1.398 GB, free: 20.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.756e-05/0.9591, allocations: 181.8 kB / 1.398 GB, free: 20.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-05/0.9592, allocations: 176.3 kB / 1.398 GB, free: 20.37 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.491e-05/0.9593, allocations: 309.6 kB / 1.399 GB, free: 20.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.9593, allocations: 191.5 kB / 1.399 GB, free: 19.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.537e-05/0.9594, allocations: 181.5 kB / 1.399 GB, free: 19.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.122e-05/0.9595, allocations: 101.7 kB / 1.399 GB, free: 19.55 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.9595, allocations: 181.7 kB / 1.399 GB, free: 19.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.9596, allocations: 112.9 kB / 1.399 GB, free: 19.25 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.254e-05/0.9596, allocations: 95.67 kB / 1.399 GB, free: 19.18 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001072/0.9607, allocations: 332.7 kB / 1.4 GB, free: 19.06 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.001055/0.9618, allocations: 0.5445 MB / 1.4 GB, free: 18.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.83e-05/0.9619, allocations: 41.77 kB / 1.4 GB, free: 18.72 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9619, allocations: 1.156 kB / 1.4 GB, free: 18.72 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.9619, allocations: 0 / 1.4 GB, free: 18.72 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.9622, allocations: 0.5303 MB / 1.401 GB, free: 18.19 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001926/0.9624, allocations: 142.7 kB / 1.401 GB, free: 18.04 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/0.9627, allocations: 0.6989 MB / 1.402 GB, free: 17.33 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/0.9627, allocations: 7.875 kB / 1.402 GB, free: 17.32 MB / 0.8386 GB Notification: Performance of Templates: time 0.009816/0.9725, allocations: 5.582 MB / 1.407 GB, free: 14.52 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c:857: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.InternalResistancesTwoUTube_functions.o] Error 1