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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, 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.7549/0.7549, allocations: 133.6 MB / 141.6 MB, free: 2.902 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.448/1.448, allocations: 221.5 MB / 395.5 MB, free: 10.78 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.0008874/0.0008874, allocations: 93.19 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.506e-05/2.517e-05, allocations: 4 kB / 0.5535 GB, free: 8.988 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4139, allocations: 82.3 MB / 0.6339 GB, free: 40.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1597/0.5737, allocations: 130.8 MB / 0.7616 GB, free: 7.887 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/0.5741, allocations: 111.9 kB / 0.7618 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04649/0.6206, allocations: 14.94 MB / 0.7763 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6206, allocations: 3.938 kB / 0.7764 GB, free: 8.816 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.6206, allocations: 0 / 0.7764 GB, free: 8.816 MB / 0.5573 GB 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.0009737/0.6216, allocations: 0.5446 MB / 0.7769 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.6217, allocations: 8.031 kB / 0.7769 GB, free: 8.219 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.409e-05/0.6217, allocations: 83.19 kB / 0.777 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.6219, allocations: 246.3 kB / 0.7772 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/0.622, allocations: 154.6 kB / 0.7774 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-05/0.6221, allocations: 150.6 kB / 0.7775 GB, free: 7.555 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.888e-05/0.6221, allocations: 154.5 kB / 0.7776 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.38e-05/0.6222, allocations: 101 kB / 0.7777 GB, free: 7.297 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.217e-05/0.6222, allocations: 79.28 kB / 0.7778 GB, free: 7.219 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.103e-05/0.6223, allocations: 158.5 kB / 0.778 GB, free: 7.062 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.914e-05/0.6224, allocations: 150.6 kB / 0.7781 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.6227, allocations: 454.3 kB / 0.7785 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.897e-05/0.6228, allocations: 165.1 kB / 0.7787 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.525e-05/0.6228, allocations: 84.14 kB / 0.7788 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.6229, allocations: 75.28 kB / 0.7789 GB, free: 6.102 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/0.6229, allocations: 105.8 kB / 0.779 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.6229, allocations: 0 / 0.779 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 7.947e-05/0.623, allocations: 37.55 kB / 0.779 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.6231, allocations: 55.41 kB / 0.779 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.6232, allocations: 115 kB / 0.7792 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.6232, allocations: 25.7 kB / 0.7792 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.6233, allocations: 100 kB / 0.7793 GB, free: 5.625 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-06/0.6233, allocations: 0 / 0.7793 GB, free: 5.625 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.6233, allocations: 0 / 0.7793 GB, free: 5.625 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.6234, allocations: 314.8 kB / 0.7796 GB, free: 5.309 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.337e-05/0.6234, allocations: 4 kB / 0.7796 GB, free: 5.305 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.219e-05/0.6234, allocations: 4 kB / 0.7796 GB, free: 5.301 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.014e-05/0.6235, allocations: 15.92 kB / 0.7796 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6235, allocations: 7.984 kB / 0.7796 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001201/0.6236, allocations: 41.7 kB / 0.7796 GB, free: 5.23 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.6237, allocations: 4 kB / 0.7796 GB, free: 5.227 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/0.6237, allocations: 7.938 kB / 0.7797 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.6237, allocations: 3.984 kB / 0.7797 GB, free: 5.215 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.6237, allocations: 0 / 0.7797 GB, free: 5.215 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.6237, allocations: 0 / 0.7797 GB, free: 5.215 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.6238, allocations: 3.906 kB / 0.7797 GB, free: 5.211 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.6238, allocations: 0 / 0.7797 GB, free: 5.211 MB / 0.5573 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 8.996e-05/0.6239, allocations: 184.3 kB / 0.7798 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.6239, allocations: 104.9 kB / 0.7799 GB, free: 4.914 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.374e-05/0.624, allocations: 116.7 kB / 0.78 GB, free: 4.789 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-05/0.624, allocations: 184.2 kB / 0.7802 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.109e-05/0.6241, allocations: 176.3 kB / 0.7804 GB, free: 4.422 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.463e-05/0.6242, allocations: 180.3 kB / 0.7806 GB, free: 4.238 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.6244, allocations: 393.7 kB / 0.7809 GB, free: 3.809 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-05/0.6244, allocations: 105 kB / 0.781 GB, free: 3.699 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.6245, allocations: 109 kB / 0.7811 GB, free: 3.586 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.859e-05/0.6245, allocations: 192.2 kB / 0.7813 GB, free: 3.391 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.077e-05/0.6246, allocations: 180.2 kB / 0.7815 GB, free: 3.207 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.882e-05/0.6247, allocations: 180.3 kB / 0.7817 GB, free: 3.023 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.624e-05/0.6247, allocations: 180.2 kB / 0.7818 GB, free: 2.84 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.6249, allocations: 315.7 kB / 0.7821 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-05/0.625, allocations: 185.9 kB / 0.7823 GB, free: 2.301 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/0.625, allocations: 180.2 kB / 0.7825 GB, free: 2.117 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.416e-05/0.6251, allocations: 109 kB / 0.7826 GB, free: 2.004 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.6252, allocations: 185.1 kB / 0.7828 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.6252, allocations: 101 kB / 0.7829 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.49e-05/0.6253, allocations: 93.31 kB / 0.783 GB, free: 1.621 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6253, allocations: 0 / 0.783 GB, free: 1.621 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009293/0.6262, allocations: 323.4 kB / 0.7833 GB, free: 1.305 MB / 0.5573 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.0009669/0.6272, allocations: 0.5369 MB / 0.7838 GB, free: 0.7578 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.128e-05/0.6273, allocations: 41.69 kB / 0.7838 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6273, allocations: 0 / 0.7838 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.6273, allocations: 0 / 0.7838 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.6276, allocations: 0.5232 MB / 0.7843 GB, free: 188 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002/0.6279, allocations: 159.5 kB / 0.7845 GB, free: 4 kB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.6281, allocations: 0.6884 MB / 0.7852 GB, free: 15.29 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 1.28e-05/0.6281, allocations: 0 / 0.7852 GB, free: 15.29 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.632e-05/0.6282, allocations: 11.44 kB / 0.7852 GB, free: 15.28 MB / 0.573 GB Notification: Performance of SimCode: time 2.4e-07/0.6282, allocations: 0 / 0.7852 GB, free: 15.28 MB / 0.573 GB Notification: Performance of Templates: time 0.008631/0.6368, allocations: 5.175 MB / 0.7902 GB, free: 10.14 MB / 0.573 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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_InternalResistancesOneUTube -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.InternalResistancesOneUTube.o IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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_InternalResistancesOneUTube -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.InternalResistancesOneUTube_functions.o IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c:1008: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.InternalResistancesOneUTube_functions.o] Error 1