Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003133/0.003134, allocations: 183.7 kB / 7.457 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6512/0.6512, allocations: 130.6 MB / 138.5 MB, free: 2.207 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.409/1.409, allocations: 221.3 MB / 391.4 MB, free: 13.06 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009732/0.0009731, allocations: 97.77 kB / 473.5 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.046e-05/1.049e-05, allocations: 8.688 kB / 0.548 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1809, allocations: 81.57 MB / 0.6276 GB, free: 18.17 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5045/0.6855, allocations: 122.7 MB / 0.7474 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003476/0.6859, allocations: 113.8 kB / 0.7475 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.02177/0.7077, allocations: 7.766 MB / 0.7551 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.7077, allocations: 0 / 0.7551 GB, free: 8.164 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007652/0.7085, allocations: 477.5 kB / 0.7556 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.7085, allocations: 12.69 kB / 0.7556 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.7086, allocations: 12.5 kB / 0.7556 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.7089, allocations: 188.1 kB / 0.7558 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.7089, allocations: 0 / 0.7558 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.7089, allocations: 0 / 0.7558 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.863e-05/0.709, allocations: 26.2 kB / 0.7558 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.98e-05/0.7091, allocations: 56.77 kB / 0.7558 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.7091, allocations: 0 / 0.7558 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.7091, allocations: 0.5 kB / 0.7558 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.7091, allocations: 3.812 kB / 0.7558 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.7094, allocations: 167.4 kB / 0.756 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.319e-05/0.7094, allocations: 52.25 kB / 0.7561 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.293e-05/0.7095, allocations: 38.38 kB / 0.7561 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.7095, allocations: 0 / 0.7561 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.7096, allocations: 34.56 kB / 0.7561 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.7096, allocations: 0 / 0.7561 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0002773/0.7099, allocations: 106.1 kB / 0.7562 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.7099, allocations: 55.44 kB / 0.7563 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.71, allocations: 138.3 kB / 0.7564 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.7101, allocations: 25.7 kB / 0.7564 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.7101, allocations: 87.73 kB / 0.7565 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.7102, allocations: 27.2 kB / 0.7565 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.7102, allocations: 0 / 0.7565 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.7103, allocations: 321.4 kB / 0.7569 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.779e-05/0.7104, allocations: 30.73 kB / 0.7569 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.649e-05/0.7104, allocations: 19.42 kB / 0.7569 GB, free: 22.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.039e-05/0.7105, allocations: 39.42 kB / 0.7569 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.7105, allocations: 1.188 kB / 0.7569 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001664/0.7107, allocations: 94.42 kB / 0.757 GB, free: 22.44 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.7107, allocations: 16.23 kB / 0.757 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.7107, allocations: 1.312 kB / 0.757 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.7108, allocations: 0 / 0.757 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.7108, allocations: 1.031 kB / 0.757 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.7108, allocations: 0 / 0.757 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.789e-05/0.7108, allocations: 9.094 kB / 0.7571 GB, free: 22.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.7108, allocations: 2.656 kB / 0.7571 GB, free: 22.42 MB / 0.5105 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 7.725e-05/0.7109, allocations: 107.3 kB / 0.7572 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.7109, allocations: 7.844 kB / 0.7572 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.7112, allocations: 212.2 kB / 0.7574 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-05/0.7113, allocations: 178.3 kB / 0.7575 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.805e-05/0.7114, allocations: 176.3 kB / 0.7577 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.667e-05/0.7114, allocations: 185.5 kB / 0.7579 GB, free: 21.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.7118, allocations: 427.3 kB / 0.7583 GB, free: 21.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.069e-05/0.7118, allocations: 101 kB / 0.7584 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.7119, allocations: 106.2 kB / 0.7585 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.94e-05/0.712, allocations: 177.6 kB / 0.7587 GB, free: 20.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.113e-05/0.7121, allocations: 177.5 kB / 0.7588 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.834e-05/0.7121, allocations: 188.2 kB / 0.759 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.633e-05/0.7122, allocations: 177.5 kB / 0.7592 GB, free: 20.18 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002184/0.7125, allocations: 313.7 kB / 0.7595 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.7126, allocations: 214.8 kB / 0.7597 GB, free: 19.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.7128, allocations: 181.5 kB / 0.7599 GB, free: 19.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.7129, allocations: 106.2 kB / 0.76 GB, free: 19.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.713, allocations: 185.2 kB / 0.7601 GB, free: 19.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/0.7131, allocations: 104.9 kB / 0.7602 GB, free: 19.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.000288/0.7134, allocations: 259.8 kB / 0.7605 GB, free: 18.97 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009187/0.7143, allocations: 251.8 kB / 0.7607 GB, free: 18.89 MB / 0.5105 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.001226/0.7155, allocations: 443.2 kB / 0.7611 GB, free: 18.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001411/0.7157, allocations: 69.11 kB / 0.7612 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.7157, allocations: 0 / 0.7612 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.639e-06/0.7157, allocations: 3.938 kB / 0.7612 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.7161, allocations: 0.5327 MB / 0.7617 GB, free: 18.06 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.7165, allocations: 192.6 kB / 0.7619 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004494/0.717, allocations: 0.7135 MB / 0.7626 GB, free: 17.18 MB / 0.5105 GB Notification: Performance of SimCode: time 4e-07/0.717, allocations: 0 / 0.7626 GB, free: 17.18 MB / 0.5105 GB Notification: Performance of Templates: time 0.0111/0.7281, allocations: 4.273 MB / 0.7668 GB, free: 15.04 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile clang -fPIC -O0 -falign-functions -march=native -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_MultipoleThermalResistances_OneUTube -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.MultipoleThermalResistances_OneUTube.o IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.c clang -fPIC -O0 -falign-functions -march=native -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_MultipoleThermalResistances_OneUTube -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.MultipoleThermalResistances_OneUTube_functions.o IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c:620: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.MultipoleThermalResistances_OneUTube_functions.o] Error 1