Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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_maint.8.0.x_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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 8.0.1-maint.8.0.x/package.mo): time 1.552/1.552, allocations: 285.5 MB / 292.8 MB, free: 10.47 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001214/0.001214, allocations: 187.5 kB / 361.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 205.1 MB / 0.6195 GB, free: 10.31 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009144/0.0009144, allocations: 94.02 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.323e-05/1.327e-05, allocations: 4 kB / 0.8511 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7383/0.7383, allocations: 115.3 MB / 0.9637 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2033/0.9417, allocations: 158.4 MB / 1.118 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/0.9421, allocations: 125.5 kB / 1.119 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.05142/0.9936, allocations: 14.99 MB / 1.133 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.9936, allocations: 0 / 1.133 GB, free: 14.52 MB / 0.7448 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.001192/0.9948, allocations: 0.5526 MB / 1.134 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.1e-05/0.9949, allocations: 16.52 kB / 1.134 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.953e-05/0.995, allocations: 84.75 kB / 1.134 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.9952, allocations: 249.2 kB / 1.134 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.395e-05/0.9952, allocations: 150.6 kB / 1.134 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-05/0.9953, allocations: 150.6 kB / 1.134 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.278e-05/0.9954, allocations: 156.8 kB / 1.135 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.768e-05/0.9955, allocations: 108.9 kB / 1.135 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.257e-05/0.9955, allocations: 75.28 kB / 1.135 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.769e-05/0.9956, allocations: 150.6 kB / 1.135 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.269e-05/0.9957, allocations: 150.6 kB / 1.135 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.996, allocations: 446.4 kB / 1.135 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.9961, allocations: 169.1 kB / 1.136 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.941e-05/0.9962, allocations: 84.14 kB / 1.136 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.9962, allocations: 75.28 kB / 1.136 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.813e-05/0.9963, allocations: 121.7 kB / 1.136 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 2.975e-06/0.9963, allocations: 3.984 kB / 1.136 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.528e-05/0.9964, allocations: 29.61 kB / 1.136 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.9964, allocations: 59.41 kB / 1.136 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.9966, allocations: 117.1 kB / 1.136 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.9966, allocations: 25.7 kB / 1.136 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.9967, allocations: 84.14 kB / 1.136 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.9967, allocations: 0 / 1.136 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.9967, allocations: 4 kB / 1.136 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.9968, allocations: 318.8 kB / 1.136 GB, free: 11 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.721e-05/0.9969, allocations: 4 kB / 1.136 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.606e-05/0.9969, allocations: 8 kB / 1.136 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.292e-05/0.997, allocations: 13.66 kB / 1.136 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.997, allocations: 0 / 1.136 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001729/0.9972, allocations: 53.62 kB / 1.137 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.9972, allocations: 10.06 kB / 1.137 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/0.9972, allocations: 7.906 kB / 1.137 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.9973, allocations: 0 / 1.137 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.274e-06/0.9973, allocations: 0 / 1.137 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.9973, allocations: 0 / 1.137 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.842e-05/0.9973, allocations: 0 / 1.137 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.9973, allocations: 4.062 kB / 1.137 GB, free: 10.89 MB / 0.7448 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 0.0001071/0.9974, allocations: 184.2 kB / 1.137 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.9975, allocations: 105 kB / 1.137 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.38e-05/0.9976, allocations: 116.4 kB / 1.137 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-05/0.9976, allocations: 176.3 kB / 1.137 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.917e-05/0.9977, allocations: 176.3 kB / 1.137 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001363/0.9979, allocations: 197.7 kB / 1.137 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.9981, allocations: 385.8 kB / 1.138 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/0.9981, allocations: 101 kB / 1.138 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.211e-05/0.9982, allocations: 108.9 kB / 1.138 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.359e-05/0.9983, allocations: 176.3 kB / 1.138 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.373e-05/0.9984, allocations: 184.4 kB / 1.138 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.137e-05/0.9984, allocations: 184.2 kB / 1.139 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.887e-05/0.9985, allocations: 180.3 kB / 1.139 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001416/0.9987, allocations: 312.9 kB / 1.139 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.85e-05/0.9988, allocations: 186 kB / 1.139 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.829e-05/0.9989, allocations: 190.1 kB / 1.139 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.705e-05/0.9989, allocations: 104.9 kB / 1.139 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.999, allocations: 180.3 kB / 1.14 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.39e-05/0.9991, allocations: 101 kB / 1.14 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.683e-05/0.9991, allocations: 96.2 kB / 1.14 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001203/1, allocations: 331.4 kB / 1.14 GB, free: 7 MB / 0.7448 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.001704/1.002, allocations: 0.5705 MB / 1.141 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.65e-05/1.002, allocations: 49.62 kB / 1.141 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.002, allocations: 0 / 1.141 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.868e-06/1.002, allocations: 0 / 1.141 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/1.003, allocations: 0.5317 MB / 1.141 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002411/1.003, allocations: 146.7 kB / 1.141 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003159/1.003, allocations: 0.6966 MB / 1.142 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of SimCode: time 2.71e-07/1.003, allocations: 0 / 1.142 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of Templates: time 0.0116/1.015, allocations: 5.704 MB / 1.148 GB, free: 15.32 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile b'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_maint_8_0_x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.c\nclang -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_maint_8_0_x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c\nBuildings_maint.8.0.x_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.\nmake: *** [: Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o] Error 1\n'