Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.545/1.545, allocations: 289.8 MB / 297.1 MB, free: 6.633 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.001119/0.001119, allocations: 185.2 kB / 366.3 MB, free: 1.922 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.521/1.521, allocations: 205.1 MB / 0.6256 GB, free: 5.766 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.0009354/0.0009351, allocations: 91.06 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.033e-05/1.035e-05, allocations: 0 / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7092/0.7092, allocations: 116.3 MB / 0.9726 GB, free: 68.36 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.205/0.9142, allocations: 159.4 MB / 1.128 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/0.9146, allocations: 119.7 kB / 1.128 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.04663/0.9613, allocations: 15 MB / 1.143 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.9613, allocations: 0 / 1.143 GB, free: 5.941 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.001023/0.9623, allocations: 0.5578 MB / 1.144 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.9624, allocations: 8.031 kB / 1.144 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.279e-05/0.9625, allocations: 83.19 kB / 1.144 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.9626, allocations: 254.2 kB / 1.144 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.58e-05/0.9627, allocations: 151.2 kB / 1.144 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.427e-05/0.9628, allocations: 150.6 kB / 1.144 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.643e-05/0.9628, allocations: 154.6 kB / 1.144 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.072e-05/0.9629, allocations: 105 kB / 1.144 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.9629, allocations: 79.28 kB / 1.145 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.783e-05/0.963, allocations: 154.5 kB / 1.145 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.316e-05/0.963, allocations: 150.6 kB / 1.145 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.9633, allocations: 447.4 kB / 1.145 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.87e-05/0.9634, allocations: 165.1 kB / 1.145 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.467e-05/0.9634, allocations: 88.14 kB / 1.145 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.9635, allocations: 79.28 kB / 1.146 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.9635, allocations: 105.8 kB / 1.146 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.9635, allocations: 3.938 kB / 1.146 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.697e-05/0.9636, allocations: 33.55 kB / 1.146 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.9636, allocations: 59.39 kB / 1.146 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.9638, allocations: 122.5 kB / 1.146 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.9638, allocations: 25.7 kB / 1.146 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/0.9638, allocations: 84.14 kB / 1.146 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.9638, allocations: 5.031 kB / 1.146 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.9638, allocations: 0 / 1.146 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.964, allocations: 318.8 kB / 1.146 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.492e-05/0.9641, allocations: 4 kB / 1.146 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.362e-05/0.9641, allocations: 4 kB / 1.146 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.669e-05/0.9642, allocations: 11.91 kB / 1.146 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9642, allocations: 4.031 kB / 1.146 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001386/0.9643, allocations: 49.69 kB / 1.146 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.9644, allocations: 8 kB / 1.146 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.9644, allocations: 7.906 kB / 1.146 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.9644, allocations: 0 / 1.146 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-06/0.9644, allocations: 4.875 kB / 1.146 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.9644, allocations: 0 / 1.146 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.105e-05/0.9644, allocations: 0 / 1.146 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.9645, allocations: 0 / 1.146 GB, free: 2.316 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 8.34e-05/0.9645, allocations: 188.2 kB / 1.147 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/0.9646, allocations: 101 kB / 1.147 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.916e-05/0.9647, allocations: 124.2 kB / 1.147 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.457e-05/0.9647, allocations: 180.2 kB / 1.147 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.174e-05/0.9648, allocations: 176.3 kB / 1.147 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.191e-05/0.9649, allocations: 184.3 kB / 1.147 GB, free: 1.34 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.9651, allocations: 398.3 kB / 1.148 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.29e-05/0.9651, allocations: 101 kB / 1.148 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.9652, allocations: 105 kB / 1.148 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.161e-05/0.9652, allocations: 180.2 kB / 1.148 GB, free: 0.5078 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.466e-05/0.9653, allocations: 180.4 kB / 1.148 GB, free: 332 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.434e-05/0.9653, allocations: 180.3 kB / 1.148 GB, free: 144 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-05/0.9654, allocations: 188.9 kB / 1.149 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001325/0.9656, allocations: 309 kB / 1.149 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.479e-05/0.9656, allocations: 186 kB / 1.149 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.931e-05/0.9657, allocations: 192.1 kB / 1.149 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.681e-05/0.9658, allocations: 105 kB / 1.149 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.721e-05/0.9659, allocations: 184.2 kB / 1.149 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.9659, allocations: 101 kB / 1.15 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.773e-05/0.966, allocations: 98.08 kB / 1.15 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001003/0.967, allocations: 328.3 kB / 1.15 GB, free: 14.41 MB / 0.7605 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.001121/0.9681, allocations: 0.5704 MB / 1.151 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 9.096e-05/0.9682, allocations: 41.7 kB / 1.151 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9682, allocations: 3.938 kB / 1.151 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.9682, allocations: 0 / 1.151 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.9685, allocations: 0.5311 MB / 1.151 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.9688, allocations: 143.8 kB / 1.151 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.9691, allocations: 0.6958 MB / 1.152 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of SimCode: time 4.21e-07/0.9691, allocations: 0 / 1.152 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of Templates: time 0.01001/0.9791, allocations: 5.707 MB / 1.158 GB, free: 6.723 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile make -j1 -f Buildings_8_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_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.o Buildings_8_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_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c Buildings_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o] Error 1