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.MultipoleThermalResistances_TwoUTube.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.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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.231/2.231, allocations: 390.5 MB / 398 MB, free: 10.96 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.001315/0.001314, allocations: 183.4 kB / 491.2 MB, free: 1.605 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.575/1.575, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.001126/0.001126, allocations: 101.4 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.507e-05/2.51e-05, allocations: 10.88 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2899, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9526/1.243, allocations: 161.7 MB / 1.37 GB, free: 17.57 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003603/1.243, allocations: 121.2 kB / 1.37 GB, free: 17.56 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02311/1.266, allocations: 8.404 MB / 1.379 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.853e-06/1.266, allocations: 0 / 1.379 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.387e-05/1.266, allocations: 3.844 kB / 1.379 GB, free: 31.32 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.0006354/1.267, allocations: 0.5479 MB / 1.379 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/1.267, allocations: 7.719 kB / 1.379 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.041e-05/1.267, allocations: 31.25 kB / 1.379 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/1.267, allocations: 216.1 kB / 1.379 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/1.267, allocations: 7.938 kB / 1.379 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/1.267, allocations: 0 / 1.379 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001167/1.267, allocations: 76.36 kB / 1.379 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/1.267, allocations: 112.3 kB / 1.38 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/1.267, allocations: 0 / 1.38 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/1.267, allocations: 0 / 1.38 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/1.267, allocations: 0 / 1.38 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002531/1.268, allocations: 242.1 kB / 1.38 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/1.268, allocations: 121.9 kB / 1.38 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.588e-05/1.268, allocations: 109.7 kB / 1.38 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/1.268, allocations: 3.812 kB / 1.38 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/1.268, allocations: 30.56 kB / 1.38 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=32): time 9.81e-07/1.268, allocations: 0 / 1.38 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=32): time 0.0003053/1.268, allocations: 223 kB / 1.38 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.876e-05/1.268, allocations: 59.33 kB / 1.38 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/1.269, allocations: 218.1 kB / 1.381 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/1.269, allocations: 29.73 kB / 1.381 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/1.269, allocations: 132.2 kB / 1.381 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.615e-05/1.269, allocations: 100.4 kB / 1.381 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/1.269, allocations: 0.8438 kB / 1.381 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001082/1.269, allocations: 348.1 kB / 1.381 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.83e-05/1.269, allocations: 74.58 kB / 1.381 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.303e-05/1.269, allocations: 75.62 kB / 1.381 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.601e-05/1.269, allocations: 106.3 kB / 1.381 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.269, allocations: 0 / 1.381 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001941/1.269, allocations: 227.3 kB / 1.382 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/1.269, allocations: 3.875 kB / 1.382 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/1.269, allocations: 7.828 kB / 1.382 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/1.269, allocations: 3.938 kB / 1.382 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/1.269, allocations: 0.875 kB / 1.382 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/1.269, allocations: 0 / 1.382 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/1.269, allocations: 11.72 kB / 1.382 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/1.269, allocations: 3.969 kB / 1.382 GB, free: 29.31 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 5.959e-05/1.269, allocations: 108.9 kB / 1.382 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/1.269, allocations: 27.34 kB / 1.382 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003758/1.27, allocations: 0.5642 MB / 1.382 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.564e-05/1.27, allocations: 181 kB / 1.382 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.507e-05/1.27, allocations: 186.9 kB / 1.383 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-05/1.27, allocations: 187.9 kB / 1.383 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/1.27, allocations: 0.5216 MB / 1.383 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-05/1.27, allocations: 108.9 kB / 1.383 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.882e-05/1.27, allocations: 108.8 kB / 1.384 GB, free: 27.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.022e-05/1.27, allocations: 176.3 kB / 1.384 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/1.271, allocations: 180.2 kB / 1.384 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.836e-05/1.271, allocations: 180.3 kB / 1.384 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.544e-05/1.271, allocations: 183.7 kB / 1.384 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/1.271, allocations: 327 kB / 1.385 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/1.271, allocations: 363.3 kB / 1.385 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/1.271, allocations: 184.2 kB / 1.385 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/1.271, allocations: 101 kB / 1.385 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/1.271, allocations: 179.9 kB / 1.385 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/1.271, allocations: 104.9 kB / 1.385 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0009414/1.272, allocations: 1.116 MB / 1.387 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.272, allocations: 0 / 1.387 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009681/1.273, allocations: 306.1 kB / 1.387 GB, free: 25.27 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.0007483/1.274, allocations: 443.2 kB / 1.387 GB, free: 25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001782/1.274, allocations: 186.1 kB / 1.387 GB, free: 24.95 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/1.274, allocations: 0 / 1.387 GB, free: 24.95 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/1.274, allocations: 0 / 1.387 GB, free: 24.95 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/1.275, allocations: 0.5377 MB / 1.388 GB, free: 24.42 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003919/1.275, allocations: 357.5 kB / 1.388 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/1.275, allocations: 0.7624 MB / 1.389 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.936e-05/1.276, allocations: 0 / 1.389 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.489e-05/1.276, allocations: 11.34 kB / 1.389 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.276, allocations: 0 / 1.389 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of Templates: time 0.007251/1.283, allocations: 4.469 MB / 1.393 GB, free: 21.22 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.o Buildings_latest_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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o] Error 1