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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 180.9 kB / 7.651 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.7963/0.7963, allocations: 133.6 MB / 141.6 MB, free: 2.922 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.391/1.391, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.0008741/0.0008741, allocations: 104.9 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.452e-05/2.447e-05, allocations: 4 kB / 0.5535 GB, free: 8.992 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5373/0.5373, allocations: 82.3 MB / 0.6339 GB, free: 40.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.179/0.7163, allocations: 131.5 MB / 0.7624 GB, free: 7.188 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003681/0.7168, allocations: 119.9 kB / 0.7625 GB, free: 7.07 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04731/0.7641, allocations: 15.26 MB / 0.7774 GB, free: 7.793 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7641, allocations: 0 / 0.7774 GB, free: 7.793 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.7641, allocations: 0 / 0.7774 GB, free: 7.793 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.001127/0.7653, allocations: 0.5527 MB / 0.7779 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.7653, allocations: 8.031 kB / 0.7779 GB, free: 7.188 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.101e-05/0.7654, allocations: 83.19 kB / 0.778 GB, free: 7.105 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.7656, allocations: 246.3 kB / 0.7782 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.459e-05/0.7657, allocations: 150.6 kB / 0.7784 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.641e-05/0.7658, allocations: 158.6 kB / 0.7785 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.352e-05/0.7658, allocations: 158.5 kB / 0.7787 GB, free: 6.363 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.031e-05/0.7659, allocations: 105 kB / 0.7788 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.7659, allocations: 75.28 kB / 0.7788 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/0.766, allocations: 150.6 kB / 0.779 GB, free: 6.031 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.896e-05/0.7661, allocations: 150.6 kB / 0.7791 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.7664, allocations: 462.2 kB / 0.7796 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.834e-05/0.7666, allocations: 165.1 kB / 0.7797 GB, free: 5.223 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.7666, allocations: 88.08 kB / 0.7798 GB, free: 5.133 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.754e-05/0.7667, allocations: 75.28 kB / 0.7799 GB, free: 5.059 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.86e-05/0.7667, allocations: 109.8 kB / 0.78 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/0.7667, allocations: 4 kB / 0.78 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 0.0001089/0.7669, allocations: 33.61 kB / 0.78 GB, free: 4.898 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.7669, allocations: 51.41 kB / 0.7801 GB, free: 4.836 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.7671, allocations: 118.1 kB / 0.7802 GB, free: 4.711 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.7671, allocations: 25.7 kB / 0.7802 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.772e-05/0.7672, allocations: 96.03 kB / 0.7803 GB, free: 4.582 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.7672, allocations: 0 / 0.7803 GB, free: 4.582 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/0.7672, allocations: 0 / 0.7803 GB, free: 4.582 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.7673, allocations: 318.8 kB / 0.7806 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.923e-05/0.7674, allocations: 4 kB / 0.7806 GB, free: 4.258 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.479e-05/0.7674, allocations: 8 kB / 0.7806 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.298e-05/0.7675, allocations: 11.92 kB / 0.7806 GB, free: 4.238 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.7675, allocations: 3.953 kB / 0.7806 GB, free: 4.234 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001596/0.7677, allocations: 45.7 kB / 0.7807 GB, free: 4.184 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.7677, allocations: 4 kB / 0.7807 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.7677, allocations: 4 kB / 0.7807 GB, free: 4.176 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.7677, allocations: 0 / 0.7807 GB, free: 4.176 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.393e-06/0.7677, allocations: 0 / 0.7807 GB, free: 4.176 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.433e-06/0.7677, allocations: 8.047 kB / 0.7807 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.319e-05/0.7678, allocations: 7.906 kB / 0.7807 GB, free: 4.16 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.7678, allocations: 0 / 0.7807 GB, free: 4.16 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 9.372e-05/0.7679, allocations: 178 kB / 0.7809 GB, free: 3.98 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.388e-05/0.768, allocations: 112.8 kB / 0.781 GB, free: 3.863 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.111e-05/0.7681, allocations: 120.7 kB / 0.7811 GB, free: 3.738 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.77e-05/0.7681, allocations: 180.2 kB / 0.7813 GB, free: 3.555 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-05/0.7682, allocations: 180.3 kB / 0.7814 GB, free: 3.371 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.829e-05/0.7683, allocations: 180.2 kB / 0.7816 GB, free: 3.188 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.7686, allocations: 389.8 kB / 0.782 GB, free: 2.762 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.906e-05/0.7686, allocations: 101 kB / 0.7821 GB, free: 2.656 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.7687, allocations: 108.9 kB / 0.7822 GB, free: 2.543 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.397e-05/0.7688, allocations: 196.2 kB / 0.7824 GB, free: 2.344 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.872e-05/0.7689, allocations: 180.2 kB / 0.7825 GB, free: 2.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.794e-05/0.7689, allocations: 180.2 kB / 0.7827 GB, free: 1.977 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.415e-05/0.769, allocations: 176.3 kB / 0.7829 GB, free: 1.797 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.7692, allocations: 315.8 kB / 0.7832 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.496e-05/0.7693, allocations: 182 kB / 0.7834 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.955e-05/0.7694, allocations: 180.2 kB / 0.7835 GB, free: 1.078 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.885e-05/0.7695, allocations: 116.8 kB / 0.7836 GB, free: 0.957 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/0.7696, allocations: 181.2 kB / 0.7838 GB, free: 0.7734 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/0.7697, allocations: 105 kB / 0.7839 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.473e-05/0.7697, allocations: 100.9 kB / 0.784 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7698, allocations: 4 kB / 0.784 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001242/0.771, allocations: 323.4 kB / 0.7843 GB, free: 252 kB / 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.00176/0.7728, allocations: 0.5448 MB / 0.7849 GB, free: 15.69 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.7729, allocations: 41.64 kB / 0.7849 GB, free: 15.64 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7729, allocations: 0 / 0.7849 GB, free: 15.64 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 2.385e-06/0.7729, allocations: 0 / 0.7849 GB, free: 15.64 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.7733, allocations: 0.5264 MB / 0.7854 GB, free: 15.11 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002344/0.7736, allocations: 139.7 kB / 0.7855 GB, free: 14.95 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.7739, allocations: 0.6885 MB / 0.7862 GB, free: 14.23 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 1.858e-05/0.7739, allocations: 0 / 0.7862 GB, free: 14.23 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.522e-05/0.7739, allocations: 7.438 kB / 0.7862 GB, free: 14.23 MB / 0.573 GB Notification: Performance of SimCode: time 2.51e-07/0.7739, allocations: 4 kB / 0.7862 GB, free: 14.22 MB / 0.573 GB Notification: Performance of Templates: time 0.01164/0.7856, allocations: 5.321 MB / 0.7914 GB, free: 8.949 MB / 0.573 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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_InternalResistancesTwoUTubeNegative -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.InternalResistancesTwoUTubeNegative.o IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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_InternalResistancesTwoUTubeNegative -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.InternalResistancesTwoUTubeNegative_functions.o IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_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: *** [: IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o] Error 1