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_OneUTube.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_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.9113/0.9113, allocations: 127.4 MB / 134.9 MB, free: 3.484 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.001103/0.001103, allocations: 177.7 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.523/1.523, allocations: 205.2 MB / 399.5 MB, free: 13.58 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.001013/0.001014, allocations: 93.14 kB / 476.7 MB, free: 1.52 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.139e-05/2.154e-05, allocations: 2.75 kB / 0.5466 GB, free: 95.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1702, allocations: 76.77 MB / 0.6216 GB, free: 43.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1527/0.3229, allocations: 115.1 MB / 0.734 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/0.3233, allocations: 123.9 kB / 0.7341 GB, free: 7.676 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_OneUTube.mo:32:26-32: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_OneUTube.mo:34:21-34: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_OneUTube.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.4/0.7233, allocations: 8.047 MB / 0.742 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7234, allocations: 0.9375 kB / 0.742 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.7234, allocations: 1.188 kB / 0.742 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007654/0.7242, allocations: 480.2 kB / 0.7424 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.7243, allocations: 12.47 kB / 0.7424 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.7243, allocations: 15.62 kB / 0.7424 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.7245, allocations: 186 kB / 0.7426 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.7245, allocations: 3.219 kB / 0.7426 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.7245, allocations: 0 / 0.7426 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.536e-05/0.7246, allocations: 23.98 kB / 0.7426 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.001e-05/0.7247, allocations: 52.25 kB / 0.7427 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.7247, allocations: 8.438 kB / 0.7427 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.7247, allocations: 3.953 kB / 0.7427 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.7247, allocations: 2.547 kB / 0.7427 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.7249, allocations: 162.9 kB / 0.7429 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.757e-05/0.725, allocations: 50.62 kB / 0.7429 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.725, allocations: 33.41 kB / 0.7429 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.7251, allocations: 0.5469 kB / 0.7429 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.7251, allocations: 38.89 kB / 0.743 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.7251, allocations: 0 / 0.743 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0002073/0.7253, allocations: 90.75 kB / 0.7431 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.7253, allocations: 51.41 kB / 0.7431 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.7255, allocations: 135.5 kB / 0.7433 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.7255, allocations: 25.7 kB / 0.7433 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.7255, allocations: 95.72 kB / 0.7434 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.7256, allocations: 30.91 kB / 0.7434 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-06/0.7256, allocations: 1.812 kB / 0.7434 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.914e-05/0.7256, allocations: 327 kB / 0.7437 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.186e-05/0.7257, allocations: 22.39 kB / 0.7437 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.143e-05/0.7257, allocations: 28.09 kB / 0.7438 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.908e-05/0.7258, allocations: 34.5 kB / 0.7438 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7258, allocations: 1.219 kB / 0.7438 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001138/0.7259, allocations: 91.83 kB / 0.7439 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.7259, allocations: 6.062 kB / 0.7439 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.7259, allocations: 0.9062 kB / 0.7439 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.726, allocations: 4.688 kB / 0.7439 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.726, allocations: 0 / 0.7439 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.726, allocations: 5.344 kB / 0.7439 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.974e-05/0.726, allocations: 1.219 kB / 0.7439 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.726, allocations: 2.469 kB / 0.7439 GB, free: 111.1 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 4.686e-05/0.7261, allocations: 106.8 kB / 0.744 GB, free: 111 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.7261, allocations: 10.62 kB / 0.744 GB, free: 111 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.7263, allocations: 202.3 kB / 0.7442 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.11e-05/0.7263, allocations: 183.5 kB / 0.7444 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.36e-05/0.7264, allocations: 179.1 kB / 0.7445 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.942e-05/0.7264, allocations: 178.8 kB / 0.7447 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.7266, allocations: 427.2 kB / 0.7451 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/0.7266, allocations: 108.1 kB / 0.7452 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.47e-05/0.7266, allocations: 103.4 kB / 0.7453 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.943e-05/0.7266, allocations: 180.1 kB / 0.7455 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.7267, allocations: 179.2 kB / 0.7457 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.02e-05/0.7267, allocations: 182.4 kB / 0.7458 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.019e-05/0.7267, allocations: 180.6 kB / 0.746 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.829e-05/0.7268, allocations: 318.8 kB / 0.7463 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.727, allocations: 219.4 kB / 0.7465 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.298e-05/0.727, allocations: 181.3 kB / 0.7467 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-05/0.7271, allocations: 111.6 kB / 0.7468 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.7272, allocations: 179.7 kB / 0.747 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.7272, allocations: 102.6 kB / 0.7471 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003008/0.7275, allocations: 253.4 kB / 0.7473 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7275, allocations: 1.688 kB / 0.7473 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009539/0.7285, allocations: 247.6 kB / 0.7476 GB, free: 107.7 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.0008217/0.7293, allocations: 438.2 kB / 0.748 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.7294, allocations: 69.06 kB / 0.748 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7294, allocations: 0 / 0.748 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.195e-06/0.7294, allocations: 6.312 kB / 0.748 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.7297, allocations: 0.5287 MB / 0.7486 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002597/0.73, allocations: 198.9 kB / 0.7488 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.7302, allocations: 0.7113 MB / 0.7494 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.761e-05/0.7302, allocations: 9.938 kB / 0.7495 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.268e-05/0.7302, allocations: 9.422 kB / 0.7495 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/0.7302, allocations: 0 / 0.7495 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.00992/0.7402, allocations: 4.203 MB / 0.7536 GB, free: 105.7 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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_OneUTube -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_OneUTube.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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_OneUTube -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_OneUTube_functions.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_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_OneUTube_functions.o] Error 1