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_TwoUTube.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_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") [: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.001939/0.001939, allocations: 186.5 kB / 7.46 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.598/0.598, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.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.0009009/0.000901, allocations: 99.28 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.542e-06/6.642e-06, allocations: 2.719 kB / 0.5529 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 82.3 MB / 0.6333 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3289/0.4391, allocations: 122.9 MB / 0.7533 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/0.4395, allocations: 115.2 kB / 0.7534 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.02166/0.4612, allocations: 8.223 MB / 0.7614 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.4612, allocations: 3.312 kB / 0.7614 GB, free: 6.395 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005465/0.4617, allocations: 0.5619 MB / 0.762 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.4618, allocations: 8.812 kB / 0.762 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.4618, allocations: 20.59 kB / 0.762 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.462, allocations: 219.8 kB / 0.7622 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.462, allocations: 1.812 kB / 0.7622 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.4621, allocations: 7.938 kB / 0.7622 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001021/0.4622, allocations: 77.5 kB / 0.7623 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.4623, allocations: 109.9 kB / 0.7624 GB, free: 21.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.4623, allocations: 0 / 0.7624 GB, free: 21.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.4623, allocations: 0 / 0.7624 GB, free: 21.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4623, allocations: 1.156 kB / 0.7624 GB, free: 21.57 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.4625, allocations: 248 kB / 0.7626 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.851e-05/0.4626, allocations: 128.1 kB / 0.7628 GB, free: 21.34 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.764e-05/0.4627, allocations: 112.3 kB / 0.7629 GB, free: 21.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.4628, allocations: 1.344 kB / 0.7629 GB, free: 21.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.4628, allocations: 31.91 kB / 0.7629 GB, free: 21.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=32): time 8.72e-07/0.4628, allocations: 0 / 0.7629 GB, free: 21.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32): time 0.0003337/0.4631, allocations: 333 kB / 0.7632 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.4632, allocations: 51.41 kB / 0.7633 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.4633, allocations: 218.7 kB / 0.7635 GB, free: 21.03 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.4634, allocations: 26.95 kB / 0.7635 GB, free: 21 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.5e-05/0.4634, allocations: 102.6 kB / 0.7636 GB, free: 20.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.262e-05/0.4635, allocations: 109.1 kB / 0.7637 GB, free: 20.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.4635, allocations: 3.938 kB / 0.7637 GB, free: 20.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.4636, allocations: 343.5 kB / 0.764 GB, free: 20.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.792e-05/0.4637, allocations: 75.53 kB / 0.7641 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.039e-05/0.4637, allocations: 76 kB / 0.7642 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.4638, allocations: 101.8 kB / 0.7643 GB, free: 20.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.4638, allocations: 1.25 kB / 0.7643 GB, free: 20.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002732/0.4641, allocations: 330.5 kB / 0.7646 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.4641, allocations: 9.25 kB / 0.7646 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.4642, allocations: 2.781 kB / 0.7646 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.4642, allocations: 0 / 0.7646 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.4642, allocations: 0 / 0.7646 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.4642, allocations: 1.156 kB / 0.7646 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.661e-05/0.4642, allocations: 10.12 kB / 0.7646 GB, free: 20.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.4643, allocations: 3.25 kB / 0.7646 GB, free: 20.37 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 5.922e-05/0.4643, allocations: 106.1 kB / 0.7647 GB, free: 20.26 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.4643, allocations: 21.12 kB / 0.7647 GB, free: 20.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003354/0.4647, allocations: 0.58 MB / 0.7653 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-05/0.4647, allocations: 182 kB / 0.7655 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.426e-05/0.4648, allocations: 176.3 kB / 0.7657 GB, free: 19.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.536e-05/0.4649, allocations: 181.5 kB / 0.7658 GB, free: 19.25 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.4652, allocations: 0.5265 MB / 0.7663 GB, free: 18.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.862e-05/0.4652, allocations: 109 kB / 0.7664 GB, free: 18.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.4652, allocations: 106.5 kB / 0.7665 GB, free: 18.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.474e-05/0.4653, allocations: 176.3 kB / 0.7667 GB, free: 18.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.326e-05/0.4654, allocations: 185.7 kB / 0.7669 GB, free: 18.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.246e-05/0.4654, allocations: 185.5 kB / 0.7671 GB, free: 17.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.072e-05/0.4655, allocations: 180.2 kB / 0.7672 GB, free: 17.78 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001579/0.4656, allocations: 329.1 kB / 0.7676 GB, free: 17.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003748/0.466, allocations: 356.4 kB / 0.7679 GB, free: 17.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.4662, allocations: 182.3 kB / 0.7681 GB, free: 17.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.4663, allocations: 105 kB / 0.7682 GB, free: 16.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.4664, allocations: 184.9 kB / 0.7683 GB, free: 16.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.4664, allocations: 102.5 kB / 0.7684 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001017/0.4674, allocations: 1.148 MB / 0.7696 GB, free: 16.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000772/0.4682, allocations: 304.8 kB / 0.7699 GB, free: 16.34 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.0006733/0.4689, allocations: 435 kB / 0.7703 GB, free: 16.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001794/0.4691, allocations: 184.6 kB / 0.7704 GB, free: 16.03 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4691, allocations: 0 / 0.7704 GB, free: 16.03 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-06/0.4691, allocations: 3.938 kB / 0.7704 GB, free: 16.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.4695, allocations: 0.542 MB / 0.771 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/0.4699, allocations: 359.4 kB / 0.7713 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.4702, allocations: 0.769 MB / 0.7721 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of SimCode: time 6.61e-07/0.4702, allocations: 0 / 0.7721 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of Templates: time 0.007129/0.4773, allocations: 4.57 MB / 0.7765 GB, free: 12.24 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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_TwoUTube -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_TwoUTube.o IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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_TwoUTube -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_TwoUTube_functions.o IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_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_TwoUTube_functions.o] Error 1