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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.573/1.573, allocations: 289.9 MB / 297.4 MB, free: 6.445 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.001173/0.001172, allocations: 180.8 kB / 366.7 MB, free: 1.695 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.526/1.526, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0008257/0.0008257, allocations: 97.16 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.759e-05/1.761e-05, allocations: 4 kB / 0.8597 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6808/0.6808, allocations: 116.3 MB / 0.9733 GB, free: 76.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2282/0.909, allocations: 158.8 MB / 1.128 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/0.9094, allocations: 124.5 kB / 1.128 GB, free: 7.309 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04626/0.9557, allocations: 14.86 MB / 1.143 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9557, allocations: 0 / 1.143 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.9557, allocations: 4 kB / 1.143 GB, free: 8.484 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.001041/0.9568, allocations: 0.5488 MB / 1.144 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.9568, allocations: 12.03 kB / 1.144 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.9569, allocations: 79.27 kB / 1.144 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.9571, allocations: 251.6 kB / 1.144 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.313e-05/0.9572, allocations: 154.5 kB / 1.144 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/0.9573, allocations: 154.6 kB / 1.144 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.314e-05/0.9573, allocations: 158.6 kB / 1.144 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.182e-05/0.9574, allocations: 101 kB / 1.144 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.9574, allocations: 77.22 kB / 1.144 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.064e-05/0.9575, allocations: 150.6 kB / 1.145 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.717e-05/0.9575, allocations: 150.6 kB / 1.145 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.9579, allocations: 454.4 kB / 1.145 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.062e-05/0.958, allocations: 169.1 kB / 1.145 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.958, allocations: 84.14 kB / 1.145 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.9581, allocations: 78.38 kB / 1.145 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.9581, allocations: 105.8 kB / 1.146 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.9581, allocations: 7.938 kB / 1.146 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 9.489e-05/0.9582, allocations: 37.59 kB / 1.146 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.9583, allocations: 51.41 kB / 1.146 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.9584, allocations: 118.4 kB / 1.146 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.9584, allocations: 25.7 kB / 1.146 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.9585, allocations: 88.14 kB / 1.146 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.9585, allocations: 0 / 1.146 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.9585, allocations: 4 kB / 1.146 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.9586, allocations: 322.8 kB / 1.146 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.551e-05/0.9587, allocations: 4 kB / 1.146 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.171e-05/0.9587, allocations: 0 / 1.146 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.96e-05/0.9588, allocations: 8 kB / 1.146 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9588, allocations: 0 / 1.146 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000136/0.9589, allocations: 53.55 kB / 1.146 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.959, allocations: 8 kB / 1.146 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.959, allocations: 0 / 1.146 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.959, allocations: 0 / 1.146 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.959, allocations: 0 / 1.146 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.959, allocations: 4 kB / 1.146 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.105e-05/0.959, allocations: 4.062 kB / 1.146 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.9591, allocations: 0 / 1.146 GB, free: 4.875 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 0.0001/0.9592, allocations: 177.8 kB / 1.146 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.519e-05/0.9592, allocations: 116.8 kB / 1.147 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.577e-05/0.9593, allocations: 116.9 kB / 1.147 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.38e-05/0.9594, allocations: 176.3 kB / 1.147 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.806e-05/0.9595, allocations: 184.2 kB / 1.147 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.745e-05/0.9595, allocations: 176.3 kB / 1.147 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.9598, allocations: 395 kB / 1.148 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.697e-05/0.9599, allocations: 104.9 kB / 1.148 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.9599, allocations: 101 kB / 1.148 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.488e-05/0.96, allocations: 188.4 kB / 1.148 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.935e-05/0.9601, allocations: 191.5 kB / 1.148 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.492e-05/0.9602, allocations: 180.2 kB / 1.148 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.713e-05/0.9603, allocations: 178.5 kB / 1.148 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.9604, allocations: 307.7 kB / 1.149 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.208e-05/0.9605, allocations: 186.1 kB / 1.149 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.57e-05/0.9606, allocations: 194.6 kB / 1.149 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.9607, allocations: 104.9 kB / 1.149 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/0.9608, allocations: 181.2 kB / 1.149 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.831e-05/0.9609, allocations: 104.9 kB / 1.15 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.894e-05/0.9609, allocations: 97.77 kB / 1.15 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9609, allocations: 4 kB / 1.15 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001106/0.962, allocations: 319.5 kB / 1.15 GB, free: 0.9805 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.001949/0.964, allocations: 0.5591 MB / 1.15 GB, free: 424 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.373e-05/0.9641, allocations: 41.97 kB / 1.151 GB, free: 376 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.9641, allocations: 0 / 1.151 GB, free: 376 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.834e-06/0.9641, allocations: 0 / 1.151 GB, free: 376 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.9646, allocations: 0.53 MB / 1.151 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.9648, allocations: 147.9 kB / 1.151 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.9652, allocations: 0.6807 MB / 1.152 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.195e-05/0.9653, allocations: 15.84 kB / 1.152 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.9653, allocations: 7.438 kB / 1.152 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of SimCode: time 4.81e-07/0.9653, allocations: 0 / 1.152 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of Templates: time 0.01068/0.976, allocations: 5.296 MB / 1.157 GB, free: 9.711 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_functions.c Buildings_8_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') 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.InternalResistancesOneUTubeNegative_functions.o] Error 1