Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.046/2.046, allocations: 253.1 MB / 260.4 MB, free: 7.531 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001699/0.001698, allocations: 177.2 kB / 319.6 MB, free: 3.305 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.4 MB / 0.5704 GB, free: 15.13 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001279/0.001278, allocations: 83.38 kB / 0.6746 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.288e-05/1.304e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2041, allocations: 106.2 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.5/1.704, allocations: 406.1 MB / 1.285 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004128/1.704, allocations: 117.6 kB / 1.285 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2/3.704, allocations: 474.8 MB / 1.748 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003139/3.704, allocations: 44.27 kB / 1.748 GB, free: 169.1 MB / 0.8698 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.007656/3.712, allocations: 1.953 MB / 1.75 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/3.712, allocations: 8.5 kB / 1.75 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/3.714, allocations: 212.3 kB / 1.751 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006755/3.72, allocations: 1.711 MB / 1.752 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.683e-05/3.721, allocations: 33.31 kB / 1.752 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002921/3.721, allocations: 65.41 kB / 1.752 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002932/3.724, allocations: 0.7157 MB / 1.753 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003056/3.727, allocations: 0.9117 MB / 1.754 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.633e-05/3.727, allocations: 9.25 kB / 1.754 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/3.727, allocations: 1 kB / 1.754 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/3.727, allocations: 25.41 kB / 1.754 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01493/3.742, allocations: 6.65 MB / 1.76 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/3.744, allocations: 401 kB / 1.761 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008435/3.745, allocations: 318.3 kB / 1.761 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/3.746, allocations: 1.273 MB / 1.762 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/3.746, allocations: 41.41 kB / 1.762 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=68): time 4.649e-06/3.746, allocations: 0 / 1.762 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=68): time 0.003628/3.75, allocations: 0.7757 MB / 1.763 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/3.75, allocations: 85.23 kB / 1.763 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00328/3.753, allocations: 1.125 MB / 1.764 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002479/3.753, allocations: 29.3 kB / 1.764 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004841/3.754, allocations: 490.7 kB / 1.765 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003854/3.754, allocations: 235.2 kB / 1.765 GB, free: 156 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.183e-05/3.754, allocations: 3.531 kB / 1.765 GB, free: 156 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.895e-05/3.754, allocations: 341.8 kB / 1.765 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008265/3.755, allocations: 247.4 kB / 1.766 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/3.756, allocations: 476.1 kB / 1.766 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0022/3.759, allocations: 439 kB / 1.766 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/3.759, allocations: 0.6562 kB / 1.766 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004429/3.763, allocations: 0.9851 MB / 1.767 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003542/3.763, allocations: 1.34 MB / 1.769 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.506e-05/3.763, allocations: 5.625 kB / 1.769 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000476/3.764, allocations: 69.09 kB / 1.769 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/3.766, allocations: 183.3 kB / 1.769 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002986/3.769, allocations: 2.855 MB / 1.772 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/3.771, allocations: 104.1 kB / 1.772 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002471/3.771, allocations: 42.64 kB / 1.772 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/3.771, allocations: 5.562 kB / 1.772 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003588/3.775, allocations: 0.8157 MB / 1.773 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.324e-05/3.775, allocations: 5.344 kB / 1.773 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000268/3.775, allocations: 68.03 kB / 1.773 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/3.777, allocations: 173.6 kB / 1.773 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002769/3.779, allocations: 2.852 MB / 1.776 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/3.782, allocations: 98.39 kB / 1.776 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002597/3.782, allocations: 43.98 kB / 1.776 GB, free: 146.6 MB / 0.8698 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.000346/3.782, allocations: 119.5 kB / 1.776 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006125/3.783, allocations: 142.2 kB / 1.776 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003759/3.787, allocations: 1.022 MB / 1.777 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.654e-05/3.787, allocations: 11.98 kB / 1.777 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/3.787, allocations: 0 / 1.777 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002433/3.789, allocations: 0.8179 MB / 1.778 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008191/3.798, allocations: 2.496 MB / 1.78 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/3.798, allocations: 4 kB / 1.78 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/3.799, allocations: 138.9 kB / 1.781 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003812/3.799, allocations: 69.59 kB / 1.781 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.771e-05/3.799, allocations: 12 kB / 1.781 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002757/3.802, allocations: 2.845 MB / 1.783 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/3.802, allocations: 7.906 kB / 1.783 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004387/3.807, allocations: 1.559 MB / 1.785 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/3.808, allocations: 347 kB / 1.785 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000402/3.808, allocations: 11.22 kB / 1.785 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/3.81, allocations: 34.66 kB / 1.785 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/3.81, allocations: 48.5 kB / 1.785 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.479e-05/3.81, allocations: 35.97 kB / 1.785 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002015/3.812, allocations: 0.8517 MB / 1.786 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006466/3.819, allocations: 1.207 MB / 1.787 GB, free: 134.3 MB / 0.8698 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.004139/3.823, allocations: 1.281 MB / 1.789 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003761/3.827, allocations: 1.578 MB / 1.79 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/3.827, allocations: 0 / 1.79 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/3.828, allocations: 0.5428 MB / 1.791 GB, free: 131 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006753/3.834, allocations: 0.5854 MB / 1.791 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007567/3.842, allocations: 2.247 MB / 1.793 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001783/3.844, allocations: 1.435 MB / 1.795 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.563e-06/3.844, allocations: 0 / 1.795 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.09575/3.94, allocations: 37.87 MB / 1.832 GB, free: 90.23 MB / 0.8698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile b'clang -fPIC -O0 -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_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 Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.c\nclang -fPIC -O0 -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_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 Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c\nBuildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c:1027:59: error: cannot take the address of an rvalue of type \'real_array_t\' (aka \'struct base_array_s\')\n copy_real_array_data(add_alloc_scalar_real_array(_TBor, &mul_alloc_real_matrix_product_smart(_R0, _QPip_flow)), &_TFlu);\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n1 error generated.\n: recipe for target \'Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o\' failed\nmake: *** [Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o] Error 1\n'