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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.616/1.616, allocations: 289.9 MB / 297.4 MB, free: 6.406 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.001315/0.001315, allocations: 172.8 kB / 366.7 MB, free: 1.652 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.524/1.524, allocations: 205.2 MB / 0.626 GB, free: 7.195 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.0008509/0.0008507, allocations: 88.98 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.146e-05/2.148e-05, allocations: 4 kB / 0.8598 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6607/0.6607, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2153/0.8761, allocations: 159.5 MB / 1.129 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.8764, allocations: 127.9 kB / 1.129 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04514/0.9216, allocations: 15.18 MB / 1.144 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.452e-06/0.9216, allocations: 0 / 1.144 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.9217, allocations: 0 / 1.144 GB, free: 7.43 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.0009973/0.9227, allocations: 0.5566 MB / 1.145 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.9227, allocations: 12.03 kB / 1.145 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.083e-05/0.9228, allocations: 83.22 kB / 1.145 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.923, allocations: 247.4 kB / 1.145 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.224e-05/0.923, allocations: 150.6 kB / 1.145 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.092e-05/0.9231, allocations: 154.6 kB / 1.145 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.865e-05/0.9232, allocations: 150.6 kB / 1.145 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.326e-05/0.9232, allocations: 105 kB / 1.145 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/0.9233, allocations: 75.28 kB / 1.145 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.412e-05/0.9233, allocations: 150.6 kB / 1.146 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.158e-05/0.9234, allocations: 154.5 kB / 1.146 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.9237, allocations: 448.4 kB / 1.146 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.508e-05/0.9238, allocations: 173.1 kB / 1.146 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.788e-05/0.9238, allocations: 88.14 kB / 1.146 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.9239, allocations: 79.22 kB / 1.147 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.9239, allocations: 105.8 kB / 1.147 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/0.9239, allocations: 3.094 kB / 1.147 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 9.525e-05/0.924, allocations: 41.55 kB / 1.147 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.9241, allocations: 51.41 kB / 1.147 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.9242, allocations: 120.7 kB / 1.147 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.9242, allocations: 25.7 kB / 1.147 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.9243, allocations: 96.12 kB / 1.147 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.9243, allocations: 0 / 1.147 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.9243, allocations: 0 / 1.147 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.9244, allocations: 310.8 kB / 1.147 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.956e-05/0.9245, allocations: 8 kB / 1.147 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.32e-05/0.9245, allocations: 8 kB / 1.147 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.515e-05/0.9246, allocations: 8 kB / 1.147 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.9246, allocations: 0 / 1.147 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001475/0.9247, allocations: 57.55 kB / 1.147 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.9248, allocations: 8 kB / 1.147 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.9248, allocations: 0 / 1.147 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.9248, allocations: 0 / 1.147 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.054e-06/0.9248, allocations: 7.984 kB / 1.147 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.9248, allocations: 3.938 kB / 1.147 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.388e-05/0.9249, allocations: 3.906 kB / 1.147 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.9249, allocations: 5.438 kB / 1.147 GB, free: 3.797 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.003e-05/0.925, allocations: 184.2 kB / 1.148 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.516e-05/0.925, allocations: 104.9 kB / 1.148 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.024e-05/0.9251, allocations: 109 kB / 1.148 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.224e-05/0.9252, allocations: 180.2 kB / 1.148 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.62e-05/0.9252, allocations: 180.2 kB / 1.148 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.686e-05/0.9253, allocations: 180.3 kB / 1.148 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.9255, allocations: 397.7 kB / 1.149 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.243e-05/0.9256, allocations: 101 kB / 1.149 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/0.9256, allocations: 101.1 kB / 1.149 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.735e-05/0.9257, allocations: 192.2 kB / 1.149 GB, free: 2 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.546e-05/0.9257, allocations: 184.2 kB / 1.149 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.462e-05/0.9258, allocations: 178.7 kB / 1.149 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.908e-05/0.9259, allocations: 182.2 kB / 1.15 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.926, allocations: 315.7 kB / 1.15 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-05/0.9261, allocations: 189.9 kB / 1.15 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.443e-05/0.9262, allocations: 176.3 kB / 1.15 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.9262, allocations: 108.9 kB / 1.15 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.9263, allocations: 181.1 kB / 1.15 GB, free: 440 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.9263, allocations: 109 kB / 1.151 GB, free: 324 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.219e-05/0.9264, allocations: 91.28 kB / 1.151 GB, free: 232 kB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9264, allocations: 0 / 1.151 GB, free: 232 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001183/0.9276, allocations: 335.4 kB / 1.151 GB, free: 15.9 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.001858/0.9295, allocations: 0.5673 MB / 1.152 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.9296, allocations: 38.03 kB / 1.152 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.9296, allocations: 0 / 1.152 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 2.985e-06/0.9296, allocations: 0 / 1.152 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.93, allocations: 0.526 MB / 1.152 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002283/0.9302, allocations: 152.1 kB / 1.152 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.9305, allocations: 0.6846 MB / 1.153 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.816e-05/0.9305, allocations: 0 / 1.153 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.632e-05/0.9305, allocations: 16.84 kB / 1.153 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of SimCode: time 3e-07/0.9305, allocations: 0 / 1.153 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of Templates: time 0.009853/0.9404, allocations: 5.431 MB / 1.158 GB, free: 8.496 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile make -j1 -f Buildings_8_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_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.o Buildings_8_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_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_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.InternalResistancesTwoUTubeNegative_functions.o] Error 1