Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.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="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_maint.7.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 7.0.3-maint.7.0.x/package.mo): time 1.201/1.201, allocations: 249.4 MB / 256.7 MB, free: 7.062 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 192.9 kB / 316 MB, free: 3.5 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.082/1.082, allocations: 205.2 MB / 0.5667 GB, free: 15.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000894/0.000894, allocations: 97 kB / 0.671 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.474e-06, allocations: 4 kB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1412, allocations: 106.3 MB / 0.8846 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4368/0.578, allocations: 153.2 MB / 1.034 GB, free: 1.695 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.5783, allocations: 115.3 kB / 1.034 GB, free: 1.621 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.04265/0.621, allocations: 15.01 MB / 1.049 GB, free: 4.898 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.621, allocations: 0 / 1.049 GB, free: 4.898 MB / 0.6667 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.0005992/0.6216, allocations: 0.551 MB / 1.05 GB, free: 4.312 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.6217, allocations: 8.031 kB / 1.05 GB, free: 4.305 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.6217, allocations: 84.03 kB / 1.05 GB, free: 4.223 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.6219, allocations: 242.3 kB / 1.05 GB, free: 3.945 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.6219, allocations: 158.5 kB / 1.05 GB, free: 3.789 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.622, allocations: 154.6 kB / 1.05 GB, free: 3.637 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.308e-05/0.622, allocations: 150.6 kB / 1.05 GB, free: 3.488 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.619e-05/0.6221, allocations: 107.9 kB / 1.05 GB, free: 3.379 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.6221, allocations: 75.28 kB / 1.05 GB, free: 3.305 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/0.6221, allocations: 150.6 kB / 1.051 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/0.6222, allocations: 158.5 kB / 1.051 GB, free: 3 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.6224, allocations: 448.3 kB / 1.051 GB, free: 2.531 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 6.997e-05/0.6225, allocations: 168.8 kB / 1.051 GB, free: 2.359 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.627e-05/0.6225, allocations: 84.14 kB / 1.051 GB, free: 2.273 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.6226, allocations: 79.28 kB / 1.051 GB, free: 2.195 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.6226, allocations: 105.8 kB / 1.052 GB, free: 2.082 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.6226, allocations: 3.938 kB / 1.052 GB, free: 2.078 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 6.645e-05/0.6227, allocations: 33.61 kB / 1.052 GB, free: 2.039 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.6227, allocations: 51.41 kB / 1.052 GB, free: 1.977 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.413e-05/0.6228, allocations: 125.8 kB / 1.052 GB, free: 1.855 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.6228, allocations: 29.69 kB / 1.052 GB, free: 1.82 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.045e-05/0.6228, allocations: 84.14 kB / 1.052 GB, free: 1.734 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.6229, allocations: 4 kB / 1.052 GB, free: 1.73 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.6229, allocations: 0 / 1.052 GB, free: 1.73 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.837e-05/0.6229, allocations: 318.2 kB / 1.052 GB, free: 1.414 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.428e-05/0.623, allocations: 7.5 kB / 1.052 GB, free: 1.41 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.227e-05/0.623, allocations: 4 kB / 1.052 GB, free: 1.406 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.45e-05/0.6231, allocations: 7.625 kB / 1.052 GB, free: 1.402 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.6231, allocations: 3.938 kB / 1.052 GB, free: 1.398 MB / 0.6667 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001244/0.6232, allocations: 56.92 kB / 1.052 GB, free: 1.34 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.6232, allocations: 4.062 kB / 1.052 GB, free: 1.336 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.6232, allocations: 11.98 kB / 1.052 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.6232, allocations: 0 / 1.052 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.6232, allocations: 0 / 1.052 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.6233, allocations: 0 / 1.052 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.08e-05/0.6233, allocations: 3.906 kB / 1.052 GB, free: 1.32 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.6233, allocations: 4 kB / 1.052 GB, free: 1.316 MB / 0.6667 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.538e-05/0.6234, allocations: 176.3 kB / 1.052 GB, free: 1.137 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.6234, allocations: 104.9 kB / 1.053 GB, free: 1.027 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.6235, allocations: 116.6 kB / 1.053 GB, free: 0.9023 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.202e-05/0.6235, allocations: 182.8 kB / 1.053 GB, free: 0.7188 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.337e-05/0.6236, allocations: 176.3 kB / 1.053 GB, free: 0.5391 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.153e-05/0.6236, allocations: 180.3 kB / 1.053 GB, free: 364 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.6238, allocations: 396.8 kB / 1.054 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.077e-05/0.6238, allocations: 113 kB / 1.054 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.502e-05/0.6239, allocations: 101 kB / 1.054 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-05/0.6239, allocations: 180.2 kB / 1.054 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/0.624, allocations: 180.4 kB / 1.054 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.1e-05/0.624, allocations: 180.2 kB / 1.054 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.367e-05/0.6241, allocations: 180.3 kB / 1.054 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.483e-05/0.6242, allocations: 316.5 kB / 1.055 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/0.6242, allocations: 182 kB / 1.055 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.905e-05/0.6243, allocations: 180.3 kB / 1.055 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.911e-05/0.6244, allocations: 113 kB / 1.055 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.6244, allocations: 184.2 kB / 1.055 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.6244, allocations: 101 kB / 1.056 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.94e-05/0.6245, allocations: 97.77 kB / 1.056 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006218/0.6251, allocations: 328.2 kB / 1.056 GB, free: 13.45 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.0009713/0.6261, allocations: 0.5821 MB / 1.056 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.576e-05/0.6262, allocations: 40.89 kB / 1.057 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6262, allocations: 0 / 1.057 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.6262, allocations: 0 / 1.057 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.6265, allocations: 0.5296 MB / 1.057 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001719/0.6266, allocations: 146.2 kB / 1.057 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.6268, allocations: 0.6959 MB / 1.058 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.6269, allocations: 0 / 1.058 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of Templates: time 0.008046/0.6349, allocations: 5.701 MB / 1.063 GB, free: 5.777 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile make -j1 -f Buildings_maint.7.0.x_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_maint_7_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.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.o Buildings_maint.7.0.x_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_maint_7_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.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c Buildings_maint.7.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') 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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o] Error 1