Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.0011/0.0011, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7491/0.7491, allocations: 133.6 MB / 141.6 MB, free: 2.898 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.461/1.461, allocations: 221.5 MB / 395.5 MB, free: 10.79 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.001103/0.001103, allocations: 102.2 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.345e-05/2.366e-05, allocations: 4 kB / 0.5535 GB, free: 9.035 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4982/0.4983, allocations: 82.3 MB / 0.6339 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8988/1.397, allocations: 403.1 MB / 1.027 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003874/1.398, allocations: 126.5 kB / 1.028 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.721/6.119, allocations: 1.035 GB / 2.063 GB, free: 50.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.913e-06/6.119, allocations: 0 / 2.063 GB, free: 50.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005358/6.12, allocations: 83.31 kB / 2.063 GB, free: 50.9 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.01074/6.13, allocations: 3.056 MB / 2.066 GB, free: 47.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/6.13, allocations: 8.031 kB / 2.066 GB, free: 47.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/6.133, allocations: 375.7 kB / 2.066 GB, free: 47.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008329/6.141, allocations: 2.931 MB / 2.069 GB, free: 44.49 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/6.141, allocations: 75.52 kB / 2.069 GB, free: 44.42 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008286/6.142, allocations: 124 kB / 2.07 GB, free: 44.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004364/6.146, allocations: 1.453 MB / 2.071 GB, free: 42.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004306/6.151, allocations: 1.784 MB / 2.073 GB, free: 40.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.499e-05/6.151, allocations: 0 / 2.073 GB, free: 40.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/6.151, allocations: 7.984 kB / 2.073 GB, free: 40.94 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.856e-05/6.151, allocations: 48 kB / 2.073 GB, free: 40.89 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.01346/6.164, allocations: 8.442 MB / 2.081 GB, free: 32.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/6.166, allocations: 1.275 MB / 2.082 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/6.168, allocations: 0.7692 MB / 2.083 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002541/6.17, allocations: 2.922 MB / 2.086 GB, free: 26.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.639e-05/6.17, allocations: 52.12 kB / 2.086 GB, free: 26.54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=148): time 5.24e-06/6.17, allocations: 0 / 2.086 GB, free: 26.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=148): time 0.005627/6.176, allocations: 1.647 MB / 2.088 GB, free: 24.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/6.176, allocations: 94.42 kB / 2.088 GB, free: 24.76 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003793/6.18, allocations: 1.694 MB / 2.089 GB, free: 23.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002429/6.18, allocations: 29.7 kB / 2.089 GB, free: 23.01 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001081/6.181, allocations: 1.211 MB / 2.09 GB, free: 21.78 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005941/6.182, allocations: 0.5042 MB / 2.091 GB, free: 21.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-05/6.182, allocations: 0 / 2.091 GB, free: 21.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001506/6.182, allocations: 369.9 kB / 2.091 GB, free: 20.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/6.183, allocations: 499.9 kB / 2.092 GB, free: 20.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/6.184, allocations: 0.8322 MB / 2.093 GB, free: 19.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002687/6.187, allocations: 0.8084 MB / 2.093 GB, free: 18.65 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/6.187, allocations: 8 kB / 2.093 GB, free: 18.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.005806/6.193, allocations: 1.975 MB / 2.095 GB, free: 16.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009747/6.194, allocations: 2.693 MB / 2.098 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.985e-05/6.194, allocations: 8 kB / 2.098 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006143/6.194, allocations: 208.8 kB / 2.098 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/6.196, allocations: 351.5 kB / 2.098 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004918/6.201, allocations: 6.882 MB / 2.105 GB, free: 5.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004308/6.205, allocations: 214.4 kB / 2.105 GB, free: 5.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004341/6.206, allocations: 71.97 kB / 2.105 GB, free: 5.449 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/6.206, allocations: 4 kB / 2.105 GB, free: 5.445 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006491/6.212, allocations: 1.672 MB / 2.107 GB, free: 3.754 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.189e-05/6.212, allocations: 8 kB / 2.107 GB, free: 3.746 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007784/6.213, allocations: 205.5 kB / 2.107 GB, free: 3.527 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/6.215, allocations: 351.5 kB / 2.108 GB, free: 3.184 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006864/6.222, allocations: 8.66 MB / 2.116 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003319/6.225, allocations: 194.7 kB / 2.116 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005164/6.226, allocations: 71.98 kB / 2.116 GB, free: 9.59 MB / 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.0008571/6.227, allocations: 144.5 kB / 2.117 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/6.228, allocations: 241 kB / 2.117 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005794/6.234, allocations: 2.011 MB / 2.119 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.144e-05/6.234, allocations: 16 kB / 2.119 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/6.234, allocations: 4 kB / 2.119 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003528/6.237, allocations: 1.68 MB / 2.12 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/6.248, allocations: 4.271 MB / 2.125 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/6.248, allocations: 4.031 kB / 2.125 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/6.25, allocations: 267.7 kB / 2.125 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004795/6.25, allocations: 197 kB / 2.125 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001529/6.25, allocations: 23.98 kB / 2.125 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6743/6.925, allocations: 6.834 MB / 2.132 GB, free: 66.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/6.925, allocations: 2.406 kB / 2.132 GB, free: 66.05 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006693/6.931, allocations: 2.723 MB / 2.134 GB, free: 65.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001988/6.933, allocations: 0.5503 MB / 2.135 GB, free: 65.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003346/6.934, allocations: 7.078 kB / 2.135 GB, free: 65.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/6.935, allocations: 129.1 kB / 2.135 GB, free: 65.55 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002826/6.935, allocations: 103.2 kB / 2.135 GB, free: 65.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001608/6.936, allocations: 65.19 kB / 2.135 GB, free: 65.55 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002668/6.938, allocations: 1.27 MB / 2.136 GB, free: 65.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.11e-07/6.938, allocations: 1.906 kB / 2.136 GB, free: 65.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.008769/6.947, allocations: 1.96 MB / 2.138 GB, free: 65.31 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.004206/6.951, allocations: 1.72 MB / 2.14 GB, free: 65.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004645/6.956, allocations: 3.426 MB / 2.143 GB, free: 63.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/6.956, allocations: 4.188 kB / 2.143 GB, free: 63.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/6.957, allocations: 1.17 MB / 2.144 GB, free: 63.51 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006414/6.964, allocations: 1.132 MB / 2.146 GB, free: 63.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008419/6.972, allocations: 4 MB / 2.15 GB, free: 62.46 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001945/6.974, allocations: 1.806 MB / 2.151 GB, free: 61.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003751/6.978, allocations: 0.7324 MB / 2.152 GB, free: 61.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005593/6.979, allocations: 153.9 kB / 2.152 GB, free: 61.7 MB / 0.7136 GB Notification: Performance of SimCode: time 1.653e-06/6.979, allocations: 0 / 2.152 GB, free: 61.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.09619/7.075, allocations: 57.32 MB / 2.208 GB, free: 58.31 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile make -j1 -f IDEAS_dev_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/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IDEAS_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.o IDEAS_dev_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/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IDEAS_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.c IDEAS_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_functions.o] Error 1