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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [: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.925/1.925, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.001138/0.001138, allocations: 185.2 kB / 490.8 MB, free: 1.891 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.345/1.345, allocations: 221.4 MB / 0.7863 GB, free: 13.62 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.0009882/0.0009882, allocations: 98.27 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.476e-06/8.496e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2638, allocations: 143 MB / 1.212 GB, free: 40 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6798/0.9436, allocations: 169.5 MB / 1.377 GB, free: 16.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.944, allocations: 120.3 kB / 1.377 GB, free: 16.43 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.0455/0.9895, allocations: 14.78 MB / 1.392 GB, free: 10.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.595e-06/0.9895, allocations: 0 / 1.392 GB, free: 10.8 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.001254/0.9908, allocations: 0.5529 MB / 1.392 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.9909, allocations: 7.875 kB / 1.392 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.123e-05/0.9909, allocations: 82.47 kB / 1.392 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.9911, allocations: 253.5 kB / 1.393 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.906e-05/0.9912, allocations: 155.8 kB / 1.393 GB, free: 25.76 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.9912, allocations: 151.5 kB / 1.393 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.918e-05/0.9913, allocations: 155.8 kB / 1.393 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.403e-05/0.9914, allocations: 105 kB / 1.393 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/0.9914, allocations: 79.56 kB / 1.393 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.81e-05/0.9914, allocations: 150.6 kB / 1.393 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.76e-05/0.9915, allocations: 154.5 kB / 1.393 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.9918, allocations: 440.7 kB / 1.394 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.473e-05/0.9919, allocations: 170.8 kB / 1.394 GB, free: 24.35 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.9919, allocations: 80.14 kB / 1.394 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.9919, allocations: 82.45 kB / 1.394 GB, free: 24.19 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.992, allocations: 111 kB / 1.394 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.992, allocations: 0 / 1.394 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.088e-05/0.9921, allocations: 40.77 kB / 1.394 GB, free: 24.03 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.9921, allocations: 51.41 kB / 1.394 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.9923, allocations: 119 kB / 1.395 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.9923, allocations: 31.12 kB / 1.395 GB, free: 23.83 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.9923, allocations: 85.05 kB / 1.395 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.9923, allocations: 0 / 1.395 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.9923, allocations: 3.938 kB / 1.395 GB, free: 23.74 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.9924, allocations: 317.4 kB / 1.395 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.907e-05/0.9925, allocations: 10.14 kB / 1.395 GB, free: 23.42 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.62e-05/0.9925, allocations: 4.062 kB / 1.395 GB, free: 23.42 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.008e-05/0.9926, allocations: 4.312 kB / 1.395 GB, free: 23.42 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9926, allocations: 0 / 1.395 GB, free: 23.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001555/0.9928, allocations: 53.69 kB / 1.395 GB, free: 23.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.9928, allocations: 5.406 kB / 1.395 GB, free: 23.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/0.9928, allocations: 2.25 kB / 1.395 GB, free: 23.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.9928, allocations: 0 / 1.395 GB, free: 23.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.136e-06/0.9928, allocations: 4.781 kB / 1.395 GB, free: 23.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.9929, allocations: 0 / 1.395 GB, free: 23.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.92e-05/0.9929, allocations: 9 kB / 1.395 GB, free: 23.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-06/0.9929, allocations: 1.469 kB / 1.395 GB, free: 23.37 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 9.168e-05/0.993, allocations: 177.9 kB / 1.395 GB, free: 23.19 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.9931, allocations: 107.9 kB / 1.395 GB, free: 23.08 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.496e-05/0.9931, allocations: 113.9 kB / 1.395 GB, free: 22.96 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.294e-05/0.9932, allocations: 183.5 kB / 1.396 GB, free: 22.78 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.725e-05/0.9932, allocations: 181.7 kB / 1.396 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.987e-05/0.9933, allocations: 177.7 kB / 1.396 GB, free: 22.42 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.9935, allocations: 391.1 kB / 1.396 GB, free: 22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.404e-05/0.9936, allocations: 108.9 kB / 1.396 GB, free: 21.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.424e-05/0.9936, allocations: 102.4 kB / 1.396 GB, free: 21.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.676e-05/0.9937, allocations: 184.7 kB / 1.397 GB, free: 21.6 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.883e-05/0.9937, allocations: 184.3 kB / 1.397 GB, free: 21.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.973e-05/0.9938, allocations: 177.5 kB / 1.397 GB, free: 21.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.196e-05/0.9938, allocations: 185.3 kB / 1.397 GB, free: 21.04 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001231/0.994, allocations: 305 kB / 1.397 GB, free: 20.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.994, allocations: 192.2 kB / 1.398 GB, free: 20.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.9941, allocations: 181.4 kB / 1.398 GB, free: 20.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.694e-05/0.9942, allocations: 101 kB / 1.398 GB, free: 20.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.9943, allocations: 187.7 kB / 1.398 GB, free: 20.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.9943, allocations: 102 kB / 1.398 GB, free: 19.94 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.127e-05/0.9944, allocations: 93.33 kB / 1.398 GB, free: 19.86 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001417/0.9958, allocations: 329 kB / 1.399 GB, free: 19.75 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.001726/0.9976, allocations: 0.5491 MB / 1.399 GB, free: 19.43 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.291e-05/0.9977, allocations: 37.95 kB / 1.399 GB, free: 19.4 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.9977, allocations: 0 / 1.399 GB, free: 19.4 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.704e-06/0.9977, allocations: 0 / 1.399 GB, free: 19.4 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.9981, allocations: 0.5289 MB / 1.4 GB, free: 18.87 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002205/0.9983, allocations: 147.8 kB / 1.4 GB, free: 18.72 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.9985, allocations: 0.698 MB / 1.401 GB, free: 18 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/0.9985, allocations: 0 / 1.401 GB, free: 18 MB / 0.8386 GB Notification: Performance of Templates: time 0.0125/1.011, allocations: 5.418 MB / 1.406 GB, free: 15.28 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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_InternalResistancesOneUTubeNegative -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.InternalResistancesOneUTubeNegative.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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_InternalResistancesOneUTubeNegative -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.InternalResistancesOneUTubeNegative_functions.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.c Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.c:819: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.InternalResistancesOneUTubeNegative_functions.o] Error 1