Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 176.1 kB / 7.643 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.7427/0.7427, allocations: 130.7 MB / 138.7 MB, free: 3.598 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.397/1.397, allocations: 221.5 MB / 391.8 MB, free: 14.17 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.0009187/0.0009187, allocations: 99.95 kB / 473.9 MB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.37e-05/2.387e-05, allocations: 4 kB / 0.5486 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4383/0.4383, allocations: 81.57 MB / 0.6282 GB, free: 42.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1481/0.5865, allocations: 122.7 MB / 0.7481 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003235/0.5869, allocations: 123.9 kB / 0.7482 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02477/0.6116, allocations: 8.394 MB / 0.7564 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6117, allocations: 2.531 kB / 0.7564 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.46e-05/0.6117, allocations: 4 kB / 0.7564 GB, free: 11.46 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007028/0.6124, allocations: 0.56 MB / 0.7569 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.6124, allocations: 12.03 kB / 0.757 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.823e-05/0.6125, allocations: 31.52 kB / 0.757 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.6128, allocations: 217.7 kB / 0.7572 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.981e-05/0.6128, allocations: 0 / 0.7572 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.6129, allocations: 0 / 0.7572 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001259/0.613, allocations: 71.97 kB / 0.7573 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.6131, allocations: 109.7 kB / 0.7574 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.6132, allocations: 0 / 0.7574 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.6132, allocations: 0 / 0.7574 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.6132, allocations: 0 / 0.7574 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002827/0.6135, allocations: 246.4 kB / 0.7576 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.6136, allocations: 126.5 kB / 0.7577 GB, free: 9.961 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.6137, allocations: 109.7 kB / 0.7578 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.6138, allocations: 0 / 0.7578 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.6138, allocations: 30.56 kB / 0.7579 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 1.443e-06/0.6138, allocations: 0 / 0.7579 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32): time 0.0003416/0.6142, allocations: 233.7 kB / 0.7581 GB, free: 9.578 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.6142, allocations: 55.44 kB / 0.7581 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.6144, allocations: 220.5 kB / 0.7583 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.6144, allocations: 25.7 kB / 0.7584 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/0.6145, allocations: 124.7 kB / 0.7585 GB, free: 9.137 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.801e-05/0.6146, allocations: 106.4 kB / 0.7586 GB, free: 9.031 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.6146, allocations: 0 / 0.7586 GB, free: 9.031 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6147, allocations: 342.8 kB / 0.7589 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.73e-05/0.6148, allocations: 77.09 kB / 0.759 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.509e-05/0.6149, allocations: 83.89 kB / 0.7591 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.615, allocations: 99.95 kB / 0.7592 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.615, allocations: 0 / 0.7592 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002474/0.6153, allocations: 221.3 kB / 0.7594 GB, free: 8.211 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.6153, allocations: 4 kB / 0.7594 GB, free: 8.207 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.6153, allocations: 4 kB / 0.7594 GB, free: 8.203 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.6153, allocations: 3.984 kB / 0.7594 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.6154, allocations: 0 / 0.7594 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.6154, allocations: 3.984 kB / 0.7594 GB, free: 8.195 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.416e-05/0.6154, allocations: 23.38 kB / 0.7594 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.6154, allocations: 4.062 kB / 0.7594 GB, free: 8.172 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.304e-05/0.6155, allocations: 120.9 kB / 0.7595 GB, free: 8.047 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.6156, allocations: 19.72 kB / 0.7596 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004499/0.616, allocations: 0.5659 MB / 0.7601 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.867e-05/0.6161, allocations: 181 kB / 0.7603 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.735e-05/0.6161, allocations: 180.3 kB / 0.7605 GB, free: 6.988 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.487e-05/0.6162, allocations: 180.2 kB / 0.7606 GB, free: 6.805 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.6166, allocations: 0.5247 MB / 0.7611 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-05/0.6166, allocations: 101 kB / 0.7612 GB, free: 6.129 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.059e-05/0.6166, allocations: 108.9 kB / 0.7613 GB, free: 6.016 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.687e-05/0.6167, allocations: 184.3 kB / 0.7615 GB, free: 5.828 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.302e-05/0.6168, allocations: 176.3 kB / 0.7617 GB, free: 5.648 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.978e-05/0.6168, allocations: 188.2 kB / 0.7619 GB, free: 5.457 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.216e-05/0.6169, allocations: 176.3 kB / 0.762 GB, free: 5.277 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.6171, allocations: 331.4 kB / 0.7623 GB, free: 4.93 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000363/0.6174, allocations: 357.6 kB / 0.7627 GB, free: 4.555 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.6176, allocations: 180.2 kB / 0.7629 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.6177, allocations: 108.9 kB / 0.763 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.6178, allocations: 180.3 kB / 0.7631 GB, free: 4.074 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.6179, allocations: 101 kB / 0.7632 GB, free: 3.969 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001129/0.619, allocations: 1.117 MB / 0.7643 GB, free: 2.852 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.619, allocations: 0 / 0.7643 GB, free: 2.852 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008382/0.6198, allocations: 303.7 kB / 0.7646 GB, free: 2.555 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.0009338/0.6208, allocations: 437.6 kB / 0.765 GB, free: 2.121 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.621, allocations: 177.6 kB / 0.7652 GB, free: 1.941 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.621, allocations: 4 kB / 0.7652 GB, free: 1.938 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.837e-06/0.621, allocations: 3.938 kB / 0.7652 GB, free: 1.934 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.6214, allocations: 0.5393 MB / 0.7657 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000455/0.6219, allocations: 357.7 kB / 0.7661 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.6222, allocations: 0.7587 MB / 0.7668 GB, free: 240 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.056e-05/0.6223, allocations: 4 kB / 0.7668 GB, free: 236 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.404e-05/0.6223, allocations: 11.44 kB / 0.7668 GB, free: 224 kB / 0.5417 GB Notification: Performance of SimCode: time 4.21e-07/0.6223, allocations: 0 / 0.7668 GB, free: 224 kB / 0.5417 GB Notification: Performance of Templates: time 0.00883/0.6311, allocations: 4.469 MB / 0.7712 GB, free: 11.8 MB / 0.5573 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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_MultipoleThermalResistances_TwoUTube -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.MultipoleThermalResistances_TwoUTube.o IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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_MultipoleThermalResistances_TwoUTube -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.MultipoleThermalResistances_TwoUTube_functions.o IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_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_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o] Error 1