Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 189.5 kB / 7.806 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4501/0.4501, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.191/1.191, allocations: 221.4 MB / 342.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 95.64 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.255e-06/8.415e-06, allocations: 4 kB / 493.9 MB, free: 8.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3353, allocations: 72.29 MB / 0.553 GB, free: 73.36 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.4604, allocations: 121.7 MB / 0.6718 GB, free: 4.254 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.4608, allocations: 115.9 kB / 0.6719 GB, free: 4.141 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.04765/0.5084, allocations: 15.13 MB / 0.6867 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.5085, allocations: 0 / 0.6867 GB, free: 5.066 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.000839/0.5093, allocations: 0.5487 MB / 0.6872 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.5094, allocations: 8.031 kB / 0.6872 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.5094, allocations: 79.19 kB / 0.6873 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.5096, allocations: 258.2 kB / 0.6875 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/0.5096, allocations: 158 kB / 0.6877 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/0.5097, allocations: 154.5 kB / 0.6878 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.696e-05/0.5098, allocations: 150.6 kB / 0.688 GB, free: 3.641 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.694e-05/0.5098, allocations: 101 kB / 0.6881 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.5098, allocations: 75.28 kB / 0.6882 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.301e-05/0.5099, allocations: 150.6 kB / 0.6883 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.081e-05/0.5099, allocations: 158.6 kB / 0.6885 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.5102, allocations: 446.4 kB / 0.6889 GB, free: 2.684 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.392e-05/0.5103, allocations: 169.1 kB / 0.689 GB, free: 2.508 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.656e-05/0.5103, allocations: 84.12 kB / 0.6891 GB, free: 2.422 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.5103, allocations: 79.28 kB / 0.6892 GB, free: 2.344 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.5104, allocations: 109.8 kB / 0.6893 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.5104, allocations: 0 / 0.6893 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 7.682e-05/0.5105, allocations: 35.02 kB / 0.6893 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.5105, allocations: 55.39 kB / 0.6894 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.5106, allocations: 115.2 kB / 0.6895 GB, free: 2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.5106, allocations: 25.7 kB / 0.6895 GB, free: 1.969 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.405e-05/0.5107, allocations: 92.05 kB / 0.6896 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-06/0.5107, allocations: 4 kB / 0.6896 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-06/0.5107, allocations: 0 / 0.6896 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.014e-05/0.5108, allocations: 318.8 kB / 0.6899 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.855e-05/0.5108, allocations: 8 kB / 0.6899 GB, free: 1.543 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.625e-05/0.5108, allocations: 4 kB / 0.6899 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.605e-05/0.5109, allocations: 7.938 kB / 0.6899 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5109, allocations: 4 kB / 0.6899 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000141/0.5111, allocations: 53.59 kB / 0.69 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.5111, allocations: 8.062 kB / 0.69 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.5111, allocations: 4.781 kB / 0.69 GB, free: 1.457 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.5111, allocations: 2.719 kB / 0.69 GB, free: 1.457 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/0.5111, allocations: 3.312 kB / 0.69 GB, free: 1.457 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.5111, allocations: 0 / 0.69 GB, free: 1.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.575e-05/0.5112, allocations: 3.906 kB / 0.69 GB, free: 1.453 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.5112, allocations: 4 kB / 0.69 GB, free: 1.449 MB / 0.4948 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 0.0001073/0.5113, allocations: 176.3 kB / 0.6902 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/0.5114, allocations: 120.8 kB / 0.6903 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.5114, allocations: 108.6 kB / 0.6904 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.947e-05/0.5115, allocations: 176.3 kB / 0.6906 GB, free: 0.8516 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.64e-05/0.5115, allocations: 184.2 kB / 0.6907 GB, free: 0.6641 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-05/0.5116, allocations: 176.3 kB / 0.6909 GB, free: 496 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.5118, allocations: 397.8 kB / 0.6913 GB, free: 52 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.024e-05/0.5118, allocations: 108.9 kB / 0.6914 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.865e-05/0.5118, allocations: 101 kB / 0.6915 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.701e-05/0.5119, allocations: 180.2 kB / 0.6917 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/0.512, allocations: 184.2 kB / 0.6918 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.787e-05/0.512, allocations: 180.3 kB / 0.692 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.983e-05/0.5121, allocations: 184.2 kB / 0.6922 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001082/0.5122, allocations: 309 kB / 0.6925 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.5122, allocations: 186 kB / 0.6927 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.734e-05/0.5123, allocations: 184.2 kB / 0.6928 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.5124, allocations: 101 kB / 0.6929 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.5125, allocations: 180.3 kB / 0.6931 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.5125, allocations: 108.9 kB / 0.6932 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.862e-05/0.5126, allocations: 101.9 kB / 0.6933 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009729/0.5136, allocations: 323.5 kB / 0.6936 GB, free: 13.55 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.001341/0.5149, allocations: 0.5474 MB / 0.6942 GB, free: 13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.266e-05/0.515, allocations: 42.2 kB / 0.6942 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.515, allocations: 64 / 0.6942 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.515, allocations: 4 kB / 0.6942 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.5154, allocations: 0.5373 MB / 0.6947 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000207/0.5156, allocations: 139.2 kB / 0.6949 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.5158, allocations: 0.6997 MB / 0.6955 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of SimCode: time 1.333e-06/0.5158, allocations: 3.938 kB / 0.6955 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of Templates: time 0.009815/0.5256, allocations: 5.588 MB / 0.701 GB, free: 6.004 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile make -j1 -f IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_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: *** [: IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o] Error 1