Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.22/2.22, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.00133/0.00133, allocations: 176.8 kB / 487.4 MB, free: 5.051 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.639/1.639, allocations: 221.5 MB / 0.7824 GB, free: 0.9102 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001111, allocations: 102.2 kB / 0.9219 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.007e-05/2.011e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2655, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.277, allocations: 160.9 MB / 1.363 GB, free: 18.38 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/1.277, allocations: 115.5 kB / 1.363 GB, free: 18.38 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02281/1.3, allocations: 8.398 MB / 1.371 GB, free: 33 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.004e-06/1.3, allocations: 0 / 1.371 GB, free: 33 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.703e-05/1.3, allocations: 7.875 kB / 1.371 GB, free: 33 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008558/1.301, allocations: 0.5515 MB / 1.372 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/1.301, allocations: 11.72 kB / 1.372 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/1.301, allocations: 23.31 kB / 1.372 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/1.301, allocations: 228.4 kB / 1.372 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/1.301, allocations: 2.312 kB / 1.372 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/1.301, allocations: 0 / 1.372 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001133/1.302, allocations: 72.5 kB / 1.372 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/1.302, allocations: 117.9 kB / 1.372 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/1.302, allocations: 0 / 1.372 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/1.302, allocations: 7.938 kB / 1.372 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/1.302, allocations: 0 / 1.372 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002302/1.302, allocations: 240.2 kB / 1.373 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/1.302, allocations: 128.4 kB / 1.373 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.104e-05/1.302, allocations: 107.2 kB / 1.373 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/1.302, allocations: 0 / 1.373 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/1.302, allocations: 34.44 kB / 1.373 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=32): time 8.42e-07/1.302, allocations: 4 kB / 1.373 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=32): time 0.0003261/1.303, allocations: 230.6 kB / 1.373 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/1.303, allocations: 51.41 kB / 1.373 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/1.303, allocations: 221 kB / 1.373 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/1.303, allocations: 25.7 kB / 1.373 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/1.303, allocations: 127.3 kB / 1.374 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/1.303, allocations: 104 kB / 1.374 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/1.303, allocations: 0 / 1.374 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001103/1.303, allocations: 345 kB / 1.374 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.077e-05/1.303, allocations: 73.28 kB / 1.374 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.084e-05/1.303, allocations: 78.61 kB / 1.374 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/1.303, allocations: 104.1 kB / 1.374 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.303, allocations: 0 / 1.374 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002136/1.304, allocations: 227.3 kB / 1.374 GB, free: 31 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/1.304, allocations: 5.75 kB / 1.374 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/1.304, allocations: 0 / 1.374 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/1.304, allocations: 3.844 kB / 1.374 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-06/1.304, allocations: 3.938 kB / 1.374 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/1.304, allocations: 64 / 1.374 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/1.304, allocations: 11.84 kB / 1.374 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/1.304, allocations: 3.844 kB / 1.374 GB, free: 30.98 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 7.253e-05/1.304, allocations: 108.9 kB / 1.375 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/1.304, allocations: 27.19 kB / 1.375 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004231/1.304, allocations: 0.5652 MB / 1.375 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.361e-05/1.304, allocations: 184.6 kB / 1.375 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.005e-05/1.304, allocations: 180.2 kB / 1.376 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.657e-05/1.305, allocations: 176.3 kB / 1.376 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/1.305, allocations: 0.5264 MB / 1.376 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-05/1.305, allocations: 104.9 kB / 1.376 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.541e-05/1.305, allocations: 108.9 kB / 1.376 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.01e-05/1.305, allocations: 180.2 kB / 1.377 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.068e-05/1.305, allocations: 184 kB / 1.377 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.176e-05/1.305, allocations: 176.3 kB / 1.377 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.258e-05/1.305, allocations: 184.2 kB / 1.377 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/1.305, allocations: 330.7 kB / 1.377 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003279/1.306, allocations: 358 kB / 1.378 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/1.306, allocations: 184.2 kB / 1.378 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/1.306, allocations: 105 kB / 1.378 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.081e-05/1.306, allocations: 188.1 kB / 1.378 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/1.306, allocations: 108.8 kB / 1.378 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0009749/1.307, allocations: 1.114 MB / 1.379 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.9e-07/1.307, allocations: 0 / 1.379 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001038/1.308, allocations: 301.6 kB / 1.38 GB, free: 26.95 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.0007819/1.309, allocations: 441.5 kB / 1.38 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000203/1.309, allocations: 179.8 kB / 1.38 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.309, allocations: 0 / 1.38 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/1.309, allocations: 3.844 kB / 1.38 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/1.31, allocations: 0.5375 MB / 1.381 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/1.31, allocations: 359.3 kB / 1.381 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/1.31, allocations: 0.7607 MB / 1.382 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.379e-05/1.31, allocations: 11.8 kB / 1.382 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.383e-05/1.31, allocations: 7.438 kB / 1.382 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of SimCode: time 3.21e-07/1.31, allocations: 0 / 1.382 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of Templates: time 0.007618/1.318, allocations: 4.467 MB / 1.386 GB, free: 22.9 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube -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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.o Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube -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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c:310: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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o] Error 1