Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [: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 8.0.0/package.mo): time 2.314/2.314, allocations: 284.9 MB / 292.2 MB, free: 1.426 MB / 227.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001683/0.001683, allocations: 179.2 kB / 360.4 MB, free: 15.62 MB / 291.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.1 MB / 0.6188 GB, free: 6.566 MB / 467.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001289/0.001289, allocations: 100.1 kB / 0.7318 GB, free: 46.88 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 1.311e-05/1.327e-05, allocations: 4 kB / 0.8503 GB, free: 13.58 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6514/0.6515, allocations: 115.2 MB / 0.9628 GB, free: 86.35 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2439/0.8955, allocations: 158.4 MB / 1.117 GB, free: 7.914 MB / 0.7217 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000425/0.896, allocations: 119 kB / 1.118 GB, free: 7.801 MB / 0.7217 GB Notification: Performance of FrontEnd: time 0.09535/0.9913, allocations: 14.72 MB / 1.132 GB, free: 9.133 MB / 0.7374 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.9914, allocations: 0 / 1.132 GB, free: 9.133 MB / 0.7374 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001703/0.9931, allocations: 0.5526 MB / 1.133 GB, free: 8.535 MB / 0.7374 GB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/0.9932, allocations: 11.97 kB / 1.133 GB, free: 8.523 MB / 0.7374 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.9934, allocations: 83.19 kB / 1.133 GB, free: 8.441 MB / 0.7374 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.9937, allocations: 251.9 kB / 1.133 GB, free: 8.156 MB / 0.7374 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.9938, allocations: 154.6 kB / 1.133 GB, free: 8.004 MB / 0.7374 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.9939, allocations: 150.6 kB / 1.133 GB, free: 7.855 MB / 0.7374 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.673e-05/0.994, allocations: 152.3 kB / 1.133 GB, free: 7.707 MB / 0.7374 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.425e-05/0.9941, allocations: 109 kB / 1.133 GB, free: 7.594 MB / 0.7374 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.982e-05/0.9942, allocations: 75.28 kB / 1.133 GB, free: 7.52 MB / 0.7374 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-05/0.9943, allocations: 158.6 kB / 1.134 GB, free: 7.363 MB / 0.7374 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-05/0.9944, allocations: 156.1 kB / 1.134 GB, free: 7.211 MB / 0.7374 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005054/0.995, allocations: 442.4 kB / 1.134 GB, free: 6.742 MB / 0.7374 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.9951, allocations: 169.1 kB / 1.134 GB, free: 6.566 MB / 0.7374 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.31e-05/0.9952, allocations: 84.14 kB / 1.134 GB, free: 6.48 MB / 0.7374 GB Notification: Performance of preOpt evalFunc (simulation): time 4.557e-05/0.9953, allocations: 75.28 kB / 1.134 GB, free: 6.406 MB / 0.7374 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.9954, allocations: 105.8 kB / 1.135 GB, free: 6.293 MB / 0.7374 GB Notification: Performance of pre-optimization done (n=0): time 4.899e-06/0.9955, allocations: 4 kB / 1.135 GB, free: 6.289 MB / 0.7374 GB Notification: Performance of matching and sorting (n=0): time 0.0001368/0.9956, allocations: 33.55 kB / 1.135 GB, free: 6.25 MB / 0.7374 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.9957, allocations: 51.41 kB / 1.135 GB, free: 6.188 MB / 0.7374 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.9959, allocations: 117.2 kB / 1.135 GB, free: 6.062 MB / 0.7374 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.996, allocations: 29.7 kB / 1.135 GB, free: 6.027 MB / 0.7374 GB Notification: Performance of collectInitialEqns (initialization): time 6.993e-05/0.9961, allocations: 92.06 kB / 1.135 GB, free: 5.934 MB / 0.7374 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.9961, allocations: 0 / 1.135 GB, free: 5.934 MB / 0.7374 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.9961, allocations: 0 / 1.135 GB, free: 5.934 MB / 0.7374 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.9963, allocations: 318.8 kB / 1.135 GB, free: 5.613 MB / 0.7374 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.55e-05/0.9964, allocations: 4 kB / 1.135 GB, free: 5.609 MB / 0.7374 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.242e-05/0.9964, allocations: 0 / 1.135 GB, free: 5.609 MB / 0.7374 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.9966, allocations: 20.55 kB / 1.135 GB, free: 5.59 MB / 0.7374 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.9966, allocations: 0 / 1.135 GB, free: 5.59 MB / 0.7374 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002888/0.9969, allocations: 51.61 kB / 1.135 GB, free: 5.535 MB / 0.7374 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.997, allocations: 5.25 kB / 1.135 GB, free: 5.531 MB / 0.7374 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.905e-05/0.997, allocations: 7.906 kB / 1.135 GB, free: 5.523 MB / 0.7374 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.9971, allocations: 0 / 1.135 GB, free: 5.523 MB / 0.7374 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.608e-06/0.9971, allocations: 3.984 kB / 1.135 GB, free: 5.52 MB / 0.7374 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.9971, allocations: 11.09 kB / 1.135 GB, free: 5.512 MB / 0.7374 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.87e-05/0.9972, allocations: 0 / 1.135 GB, free: 5.512 MB / 0.7374 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.9972, allocations: 0 / 1.135 GB, free: 5.512 MB / 0.7374 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000162/0.9974, allocations: 180.2 kB / 1.135 GB, free: 5.328 MB / 0.7374 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.9976, allocations: 109 kB / 1.136 GB, free: 5.215 MB / 0.7374 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.9977, allocations: 116.5 kB / 1.136 GB, free: 5.098 MB / 0.7374 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001166/0.9978, allocations: 188.2 kB / 1.136 GB, free: 4.906 MB / 0.7374 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001139/0.998, allocations: 176.3 kB / 1.136 GB, free: 4.727 MB / 0.7374 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001106/0.9981, allocations: 176.3 kB / 1.136 GB, free: 4.547 MB / 0.7374 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000415/0.9985, allocations: 397.7 kB / 1.137 GB, free: 4.113 MB / 0.7374 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.637e-05/0.9986, allocations: 101 kB / 1.137 GB, free: 4.008 MB / 0.7374 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.827e-05/0.9987, allocations: 105 kB / 1.137 GB, free: 3.898 MB / 0.7374 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001184/0.9989, allocations: 184.2 kB / 1.137 GB, free: 3.711 MB / 0.7374 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.999, allocations: 179.2 kB / 1.137 GB, free: 3.531 MB / 0.7374 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001113/0.9991, allocations: 184.3 kB / 1.137 GB, free: 3.344 MB / 0.7374 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001144/0.9992, allocations: 184.2 kB / 1.137 GB, free: 3.156 MB / 0.7374 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002413/0.9995, allocations: 311.6 kB / 1.138 GB, free: 2.828 MB / 0.7374 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.9997, allocations: 182 kB / 1.138 GB, free: 2.625 MB / 0.7374 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.9998, allocations: 184.2 kB / 1.138 GB, free: 2.438 MB / 0.7374 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/1, allocations: 109 kB / 1.138 GB, free: 2.324 MB / 0.7374 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/1, allocations: 184.2 kB / 1.138 GB, free: 2.137 MB / 0.7374 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-05/1, allocations: 101 kB / 1.139 GB, free: 2.031 MB / 0.7374 GB Notification: Performance of sort global known variables: time 0.0001346/1, allocations: 94.25 kB / 1.139 GB, free: 1.941 MB / 0.7374 GB Notification: Performance of remove unused functions: time 0.002032/1.003, allocations: 331.4 kB / 1.139 GB, free: 1.617 MB / 0.7374 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002953/1.006, allocations: 0.5748 MB / 1.139 GB, free: 1.043 MB / 0.7374 GB Notification: Performance of simCode: created initialization part: time 0.0001531/1.006, allocations: 41.7 kB / 1.14 GB, free: 0.9961 MB / 0.7374 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.006, allocations: 0 / 1.14 GB, free: 0.9961 MB / 0.7374 GB Notification: Performance of simCode: created simulation system equations: time 3.006e-06/1.006, allocations: 4 kB / 1.14 GB, free: 0.9922 MB / 0.7374 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/1.006, allocations: 0.5306 MB / 1.14 GB, free: 476 kB / 0.7374 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/1.007, allocations: 153 kB / 1.14 GB, free: 300 kB / 0.7374 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003519/1.007, allocations: 0.6958 MB / 1.141 GB, free: 15.57 MB / 0.753 GB Notification: Performance of SimCode: time 1.011e-06/1.007, allocations: 0 / 1.141 GB, free: 15.57 MB / 0.753 GB Notification: Performance of Templates: time 0.0164/1.023, allocations: 5.701 MB / 1.146 GB, free: 9.941 MB / 0.753 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c\nBuildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c:895: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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o\' failed\nmake: *** [Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o] Error 1\n'