Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7864/0.7864, allocations: 133.6 MB / 141.6 MB, free: 2.859 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 221.5 MB / 395.4 MB, free: 10.76 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009038/0.0009038, allocations: 104.6 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.837e-05/2.83e-05, allocations: 4 kB / 0.5535 GB, free: 8.988 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5382/0.5383, allocations: 82.32 MB / 0.6339 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1704/0.7087, allocations: 123 MB / 0.754 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/0.7091, allocations: 119.9 kB / 0.7541 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02314/0.7322, allocations: 7.93 MB / 0.7618 GB, free: 7.711 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7323, allocations: 4 kB / 0.7618 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.7323, allocations: 0 / 0.7618 GB, free: 7.707 MB / 0.5417 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.0005924/0.7329, allocations: 481.9 kB / 0.7623 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.7329, allocations: 8.031 kB / 0.7623 GB, free: 7.184 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.733, allocations: 11.84 kB / 0.7623 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.7332, allocations: 194 kB / 0.7625 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.7332, allocations: 0 / 0.7625 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.7332, allocations: 0 / 0.7625 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.292e-05/0.7333, allocations: 23.98 kB / 0.7625 GB, free: 6.918 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.786e-05/0.7334, allocations: 57.62 kB / 0.7626 GB, free: 6.855 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.7334, allocations: 0 / 0.7626 GB, free: 6.855 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.7334, allocations: 0 / 0.7626 GB, free: 6.855 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.7334, allocations: 3.984 kB / 0.7626 GB, free: 6.852 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.7336, allocations: 174.1 kB / 0.7628 GB, free: 6.645 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.87e-05/0.7337, allocations: 50.56 kB / 0.7628 GB, free: 6.586 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.06e-05/0.7338, allocations: 32.88 kB / 0.7628 GB, free: 6.551 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.7338, allocations: 0 / 0.7628 GB, free: 6.551 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.7338, allocations: 30.56 kB / 0.7629 GB, free: 6.512 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.7338, allocations: 0 / 0.7629 GB, free: 6.512 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0002312/0.7341, allocations: 101.7 kB / 0.763 GB, free: 6.406 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.7341, allocations: 51.41 kB / 0.763 GB, free: 6.344 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.7342, allocations: 130.2 kB / 0.7631 GB, free: 6.203 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.7342, allocations: 33.64 kB / 0.7632 GB, free: 6.164 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.7343, allocations: 100.1 kB / 0.7633 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.7343, allocations: 23.66 kB / 0.7633 GB, free: 6.039 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.7344, allocations: 0 / 0.7633 GB, free: 6.039 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.7345, allocations: 322.8 kB / 0.7636 GB, free: 5.715 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.386e-05/0.7345, allocations: 23.98 kB / 0.7636 GB, free: 5.691 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.911e-05/0.7346, allocations: 23.98 kB / 0.7636 GB, free: 5.668 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.822e-05/0.7346, allocations: 31.97 kB / 0.7637 GB, free: 5.637 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7346, allocations: 3.984 kB / 0.7637 GB, free: 5.633 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001226/0.7348, allocations: 97.48 kB / 0.7638 GB, free: 5.531 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.7348, allocations: 8 kB / 0.7638 GB, free: 5.523 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.7348, allocations: 0 / 0.7638 GB, free: 5.523 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.7348, allocations: 0 / 0.7638 GB, free: 5.523 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.216e-06/0.7348, allocations: 3.938 kB / 0.7638 GB, free: 5.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.7348, allocations: 7.922 kB / 0.7638 GB, free: 5.512 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.989e-05/0.7349, allocations: 7.938 kB / 0.7638 GB, free: 5.504 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.7349, allocations: 0 / 0.7638 GB, free: 5.504 MB / 0.5417 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 7.169e-05/0.735, allocations: 101 kB / 0.7639 GB, free: 5.398 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.735, allocations: 15.89 kB / 0.7639 GB, free: 5.383 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.7352, allocations: 195.7 kB / 0.7641 GB, free: 5.16 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.714e-05/0.7353, allocations: 189 kB / 0.7643 GB, free: 4.969 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.305e-05/0.7353, allocations: 180.2 kB / 0.7644 GB, free: 4.785 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.917e-05/0.7354, allocations: 176.3 kB / 0.7646 GB, free: 4.605 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.7357, allocations: 429.6 kB / 0.765 GB, free: 4.141 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-05/0.7357, allocations: 101 kB / 0.7651 GB, free: 4.035 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.7357, allocations: 105 kB / 0.7652 GB, free: 3.926 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.204e-05/0.7358, allocations: 180.2 kB / 0.7654 GB, free: 3.742 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.982e-05/0.7359, allocations: 184.2 kB / 0.7656 GB, free: 3.555 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.182e-05/0.7359, allocations: 176.3 kB / 0.7657 GB, free: 3.375 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.297e-05/0.736, allocations: 184.2 kB / 0.7659 GB, free: 3.188 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.7361, allocations: 311.7 kB / 0.7662 GB, free: 2.859 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.7362, allocations: 217.8 kB / 0.7664 GB, free: 2.621 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.731e-05/0.7363, allocations: 184.2 kB / 0.7666 GB, free: 2.434 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.515e-05/0.7364, allocations: 105 kB / 0.7667 GB, free: 2.324 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/0.7365, allocations: 184.2 kB / 0.7669 GB, free: 2.137 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.7366, allocations: 105 kB / 0.767 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002309/0.7368, allocations: 251.7 kB / 0.7672 GB, free: 1.781 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7368, allocations: 0 / 0.7672 GB, free: 1.781 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007266/0.7375, allocations: 243.7 kB / 0.7674 GB, free: 1.543 MB / 0.5417 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.000766/0.7383, allocations: 444.6 kB / 0.7679 GB, free: 1.102 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.7384, allocations: 73.62 kB / 0.7679 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7385, allocations: 0 / 0.7679 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.971e-06/0.7385, allocations: 4 kB / 0.7679 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.7389, allocations: 0.5264 MB / 0.7684 GB, free: 500 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.7392, allocations: 199.5 kB / 0.7686 GB, free: 280 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.7395, allocations: 0.7041 MB / 0.7693 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.052e-05/0.7395, allocations: 3.984 kB / 0.7693 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.67e-05/0.7396, allocations: 7.438 kB / 0.7693 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of SimCode: time 2.5e-07/0.7396, allocations: 0 / 0.7693 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of Templates: time 0.007687/0.7473, allocations: 4.175 MB / 0.7734 GB, free: 11.41 MB / 0.5573 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.o IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c:570: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: *** [: IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o] Error 1