Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7802/0.7802, allocations: 127.4 MB / 134.9 MB, free: 3.496 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 183.2 kB / 164.7 MB, free: 11.58 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.2 MB / 399.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009219/0.0009219, allocations: 82.47 kB / 476.7 MB, free: 1.516 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.075e-05/2.077e-05, allocations: 2.844 kB / 0.5466 GB, free: 95.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1471, allocations: 76.76 MB / 0.6216 GB, free: 43.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.161/1.308, allocations: 400.7 MB / 1.013 GB, free: 179.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/1.308, allocations: 130.1 kB / 1.013 GB, free: 179.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.967/5.275, allocations: 1.037 GB / 2.05 GB, free: 56.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.795e-06/5.275, allocations: 3.938 kB / 2.05 GB, free: 56.41 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003466/5.276, allocations: 81.98 kB / 2.05 GB, free: 56.41 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.009586/5.285, allocations: 3.077 MB / 2.053 GB, free: 55.22 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/5.285, allocations: 12.48 kB / 2.053 GB, free: 55.22 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/5.287, allocations: 380.8 kB / 2.054 GB, free: 55.04 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008582/5.296, allocations: 3.265 MB / 2.057 GB, free: 54.47 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.892e-05/5.296, allocations: 66.28 kB / 2.057 GB, free: 54.47 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003826/5.296, allocations: 127.6 kB / 2.057 GB, free: 54.47 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003105/5.299, allocations: 1.464 MB / 2.058 GB, free: 54.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003262/5.303, allocations: 1.814 MB / 2.06 GB, free: 54.18 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.167e-05/5.303, allocations: 9.094 kB / 2.06 GB, free: 54.18 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/5.303, allocations: 5.719 kB / 2.06 GB, free: 54.18 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/5.303, allocations: 49.09 kB / 2.06 GB, free: 54.18 MB / 0.6823 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.0154/5.318, allocations: 9.544 MB / 2.07 GB, free: 50.29 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/5.32, allocations: 1.105 MB / 2.071 GB, free: 50.24 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008661/5.321, allocations: 0.7066 MB / 2.071 GB, free: 50.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002082/5.323, allocations: 2.756 MB / 2.074 GB, free: 47.13 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/5.323, allocations: 46.59 kB / 2.074 GB, free: 47.09 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=135): time 4.448e-06/5.323, allocations: 3.906 kB / 2.074 GB, free: 47.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=135): time 0.007131/5.33, allocations: 1.875 MB / 2.076 GB, free: 46.85 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/5.33, allocations: 95.97 kB / 2.076 GB, free: 46.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003009/5.333, allocations: 1.725 MB / 2.078 GB, free: 46.54 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000245/5.333, allocations: 29.11 kB / 2.078 GB, free: 46.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000975/5.334, allocations: 1.274 MB / 2.079 GB, free: 46.04 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004583/5.335, allocations: 477.7 kB / 2.079 GB, free: 45.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.664e-05/5.335, allocations: 0 / 2.079 GB, free: 45.73 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001295/5.335, allocations: 365.4 kB / 2.08 GB, free: 45.42 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008008/5.336, allocations: 0.4966 MB / 2.08 GB, free: 45.42 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/5.337, allocations: 0.9081 MB / 2.081 GB, free: 44.98 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002339/5.339, allocations: 0.8223 MB / 2.082 GB, free: 44.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/5.339, allocations: 3.781 kB / 2.082 GB, free: 44.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.007545/5.347, allocations: 2.282 MB / 2.084 GB, free: 44.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001174/5.348, allocations: 3.621 MB / 2.088 GB, free: 40.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.172e-05/5.348, allocations: 14.95 kB / 2.088 GB, free: 40.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006653/5.349, allocations: 259.7 kB / 2.088 GB, free: 40.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/5.35, allocations: 362.8 kB / 2.088 GB, free: 40.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004733/5.355, allocations: 6.959 MB / 2.095 GB, free: 34.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003326/5.358, allocations: 243.3 kB / 2.095 GB, free: 34.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002929/5.358, allocations: 74.75 kB / 2.095 GB, free: 34.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/5.359, allocations: 7.641 kB / 2.095 GB, free: 34.59 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00442/5.363, allocations: 1.677 MB / 2.097 GB, free: 34.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.016e-05/5.363, allocations: 14.09 kB / 2.097 GB, free: 34.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004837/5.363, allocations: 210.8 kB / 2.097 GB, free: 34.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/5.365, allocations: 356.7 kB / 2.098 GB, free: 34.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009543/5.374, allocations: 8.649 MB / 2.106 GB, free: 42.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003426/5.378, allocations: 207.1 kB / 2.106 GB, free: 42.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005134/5.378, allocations: 75.25 kB / 2.106 GB, free: 42.73 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 189 * 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.0008172/5.379, allocations: 144.5 kB / 2.106 GB, free: 42.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/5.38, allocations: 236.4 kB / 2.107 GB, free: 42.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007257/5.388, allocations: 1.991 MB / 2.109 GB, free: 42.33 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.069e-05/5.388, allocations: 18.11 kB / 2.109 GB, free: 42.32 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/5.388, allocations: 3.219 kB / 2.109 GB, free: 42.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00515/5.393, allocations: 1.758 MB / 2.11 GB, free: 41.99 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/5.407, allocations: 4.02 MB / 2.114 GB, free: 41.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/5.407, allocations: 0 / 2.114 GB, free: 41.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/5.408, allocations: 248.5 kB / 2.115 GB, free: 41.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006724/5.409, allocations: 246.2 kB / 2.115 GB, free: 41.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001659/5.409, allocations: 22.53 kB / 2.115 GB, free: 41.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01288/5.422, allocations: 9.286 MB / 2.124 GB, free: 33.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/5.422, allocations: 0 / 2.124 GB, free: 33.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008362/5.43, allocations: 2.6 MB / 2.126 GB, free: 33.49 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002313/5.433, allocations: 0.5453 MB / 2.127 GB, free: 33.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/5.434, allocations: 7.312 kB / 2.127 GB, free: 33.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002636/5.436, allocations: 134.8 kB / 2.127 GB, free: 33.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002795/5.437, allocations: 99.89 kB / 2.127 GB, free: 33.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002077/5.437, allocations: 54.58 kB / 2.127 GB, free: 33.24 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004387/5.441, allocations: 1.28 MB / 2.128 GB, free: 33.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.744e-06/5.441, allocations: 3.844 kB / 2.128 GB, free: 33.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01392/5.455, allocations: 2.013 MB / 2.13 GB, free: 32.74 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (122): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.005684/5.461, allocations: 1.786 MB / 2.132 GB, free: 32.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006534/5.467, allocations: 3.378 MB / 2.135 GB, free: 31.17 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/5.467, allocations: 3.25 kB / 2.135 GB, free: 31.17 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001902/5.469, allocations: 1.307 MB / 2.137 GB, free: 30.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007024/5.476, allocations: 1.118 MB / 2.138 GB, free: 30.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/5.487, allocations: 3.914 MB / 2.142 GB, free: 29.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002486/5.489, allocations: 1.792 MB / 2.143 GB, free: 28.76 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004657/5.494, allocations: 0.7465 MB / 2.144 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004693/5.494, allocations: 159 kB / 2.144 GB, free: 28.71 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/5.494, allocations: 0 / 2.144 GB, free: 28.71 MB / 0.698 GB Notification: Performance of Templates: time 0.1047/5.599, allocations: 60.09 MB / 2.203 GB, free: 24.32 MB / 0.698 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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=BuildSysPro_BuildSysPro_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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=BuildSysPro_BuildSysPro_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.c BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.c:1045: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: *** [: BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o] Error 1