Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.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.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length") [: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.254/2.254, allocations: 253.1 MB / 260.4 MB, free: 7.598 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.001634/0.001633, allocations: 177.3 kB / 319.6 MB, free: 3.328 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.958/1.958, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001289/0.001289, allocations: 98.69 kB / 0.6746 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.987e-06/9.027e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1965, allocations: 106.3 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6958/0.8923, allocations: 135.7 MB / 1.021 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000397/0.8928, allocations: 101.7 kB / 1.021 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01442/0.9072, allocations: 2.703 MB / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.9073, allocations: 0 / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005135/0.9078, allocations: 366 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.9078, allocations: 8.031 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.9079, allocations: 7.906 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.9081, allocations: 159.1 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.9081, allocations: 4 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.9081, allocations: 0 / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002036/0.9083, allocations: 43.14 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.9085, allocations: 57.17 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.9085, allocations: 0 / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.9085, allocations: 10.53 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.9085, allocations: 0 / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.9088, allocations: 145.3 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.9089, allocations: 45.88 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.673e-05/0.909, allocations: 16.73 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.225e-05/0.9091, allocations: 11.98 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.9091, allocations: 30.56 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.9091, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0003831/0.9095, allocations: 80.88 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.9095, allocations: 55.41 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.094e-05/0.9096, allocations: 96 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.9097, allocations: 25.7 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.9097, allocations: 84.14 kB / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.9098, allocations: 23.02 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.9098, allocations: 0 / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.9099, allocations: 321.2 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.152e-05/0.91, allocations: 8 kB / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.061e-05/0.9101, allocations: 15.3 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.9102, allocations: 11 kB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.9102, allocations: 0.9375 kB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000296/0.9105, allocations: 72.47 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.9106, allocations: 4 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.9106, allocations: 11.92 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.9106, allocations: 7.938 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.9108, allocations: 12 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.9108, allocations: 0.7812 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.705e-05/0.9109, allocations: 0 / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.9109, allocations: 7.984 kB / 1.025 GB, free: 14.42 MB / 0.6511 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 (6): * Single equations (assignments): 6 * 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 prepare postOptimizeDAE: time 8.8e-05/0.911, allocations: 104.9 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.9111, allocations: 3.938 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008997/0.912, allocations: 235.7 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.912, allocations: 4 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.912, allocations: 0 / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.912, allocations: 7.922 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.9123, allocations: 160.4 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.9123, allocations: 4 kB / 1.026 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.9125, allocations: 23.98 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/0.9126, allocations: 4 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.9126, allocations: 7.25 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.9126, allocations: 7.906 kB / 1.026 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.9126, allocations: 0 / 1.026 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003976/0.913, allocations: 135.9 kB / 1.026 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.9131, allocations: 88.95 kB / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.9131, allocations: 0.875 kB / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.047e-05/0.9132, allocations: 0 / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.9133, allocations: 7.984 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.9133, allocations: 11.38 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.599e-05/0.9133, allocations: 87.56 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004439/0.9138, allocations: 59.06 kB / 1.026 GB, free: 13.46 MB / 0.6511 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 (16): * Single equations (assignments): 16 * 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.0006709/0.9145, allocations: 204.8 kB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.9147, allocations: 53.73 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.9148, allocations: 4 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.9149, allocations: 42.69 kB / 1.026 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.9151, allocations: 8.672 kB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.9156, allocations: 117.1 kB / 1.026 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004106/0.916, allocations: 0.7145 MB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/0.916, allocations: 3.938 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of Templates: time 0.007183/0.9232, allocations: 1.871 MB / 1.029 GB, free: 10.48 MB / 0.6511 GB