Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 176.2 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.827/0.827, allocations: 130.7 MB / 138.7 MB, free: 3.688 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.544/1.544, allocations: 221.5 MB / 391.8 MB, free: 14.24 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.0009309/0.000931, allocations: 92.19 kB / 473.9 MB, free: 4.465 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.177e-05/2.177e-05, allocations: 4 kB / 0.5486 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4963/0.4963, allocations: 81.56 MB / 0.6282 GB, free: 42.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9051/1.401, allocations: 402.8 MB / 1.022 GB, free: 5.773 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/1.402, allocations: 123.3 kB / 1.022 GB, free: 5.703 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.796/6.198, allocations: 1.035 GB / 2.057 GB, free: 41.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.744e-06/6.198, allocations: 0 / 2.057 GB, free: 41.99 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005508/6.199, allocations: 75.98 kB / 2.057 GB, free: 41.92 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.01241/6.211, allocations: 3.06 MB / 2.06 GB, free: 38.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/6.211, allocations: 16.02 kB / 2.06 GB, free: 38.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002878/6.214, allocations: 371.8 kB / 2.061 GB, free: 38.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009303/6.223, allocations: 2.925 MB / 2.063 GB, free: 35.42 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/6.224, allocations: 64 kB / 2.064 GB, free: 35.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009434/6.225, allocations: 132 kB / 2.064 GB, free: 35.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004317/6.229, allocations: 1.457 MB / 2.065 GB, free: 33.76 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005392/6.234, allocations: 1.78 MB / 2.067 GB, free: 31.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.219e-05/6.234, allocations: 11.95 kB / 2.067 GB, free: 31.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003885/6.235, allocations: 4 kB / 2.067 GB, free: 31.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.435e-05/6.235, allocations: 48 kB / 2.067 GB, free: 31.82 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01528/6.25, allocations: 8.45 MB / 2.075 GB, free: 23.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/6.252, allocations: 1.275 MB / 2.076 GB, free: 21.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009758/6.253, allocations: 0.7693 MB / 2.077 GB, free: 21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002056/6.255, allocations: 2.918 MB / 2.08 GB, free: 17.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/6.255, allocations: 55.86 kB / 2.08 GB, free: 17.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=148): time 5.19e-06/6.255, allocations: 0 / 2.08 GB, free: 17.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=148): time 0.004367/6.259, allocations: 1.629 MB / 2.082 GB, free: 15.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/6.259, allocations: 94.42 kB / 2.082 GB, free: 15.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003993/6.263, allocations: 1.701 MB / 2.083 GB, free: 13.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000242/6.264, allocations: 29.7 kB / 2.083 GB, free: 13.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001241/6.265, allocations: 1.207 MB / 2.085 GB, free: 12.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005587/6.266, allocations: 0.4964 MB / 2.085 GB, free: 12.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/6.266, allocations: 0 / 2.085 GB, free: 12.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001548/6.266, allocations: 369.9 kB / 2.085 GB, free: 11.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008306/6.267, allocations: 495.9 kB / 2.086 GB, free: 11.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/6.268, allocations: 0.8463 MB / 2.087 GB, free: 10.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00233/6.27, allocations: 0.8045 MB / 2.087 GB, free: 9.488 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/6.27, allocations: 4 kB / 2.087 GB, free: 9.484 MB / 0.698 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.005408/6.276, allocations: 1.974 MB / 2.089 GB, free: 7.488 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008356/6.276, allocations: 2.705 MB / 2.092 GB, free: 4.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.593e-05/6.277, allocations: 11.95 kB / 2.092 GB, free: 4.508 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005779/6.277, allocations: 201.1 kB / 2.092 GB, free: 4.293 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/6.278, allocations: 347.5 kB / 2.093 GB, free: 3.953 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0049/6.283, allocations: 6.873 MB / 2.099 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002977/6.286, allocations: 222.4 kB / 2.1 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003231/6.287, allocations: 71.98 kB / 2.1 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/6.287, allocations: 5.25 kB / 2.1 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004617/6.291, allocations: 1.668 MB / 2.101 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.584e-05/6.291, allocations: 16.03 kB / 2.101 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005432/6.292, allocations: 203.8 kB / 2.101 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/6.293, allocations: 351.5 kB / 2.102 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007178/6.3, allocations: 8.658 MB / 2.11 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002871/6.303, allocations: 202.7 kB / 2.11 GB, free: 500 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004209/6.304, allocations: 67.98 kB / 2.11 GB, free: 432 kB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 184 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006964/6.304, allocations: 140.6 kB / 2.111 GB, free: 284 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/6.305, allocations: 244.9 kB / 2.111 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6768/6.982, allocations: 1.989 MB / 2.113 GB, free: 69.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.695e-05/6.982, allocations: 21.66 kB / 2.113 GB, free: 69.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/6.982, allocations: 2.281 kB / 2.113 GB, free: 69.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004447/6.987, allocations: 1.677 MB / 2.114 GB, free: 69.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/6.997, allocations: 4.278 MB / 2.119 GB, free: 69.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/6.997, allocations: 3.594 kB / 2.119 GB, free: 69.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/6.998, allocations: 267 kB / 2.119 GB, free: 69.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/6.999, allocations: 187.2 kB / 2.119 GB, free: 68.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.283e-05/6.999, allocations: 19.97 kB / 2.119 GB, free: 68.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003985/7.003, allocations: 6.847 MB / 2.126 GB, free: 62.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/7.003, allocations: 3.531 kB / 2.126 GB, free: 62.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005527/7.009, allocations: 2.73 MB / 2.128 GB, free: 62.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002072/7.011, allocations: 0.5552 MB / 2.129 GB, free: 62.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003621/7.011, allocations: 0 / 2.129 GB, free: 62.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/7.012, allocations: 125.6 kB / 2.129 GB, free: 62.33 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002202/7.013, allocations: 105.9 kB / 2.129 GB, free: 62.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/7.013, allocations: 58.52 kB / 2.129 GB, free: 62.33 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002223/7.015, allocations: 1.271 MB / 2.13 GB, free: 62.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/7.015, allocations: 0 / 2.13 GB, free: 62.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.008254/7.023, allocations: 1.962 MB / 2.132 GB, free: 62.08 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004017/7.027, allocations: 1.745 MB / 2.134 GB, free: 61.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004901/7.032, allocations: 3.422 MB / 2.137 GB, free: 60.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/7.032, allocations: 6.094 kB / 2.137 GB, free: 60.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001439/7.034, allocations: 1.159 MB / 2.139 GB, free: 60.28 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007101/7.041, allocations: 1.13 MB / 2.14 GB, free: 60.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008815/7.05, allocations: 4.002 MB / 2.144 GB, free: 59.23 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00168/7.051, allocations: 1.806 MB / 2.145 GB, free: 58.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003966/7.055, allocations: 0.7298 MB / 2.146 GB, free: 58.47 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004541/7.056, allocations: 160 kB / 2.146 GB, free: 58.47 MB / 0.7136 GB Notification: Performance of SimCode: time 8.51e-07/7.056, allocations: 0 / 2.146 GB, free: 58.47 MB / 0.7136 GB Notification: Performance of Templates: time 0.09827/7.154, allocations: 57.31 MB / 2.202 GB, free: 55.07 MB / 0.7136 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile clang -Os -fPIC -falign-functions -mfpmath=sse "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_Examples_InternalHEXTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.o IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.c clang -Os -fPIC -falign-functions -mfpmath=sse "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_Examples_InternalHEXTwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=14 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.c IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.c:1320: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.Examples.InternalHEXTwoUTube_functions.o] Error 1