Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_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_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.0009483/0.0009484, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7362/0.7362, allocations: 130.7 MB / 138.7 MB, free: 3.512 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.558/1.558, allocations: 221.5 MB / 391.8 MB, free: 14.23 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.001177/0.001177, allocations: 102.6 kB / 473.9 MB, free: 4.484 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.25e-05/2.25e-05, allocations: 4 kB / 0.5486 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.484/0.484, allocations: 81.58 MB / 0.6282 GB, free: 42.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1849/0.669, allocations: 131.3 MB / 0.7564 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003302/0.6694, allocations: 119.9 kB / 0.7566 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04639/0.7158, allocations: 15.26 MB / 0.7715 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7158, allocations: 0 / 0.7715 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.7158, allocations: 0 / 0.7715 GB, free: 12.03 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.001025/0.7168, allocations: 0.5488 MB / 0.772 GB, free: 11.44 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.7169, allocations: 8.031 kB / 0.772 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/0.717, allocations: 95.14 kB / 0.7721 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.7172, allocations: 250.3 kB / 0.7723 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.444e-05/0.7172, allocations: 150.6 kB / 0.7725 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.992e-05/0.7173, allocations: 150.6 kB / 0.7726 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.585e-05/0.7174, allocations: 150.6 kB / 0.7728 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.285e-05/0.7175, allocations: 108.9 kB / 0.7729 GB, free: 10.49 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.7175, allocations: 79.28 kB / 0.7729 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.05e-05/0.7176, allocations: 150.6 kB / 0.7731 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.012e-05/0.7176, allocations: 151.7 kB / 0.7732 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.7179, allocations: 450.4 kB / 0.7737 GB, free: 9.641 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.913e-05/0.718, allocations: 169.1 kB / 0.7738 GB, free: 9.465 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.648e-05/0.7181, allocations: 80.14 kB / 0.7739 GB, free: 9.383 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.7181, allocations: 75.28 kB / 0.774 GB, free: 9.309 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.891e-05/0.7182, allocations: 113.8 kB / 0.7741 GB, free: 9.188 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.7182, allocations: 4 kB / 0.7741 GB, free: 9.184 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 7.859e-05/0.7183, allocations: 33.59 kB / 0.7741 GB, free: 9.145 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.7183, allocations: 55.41 kB / 0.7742 GB, free: 9.078 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.7185, allocations: 118.4 kB / 0.7743 GB, free: 8.953 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.7185, allocations: 25.7 kB / 0.7743 GB, free: 8.922 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.7186, allocations: 92.05 kB / 0.7744 GB, free: 8.828 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.7186, allocations: 3.938 kB / 0.7744 GB, free: 8.824 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.7186, allocations: 0 / 0.7744 GB, free: 8.824 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.7187, allocations: 326.7 kB / 0.7747 GB, free: 8.496 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.7188, allocations: 8 kB / 0.7747 GB, free: 8.488 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.243e-05/0.7188, allocations: 8 kB / 0.7747 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.996e-05/0.7189, allocations: 4.062 kB / 0.7747 GB, free: 8.477 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.7189, allocations: 0 / 0.7747 GB, free: 8.477 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001342/0.719, allocations: 57.62 kB / 0.7748 GB, free: 8.414 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.719, allocations: 5.562 kB / 0.7748 GB, free: 8.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/0.7191, allocations: 4 kB / 0.7748 GB, free: 8.406 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.7191, allocations: 0 / 0.7748 GB, free: 8.406 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.7191, allocations: 0 / 0.7748 GB, free: 8.406 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.7191, allocations: 0 / 0.7748 GB, free: 8.406 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.192e-05/0.7191, allocations: 3.906 kB / 0.7748 GB, free: 8.402 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.7191, allocations: 4.062 kB / 0.7748 GB, free: 8.398 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 0.0001072/0.7192, allocations: 188.2 kB / 0.775 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.7193, allocations: 108.9 kB / 0.7751 GB, free: 8.094 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.7194, allocations: 114.9 kB / 0.7752 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.51e-05/0.7195, allocations: 176.3 kB / 0.7754 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.055e-05/0.7195, allocations: 180.3 kB / 0.7755 GB, free: 7.613 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.969e-05/0.7196, allocations: 184.2 kB / 0.7757 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.7199, allocations: 397.8 kB / 0.7761 GB, free: 6.992 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.819e-05/0.7199, allocations: 101 kB / 0.7762 GB, free: 6.887 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.974e-05/0.72, allocations: 108.9 kB / 0.7763 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-05/0.7201, allocations: 180.3 kB / 0.7765 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.524e-05/0.7202, allocations: 180.3 kB / 0.7766 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001156/0.7203, allocations: 184.2 kB / 0.7768 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.213e-05/0.7204, allocations: 180.2 kB / 0.777 GB, free: 6.035 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.7206, allocations: 303.8 kB / 0.7773 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.7207, allocations: 186 kB / 0.7775 GB, free: 5.508 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.7208, allocations: 188.2 kB / 0.7776 GB, free: 5.316 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.7209, allocations: 104.9 kB / 0.7777 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.7211, allocations: 177.2 kB / 0.7779 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.695e-05/0.7211, allocations: 105 kB / 0.778 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.394e-05/0.7212, allocations: 96.67 kB / 0.7781 GB, free: 4.824 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.51e-07/0.7212, allocations: 0 / 0.7781 GB, free: 4.824 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001726/0.723, allocations: 327.5 kB / 0.7784 GB, free: 4.504 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.001497/0.7245, allocations: 0.5462 MB / 0.7789 GB, free: 3.949 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000148/0.7246, allocations: 37.7 kB / 0.779 GB, free: 3.906 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7246, allocations: 0 / 0.779 GB, free: 3.906 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.711e-06/0.7247, allocations: 7.875 kB / 0.779 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.7252, allocations: 0.5303 MB / 0.7795 GB, free: 3.363 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.7254, allocations: 151.6 kB / 0.7796 GB, free: 3.191 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.7258, allocations: 0.6846 MB / 0.7803 GB, free: 2.48 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.457e-05/0.7258, allocations: 0 / 0.7803 GB, free: 2.48 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.321e-05/0.7258, allocations: 11.44 kB / 0.7803 GB, free: 2.469 MB / 0.5573 GB Notification: Performance of SimCode: time 2.51e-07/0.7258, allocations: 0 / 0.7803 GB, free: 2.469 MB / 0.5573 GB Notification: Performance of Templates: time 0.01023/0.736, allocations: 5.317 MB / 0.7855 GB, free: 13.2 MB / 0.573 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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=IDEAS_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_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.o IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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=IDEAS_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_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c IDEAS_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_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o] Error 1