Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 180.9 kB / 8.006 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.506/0.506, allocations: 90.91 MB / 99.34 MB, free: 2.203 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.602 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.0009031/0.0009028, allocations: 91.91 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.632e-05/1.634e-05, allocations: 4 kB / 494.5 MB, free: 52.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1471, allocations: 72.32 MB / 0.5536 GB, free: 12.22 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.145/1.292, allocations: 375.9 MB / 0.9207 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/1.292, allocations: 120.2 kB / 0.9208 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.844/3.136, allocations: 487.9 MB / 1.397 GB, free: 69.04 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.984e-06/3.136, allocations: 0 / 1.397 GB, free: 69.04 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002926/3.136, allocations: 47.45 kB / 1.397 GB, free: 69.03 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.005969/3.142, allocations: 1.93 MB / 1.399 GB, free: 67.19 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/3.142, allocations: 10.25 kB / 1.399 GB, free: 67.18 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/3.144, allocations: 213.6 kB / 1.399 GB, free: 66.97 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004246/3.148, allocations: 1.707 MB / 1.401 GB, free: 65.26 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.875e-05/3.148, allocations: 35.8 kB / 1.401 GB, free: 65.23 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000351/3.148, allocations: 64 kB / 1.401 GB, free: 65.16 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001671/3.15, allocations: 0.7188 MB / 1.402 GB, free: 64.44 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/3.151, allocations: 0.903 MB / 1.403 GB, free: 63.48 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/3.151, allocations: 5.688 kB / 1.403 GB, free: 63.48 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.517e-05/3.152, allocations: 0 / 1.403 GB, free: 63.48 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/3.152, allocations: 27.95 kB / 1.403 GB, free: 63.45 MB / 0.5886 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.00709/3.159, allocations: 6.239 MB / 1.409 GB, free: 56.68 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007066/3.159, allocations: 0.5102 MB / 1.409 GB, free: 56.17 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/3.16, allocations: 317.3 kB / 1.41 GB, free: 55.85 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008404/3.161, allocations: 1.27 MB / 1.411 GB, free: 54.31 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/3.161, allocations: 50.72 kB / 1.411 GB, free: 54.25 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=68): time 3.276e-06/3.161, allocations: 0 / 1.411 GB, free: 54.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=68): time 0.001714/3.162, allocations: 0.7449 MB / 1.412 GB, free: 53.49 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/3.162, allocations: 81.67 kB / 1.412 GB, free: 53.39 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/3.164, allocations: 1.133 MB / 1.413 GB, free: 52.25 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.295e-05/3.164, allocations: 25.7 kB / 1.413 GB, free: 52.22 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004403/3.164, allocations: 0.7233 MB / 1.414 GB, free: 51.49 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/3.164, allocations: 228.6 kB / 1.414 GB, free: 51.27 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/3.165, allocations: 0 / 1.414 GB, free: 51.27 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.13e-05/3.165, allocations: 338 kB / 1.414 GB, free: 50.93 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/3.165, allocations: 250.6 kB / 1.414 GB, free: 50.68 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/3.165, allocations: 461.4 kB / 1.415 GB, free: 50.16 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/3.166, allocations: 420.4 kB / 1.415 GB, free: 49.75 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/3.166, allocations: 0 / 1.415 GB, free: 49.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001752/3.168, allocations: 0.9801 MB / 1.416 GB, free: 48.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002923/3.168, allocations: 1.342 MB / 1.417 GB, free: 47.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/3.169, allocations: 8 kB / 1.417 GB, free: 47.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002499/3.169, allocations: 73.62 kB / 1.418 GB, free: 47.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/3.169, allocations: 179.7 kB / 1.418 GB, free: 47.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/3.171, allocations: 2.877 MB / 1.42 GB, free: 43.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/3.172, allocations: 107.1 kB / 1.421 GB, free: 43.87 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.077e-05/3.172, allocations: 39.98 kB / 1.421 GB, free: 43.83 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/3.172, allocations: 4 kB / 1.421 GB, free: 43.82 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001599/3.174, allocations: 0.7888 MB / 1.421 GB, free: 43.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/3.174, allocations: 15.64 kB / 1.421 GB, free: 43.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001167/3.174, allocations: 66.12 kB / 1.421 GB, free: 42.95 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/3.175, allocations: 183.7 kB / 1.422 GB, free: 42.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/3.176, allocations: 2.871 MB / 1.424 GB, free: 39.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/3.177, allocations: 87.38 kB / 1.425 GB, free: 39.58 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.058e-05/3.177, allocations: 39.98 kB / 1.425 GB, free: 39.54 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002129/3.178, allocations: 126.4 kB / 1.425 GB, free: 39.41 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/3.178, allocations: 142.2 kB / 1.425 GB, free: 39.27 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/3.18, allocations: 0.9606 MB / 1.426 GB, free: 38.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/3.18, allocations: 11.98 kB / 1.426 GB, free: 38.29 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/3.18, allocations: 7.938 kB / 1.426 GB, free: 38.28 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001167/3.181, allocations: 0.7856 MB / 1.427 GB, free: 37.45 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003975/3.185, allocations: 2.473 MB / 1.429 GB, free: 34.87 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/3.185, allocations: 4 kB / 1.429 GB, free: 34.86 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005052/3.185, allocations: 135.8 kB / 1.429 GB, free: 34.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002287/3.186, allocations: 73.34 kB / 1.429 GB, free: 34.66 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/3.186, allocations: 15.98 kB / 1.429 GB, free: 34.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/3.188, allocations: 2.863 MB / 1.432 GB, free: 31.55 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/3.188, allocations: 7.938 kB / 1.432 GB, free: 31.54 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/3.19, allocations: 1.534 MB / 1.434 GB, free: 29.86 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008112/3.191, allocations: 347 kB / 1.434 GB, free: 29.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/3.191, allocations: 16 kB / 1.434 GB, free: 29.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006674/3.192, allocations: 35.81 kB / 1.434 GB, free: 29.45 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/3.192, allocations: 56.44 kB / 1.434 GB, free: 29.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.063e-05/3.192, allocations: 39.92 kB / 1.434 GB, free: 29.36 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001482/3.193, allocations: 0.8521 MB / 1.435 GB, free: 28.51 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.91e-07/3.193, allocations: 0 / 1.435 GB, free: 28.51 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004698/3.198, allocations: 1.197 MB / 1.436 GB, free: 27.31 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002881/3.201, allocations: 1.268 MB / 1.437 GB, free: 26.16 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002243/3.203, allocations: 1.596 MB / 1.439 GB, free: 24.51 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/3.203, allocations: 0 / 1.439 GB, free: 24.51 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005261/3.204, allocations: 0.5485 MB / 1.439 GB, free: 23.95 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003165/3.207, allocations: 0.6032 MB / 1.44 GB, free: 23.37 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/3.211, allocations: 2.222 MB / 1.442 GB, free: 21.11 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000693/3.211, allocations: 1.311 MB / 1.443 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001732/3.213, allocations: 454.7 kB / 1.444 GB, free: 19.34 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/3.213, allocations: 87.42 kB / 1.444 GB, free: 19.26 MB / 0.5886 GB Notification: Performance of SimCode: time 1.313e-06/3.213, allocations: 0 / 1.444 GB, free: 19.26 MB / 0.5886 GB Notification: Performance of Templates: time 0.05526/3.269, allocations: 33.86 MB / 1.477 GB, free: 1.848 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.o IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c:1175: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.InternalHEXOneUTube_functions.o] Error 1