Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 171 kB / 7.646 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8912/0.8912, allocations: 130.7 MB / 138.7 MB, free: 3.492 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.361/1.361, allocations: 221.5 MB / 391.8 MB, free: 14.23 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.0008623/0.0008625, allocations: 100.5 kB / 473.9 MB, free: 4.492 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.994e-05/1.995e-05, allocations: 4 kB / 0.5486 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4953/0.4953, allocations: 81.57 MB / 0.6282 GB, free: 42.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1751/0.6705, allocations: 131.3 MB / 0.7565 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/0.6709, allocations: 117.2 kB / 0.7566 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04578/0.7167, allocations: 15.26 MB / 0.7715 GB, free: 12.01 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7167, allocations: 2.156 kB / 0.7715 GB, free: 12.01 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.7167, allocations: 0 / 0.7715 GB, free: 12.01 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.001052/0.7178, allocations: 0.5488 MB / 0.772 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.7178, allocations: 8.031 kB / 0.772 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.959e-05/0.7179, allocations: 91.14 kB / 0.7721 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.7181, allocations: 243.1 kB / 0.7723 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/0.7181, allocations: 150.6 kB / 0.7725 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-05/0.7182, allocations: 150.6 kB / 0.7726 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.257e-05/0.7183, allocations: 154.6 kB / 0.7728 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.767e-05/0.7183, allocations: 108.9 kB / 0.7729 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.7184, allocations: 79.28 kB / 0.7729 GB, free: 10.4 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.541e-05/0.7185, allocations: 150.6 kB / 0.7731 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-05/0.7185, allocations: 150.6 kB / 0.7732 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.7188, allocations: 450.4 kB / 0.7737 GB, free: 9.629 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.713e-05/0.7189, allocations: 169.1 kB / 0.7738 GB, free: 9.453 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.365e-05/0.719, allocations: 80.14 kB / 0.7739 GB, free: 9.371 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.719, allocations: 75.28 kB / 0.774 GB, free: 9.297 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/0.719, allocations: 113.8 kB / 0.7741 GB, free: 9.176 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.7191, allocations: 0 / 0.7741 GB, free: 9.176 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 8.932e-05/0.7192, allocations: 29.61 kB / 0.7741 GB, free: 9.141 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.7192, allocations: 59.39 kB / 0.7742 GB, free: 9.07 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.7193, allocations: 118.7 kB / 0.7743 GB, free: 8.945 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.7194, allocations: 25.7 kB / 0.7743 GB, free: 8.914 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.7194, allocations: 93.08 kB / 0.7744 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.7194, allocations: 0 / 0.7744 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.7194, allocations: 0 / 0.7744 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.7195, allocations: 326.8 kB / 0.7747 GB, free: 8.492 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.29e-05/0.7196, allocations: 7.938 kB / 0.7747 GB, free: 8.484 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.359e-05/0.7196, allocations: 8 kB / 0.7747 GB, free: 8.477 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.135e-05/0.7197, allocations: 8.031 kB / 0.7747 GB, free: 8.469 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.7197, allocations: 0 / 0.7747 GB, free: 8.469 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001354/0.7198, allocations: 53.62 kB / 0.7748 GB, free: 8.41 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.7198, allocations: 5.25 kB / 0.7748 GB, free: 8.406 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.7199, allocations: 4 kB / 0.7748 GB, free: 8.402 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.7199, allocations: 3.938 kB / 0.7748 GB, free: 8.398 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.7199, allocations: 0 / 0.7748 GB, free: 8.398 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.7199, allocations: 0 / 0.7748 GB, free: 8.398 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.7199, allocations: 3.906 kB / 0.7748 GB, free: 8.395 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.7199, allocations: 4 kB / 0.7748 GB, free: 8.391 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 8.945e-05/0.72, allocations: 184.2 kB / 0.775 GB, free: 8.203 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/0.7201, allocations: 108.9 kB / 0.7751 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.241e-05/0.7202, allocations: 122.9 kB / 0.7752 GB, free: 7.965 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-05/0.7202, allocations: 176.3 kB / 0.7754 GB, free: 7.785 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.689e-05/0.7203, allocations: 180.3 kB / 0.7755 GB, free: 7.602 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.905e-05/0.7204, allocations: 184.2 kB / 0.7757 GB, free: 7.414 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.7206, allocations: 389.8 kB / 0.7761 GB, free: 6.988 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.53e-05/0.7206, allocations: 105 kB / 0.7762 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.003e-05/0.7207, allocations: 112.9 kB / 0.7763 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.056e-05/0.7208, allocations: 184.3 kB / 0.7765 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.808e-05/0.7208, allocations: 176.3 kB / 0.7766 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.918e-05/0.7209, allocations: 188.2 kB / 0.7768 GB, free: 6.203 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.379e-05/0.721, allocations: 180.2 kB / 0.777 GB, free: 6.02 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.7212, allocations: 299.8 kB / 0.7773 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.088e-05/0.7213, allocations: 190 kB / 0.7775 GB, free: 5.492 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.156e-05/0.7214, allocations: 188.2 kB / 0.7776 GB, free: 5.301 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.41e-05/0.7215, allocations: 104.9 kB / 0.7777 GB, free: 5.191 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.241e-05/0.7215, allocations: 177.2 kB / 0.7779 GB, free: 5.012 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.98e-05/0.7216, allocations: 105 kB / 0.778 GB, free: 4.902 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.099e-05/0.7216, allocations: 92.98 kB / 0.7781 GB, free: 4.812 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7217, allocations: 4 kB / 0.7781 GB, free: 4.809 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001084/0.7227, allocations: 323.5 kB / 0.7784 GB, free: 4.492 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.001018/0.7238, allocations: 0.5586 MB / 0.7789 GB, free: 3.93 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.7239, allocations: 37.7 kB / 0.779 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.7239, allocations: 0 / 0.779 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.996e-06/0.7239, allocations: 3.938 kB / 0.779 GB, free: 3.883 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.7243, allocations: 0.5303 MB / 0.7795 GB, free: 3.348 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002014/0.7245, allocations: 147.6 kB / 0.7796 GB, free: 3.18 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.7247, allocations: 0.6807 MB / 0.7803 GB, free: 2.473 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.415e-05/0.7247, allocations: 3.984 kB / 0.7803 GB, free: 2.469 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.212e-05/0.7247, allocations: 11.44 kB / 0.7803 GB, free: 2.457 MB / 0.5573 GB Notification: Performance of SimCode: time 2.2e-07/0.7248, allocations: 0 / 0.7803 GB, free: 2.457 MB / 0.5573 GB Notification: Performance of Templates: time 0.008986/0.7337, allocations: 5.315 MB / 0.7855 GB, free: 13.18 MB / 0.573 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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_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 IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.o IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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_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 IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.o IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c:1039: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.InternalResistancesTwoUTube_functions.o] Error 1