Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.44/1.44, allocations: 249.5 MB / 257 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 180.8 kB / 316.3 MB, free: 3.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 205.3 MB / 0.5671 GB, free: 15.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001013, allocations: 102.5 kB / 0.6714 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.04e-05/2.043e-05, allocations: 4 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2191, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.707/1.926, allocations: 423.1 MB / 1.298 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003557/1.927, allocations: 126.4 kB / 1.299 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.407/6.333, allocations: 1.015 GB / 2.313 GB, free: 111.6 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.794e-06/6.333, allocations: 0 / 2.313 GB, free: 111.6 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0006143/6.334, allocations: 81.3 kB / 2.313 GB, free: 111.6 MB / 0.9011 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.01254/6.347, allocations: 3.053 MB / 2.316 GB, free: 110.5 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/6.347, allocations: 13.84 kB / 2.316 GB, free: 110.5 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002635/6.349, allocations: 372.5 kB / 2.317 GB, free: 110.3 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/6.36, allocations: 2.907 MB / 2.32 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/6.36, allocations: 69.25 kB / 2.32 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001091/6.361, allocations: 125.3 kB / 2.32 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005427/6.367, allocations: 1.456 MB / 2.321 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00625/6.373, allocations: 1.779 MB / 2.323 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001178/6.373, allocations: 12.86 kB / 2.323 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004683/6.374, allocations: 6.641 kB / 2.323 GB, free: 109.6 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.519e-05/6.374, allocations: 50.06 kB / 2.323 GB, free: 109.6 MB / 0.9011 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.02034/6.394, allocations: 8.45 MB / 2.331 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/6.396, allocations: 1.278 MB / 2.332 GB, free: 106.7 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/6.397, allocations: 0.7661 MB / 2.333 GB, free: 106.7 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002505/6.4, allocations: 2.921 MB / 2.336 GB, free: 103.4 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.138e-05/6.4, allocations: 55.98 kB / 2.336 GB, free: 103.3 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=148): time 5.4e-06/6.4, allocations: 0 / 2.336 GB, free: 103.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=148): time 0.005314/6.405, allocations: 1.632 MB / 2.338 GB, free: 103.1 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/6.405, allocations: 97.11 kB / 2.338 GB, free: 103 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004985/6.41, allocations: 1.682 MB / 2.339 GB, free: 102.8 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002414/6.411, allocations: 31.11 kB / 2.339 GB, free: 102.8 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00129/6.412, allocations: 1.217 MB / 2.341 GB, free: 102.3 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005903/6.413, allocations: 0.4951 MB / 2.341 GB, free: 102 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/6.413, allocations: 0 / 2.341 GB, free: 102 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001498/6.413, allocations: 371.3 kB / 2.341 GB, free: 101.7 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008704/6.414, allocations: 498 kB / 2.342 GB, free: 101.7 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/6.415, allocations: 0.8396 MB / 2.343 GB, free: 101.3 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002529/6.418, allocations: 0.8059 MB / 2.344 GB, free: 101.3 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/6.418, allocations: 3.781 kB / 2.344 GB, free: 101.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.005595/6.423, allocations: 1.976 MB / 2.345 GB, free: 101.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009064/6.424, allocations: 2.701 MB / 2.348 GB, free: 98.19 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.441e-05/6.424, allocations: 7.375 kB / 2.348 GB, free: 98.19 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006002/6.425, allocations: 204.2 kB / 2.348 GB, free: 98.14 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/6.426, allocations: 350.7 kB / 2.349 GB, free: 98.14 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005097/6.431, allocations: 6.884 MB / 2.355 GB, free: 92 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003923/6.435, allocations: 224.4 kB / 2.356 GB, free: 91.92 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003884/6.435, allocations: 71.58 kB / 2.356 GB, free: 91.92 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/6.436, allocations: 4.969 kB / 2.356 GB, free: 91.92 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005403/6.441, allocations: 1.672 MB / 2.357 GB, free: 91.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-05/6.441, allocations: 10.19 kB / 2.357 GB, free: 91.82 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006016/6.442, allocations: 201.4 kB / 2.357 GB, free: 91.77 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/6.443, allocations: 350.2 kB / 2.358 GB, free: 91.77 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007769/6.451, allocations: 8.643 MB / 2.366 GB, free: 84.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003676/6.454, allocations: 206 kB / 2.366 GB, free: 84.06 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005301/6.455, allocations: 70.09 kB / 2.367 GB, free: 84.06 MB / 0.9011 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.0009397/6.456, allocations: 138.4 kB / 2.367 GB, free: 83.95 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00141/6.457, allocations: 240.8 kB / 2.367 GB, free: 83.83 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006219/6.464, allocations: 2.015 MB / 2.369 GB, free: 83.64 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.712e-05/6.464, allocations: 18.44 kB / 2.369 GB, free: 83.64 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/6.464, allocations: 3.844 kB / 2.369 GB, free: 83.64 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003435/6.467, allocations: 1.676 MB / 2.371 GB, free: 83.29 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/6.478, allocations: 4.271 MB / 2.375 GB, free: 82.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/6.478, allocations: 3.062 kB / 2.375 GB, free: 82.68 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/6.479, allocations: 277 kB / 2.375 GB, free: 82.68 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004507/6.479, allocations: 187.5 kB / 2.375 GB, free: 82.63 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/6.479, allocations: 18.67 kB / 2.375 GB, free: 82.63 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0045/6.484, allocations: 6.857 MB / 2.382 GB, free: 76.48 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/6.484, allocations: 0 / 2.382 GB, free: 76.48 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005816/6.49, allocations: 2.728 MB / 2.385 GB, free: 75.97 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002283/6.492, allocations: 0.5495 MB / 2.385 GB, free: 75.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001044/6.493, allocations: 3.812 kB / 2.385 GB, free: 75.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002364/6.496, allocations: 131.3 kB / 2.385 GB, free: 75.71 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/6.496, allocations: 104 kB / 2.385 GB, free: 75.71 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/6.496, allocations: 58.91 kB / 2.385 GB, free: 75.71 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003336/6.499, allocations: 1.259 MB / 2.387 GB, free: 75.56 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.2e-07/6.499, allocations: 1.562 kB / 2.387 GB, free: 75.56 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01072/6.51, allocations: 1.967 MB / 2.388 GB, free: 75.21 MB / 0.9011 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.005996/6.516, allocations: 1.763 MB / 2.39 GB, free: 74.79 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.006455/6.523, allocations: 3.425 MB / 2.394 GB, free: 73.64 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/6.523, allocations: 3.25 kB / 2.394 GB, free: 73.64 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001822/6.525, allocations: 1.168 MB / 2.395 GB, free: 73.21 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008065/6.533, allocations: 1.143 MB / 2.396 GB, free: 73.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/6.543, allocations: 3.971 MB / 2.4 GB, free: 72.16 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002349/6.545, allocations: 1.799 MB / 2.401 GB, free: 71.42 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004551/6.55, allocations: 0.7172 MB / 2.402 GB, free: 71.39 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005251/6.551, allocations: 158.8 kB / 2.402 GB, free: 71.39 MB / 0.9011 GB Notification: Performance of SimCode: time 1.674e-06/6.551, allocations: 0 / 2.402 GB, free: 71.39 MB / 0.9011 GB Notification: Performance of Templates: time 0.1036/6.654, allocations: 57.6 MB / 2.459 GB, free: 67.71 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_maint_7_0_x_Buildings_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 Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.c clang -Os -fPIC -falign-functions -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_maint_7_0_x_Buildings_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 Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.c Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.c:1098: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: *** [: Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o] Error 1