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.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/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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008921/0.0008921, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4842/0.4842, allocations: 90.9 MB / 99.34 MB, free: 2.18 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 221.5 MB / 343.2 MB, free: 1.551 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009276/0.0009276, allocations: 101.9 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.444e-05/1.447e-05, allocations: 4 kB / 494.6 MB, free: 52.36 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1342, allocations: 72.32 MB / 0.5536 GB, free: 12.22 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5214/0.6557, allocations: 121.8 MB / 0.6725 GB, free: 4.652 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/0.6561, allocations: 121.1 kB / 0.6726 GB, free: 4.574 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04497/0.7011, allocations: 15.3 MB / 0.6876 GB, free: 7.586 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.7011, allocations: 0 / 0.6876 GB, free: 7.586 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.7011, allocations: 4 kB / 0.6876 GB, free: 7.582 MB / 490.7 MB 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.0009848/0.7021, allocations: 0.5483 MB / 0.6881 GB, free: 7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.7021, allocations: 12.03 kB / 0.6881 GB, free: 6.988 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.486e-05/0.7022, allocations: 83.73 kB / 0.6882 GB, free: 6.906 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.7024, allocations: 251.5 kB / 0.6884 GB, free: 6.621 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.87e-05/0.7025, allocations: 150.6 kB / 0.6886 GB, free: 6.473 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/0.7025, allocations: 150.6 kB / 0.6887 GB, free: 6.324 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.271e-05/0.7026, allocations: 150.6 kB / 0.6889 GB, free: 6.176 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.587e-05/0.7027, allocations: 108.9 kB / 0.689 GB, free: 6.062 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/0.7027, allocations: 79.22 kB / 0.689 GB, free: 5.984 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.873e-05/0.7028, allocations: 154.6 kB / 0.6892 GB, free: 5.832 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.778e-05/0.7028, allocations: 154.6 kB / 0.6893 GB, free: 5.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.7031, allocations: 446 kB / 0.6898 GB, free: 5.215 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.825e-05/0.7032, allocations: 173 kB / 0.6899 GB, free: 5.039 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.785e-05/0.7033, allocations: 84.14 kB / 0.69 GB, free: 4.953 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.7033, allocations: 79.22 kB / 0.6901 GB, free: 4.875 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.7034, allocations: 105.8 kB / 0.6902 GB, free: 4.762 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 2.014e-06/0.7034, allocations: 0 / 0.6902 GB, free: 4.762 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 8.073e-05/0.7034, allocations: 33.69 kB / 0.6902 GB, free: 4.723 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.7035, allocations: 51.41 kB / 0.6903 GB, free: 4.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.7036, allocations: 125.3 kB / 0.6904 GB, free: 4.535 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.7036, allocations: 28.95 kB / 0.6904 GB, free: 4.504 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.7037, allocations: 90.52 kB / 0.6905 GB, free: 4.418 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.913e-06/0.7037, allocations: 0 / 0.6905 GB, free: 4.418 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.7037, allocations: 0 / 0.6905 GB, free: 4.418 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.7038, allocations: 325.6 kB / 0.6908 GB, free: 4.094 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.188e-05/0.7038, allocations: 0 / 0.6908 GB, free: 4.094 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.344e-05/0.7039, allocations: 7.625 kB / 0.6908 GB, free: 4.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.885e-05/0.7039, allocations: 8 kB / 0.6908 GB, free: 4.082 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.704, allocations: 32 / 0.6908 GB, free: 4.082 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001475/0.7041, allocations: 52.5 kB / 0.6909 GB, free: 4.027 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.7041, allocations: 8 kB / 0.6909 GB, free: 4.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/0.7042, allocations: 4 kB / 0.6909 GB, free: 4.016 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.7042, allocations: 0 / 0.6909 GB, free: 4.016 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.7042, allocations: 0 / 0.6909 GB, free: 4.016 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.7042, allocations: 0 / 0.6909 GB, free: 4.016 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.238e-05/0.7042, allocations: 3.906 kB / 0.6909 GB, free: 4.012 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.7042, allocations: 3.953 kB / 0.6909 GB, free: 4.008 MB / 490.7 MB 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 9.617e-05/0.7043, allocations: 184.3 kB / 0.6911 GB, free: 3.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.217e-05/0.7044, allocations: 107.7 kB / 0.6912 GB, free: 3.711 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.343e-05/0.7045, allocations: 120.7 kB / 0.6913 GB, free: 3.586 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.017e-05/0.7045, allocations: 180.2 kB / 0.6915 GB, free: 3.402 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.477e-05/0.7046, allocations: 176.3 kB / 0.6916 GB, free: 3.223 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.398e-05/0.7047, allocations: 184.2 kB / 0.6918 GB, free: 3.035 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.7049, allocations: 402 kB / 0.6922 GB, free: 2.605 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.22e-05/0.7049, allocations: 105 kB / 0.6923 GB, free: 2.496 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.583e-05/0.705, allocations: 108.9 kB / 0.6924 GB, free: 2.383 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.608e-05/0.705, allocations: 180.3 kB / 0.6926 GB, free: 2.199 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-05/0.7051, allocations: 176.3 kB / 0.6927 GB, free: 2.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.854e-05/0.7052, allocations: 184.2 kB / 0.6929 GB, free: 1.832 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.374e-05/0.7052, allocations: 184.3 kB / 0.6931 GB, free: 1.645 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.7054, allocations: 310.4 kB / 0.6934 GB, free: 1.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.442e-05/0.7055, allocations: 186 kB / 0.6936 GB, free: 1.113 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.807e-05/0.7056, allocations: 183.2 kB / 0.6937 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.7057, allocations: 108.9 kB / 0.6938 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.7057, allocations: 177.2 kB / 0.694 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.7058, allocations: 101 kB / 0.6941 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.143e-05/0.7058, allocations: 99.23 kB / 0.6942 GB, free: 452 kB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7058, allocations: 0 / 0.6942 GB, free: 452 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009859/0.7068, allocations: 324.9 kB / 0.6945 GB, free: 136 kB / 490.7 MB 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.001387/0.7082, allocations: 0.5445 MB / 0.695 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.693e-05/0.7083, allocations: 44.64 kB / 0.6951 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7083, allocations: 0 / 0.6951 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.404e-06/0.7083, allocations: 0 / 0.6951 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.7087, allocations: 0.5314 MB / 0.6956 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000202/0.7089, allocations: 154.5 kB / 0.6957 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.7091, allocations: 0.6846 MB / 0.6964 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.03e-05/0.7092, allocations: 0 / 0.6964 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.402e-05/0.7092, allocations: 11.44 kB / 0.6964 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of SimCode: time 2.31e-07/0.7092, allocations: 0 / 0.6964 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of Templates: time 0.01037/0.7196, allocations: 5.319 MB / 0.7016 GB, free: 8.863 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -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_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 IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.o IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.c clang -Os -fPIC -falign-functions -mfpmath=sse -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_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 IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c:1039: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.InternalResistancesTwoUTubeNegative_functions.o] Error 1