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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 177.6 kB / 8.002 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.5372/0.5372, allocations: 90.92 MB / 99.35 MB, free: 2.207 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.452/1.452, allocations: 221.5 MB / 343.2 MB, free: 1.527 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.0009209/0.000921, allocations: 98.38 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.921e-05/1.922e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.162, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5039/0.666, allocations: 121.8 MB / 0.6725 GB, free: 4.547 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.6663, allocations: 114.6 kB / 0.6726 GB, free: 4.473 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04446/0.7108, allocations: 15.31 MB / 0.6876 GB, free: 7.484 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.7108, allocations: 0 / 0.6876 GB, free: 7.484 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.7108, allocations: 4 kB / 0.6876 GB, free: 7.48 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.0009604/0.7118, allocations: 0.5506 MB / 0.6881 GB, free: 6.895 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.7119, allocations: 8.031 kB / 0.6881 GB, free: 6.887 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.938e-05/0.7119, allocations: 79.19 kB / 0.6882 GB, free: 6.809 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.7121, allocations: 251.7 kB / 0.6884 GB, free: 6.523 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/0.7122, allocations: 154.6 kB / 0.6886 GB, free: 6.371 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.308e-05/0.7122, allocations: 154.5 kB / 0.6887 GB, free: 6.219 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.62e-05/0.7123, allocations: 153.4 kB / 0.6889 GB, free: 6.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.321e-05/0.7124, allocations: 104.9 kB / 0.689 GB, free: 5.961 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.7124, allocations: 75.28 kB / 0.6891 GB, free: 5.887 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-05/0.7125, allocations: 158.5 kB / 0.6892 GB, free: 5.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.054e-05/0.7126, allocations: 154.6 kB / 0.6894 GB, free: 5.578 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.7129, allocations: 446 kB / 0.6898 GB, free: 5.113 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.882e-05/0.7129, allocations: 169.1 kB / 0.6899 GB, free: 4.938 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.713, allocations: 84.14 kB / 0.69 GB, free: 4.852 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.713, allocations: 78.16 kB / 0.6901 GB, free: 4.777 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.7131, allocations: 105.8 kB / 0.6902 GB, free: 4.664 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.7131, allocations: 0 / 0.6902 GB, free: 4.664 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 7.351e-05/0.7132, allocations: 29.7 kB / 0.6902 GB, free: 4.629 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.7132, allocations: 51.41 kB / 0.6903 GB, free: 4.566 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.7133, allocations: 122.5 kB / 0.6904 GB, free: 4.445 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.7133, allocations: 29.7 kB / 0.6904 GB, free: 4.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.7134, allocations: 98.31 kB / 0.6905 GB, free: 4.316 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.403e-06/0.7134, allocations: 0 / 0.6905 GB, free: 4.316 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-06/0.7134, allocations: 0 / 0.6905 GB, free: 4.316 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.7135, allocations: 317.8 kB / 0.6908 GB, free: 4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.7136, allocations: 3.188 kB / 0.6908 GB, free: 4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.097e-05/0.7136, allocations: 7.938 kB / 0.6908 GB, free: 3.992 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.978e-05/0.7136, allocations: 15.36 kB / 0.6908 GB, free: 3.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7136, allocations: 0 / 0.6908 GB, free: 3.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001256/0.7138, allocations: 45.58 kB / 0.6909 GB, free: 3.934 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.7138, allocations: 8 kB / 0.6909 GB, free: 3.926 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.7138, allocations: 4 kB / 0.6909 GB, free: 3.922 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.7138, allocations: 0 / 0.6909 GB, free: 3.922 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.7138, allocations: 64 / 0.6909 GB, free: 3.922 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.7139, allocations: 7.938 kB / 0.6909 GB, free: 3.914 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.326e-05/0.7139, allocations: 7.891 kB / 0.6909 GB, free: 3.906 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-06/0.7139, allocations: 3.953 kB / 0.6909 GB, free: 3.902 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.004e-05/0.714, allocations: 180.3 kB / 0.6911 GB, free: 3.719 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/0.7141, allocations: 112.8 kB / 0.6912 GB, free: 3.602 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.632e-05/0.7141, allocations: 112.7 kB / 0.6913 GB, free: 3.484 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.574e-05/0.7142, allocations: 176.3 kB / 0.6915 GB, free: 3.305 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-05/0.7143, allocations: 186.2 kB / 0.6916 GB, free: 3.117 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.026e-05/0.7143, allocations: 184.2 kB / 0.6918 GB, free: 2.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.7146, allocations: 396.8 kB / 0.6922 GB, free: 2.504 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-05/0.7146, allocations: 108.9 kB / 0.6923 GB, free: 2.391 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.7147, allocations: 101 kB / 0.6924 GB, free: 2.285 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.071e-05/0.7147, allocations: 184.3 kB / 0.6926 GB, free: 2.098 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.13e-05/0.7148, allocations: 180.2 kB / 0.6927 GB, free: 1.914 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.209e-05/0.7149, allocations: 176.3 kB / 0.6929 GB, free: 1.734 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.067e-05/0.715, allocations: 184.3 kB / 0.6931 GB, free: 1.547 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.7151, allocations: 311.1 kB / 0.6934 GB, free: 1.223 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.428e-05/0.7152, allocations: 182 kB / 0.6936 GB, free: 1.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.668e-05/0.7153, allocations: 184.2 kB / 0.6937 GB, free: 0.832 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.483e-05/0.7153, allocations: 101 kB / 0.6938 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.7154, allocations: 185.2 kB / 0.694 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.881e-05/0.7155, allocations: 108.1 kB / 0.6941 GB, free: 440 kB / 490.7 MB Notification: Performance of sorting global known variables: time 4.926e-05/0.7155, allocations: 91.69 kB / 0.6942 GB, free: 352 kB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7155, allocations: 0 / 0.6942 GB, free: 352 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.001025/0.7166, allocations: 328.1 kB / 0.6945 GB, free: 36 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.001013/0.7176, allocations: 0.5533 MB / 0.6951 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.961e-05/0.7177, allocations: 37.7 kB / 0.6951 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.7177, allocations: 3.75 kB / 0.6951 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.7177, allocations: 0 / 0.6951 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.7181, allocations: 0.523 MB / 0.6956 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002102/0.7183, allocations: 151 kB / 0.6957 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.7186, allocations: 0.6885 MB / 0.6964 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.229e-05/0.7186, allocations: 0 / 0.6964 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.022e-05/0.7186, allocations: 11.44 kB / 0.6964 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of SimCode: time 2.425e-06/0.7186, allocations: 0 / 0.6964 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of Templates: time 0.008751/0.7274, allocations: 5.33 MB / 0.7016 GB, free: 8.762 MB / 0.4948 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 -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_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 -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_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: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.InternalResistancesTwoUTube_functions.o] Error 1