Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_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="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.374/2.374, allocations: 390.5 MB / 398 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 180.5 kB / 491.2 MB, free: 1.566 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 221.5 MB / 0.7868 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009487/0.0009487, allocations: 91.78 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.709e-05/1.711e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3032, allocations: 143 MB / 1.212 GB, free: 39.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.037/1.341, allocations: 170.3 MB / 1.379 GB, free: 16.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/1.341, allocations: 122.6 kB / 1.379 GB, free: 16.11 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04164/1.383, allocations: 15.3 MB / 1.394 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.254e-06/1.383, allocations: 4 kB / 1.394 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.245e-06/1.383, allocations: 0 / 1.394 GB, free: 26.19 MB / 0.8386 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.001061/1.384, allocations: 0.5528 MB / 1.394 GB, free: 25.67 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/1.384, allocations: 7.656 kB / 1.394 GB, free: 25.67 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/1.384, allocations: 87.06 kB / 1.394 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/1.384, allocations: 246.2 kB / 1.395 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.298e-05/1.384, allocations: 150.6 kB / 1.395 GB, free: 25.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/1.384, allocations: 158.5 kB / 1.395 GB, free: 25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.17e-05/1.384, allocations: 158.4 kB / 1.395 GB, free: 24.85 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.166e-05/1.384, allocations: 101 kB / 1.395 GB, free: 24.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/1.384, allocations: 75.28 kB / 1.395 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/1.384, allocations: 154.4 kB / 1.395 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-05/1.384, allocations: 154.5 kB / 1.396 GB, free: 24.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002479/1.385, allocations: 445.5 kB / 1.396 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.468e-05/1.385, allocations: 169.1 kB / 1.396 GB, free: 23.74 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.215e-05/1.385, allocations: 80.14 kB / 1.396 GB, free: 23.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/1.385, allocations: 79.09 kB / 1.396 GB, free: 23.58 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/1.385, allocations: 109.8 kB / 1.396 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.153e-06/1.385, allocations: 0 / 1.396 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.273e-05/1.385, allocations: 37.47 kB / 1.396 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.942e-05/1.385, allocations: 51.41 kB / 1.396 GB, free: 23.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/1.385, allocations: 116.5 kB / 1.397 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/1.385, allocations: 25.7 kB / 1.397 GB, free: 23.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/1.385, allocations: 90.48 kB / 1.397 GB, free: 23.15 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/1.385, allocations: 3.938 kB / 1.397 GB, free: 23.15 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/1.385, allocations: 4 kB / 1.397 GB, free: 23.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001076/1.385, allocations: 322.4 kB / 1.397 GB, free: 22.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.532e-05/1.385, allocations: 3.844 kB / 1.397 GB, free: 22.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.211e-05/1.385, allocations: 3.906 kB / 1.397 GB, free: 22.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.896e-05/1.385, allocations: 11.22 kB / 1.397 GB, free: 22.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.385, allocations: 0 / 1.397 GB, free: 22.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001283/1.386, allocations: 56.38 kB / 1.397 GB, free: 22.78 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/1.386, allocations: 3.906 kB / 1.397 GB, free: 22.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/1.386, allocations: 7.906 kB / 1.397 GB, free: 22.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/1.386, allocations: 4.062 kB / 1.397 GB, free: 22.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/1.386, allocations: 0 / 1.397 GB, free: 22.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/1.386, allocations: 3.984 kB / 1.397 GB, free: 22.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/1.386, allocations: 0 / 1.397 GB, free: 22.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/1.386, allocations: 3.844 kB / 1.397 GB, free: 22.77 MB / 0.8386 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 8.697e-05/1.386, allocations: 181.2 kB / 1.397 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/1.386, allocations: 116.7 kB / 1.397 GB, free: 22.47 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/1.386, allocations: 112.5 kB / 1.397 GB, free: 22.36 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.004e-05/1.386, allocations: 176.3 kB / 1.398 GB, free: 22.18 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.854e-05/1.386, allocations: 184 kB / 1.398 GB, free: 21.99 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.937e-05/1.386, allocations: 180.2 kB / 1.398 GB, free: 21.81 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/1.386, allocations: 400.3 kB / 1.398 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.601e-05/1.386, allocations: 104.9 kB / 1.398 GB, free: 21.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.727e-05/1.386, allocations: 105 kB / 1.399 GB, free: 21.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.748e-05/1.386, allocations: 180.3 kB / 1.399 GB, free: 20.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/1.387, allocations: 180.2 kB / 1.399 GB, free: 20.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.803e-05/1.387, allocations: 188.1 kB / 1.399 GB, free: 20.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-05/1.387, allocations: 176.3 kB / 1.399 GB, free: 20.43 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/1.387, allocations: 311.1 kB / 1.4 GB, free: 20.11 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/1.387, allocations: 193.8 kB / 1.4 GB, free: 19.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/1.387, allocations: 180.2 kB / 1.4 GB, free: 19.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.489e-05/1.387, allocations: 101 kB / 1.4 GB, free: 19.61 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/1.387, allocations: 183.9 kB / 1.4 GB, free: 19.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/1.387, allocations: 108.9 kB / 1.4 GB, free: 19.32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.563e-05/1.387, allocations: 96.89 kB / 1.4 GB, free: 19.24 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.387, allocations: 0 / 1.4 GB, free: 19.24 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001077/1.388, allocations: 330.6 kB / 1.401 GB, free: 19.13 MB / 0.8386 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.001612/1.39, allocations: 0.5421 MB / 1.401 GB, free: 18.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.578e-05/1.39, allocations: 36.95 kB / 1.401 GB, free: 18.79 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.39, allocations: 3.781 kB / 1.401 GB, free: 18.79 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/1.39, allocations: 4.062 kB / 1.401 GB, free: 18.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/1.39, allocations: 0.5261 MB / 1.402 GB, free: 18.26 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002188/1.391, allocations: 145.9 kB / 1.402 GB, free: 18.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/1.391, allocations: 0.6958 MB / 1.403 GB, free: 17.4 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.522e-05/1.391, allocations: 0 / 1.403 GB, free: 17.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.237e-05/1.391, allocations: 7.438 kB / 1.403 GB, free: 17.39 MB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/1.391, allocations: 3.844 kB / 1.403 GB, free: 17.39 MB / 0.8386 GB Notification: Performance of Templates: time 0.008512/1.399, allocations: 5.329 MB / 1.408 GB, free: 14.35 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c:779: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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o] Error 1