Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.07/2.07, allocations: 253.1 MB / 260.4 MB, free: 7.477 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001662/0.001662, allocations: 185.2 kB / 319.6 MB, free: 3.324 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001272/0.001271, allocations: 100.4 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.291e-05/1.309e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.1996, allocations: 106.3 MB / 0.8881 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6452/0.8449, allocations: 152.3 MB / 1.037 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000462/0.8454, allocations: 113.8 kB / 1.037 GB, free: 2.062 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.07361/0.919, allocations: 14.4 MB / 1.051 GB, free: 5.863 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.9191, allocations: 0 / 1.051 GB, free: 5.863 MB / 0.6667 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.001339/0.9205, allocations: 0.5515 MB / 1.052 GB, free: 5.273 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.9205, allocations: 8.031 kB / 1.052 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.623e-05/0.9206, allocations: 90.75 kB / 1.052 GB, free: 5.18 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.9208, allocations: 246.2 kB / 1.052 GB, free: 4.898 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.841e-05/0.9209, allocations: 154.6 kB / 1.052 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.598e-05/0.921, allocations: 150.6 kB / 1.052 GB, free: 4.598 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.445e-05/0.9211, allocations: 150.6 kB / 1.052 GB, free: 4.449 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.9213, allocations: 105 kB / 1.052 GB, free: 4.34 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.753e-05/0.9213, allocations: 83.22 kB / 1.053 GB, free: 4.258 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.399e-05/0.9214, allocations: 154.6 kB / 1.053 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-05/0.9215, allocations: 150.6 kB / 1.053 GB, free: 3.957 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.9218, allocations: 445.3 kB / 1.053 GB, free: 3.492 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 8.862e-05/0.9219, allocations: 169 kB / 1.053 GB, free: 3.32 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.082e-05/0.922, allocations: 84.14 kB / 1.053 GB, free: 3.234 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.922, allocations: 75.28 kB / 1.054 GB, free: 3.16 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.272e-05/0.9221, allocations: 105.8 kB / 1.054 GB, free: 3.047 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 4.629e-06/0.9221, allocations: 0.9375 kB / 1.054 GB, free: 3.047 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 9.586e-05/0.9222, allocations: 37.55 kB / 1.054 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.9222, allocations: 51.41 kB / 1.054 GB, free: 2.941 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.9224, allocations: 114.3 kB / 1.054 GB, free: 2.828 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.9224, allocations: 29.7 kB / 1.054 GB, free: 2.793 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.9225, allocations: 91.88 kB / 1.054 GB, free: 2.703 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.9225, allocations: 0 / 1.054 GB, free: 2.703 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.9225, allocations: 0 / 1.054 GB, free: 2.703 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.9226, allocations: 317.8 kB / 1.054 GB, free: 2.387 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.493e-05/0.9227, allocations: 4 kB / 1.054 GB, free: 2.383 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/0.9227, allocations: 11.56 kB / 1.054 GB, free: 2.375 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.928e-05/0.9228, allocations: 12.02 kB / 1.054 GB, free: 2.363 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.9228, allocations: 0 / 1.054 GB, free: 2.363 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001925/0.923, allocations: 61.02 kB / 1.054 GB, free: 2.301 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.9231, allocations: 4 kB / 1.054 GB, free: 2.297 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.588e-05/0.9231, allocations: 4 kB / 1.054 GB, free: 2.293 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.9231, allocations: 0 / 1.054 GB, free: 2.293 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.328e-06/0.9231, allocations: 3.984 kB / 1.054 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.9232, allocations: 0 / 1.054 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.751e-05/0.9232, allocations: 0 / 1.054 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.9232, allocations: 4 kB / 1.054 GB, free: 2.285 MB / 0.6667 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.0001134/0.9233, allocations: 184.1 kB / 1.055 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-05/0.9234, allocations: 109 kB / 1.055 GB, free: 1.984 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.3e-05/0.9235, allocations: 108.5 kB / 1.055 GB, free: 1.863 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.934e-05/0.9236, allocations: 184.2 kB / 1.055 GB, free: 1.676 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-05/0.9237, allocations: 180.3 kB / 1.055 GB, free: 1.492 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-05/0.9237, allocations: 179.3 kB / 1.055 GB, free: 1.312 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.924, allocations: 392.5 kB / 1.056 GB, free: 0.8867 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.823e-05/0.9241, allocations: 108.9 kB / 1.056 GB, free: 0.7773 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.9241, allocations: 101 kB / 1.056 GB, free: 0.6719 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.571e-05/0.9242, allocations: 184.2 kB / 1.056 GB, free: 496 kB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001248/0.9243, allocations: 176.3 kB / 1.056 GB, free: 312 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.522e-05/0.9244, allocations: 188.3 kB / 1.056 GB, free: 116 kB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.192e-05/0.9245, allocations: 184.2 kB / 1.057 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001621/0.9247, allocations: 314.8 kB / 1.057 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.126e-05/0.9248, allocations: 182.1 kB / 1.057 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.685e-05/0.9249, allocations: 176.9 kB / 1.057 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.925, allocations: 108.9 kB / 1.057 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.9251, allocations: 184.2 kB / 1.057 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.9251, allocations: 101 kB / 1.058 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.007e-05/0.9252, allocations: 94.47 kB / 1.058 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001465/0.9267, allocations: 321.7 kB / 1.058 GB, free: 14.42 MB / 0.6823 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.001862/0.9286, allocations: 0.568 MB / 1.059 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.9288, allocations: 40.88 kB / 1.059 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.9288, allocations: 0 / 1.059 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.306e-06/0.9288, allocations: 0 / 1.059 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.9293, allocations: 0.5295 MB / 1.059 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.9296, allocations: 146.6 kB / 1.059 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.9299, allocations: 0.6919 MB / 1.06 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of SimCode: time 7.71e-07/0.9299, allocations: 0 / 1.06 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.01506/0.9449, allocations: 5.517 MB / 1.065 GB, free: 6.949 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile b'clang -fPIC -O0 -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_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 Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.c\nclang -fPIC -O0 -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_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 Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c\nBuildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c:857:59: error: cannot take the address of an rvalue of type \'real_array_t\' (aka \'struct base_array_s\')\n copy_real_array_data(add_alloc_scalar_real_array(_TBor, &mul_alloc_real_matrix_product_smart(_R0, _QPip_flow)), &_TFlu);\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n1 error generated.\n: recipe for target \'Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o\' failed\nmake: *** [Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o] Error 1\n'