Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.592/1.592, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001142/0.001142, allocations: 184.8 kB / 366.7 MB, free: 1.633 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.565/1.565, allocations: 205.2 MB / 0.626 GB, free: 7.141 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.0008471/0.0008472, allocations: 87.39 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.604e-05/1.607e-05, allocations: 4 kB / 0.8597 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6729/0.6729, allocations: 116.3 MB / 0.9733 GB, free: 76.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2159/0.8889, allocations: 159.5 MB / 1.129 GB, free: 6.656 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.8892, allocations: 119.9 kB / 1.129 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04693/0.9362, allocations: 15.18 MB / 1.144 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9362, allocations: 7.938 kB / 1.144 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.9362, allocations: 0 / 1.144 GB, free: 7.391 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.0009929/0.9372, allocations: 0.5488 MB / 1.145 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.9373, allocations: 12.03 kB / 1.145 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.954e-05/0.9373, allocations: 75.28 kB / 1.145 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.9375, allocations: 251.1 kB / 1.145 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.043e-05/0.9376, allocations: 153.8 kB / 1.145 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.52e-05/0.9376, allocations: 158.6 kB / 1.145 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.532e-05/0.9377, allocations: 150.6 kB / 1.145 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.192e-05/0.9378, allocations: 101 kB / 1.145 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/0.9378, allocations: 79.22 kB / 1.145 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-05/0.9379, allocations: 152.3 kB / 1.146 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.657e-05/0.9379, allocations: 150.6 kB / 1.146 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003367/0.9383, allocations: 450.4 kB / 1.146 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.865e-05/0.9383, allocations: 173.1 kB / 1.146 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.384e-05/0.9384, allocations: 80.14 kB / 1.146 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.9384, allocations: 79.27 kB / 1.147 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.9385, allocations: 113.8 kB / 1.147 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.482e-06/0.9385, allocations: 0 / 1.147 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.886e-05/0.9386, allocations: 37.55 kB / 1.147 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.9386, allocations: 55.39 kB / 1.147 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.9388, allocations: 118.5 kB / 1.147 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.9388, allocations: 25.7 kB / 1.147 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.9389, allocations: 92.14 kB / 1.147 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.9389, allocations: 0 / 1.147 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/0.9389, allocations: 4 kB / 1.147 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.939, allocations: 318.8 kB / 1.147 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.664e-05/0.939, allocations: 4 kB / 1.147 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.306e-05/0.9391, allocations: 4 kB / 1.147 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.825e-05/0.9391, allocations: 8 kB / 1.147 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9391, allocations: 2.531 kB / 1.147 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001339/0.9393, allocations: 57.55 kB / 1.147 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.9393, allocations: 11.94 kB / 1.147 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.9393, allocations: 0 / 1.147 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.9394, allocations: 8.062 kB / 1.147 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.9394, allocations: 0 / 1.147 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.9394, allocations: 0 / 1.147 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.46e-05/0.9394, allocations: 3.906 kB / 1.147 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.9394, allocations: 0 / 1.147 GB, free: 3.77 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 9.03e-05/0.9395, allocations: 180.3 kB / 1.148 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.2e-05/0.9396, allocations: 104.9 kB / 1.148 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.616e-05/0.9396, allocations: 112.9 kB / 1.148 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.394e-05/0.9397, allocations: 184.2 kB / 1.148 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-05/0.9398, allocations: 176.3 kB / 1.148 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.229e-05/0.9398, allocations: 180.3 kB / 1.148 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.9401, allocations: 402.9 kB / 1.149 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-05/0.9401, allocations: 101 kB / 1.149 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.9401, allocations: 109.1 kB / 1.149 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.985e-05/0.9402, allocations: 184.2 kB / 1.149 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.745e-05/0.9403, allocations: 180.2 kB / 1.149 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.182e-05/0.9403, allocations: 176.3 kB / 1.149 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.814e-05/0.9404, allocations: 188.2 kB / 1.15 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.9405, allocations: 307.7 kB / 1.15 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-05/0.9406, allocations: 189.9 kB / 1.15 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.443e-05/0.9407, allocations: 181.8 kB / 1.15 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.9408, allocations: 108.9 kB / 1.15 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.9408, allocations: 185.1 kB / 1.15 GB, free: 404 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.9409, allocations: 105.6 kB / 1.151 GB, free: 292 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.08e-05/0.9409, allocations: 96.98 kB / 1.151 GB, free: 196 kB / 0.7448 GB Notification: Performance of sort global known variables: time 2.5e-07/0.941, allocations: 0 / 1.151 GB, free: 196 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001113/0.9421, allocations: 327.5 kB / 1.151 GB, free: 15.87 MB / 0.7605 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.001476/0.9436, allocations: 0.5681 MB / 1.152 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 9.911e-05/0.9437, allocations: 42.03 kB / 1.152 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9437, allocations: 0 / 1.152 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.9437, allocations: 0 / 1.152 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.944, allocations: 0.5318 MB / 1.152 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000217/0.9443, allocations: 144.1 kB / 1.152 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.9445, allocations: 0.6885 MB / 1.153 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.759e-05/0.9445, allocations: 0 / 1.153 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.433e-05/0.9446, allocations: 11.44 kB / 1.153 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of SimCode: time 5.11e-07/0.9446, allocations: 0 / 1.153 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of Templates: time 0.009803/0.9544, allocations: 5.432 MB / 1.158 GB, free: 8.465 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube -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_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube -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_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c:817: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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o] Error 1