Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json 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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 171.6 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7574/0.7574, allocations: 130.7 MB / 138.7 MB, free: 3.504 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 221.5 MB / 391.8 MB, free: 14.24 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009272/0.0009269, allocations: 95.47 kB / 473.9 MB, free: 4.477 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.972e-05/1.983e-05, allocations: 4 kB / 0.5486 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4301, allocations: 81.58 MB / 0.6282 GB, free: 42.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1635/0.5936, allocations: 130.6 MB / 0.7557 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003918/0.5941, allocations: 123.9 kB / 0.7559 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04833/0.6424, allocations: 14.93 MB / 0.7704 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.654e-06/0.6424, allocations: 0 / 0.7704 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.6425, allocations: 4 kB / 0.7704 GB, free: 13.08 MB / 0.5573 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.001519/0.644, allocations: 0.5449 MB / 0.771 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 7.235e-05/0.6441, allocations: 12.02 kB / 0.771 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.54e-05/0.6442, allocations: 87.14 kB / 0.7711 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.6445, allocations: 251.1 kB / 0.7713 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.404e-05/0.6446, allocations: 150.6 kB / 0.7714 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.224e-05/0.6447, allocations: 154.5 kB / 0.7716 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001088/0.6448, allocations: 154.6 kB / 0.7717 GB, free: 11.65 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.6449, allocations: 101 kB / 0.7718 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/0.6449, allocations: 79.28 kB / 0.7719 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.951e-05/0.645, allocations: 150.6 kB / 0.7721 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.913e-05/0.6451, allocations: 154.6 kB / 0.7722 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.6456, allocations: 442.4 kB / 0.7726 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.6457, allocations: 177.1 kB / 0.7728 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.225e-05/0.6458, allocations: 80.14 kB / 0.7729 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.6458, allocations: 79.28 kB / 0.7729 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.807e-05/0.6459, allocations: 105.8 kB / 0.773 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.6459, allocations: 1.031 kB / 0.7731 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 0.0001214/0.646, allocations: 41.58 kB / 0.7731 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.6461, allocations: 55.41 kB / 0.7731 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.6462, allocations: 114.7 kB / 0.7733 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.6463, allocations: 25.7 kB / 0.7733 GB, free: 9.977 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.6463, allocations: 88.14 kB / 0.7734 GB, free: 9.887 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-06/0.6463, allocations: 3.938 kB / 0.7734 GB, free: 9.883 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.6463, allocations: 0 / 0.7734 GB, free: 9.883 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.6465, allocations: 322.8 kB / 0.7737 GB, free: 9.559 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.751e-05/0.6465, allocations: 4 kB / 0.7737 GB, free: 9.555 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.14e-05/0.6465, allocations: 15.94 kB / 0.7737 GB, free: 9.539 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.579e-05/0.6466, allocations: 7.938 kB / 0.7737 GB, free: 9.531 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6466, allocations: 0 / 0.7737 GB, free: 9.531 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001465/0.6468, allocations: 45.59 kB / 0.7737 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.6468, allocations: 8 kB / 0.7737 GB, free: 9.473 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.6468, allocations: 0 / 0.7737 GB, free: 9.473 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.6468, allocations: 4 kB / 0.7738 GB, free: 9.469 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.844e-06/0.6469, allocations: 0 / 0.7738 GB, free: 9.469 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.6469, allocations: 0 / 0.7738 GB, free: 9.469 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.429e-05/0.6469, allocations: 0 / 0.7738 GB, free: 9.469 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.6469, allocations: 4 kB / 0.7738 GB, free: 9.465 MB / 0.5573 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.0001077/0.647, allocations: 189 kB / 0.7739 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/0.6471, allocations: 112.8 kB / 0.774 GB, free: 9.156 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.803e-05/0.6472, allocations: 111 kB / 0.7742 GB, free: 9.039 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.53e-05/0.6472, allocations: 176.3 kB / 0.7743 GB, free: 8.859 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.05e-05/0.6473, allocations: 180.2 kB / 0.7745 GB, free: 8.676 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.646e-05/0.6474, allocations: 180.3 kB / 0.7747 GB, free: 8.492 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.6476, allocations: 397.8 kB / 0.775 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-05/0.6477, allocations: 104.9 kB / 0.7751 GB, free: 7.949 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.739e-05/0.6477, allocations: 104.9 kB / 0.7752 GB, free: 7.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.682e-05/0.6478, allocations: 184.3 kB / 0.7754 GB, free: 7.652 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.358e-05/0.6479, allocations: 180.2 kB / 0.7756 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.892e-05/0.648, allocations: 185 kB / 0.7758 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.206e-05/0.648, allocations: 176.3 kB / 0.7759 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.6482, allocations: 311.7 kB / 0.7762 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.474e-05/0.6483, allocations: 182.1 kB / 0.7764 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.733e-05/0.6484, allocations: 188.2 kB / 0.7766 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.828e-05/0.6484, allocations: 105 kB / 0.7767 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.6485, allocations: 177.2 kB / 0.7769 GB, free: 6.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/0.6486, allocations: 104.9 kB / 0.777 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.07e-05/0.6486, allocations: 106.1 kB / 0.7771 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.11e-07/0.6486, allocations: 0 / 0.7771 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001163/0.6498, allocations: 319.5 kB / 0.7774 GB, free: 5.566 MB / 0.5573 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.001649/0.6515, allocations: 0.5444 MB / 0.7779 GB, free: 5.012 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.669e-05/0.6516, allocations: 37.7 kB / 0.7779 GB, free: 4.969 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6516, allocations: 0 / 0.7779 GB, free: 4.969 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.925e-06/0.6516, allocations: 0 / 0.7779 GB, free: 4.969 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.652, allocations: 0.538 MB / 0.7785 GB, free: 4.426 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002319/0.6522, allocations: 135.5 kB / 0.7786 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.6525, allocations: 0.6923 MB / 0.7793 GB, free: 3.551 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.666e-05/0.6525, allocations: 0 / 0.7793 GB, free: 3.551 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.495e-05/0.6526, allocations: 7.438 kB / 0.7793 GB, free: 3.543 MB / 0.5573 GB Notification: Performance of SimCode: time 2.184e-06/0.6526, allocations: 0 / 0.7793 GB, free: 3.543 MB / 0.5573 GB Notification: Performance of Templates: time 0.01041/0.663, allocations: 5.183 MB / 0.7843 GB, free: 14.4 MB / 0.573 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube -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 IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.o IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.c clang -Os -fPIC -falign-functions -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube -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 IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c:1008: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: *** [: IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o] Error 1