Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [: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.084/2.084, allocations: 253.1 MB / 260.4 MB, free: 11.8 MB / 211.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002361/0.002361, allocations: 181.1 kB / 319.6 MB, free: 2.289 MB / 243.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.871/1.871, allocations: 205.4 MB / 0.5704 GB, free: 8.344 MB / 435.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001308/0.001308, allocations: 97.45 kB / 0.6746 GB, free: 21.84 MB / 467.1 MB Notification: Performance of FrontEnd - loaded program: time 1.172e-05/1.188e-05, allocations: 4 kB / 0.7843 GB, free: 5.434 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5579/0.5579, allocations: 106.2 MB / 0.8881 GB, free: 64.51 MB / 0.5968 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2355/0.7935, allocations: 130.9 MB / 1.016 GB, free: 9.402 MB / 0.6593 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/0.7939, allocations: 83.94 kB / 1.016 GB, free: 9.32 MB / 0.6593 GB Notification: Performance of FrontEnd: time 0.01759/0.8115, allocations: 3.431 MB / 1.019 GB, free: 5.891 MB / 0.6593 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.8116, allocations: 4 kB / 1.019 GB, free: 5.887 MB / 0.6593 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003604/0.8119, allocations: 347.2 kB / 1.02 GB, free: 5.5 MB / 0.6593 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.812, allocations: 8.031 kB / 1.02 GB, free: 5.492 MB / 0.6593 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.8121, allocations: 7.906 kB / 1.02 GB, free: 5.484 MB / 0.6593 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.8122, allocations: 159.1 kB / 1.02 GB, free: 5.289 MB / 0.6593 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.8123, allocations: 4 kB / 1.02 GB, free: 5.285 MB / 0.6593 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.8123, allocations: 4 kB / 1.02 GB, free: 5.281 MB / 0.6593 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.278e-05/0.8124, allocations: 8 kB / 1.02 GB, free: 5.273 MB / 0.6593 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.8125, allocations: 49.67 kB / 1.02 GB, free: 5.219 MB / 0.6593 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.8125, allocations: 4 kB / 1.02 GB, free: 5.215 MB / 0.6593 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.8126, allocations: 7.906 kB / 1.02 GB, free: 5.207 MB / 0.6593 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.8126, allocations: 0 / 1.02 GB, free: 5.207 MB / 0.6593 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.8127, allocations: 130.2 kB / 1.02 GB, free: 5.043 MB / 0.6593 GB Notification: Performance of preOpt comSubExp (simulation): time 9e-05/0.8128, allocations: 34.53 kB / 1.02 GB, free: 5 MB / 0.6593 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.702e-05/0.8129, allocations: 20.86 kB / 1.02 GB, free: 4.977 MB / 0.6593 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.813, allocations: 0 / 1.02 GB, free: 4.977 MB / 0.6593 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.813, allocations: 34.56 kB / 1.02 GB, free: 4.934 MB / 0.6593 GB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/0.813, allocations: 4 kB / 1.02 GB, free: 4.93 MB / 0.6593 GB Notification: Performance of matching and sorting (n=1): time 0.0002499/0.8133, allocations: 49.69 kB / 1.02 GB, free: 4.875 MB / 0.6593 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.8134, allocations: 85.05 kB / 1.02 GB, free: 4.773 MB / 0.6593 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.045e-05/0.8135, allocations: 96.89 kB / 1.02 GB, free: 4.672 MB / 0.6593 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.8135, allocations: 29.7 kB / 1.02 GB, free: 4.637 MB / 0.6593 GB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.8135, allocations: 80.14 kB / 1.02 GB, free: 4.555 MB / 0.6593 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.8136, allocations: 4.094 kB / 1.02 GB, free: 4.551 MB / 0.6593 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/0.8136, allocations: 8 kB / 1.02 GB, free: 4.543 MB / 0.6593 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.8137, allocations: 310.8 kB / 1.021 GB, free: 4.23 MB / 0.6593 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.313e-05/0.8138, allocations: 11.94 kB / 1.021 GB, free: 4.219 MB / 0.6593 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.878e-05/0.8138, allocations: 8 kB / 1.021 GB, free: 4.211 MB / 0.6593 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.701e-05/0.8139, allocations: 7.984 kB / 1.021 GB, free: 4.203 MB / 0.6593 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8139, allocations: 0 / 1.021 GB, free: 4.203 MB / 0.6593 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001704/0.8141, allocations: 61.59 kB / 1.021 GB, free: 4.137 MB / 0.6593 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.8141, allocations: 4 kB / 1.021 GB, free: 4.133 MB / 0.6593 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.8141, allocations: 4.094 kB / 1.021 GB, free: 4.129 MB / 0.6593 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.8142, allocations: 0 / 1.021 GB, free: 4.129 MB / 0.6593 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/0.8142, allocations: 0 / 1.021 GB, free: 4.129 MB / 0.6593 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.8142, allocations: 0 / 1.021 GB, free: 4.129 MB / 0.6593 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.8144, allocations: 11.98 kB / 1.021 GB, free: 4.117 MB / 0.6593 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.8145, allocations: 0 / 1.021 GB, free: 4.117 MB / 0.6593 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: 1 * 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 prepare postOptimizeDAE: time 0.0001288/0.8146, allocations: 134.7 kB / 1.021 GB, free: 3.973 MB / 0.6593 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.8146, allocations: 3.906 kB / 1.021 GB, free: 3.969 MB / 0.6593 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.767e-05/0.8147, allocations: 11.11 kB / 1.021 GB, free: 3.961 MB / 0.6593 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.8147, allocations: 4 kB / 1.021 GB, free: 3.957 MB / 0.6593 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8147, allocations: 0 / 1.021 GB, free: 3.957 MB / 0.6593 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.8147, allocations: 3.984 kB / 1.021 GB, free: 3.953 MB / 0.6593 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.8148, allocations: 134.2 kB / 1.021 GB, free: 3.785 MB / 0.6593 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.8148, allocations: 0 / 1.021 GB, free: 3.785 MB / 0.6593 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.113e-06/0.8149, allocations: 0 / 1.021 GB, free: 3.785 MB / 0.6593 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.8149, allocations: 3.906 kB / 1.021 GB, free: 3.781 MB / 0.6593 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.8149, allocations: 7.938 kB / 1.021 GB, free: 3.773 MB / 0.6593 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.8149, allocations: 4 kB / 1.021 GB, free: 3.77 MB / 0.6593 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8149, allocations: 0 / 1.021 GB, free: 3.77 MB / 0.6593 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002557/0.8152, allocations: 85.11 kB / 1.021 GB, free: 3.668 MB / 0.6593 GB Notification: Performance of postOpt removeConstants (simulation): time 5.343e-05/0.8152, allocations: 85.02 kB / 1.021 GB, free: 3.566 MB / 0.6593 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.8153, allocations: 0 / 1.021 GB, free: 3.566 MB / 0.6593 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.8155, allocations: 4 kB / 1.021 GB, free: 3.562 MB / 0.6593 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.8155, allocations: 11.92 kB / 1.021 GB, free: 3.551 MB / 0.6593 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.8156, allocations: 7.938 kB / 1.021 GB, free: 3.543 MB / 0.6593 GB Notification: Performance of sort global known variables: time 4.898e-05/0.8156, allocations: 83.81 kB / 1.021 GB, free: 3.461 MB / 0.6593 GB Notification: Performance of remove unused functions: time 0.0002799/0.8159, allocations: 16 kB / 1.021 GB, free: 3.445 MB / 0.6593 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002959/0.8162, allocations: 112.8 kB / 1.021 GB, free: 3.328 MB / 0.6593 GB Notification: Performance of simCode: created initialization part: time 0.0001695/0.8164, allocations: 53.62 kB / 1.022 GB, free: 3.27 MB / 0.6593 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8164, allocations: 160 / 1.022 GB, free: 3.27 MB / 0.6593 GB Notification: Performance of simCode: created simulation system equations: time 7.155e-05/0.8165, allocations: 41.7 kB / 1.022 GB, free: 3.223 MB / 0.6593 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.8166, allocations: 4 kB / 1.022 GB, free: 3.219 MB / 0.6593 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007994/0.8175, allocations: 152 kB / 1.022 GB, free: 3.047 MB / 0.6593 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003127/0.8178, allocations: 0.684 MB / 1.022 GB, free: 2.336 MB / 0.6593 GB Notification: Performance of SimCode: time 9.52e-07/0.8178, allocations: 3.938 kB / 1.022 GB, free: 2.332 MB / 0.6593 GB Notification: Performance of Templates: time 0.004448/0.8223, allocations: 0.9754 MB / 1.023 GB, free: 1.395 MB / 0.6593 GB