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.MultipoleThermalResistances_OneUTube.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.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") [: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.001842/0.001842, allocations: 179.1 kB / 7.458 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5971/0.5971, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.127/1.127, allocations: 221.3 MB / 395 MB, free: 10.19 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.0008452/0.0008455, allocations: 95.09 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.356e-06/8.386e-06, allocations: 6.469 kB / 0.5529 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1149, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3387/0.4536, allocations: 122.9 MB / 0.7533 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.4539, allocations: 113.2 kB / 0.7534 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.02039/0.4743, allocations: 7.758 MB / 0.761 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.4743, allocations: 2.062 kB / 0.761 GB, free: 6.457 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004884/0.4748, allocations: 482.9 kB / 0.7614 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.4749, allocations: 8.312 kB / 0.7615 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.4749, allocations: 15.91 kB / 0.7615 GB, free: 21.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.4751, allocations: 192.4 kB / 0.7616 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.4751, allocations: 4.969 kB / 0.7617 GB, free: 21.76 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.4751, allocations: 0 / 0.7617 GB, free: 21.76 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.514e-05/0.4752, allocations: 22.61 kB / 0.7617 GB, free: 21.76 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.714e-05/0.4753, allocations: 58.17 kB / 0.7617 GB, free: 21.72 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.4753, allocations: 0 / 0.7617 GB, free: 21.72 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.4753, allocations: 0 / 0.7617 GB, free: 21.72 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.4753, allocations: 1.156 kB / 0.7617 GB, free: 21.72 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.4755, allocations: 163 kB / 0.7619 GB, free: 21.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.393e-05/0.4755, allocations: 50.06 kB / 0.7619 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.657e-05/0.4756, allocations: 34.81 kB / 0.762 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.4756, allocations: 5.953 kB / 0.762 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.4756, allocations: 35.56 kB / 0.762 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 8.31e-07/0.4756, allocations: 0 / 0.762 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0001858/0.4758, allocations: 96.77 kB / 0.7621 GB, free: 21.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.4758, allocations: 52.81 kB / 0.7622 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.4759, allocations: 143.9 kB / 0.7623 GB, free: 21.24 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.476, allocations: 25.7 kB / 0.7623 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.541e-05/0.476, allocations: 86.52 kB / 0.7624 GB, free: 21.13 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.476, allocations: 25.83 kB / 0.7624 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.476, allocations: 1.188 kB / 0.7624 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.015e-05/0.4761, allocations: 321.9 kB / 0.7627 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.341e-05/0.4762, allocations: 25.42 kB / 0.7628 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.727e-05/0.4762, allocations: 22.02 kB / 0.7628 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.662e-05/0.4763, allocations: 36.3 kB / 0.7628 GB, free: 20.78 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4763, allocations: 4.031 kB / 0.7628 GB, free: 20.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000129/0.4764, allocations: 104.9 kB / 0.7629 GB, free: 20.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.4764, allocations: 6.188 kB / 0.7629 GB, free: 20.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.4764, allocations: 1.156 kB / 0.7629 GB, free: 20.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.4765, allocations: 0 / 0.7629 GB, free: 20.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/0.4765, allocations: 1.406 kB / 0.7629 GB, free: 20.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.4765, allocations: 4.812 kB / 0.7629 GB, free: 20.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.177e-05/0.4765, allocations: 9 kB / 0.7629 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.4765, allocations: 1.344 kB / 0.7629 GB, free: 20.71 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 7.27e-05/0.4766, allocations: 110.2 kB / 0.763 GB, free: 20.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.4766, allocations: 7.688 kB / 0.763 GB, free: 20.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.4768, allocations: 203.8 kB / 0.7632 GB, free: 20.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.37e-05/0.4768, allocations: 182.3 kB / 0.7634 GB, free: 20.22 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-05/0.4769, allocations: 177.6 kB / 0.7636 GB, free: 20.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-05/0.4769, allocations: 180.2 kB / 0.7638 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.4771, allocations: 438.9 kB / 0.7642 GB, free: 19.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.611e-05/0.4772, allocations: 102.3 kB / 0.7643 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.601e-05/0.4772, allocations: 104.9 kB / 0.7644 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.362e-05/0.4772, allocations: 185.5 kB / 0.7645 GB, free: 19.01 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/0.4773, allocations: 177.5 kB / 0.7647 GB, free: 18.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.525e-05/0.4773, allocations: 181.5 kB / 0.7649 GB, free: 18.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.967e-05/0.4774, allocations: 180.2 kB / 0.7651 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001054/0.4775, allocations: 314.7 kB / 0.7654 GB, free: 18.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.4776, allocations: 213.7 kB / 0.7656 GB, free: 17.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.028e-05/0.4777, allocations: 177.6 kB / 0.7657 GB, free: 17.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.781e-05/0.4778, allocations: 110.2 kB / 0.7658 GB, free: 17.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.4779, allocations: 184.2 kB / 0.766 GB, free: 17.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.4779, allocations: 102.3 kB / 0.7661 GB, free: 17.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002086/0.4781, allocations: 258.8 kB / 0.7664 GB, free: 17.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005929/0.4787, allocations: 245.6 kB / 0.7666 GB, free: 17.18 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.0007136/0.4794, allocations: 445.1 kB / 0.767 GB, free: 16.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.888e-05/0.4795, allocations: 75.94 kB / 0.7671 GB, free: 16.87 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4795, allocations: 0 / 0.7671 GB, free: 16.87 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.4795, allocations: 1.281 kB / 0.7671 GB, free: 16.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.4798, allocations: 0.5293 MB / 0.7676 GB, free: 16.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002186/0.48, allocations: 202.3 kB / 0.7678 GB, free: 16.17 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.4803, allocations: 0.7128 MB / 0.7685 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-07/0.4803, allocations: 0 / 0.7685 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of Templates: time 0.007019/0.4873, allocations: 4.274 MB / 0.7727 GB, free: 13.32 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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_MultipoleThermalResistances_OneUTube -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.MultipoleThermalResistances_OneUTube.o IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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_MultipoleThermalResistances_OneUTube -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.MultipoleThermalResistances_OneUTube_functions.o IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c:620: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.MultipoleThermalResistances_OneUTube_functions.o] Error 1