Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json 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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.003988/0.003988, allocations: 181.4 kB / 7.454 MB, free: 2.18 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6789/0.6789, allocations: 130.6 MB / 138.5 MB, free: 2.129 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 221.3 MB / 391.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 93.64 kB / 473.4 MB, free: 14.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.939e-06/9.969e-06, allocations: 1.875 kB / 0.548 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1749, allocations: 81.58 MB / 0.6276 GB, free: 18.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5187/0.6936, allocations: 131.2 MB / 0.7558 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.694, allocations: 114.5 kB / 0.7559 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.0462/0.7402, allocations: 15.09 MB / 0.7706 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.7402, allocations: 1.25 kB / 0.7706 GB, free: 2.621 MB / 0.4948 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.001119/0.7414, allocations: 0.55 MB / 0.7712 GB, free: 18.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.7414, allocations: 13.36 kB / 0.7712 GB, free: 18.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.899e-05/0.7415, allocations: 81.59 kB / 0.7713 GB, free: 18.01 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.7417, allocations: 242.3 kB / 0.7715 GB, free: 17.74 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.645e-05/0.7417, allocations: 152.1 kB / 0.7716 GB, free: 17.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.033e-05/0.7418, allocations: 154.5 kB / 0.7718 GB, free: 17.44 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.699e-05/0.7419, allocations: 159.5 kB / 0.7719 GB, free: 17.29 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.76e-05/0.7419, allocations: 101 kB / 0.772 GB, free: 17.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.7419, allocations: 80.38 kB / 0.7721 GB, free: 17.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.461e-05/0.742, allocations: 150.6 kB / 0.7722 GB, free: 16.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.55e-05/0.7421, allocations: 150.6 kB / 0.7724 GB, free: 16.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002896/0.7424, allocations: 453.5 kB / 0.7728 GB, free: 16.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.343e-05/0.7424, allocations: 170.3 kB / 0.773 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/0.7425, allocations: 81.27 kB / 0.7731 GB, free: 16.08 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.7425, allocations: 75.28 kB / 0.7731 GB, free: 16.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/0.7426, allocations: 114 kB / 0.7732 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.7426, allocations: 4 kB / 0.7732 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.278e-05/0.7426, allocations: 32.27 kB / 0.7733 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.7427, allocations: 51.41 kB / 0.7733 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.7428, allocations: 118.9 kB / 0.7734 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.7428, allocations: 25.7 kB / 0.7735 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.338e-05/0.7429, allocations: 85.61 kB / 0.7735 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.7429, allocations: 0 / 0.7735 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.7429, allocations: 3.938 kB / 0.7735 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.743, allocations: 328.8 kB / 0.7739 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.646e-05/0.7431, allocations: 7.5 kB / 0.7739 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.501e-05/0.7431, allocations: 2.781 kB / 0.7739 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.783e-05/0.7432, allocations: 9.906 kB / 0.7739 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7432, allocations: 0 / 0.7739 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001403/0.7433, allocations: 54.12 kB / 0.7739 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.7433, allocations: 5.531 kB / 0.7739 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.7434, allocations: 2.781 kB / 0.7739 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.7434, allocations: 0 / 0.7739 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.7434, allocations: 1.25 kB / 0.7739 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.7434, allocations: 4.062 kB / 0.7739 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.597e-05/0.7434, allocations: 1.469 kB / 0.7739 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.7434, allocations: 1 kB / 0.7739 GB, free: 15.2 MB / 0.5105 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.459e-05/0.7435, allocations: 181.6 kB / 0.7741 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.7436, allocations: 114.4 kB / 0.7742 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.551e-05/0.7436, allocations: 107.2 kB / 0.7743 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.947e-05/0.7437, allocations: 181.5 kB / 0.7745 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.695e-05/0.7438, allocations: 184.2 kB / 0.7747 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.94e-05/0.7438, allocations: 181.6 kB / 0.7749 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.744, allocations: 394.4 kB / 0.7752 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-05/0.7441, allocations: 108.9 kB / 0.7753 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.182e-05/0.7441, allocations: 106.5 kB / 0.7754 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.959e-05/0.7442, allocations: 181.3 kB / 0.7756 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.818e-05/0.7443, allocations: 185.3 kB / 0.7758 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.196e-05/0.7443, allocations: 185.7 kB / 0.776 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.452e-05/0.7444, allocations: 176.3 kB / 0.7761 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001347/0.7445, allocations: 313.4 kB / 0.7764 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.142e-05/0.7446, allocations: 187.4 kB / 0.7766 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.547e-05/0.7447, allocations: 182.4 kB / 0.7768 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.318e-05/0.7448, allocations: 105 kB / 0.7769 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.7449, allocations: 177.8 kB / 0.7771 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.883e-05/0.7449, allocations: 106.1 kB / 0.7772 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.295e-05/0.745, allocations: 103.6 kB / 0.7773 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00109/0.7461, allocations: 330.3 kB / 0.7776 GB, free: 11.57 MB / 0.5105 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.001618/0.7477, allocations: 0.5445 MB / 0.7781 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.351e-05/0.7478, allocations: 37.8 kB / 0.7781 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.7478, allocations: 0 / 0.7781 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.794e-06/0.7478, allocations: 1.406 kB / 0.7781 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.7482, allocations: 0.5358 MB / 0.7787 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001941/0.7484, allocations: 141.2 kB / 0.7788 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/0.7487, allocations: 0.6981 MB / 0.7795 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of SimCode: time 3.3e-07/0.7487, allocations: 0.875 kB / 0.7795 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of Templates: time 0.01042/0.7591, allocations: 5.589 MB / 0.7849 GB, free: 7.008 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IDEAS_IDEAS_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 IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.o IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.c clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IDEAS_IDEAS_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 IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c:1119: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: *** [: IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o] Error 1