Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.624/1.624, allocations: 285.6 MB / 293.1 MB, free: 10.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 180.9 kB / 361.4 MB, free: 6.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008163/0.0008162, allocations: 91.36 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.908e-05/1.91e-05, allocations: 8 kB / 0.8518 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6561/0.6562, allocations: 115.3 MB / 0.9644 GB, free: 79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2178/0.8741, allocations: 157.8 MB / 1.119 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003788/0.8745, allocations: 122 kB / 1.119 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04351/0.9181, allocations: 14.85 MB / 1.133 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9181, allocations: 0 / 1.133 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.341e-06/0.9181, allocations: 0 / 1.133 GB, free: 15.12 MB / 0.7448 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.0009346/0.919, allocations: 0.5488 MB / 1.134 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.9191, allocations: 15.97 kB / 1.134 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.314e-05/0.9192, allocations: 81.62 kB / 1.134 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.9194, allocations: 255.1 kB / 1.134 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.05e-05/0.9194, allocations: 150.6 kB / 1.134 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.9195, allocations: 150.6 kB / 1.134 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.026e-05/0.9195, allocations: 154.6 kB / 1.134 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.765e-05/0.9196, allocations: 105 kB / 1.135 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.9196, allocations: 75.28 kB / 1.135 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.761e-05/0.9197, allocations: 150.6 kB / 1.135 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.346e-05/0.9198, allocations: 154.5 kB / 1.135 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.92, allocations: 450.4 kB / 1.135 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.306e-05/0.9201, allocations: 169.1 kB / 1.135 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.9202, allocations: 80.14 kB / 1.136 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.9202, allocations: 75.28 kB / 1.136 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.9203, allocations: 117.8 kB / 1.136 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.9203, allocations: 1.875 kB / 1.136 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.656e-05/0.9204, allocations: 37.55 kB / 1.136 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.9204, allocations: 51.41 kB / 1.136 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.9205, allocations: 114.3 kB / 1.136 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.9206, allocations: 25.7 kB / 1.136 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/0.9206, allocations: 92.12 kB / 1.136 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.9206, allocations: 0 / 1.136 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.9206, allocations: 0 / 1.136 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.9207, allocations: 318.8 kB / 1.136 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.9208, allocations: 0 / 1.136 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.235e-05/0.9208, allocations: 8 kB / 1.136 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.946e-05/0.9209, allocations: 11.98 kB / 1.136 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.9209, allocations: 0 / 1.136 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001225/0.921, allocations: 49.56 kB / 1.136 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.921, allocations: 7.984 kB / 1.136 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.9211, allocations: 4 kB / 1.136 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.9211, allocations: 0 / 1.136 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.775e-06/0.9211, allocations: 0 / 1.136 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.9211, allocations: 5.062 kB / 1.136 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.002e-05/0.9211, allocations: 4 kB / 1.136 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.9211, allocations: 4.625 kB / 1.136 GB, free: 11.5 MB / 0.7448 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 7.971e-05/0.9212, allocations: 176.3 kB / 1.137 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.9213, allocations: 116.8 kB / 1.137 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.9213, allocations: 108.9 kB / 1.137 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.692e-05/0.9214, allocations: 184.2 kB / 1.137 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.107e-05/0.9215, allocations: 176.3 kB / 1.137 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.487e-05/0.9215, allocations: 183.6 kB / 1.137 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.9217, allocations: 397.7 kB / 1.138 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.039e-05/0.9218, allocations: 108.1 kB / 1.138 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/0.9218, allocations: 101 kB / 1.138 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.636e-05/0.9219, allocations: 184.4 kB / 1.138 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.933e-05/0.922, allocations: 188.2 kB / 1.138 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.305e-05/0.922, allocations: 180.3 kB / 1.138 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.975e-05/0.9221, allocations: 180.2 kB / 1.139 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.9222, allocations: 307.7 kB / 1.139 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.159e-05/0.9223, allocations: 194 kB / 1.139 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.532e-05/0.9224, allocations: 176.3 kB / 1.139 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.457e-05/0.9225, allocations: 108.9 kB / 1.139 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/0.9226, allocations: 181.1 kB / 1.14 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.9226, allocations: 105 kB / 1.14 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.034e-05/0.9227, allocations: 97.3 kB / 1.14 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9227, allocations: 0 / 1.14 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0009858/0.9236, allocations: 327.5 kB / 1.14 GB, free: 7.598 MB / 0.7448 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.001086/0.9247, allocations: 0.5579 MB / 1.141 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.9249, allocations: 38.03 kB / 1.141 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9249, allocations: 0 / 1.141 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.335e-06/0.9249, allocations: 0 / 1.141 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.9253, allocations: 0.5339 MB / 1.141 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002291/0.9255, allocations: 144 kB / 1.141 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.9258, allocations: 0.6846 MB / 1.142 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.911e-05/0.9258, allocations: 3.906 kB / 1.142 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.333e-05/0.9259, allocations: 15.44 kB / 1.142 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/0.9259, allocations: 0 / 1.142 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of Templates: time 0.009394/0.9353, allocations: 5.301 MB / 1.147 GB, free: 348 kB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile b'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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative -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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.c\nclang -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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative -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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.c\nBuildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.c:786: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.\nmake: *** [: Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o] Error 1\n'