Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001105/0.001105, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5088/0.5088, allocations: 90.91 MB / 99.34 MB, free: 2.191 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 221.5 MB / 343.2 MB, free: 1.535 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008831/0.0008831, allocations: 95.27 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.541e-05/1.557e-05, allocations: 4 kB / 494.5 MB, free: 52.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.141, allocations: 72.32 MB / 0.5536 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.157/1.298, allocations: 393.4 MB / 0.9377 GB, free: 84.15 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003737/1.299, allocations: 127.6 kB / 0.9379 GB, free: 84.08 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.453/5.751, allocations: 1.059 GB / 1.997 GB, free: 48.94 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.422e-06/5.751, allocations: 0 / 1.997 GB, free: 48.94 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003452/5.752, allocations: 82.03 kB / 1.997 GB, free: 48.94 MB / 0.6355 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.0108/5.763, allocations: 3.058 MB / 2 GB, free: 47.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 8.265e-05/5.763, allocations: 12.73 kB / 2 GB, free: 47.86 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002637/5.765, allocations: 379 kB / 2 GB, free: 47.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008142/5.774, allocations: 2.922 MB / 2.003 GB, free: 47.19 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/5.774, allocations: 66.78 kB / 2.003 GB, free: 47.19 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003507/5.774, allocations: 131.6 kB / 2.003 GB, free: 47.19 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003259/5.777, allocations: 1.451 MB / 2.005 GB, free: 47.17 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003657/5.781, allocations: 1.783 MB / 2.006 GB, free: 46.92 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.517e-05/5.781, allocations: 11.16 kB / 2.006 GB, free: 46.92 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/5.781, allocations: 7.109 kB / 2.006 GB, free: 46.92 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-05/5.781, allocations: 51 kB / 2.006 GB, free: 46.92 MB / 0.6355 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.0141/5.795, allocations: 8.449 MB / 2.015 GB, free: 44.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/5.797, allocations: 1.281 MB / 2.016 GB, free: 44.03 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008836/5.798, allocations: 0.7626 MB / 2.017 GB, free: 44.01 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001948/5.8, allocations: 2.921 MB / 2.019 GB, free: 40.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/5.8, allocations: 54.62 kB / 2.02 GB, free: 40.69 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=148): time 4.418e-06/5.8, allocations: 0 / 2.02 GB, free: 40.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=148): time 0.003846/5.804, allocations: 1.639 MB / 2.021 GB, free: 40.45 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/5.804, allocations: 93.33 kB / 2.021 GB, free: 40.35 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002615/5.806, allocations: 1.692 MB / 2.023 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001554/5.807, allocations: 29.64 kB / 2.023 GB, free: 40.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007941/5.807, allocations: 1.211 MB / 2.024 GB, free: 39.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004241/5.808, allocations: 0.4936 MB / 2.025 GB, free: 39.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/5.808, allocations: 6.281 kB / 2.025 GB, free: 39.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001282/5.808, allocations: 371.9 kB / 2.025 GB, free: 39.04 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00072/5.809, allocations: 497.4 kB / 2.025 GB, free: 39.04 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000887/5.81, allocations: 0.8393 MB / 2.026 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/5.812, allocations: 0.8082 MB / 2.027 GB, free: 38.67 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/5.812, allocations: 3.969 kB / 2.027 GB, free: 38.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.004115/5.816, allocations: 1.978 MB / 2.029 GB, free: 38.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006253/5.816, allocations: 2.692 MB / 2.032 GB, free: 35.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/5.816, allocations: 11.34 kB / 2.032 GB, free: 35.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004726/5.817, allocations: 205.1 kB / 2.032 GB, free: 35.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/5.818, allocations: 349.1 kB / 2.032 GB, free: 35.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003774/5.822, allocations: 6.893 MB / 2.039 GB, free: 29.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/5.825, allocations: 221.2 kB / 2.039 GB, free: 29.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/5.825, allocations: 73.31 kB / 2.039 GB, free: 29.28 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/5.825, allocations: 4.656 kB / 2.039 GB, free: 29.28 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003673/5.829, allocations: 1.673 MB / 2.041 GB, free: 29.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/5.829, allocations: 7.094 kB / 2.041 GB, free: 29.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004604/5.829, allocations: 198.3 kB / 2.041 GB, free: 29.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/5.83, allocations: 350.4 kB / 2.041 GB, free: 29.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008126/5.838, allocations: 8.651 MB / 2.05 GB, free: 37.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003289/5.842, allocations: 199.5 kB / 2.05 GB, free: 37.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002707/5.842, allocations: 70.95 kB / 2.05 GB, free: 37.43 MB / 0.6511 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.0005479/5.842, allocations: 140.6 kB / 2.05 GB, free: 37.32 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000726/5.843, allocations: 241.8 kB / 2.05 GB, free: 37.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004406/5.848, allocations: 2.006 MB / 2.052 GB, free: 37 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/5.848, allocations: 17.92 kB / 2.052 GB, free: 37 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/5.848, allocations: 4.688 kB / 2.052 GB, free: 37 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002817/5.851, allocations: 1.69 MB / 2.054 GB, free: 36.65 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00922/5.86, allocations: 4.261 MB / 2.058 GB, free: 36.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/5.86, allocations: 5.75 kB / 2.058 GB, free: 36.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/5.861, allocations: 272 kB / 2.058 GB, free: 36.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003956/5.861, allocations: 185.5 kB / 2.059 GB, free: 35.99 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-05/5.861, allocations: 18.89 kB / 2.059 GB, free: 35.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005007/5.866, allocations: 6.854 MB / 2.065 GB, free: 29.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/5.866, allocations: 6.969 kB / 2.065 GB, free: 29.84 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005467/5.872, allocations: 2.719 MB / 2.068 GB, free: 29.32 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001956/5.874, allocations: 0.5535 MB / 2.069 GB, free: 29.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003816/5.874, allocations: 8.656 kB / 2.069 GB, free: 29.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/5.876, allocations: 126 kB / 2.069 GB, free: 29.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/5.876, allocations: 106.1 kB / 2.069 GB, free: 29.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/5.876, allocations: 60.95 kB / 2.069 GB, free: 29.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002157/5.878, allocations: 1.269 MB / 2.07 GB, free: 28.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/5.878, allocations: 0 / 2.07 GB, free: 28.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.009514/5.888, allocations: 1.958 MB / 2.072 GB, free: 28.58 MB / 0.6511 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.004957/5.893, allocations: 1.739 MB / 2.074 GB, free: 28.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006066/5.899, allocations: 3.428 MB / 2.077 GB, free: 27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/5.899, allocations: 2.5 kB / 2.077 GB, free: 27 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001721/5.9, allocations: 1.162 MB / 2.078 GB, free: 26.58 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007981/5.908, allocations: 1.139 MB / 2.079 GB, free: 26.57 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/5.919, allocations: 3.992 MB / 2.083 GB, free: 25.51 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001599/5.92, allocations: 1.807 MB / 2.085 GB, free: 24.77 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003826/5.924, allocations: 0.7275 MB / 2.086 GB, free: 24.75 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004148/5.924, allocations: 159.4 kB / 2.086 GB, free: 24.75 MB / 0.6511 GB Notification: Performance of SimCode: time 1.693e-06/5.924, allocations: 0 / 2.086 GB, free: 24.75 MB / 0.6511 GB Notification: Performance of Templates: time 0.09544/6.02, allocations: 57.32 MB / 2.142 GB, free: 20.91 MB / 0.6511 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile make -j1 -f IBPSA_latest_IBPSA.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/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.o IBPSA_latest_IBPSA.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/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.c IBPSA_latest_IBPSA.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: *** [: IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o] Error 1