Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7946/0.7946, allocations: 127.4 MB / 134.9 MB, free: 3.473 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 190 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.2 MB / 399.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009198/0.0009201, allocations: 90.47 kB / 476.7 MB, free: 1.52 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.89e-05/1.884e-05, allocations: 5.969 kB / 0.5466 GB, free: 95.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1578, allocations: 76.76 MB / 0.6216 GB, free: 43.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1471/0.305, allocations: 115.1 MB / 0.734 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.3053, allocations: 115.9 kB / 0.7341 GB, free: 7.688 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:25:40-25:54:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:31:35-31:49:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:38:26-38:40:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:40:21-40:35:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:19:32-19:46:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.4161/0.7214, allocations: 8.586 MB / 0.7425 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.665e-06/0.7215, allocations: 3.344 kB / 0.7425 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.467e-05/0.7215, allocations: 5.312 kB / 0.7425 GB, free: 112.7 MB / 0.5105 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.0009084/0.7224, allocations: 0.5544 MB / 0.743 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.7225, allocations: 9.422 kB / 0.743 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/0.7225, allocations: 27.45 kB / 0.7431 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.7228, allocations: 219.1 kB / 0.7433 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.7228, allocations: 1.125 kB / 0.7433 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.7228, allocations: 0 / 0.7433 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001427/0.723, allocations: 75.94 kB / 0.7434 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.7231, allocations: 116.4 kB / 0.7435 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.7232, allocations: 4.453 kB / 0.7435 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.7232, allocations: 6.141 kB / 0.7435 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.7232, allocations: 0 / 0.7435 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.7235, allocations: 236.1 kB / 0.7437 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.7237, allocations: 120 kB / 0.7438 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.7238, allocations: 111 kB / 0.7439 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.7238, allocations: 10.05 kB / 0.7439 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.7238, allocations: 32.33 kB / 0.744 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=32): time 9.91e-07/0.7238, allocations: 0 / 0.744 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32): time 0.0003823/0.7242, allocations: 221.8 kB / 0.7442 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.807e-05/0.7243, allocations: 51.92 kB / 0.7442 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.7245, allocations: 218.9 kB / 0.7444 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.7245, allocations: 26.33 kB / 0.7445 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.7246, allocations: 129.4 kB / 0.7446 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.643e-05/0.7247, allocations: 105.6 kB / 0.7447 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.7247, allocations: 0 / 0.7447 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.527e-05/0.7248, allocations: 346.9 kB / 0.745 GB, free: 111 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.7249, allocations: 73.38 kB / 0.7451 GB, free: 111 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.725, allocations: 76.22 kB / 0.7452 GB, free: 111 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.7252, allocations: 112.3 kB / 0.7453 GB, free: 111 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.7252, allocations: 0.8438 kB / 0.7453 GB, free: 111 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003108/0.7255, allocations: 227.2 kB / 0.7455 GB, free: 111 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.7256, allocations: 10.14 kB / 0.7455 GB, free: 111 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.7256, allocations: 2.422 kB / 0.7455 GB, free: 111 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.7256, allocations: 1.062 kB / 0.7455 GB, free: 111 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.703e-06/0.7256, allocations: 0.5625 kB / 0.7455 GB, free: 111 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.7256, allocations: 1.062 kB / 0.7455 GB, free: 111 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.888e-05/0.7257, allocations: 10.48 kB / 0.7455 GB, free: 111 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.7257, allocations: 6.703 kB / 0.7455 GB, free: 111 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.617e-05/0.7258, allocations: 106.5 kB / 0.7456 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.7258, allocations: 26.97 kB / 0.7456 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005201/0.7263, allocations: 0.5703 MB / 0.7462 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.916e-05/0.7264, allocations: 179.1 kB / 0.7464 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-05/0.7264, allocations: 186.5 kB / 0.7465 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.507e-05/0.7264, allocations: 177.8 kB / 0.7467 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004012/0.7268, allocations: 0.5247 MB / 0.7472 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.912e-05/0.7269, allocations: 104.7 kB / 0.7473 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.817e-05/0.7269, allocations: 105.5 kB / 0.7474 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.974e-05/0.7269, allocations: 179.4 kB / 0.7476 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.727, allocations: 179 kB / 0.7478 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.38e-05/0.727, allocations: 180 kB / 0.7479 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.698e-05/0.727, allocations: 189.8 kB / 0.7481 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.7272, allocations: 334.4 kB / 0.7484 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004278/0.7276, allocations: 370.3 kB / 0.7488 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.7277, allocations: 179.1 kB / 0.749 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.7278, allocations: 105.5 kB / 0.7491 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.7279, allocations: 181.5 kB / 0.7492 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.7279, allocations: 101.5 kB / 0.7493 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001512/0.7294, allocations: 1.111 MB / 0.7504 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7294, allocations: 0 / 0.7504 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001129/0.7306, allocations: 303.2 kB / 0.7507 GB, free: 107.3 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.0008599/0.7314, allocations: 445.7 kB / 0.7511 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000282/0.7317, allocations: 178.8 kB / 0.7513 GB, free: 107 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7317, allocations: 0 / 0.7513 GB, free: 107 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.275e-06/0.7318, allocations: 0.6562 kB / 0.7513 GB, free: 107 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.7321, allocations: 0.5401 MB / 0.7518 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005159/0.7326, allocations: 359.8 kB / 0.7522 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.7329, allocations: 0.7627 MB / 0.7529 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.98e-05/0.7329, allocations: 2.766 kB / 0.7529 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.301e-05/0.7329, allocations: 9.938 kB / 0.7529 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.7329, allocations: 0 / 0.7529 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.009057/0.742, allocations: 4.514 MB / 0.7573 GB, free: 105.2 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.c clang -Os -fPIC -falign-functions -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c:310: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: *** [: BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o] Error 1