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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,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.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,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.InternalResistancesTwoUTubeNegative") [: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.986/1.986, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001407/0.001407, allocations: 186.6 kB / 490.8 MB, free: 1.926 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.249/1.249, 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.001045/0.001045, allocations: 98.48 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.195e-06/8.215e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2261, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7727/0.9988, allocations: 170.2 MB / 1.378 GB, free: 15.79 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.9991, allocations: 113.6 kB / 1.378 GB, free: 15.77 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.04317/1.042, allocations: 15.13 MB / 1.393 GB, free: 10.01 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.121e-05/1.042, allocations: 0 / 1.393 GB, free: 10.01 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.001168/1.044, allocations: 0.5513 MB / 1.393 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.044, allocations: 8.938 kB / 1.393 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.475e-05/1.044, allocations: 81.69 kB / 1.393 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/1.044, allocations: 250.6 kB / 1.394 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.715e-05/1.044, allocations: 154.5 kB / 1.394 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/1.044, allocations: 155.6 kB / 1.394 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.97e-05/1.044, allocations: 150.6 kB / 1.394 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.935e-05/1.044, allocations: 106 kB / 1.394 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/1.044, allocations: 75.28 kB / 1.394 GB, free: 24.49 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/1.044, allocations: 155.8 kB / 1.394 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.559e-05/1.044, allocations: 150.6 kB / 1.395 GB, free: 24.19 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/1.045, allocations: 445.3 kB / 1.395 GB, free: 23.74 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.53e-05/1.045, allocations: 170.5 kB / 1.395 GB, free: 23.56 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/1.045, allocations: 84.14 kB / 1.395 GB, free: 23.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/1.045, allocations: 79.19 kB / 1.395 GB, free: 23.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.745e-05/1.045, allocations: 107.1 kB / 1.395 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.613e-06/1.045, allocations: 0 / 1.395 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.924e-05/1.045, allocations: 32.27 kB / 1.395 GB, free: 23.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/1.045, allocations: 59.31 kB / 1.395 GB, free: 23.18 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/1.045, allocations: 119.3 kB / 1.396 GB, free: 23.08 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/1.045, allocations: 30.97 kB / 1.396 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/1.045, allocations: 85.08 kB / 1.396 GB, free: 22.96 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/1.045, allocations: 0 / 1.396 GB, free: 22.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/1.045, allocations: 1.281 kB / 1.396 GB, free: 22.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.045, allocations: 316.2 kB / 1.396 GB, free: 22.65 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.884e-05/1.046, allocations: 8.406 kB / 1.396 GB, free: 22.65 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.68e-05/1.046, allocations: 6.594 kB / 1.396 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.152e-05/1.046, allocations: 8.531 kB / 1.396 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.046, allocations: 0 / 1.396 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001767/1.046, allocations: 55.45 kB / 1.396 GB, free: 22.61 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/1.046, allocations: 3.938 kB / 1.396 GB, free: 22.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/1.046, allocations: 11.86 kB / 1.396 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/1.046, allocations: 0 / 1.396 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/1.046, allocations: 0 / 1.396 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/1.046, allocations: 5.25 kB / 1.396 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.706e-05/1.046, allocations: 3.938 kB / 1.396 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/1.046, allocations: 5.375 kB / 1.396 GB, free: 22.59 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 8.007e-05/1.046, allocations: 180.7 kB / 1.396 GB, free: 22.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.875e-05/1.046, allocations: 107.5 kB / 1.396 GB, free: 22.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.38e-05/1.046, allocations: 118.3 kB / 1.396 GB, free: 22.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.472e-05/1.046, allocations: 180.2 kB / 1.397 GB, free: 22 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.756e-05/1.046, allocations: 181.5 kB / 1.397 GB, free: 21.81 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.286e-05/1.046, allocations: 181.6 kB / 1.397 GB, free: 21.63 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/1.047, allocations: 395.1 kB / 1.397 GB, free: 21.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.238e-05/1.047, allocations: 106.2 kB / 1.397 GB, free: 21.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/1.047, allocations: 101 kB / 1.398 GB, free: 21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.013e-05/1.047, allocations: 185.4 kB / 1.398 GB, free: 20.81 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-05/1.047, allocations: 185.6 kB / 1.398 GB, free: 20.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.798e-05/1.047, allocations: 177.5 kB / 1.398 GB, free: 20.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.755e-05/1.047, allocations: 180.2 kB / 1.398 GB, free: 20.26 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000112/1.047, allocations: 310 kB / 1.399 GB, free: 19.94 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.91e-05/1.047, allocations: 188.5 kB / 1.399 GB, free: 19.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.81e-05/1.047, allocations: 181.6 kB / 1.399 GB, free: 19.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/1.047, allocations: 105 kB / 1.399 GB, free: 19.44 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/1.047, allocations: 189.4 kB / 1.399 GB, free: 19.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/1.047, allocations: 102.3 kB / 1.399 GB, free: 19.14 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.588e-05/1.047, allocations: 97.2 kB / 1.399 GB, free: 19.07 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00117/1.049, allocations: 324.3 kB / 1.4 GB, free: 18.96 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.00135/1.05, allocations: 0.5553 MB / 1.4 GB, free: 18.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.642e-05/1.05, allocations: 38.83 kB / 1.4 GB, free: 18.61 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.05, allocations: 0 / 1.4 GB, free: 18.61 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/1.05, allocations: 0 / 1.4 GB, free: 18.61 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/1.05, allocations: 0.5313 MB / 1.401 GB, free: 18.08 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001877/1.051, allocations: 144 kB / 1.401 GB, free: 17.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/1.051, allocations: 0.6989 MB / 1.402 GB, free: 17.22 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/1.051, allocations: 0.9688 kB / 1.402 GB, free: 17.22 MB / 0.8386 GB Notification: Performance of Templates: time 0.0119/1.063, allocations: 5.593 MB / 1.407 GB, free: 14.4 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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_InternalResistancesTwoUTubeNegative -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.InternalResistancesTwoUTubeNegative.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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_InternalResistancesTwoUTubeNegative -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.InternalResistancesTwoUTubeNegative_functions.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_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.InternalResistancesTwoUTubeNegative_functions.o] Error 1