Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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-master/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-master/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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [: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.002143/0.002143, allocations: 174.2 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5943/0.5943, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.131/1.131, allocations: 221.3 MB / 395 MB, free: 10.2 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.000851/0.0008508, allocations: 101.5 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.023e-06/7.043e-06, allocations: 2.344 kB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 82.31 MB / 0.6333 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3407/0.4527, allocations: 130.7 MB / 0.761 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.453, allocations: 117.8 kB / 0.7611 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.03858/0.4916, allocations: 14.75 MB / 0.7755 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.4917, allocations: 1.062 kB / 0.7755 GB, free: 1.602 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.000545/0.4922, allocations: 0.5409 MB / 0.776 GB, free: 17.08 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.4922, allocations: 8.406 kB / 0.776 GB, free: 17.08 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.4923, allocations: 82 kB / 0.7761 GB, free: 17 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.4924, allocations: 256.3 kB / 0.7763 GB, free: 16.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.08e-05/0.4925, allocations: 159.4 kB / 0.7765 GB, free: 16.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.353e-05/0.4925, allocations: 150.6 kB / 0.7766 GB, free: 16.42 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.635e-05/0.4926, allocations: 151.5 kB / 0.7768 GB, free: 16.27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.092e-05/0.4927, allocations: 106 kB / 0.7769 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.4927, allocations: 75.28 kB / 0.7769 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/0.4927, allocations: 151.5 kB / 0.7771 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.841e-05/0.4928, allocations: 154.6 kB / 0.7772 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.493, allocations: 444.6 kB / 0.7777 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.618e-05/0.4931, allocations: 173.3 kB / 0.7778 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.508e-05/0.4931, allocations: 84.08 kB / 0.7779 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.4932, allocations: 80.09 kB / 0.778 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.4932, allocations: 106.6 kB / 0.7781 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.4932, allocations: 0 / 0.7781 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 6.674e-05/0.4933, allocations: 32.36 kB / 0.7781 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.4933, allocations: 52.38 kB / 0.7782 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.75e-05/0.4934, allocations: 114.9 kB / 0.7783 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.4934, allocations: 29.64 kB / 0.7783 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.153e-05/0.4935, allocations: 90.06 kB / 0.7784 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-06/0.4935, allocations: 0.875 kB / 0.7784 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/0.4935, allocations: 0 / 0.7784 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.862e-05/0.4936, allocations: 316.7 kB / 0.7787 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.046e-05/0.4936, allocations: 2.781 kB / 0.7787 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.173e-05/0.4936, allocations: 6.438 kB / 0.7787 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.076e-05/0.4937, allocations: 9.234 kB / 0.7787 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4937, allocations: 3.906 kB / 0.7787 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001166/0.4938, allocations: 44.67 kB / 0.7788 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.4938, allocations: 8.906 kB / 0.7788 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.4938, allocations: 3.656 kB / 0.7788 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.4938, allocations: 3.906 kB / 0.7788 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-06/0.4939, allocations: 0.9062 kB / 0.7788 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.4939, allocations: 3.984 kB / 0.7788 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.848e-05/0.4939, allocations: 1.031 kB / 0.7788 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.4939, allocations: 1.719 kB / 0.7788 GB, free: 14.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 6.544e-05/0.494, allocations: 177 kB / 0.7789 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.494, allocations: 118.9 kB / 0.7791 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.952e-05/0.4941, allocations: 111.4 kB / 0.7792 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.129e-05/0.4941, allocations: 181.2 kB / 0.7793 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.812e-05/0.4942, allocations: 187.7 kB / 0.7795 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.694e-05/0.4942, allocations: 181.2 kB / 0.7797 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.4944, allocations: 387.5 kB / 0.7801 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.914e-05/0.4944, allocations: 112.1 kB / 0.7802 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/0.4944, allocations: 102.7 kB / 0.7803 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.575e-05/0.4945, allocations: 181.3 kB / 0.7804 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/0.4945, allocations: 184.2 kB / 0.7806 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.264e-05/0.4946, allocations: 178 kB / 0.7808 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.65e-05/0.4946, allocations: 185.2 kB / 0.781 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.289e-05/0.4947, allocations: 312.5 kB / 0.7813 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.3e-05/0.4948, allocations: 184 kB / 0.7814 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.027e-05/0.4949, allocations: 182 kB / 0.7816 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.491e-05/0.495, allocations: 101.9 kB / 0.7817 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.495, allocations: 185.3 kB / 0.7819 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.495, allocations: 108.8 kB / 0.782 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.102e-05/0.4951, allocations: 96.03 kB / 0.7821 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000632/0.4957, allocations: 325.7 kB / 0.7824 GB, free: 10.56 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.0008763/0.4966, allocations: 0.542 MB / 0.7829 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.063e-05/0.4967, allocations: 37 kB / 0.783 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.4967, allocations: 4.906 kB / 0.783 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.4967, allocations: 0 / 0.783 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.497, allocations: 0.5278 MB / 0.7835 GB, free: 9.688 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001477/0.4971, allocations: 150.8 kB / 0.7836 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.4973, allocations: 0.6985 MB / 0.7843 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.4973, allocations: 0 / 0.7843 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of Templates: time 0.007552/0.5049, allocations: 5.4 MB / 0.7896 GB, free: 3.977 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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=IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative -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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.o IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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=IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative -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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.c IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.c:1081: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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o] Error 1