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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand") [: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.064/2.064, allocations: 253.1 MB / 260.4 MB, free: 7.613 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.001595/0.001595, allocations: 189 kB / 319.6 MB, free: 3.316 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 2.044/2.044, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.0015/0.0015, allocations: 87.45 kB / 0.6746 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.142e-05/1.155e-05, allocations: 8 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.272, allocations: 106.2 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6298/0.9019, allocations: 134.3 MB / 1.019 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003956/0.9023, allocations: 104.1 kB / 1.019 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01172/0.9141, allocations: 2.132 MB / 1.021 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.9141, allocations: 4 kB / 1.021 GB, free: 2.145 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004105/0.9146, allocations: 350 kB / 1.022 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.9146, allocations: 8.781 kB / 1.022 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.9147, allocations: 0 / 1.022 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.9148, allocations: 171 kB / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.9149, allocations: 0 / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.9149, allocations: 0 / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001039/0.915, allocations: 4 kB / 1.022 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.148e-05/0.9151, allocations: 33.7 kB / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.9151, allocations: 3.938 kB / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.9151, allocations: 6.625 kB / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.9151, allocations: 0 / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.9153, allocations: 134 kB / 1.022 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.211e-05/0.9154, allocations: 18.61 kB / 1.022 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.919e-05/0.9155, allocations: 19.89 kB / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006842/0.9161, allocations: 124.4 kB / 1.022 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.9162, allocations: 38.55 kB / 1.022 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 4.449e-06/0.9162, allocations: 0 / 1.022 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001846/0.9164, allocations: 37.53 kB / 1.022 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.9165, allocations: 55.34 kB / 1.022 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.735e-05/0.9166, allocations: 96.62 kB / 1.022 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.9166, allocations: 25.7 kB / 1.022 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.9166, allocations: 80.14 kB / 1.023 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.9167, allocations: 11.33 kB / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.9167, allocations: 4.031 kB / 1.023 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.9168, allocations: 310.8 kB / 1.023 GB, free: 472 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.9169, allocations: 4 kB / 1.023 GB, free: 468 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.534e-05/0.9169, allocations: 4 kB / 1.023 GB, free: 464 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.151e-05/0.9169, allocations: 3.312 kB / 1.023 GB, free: 464 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.917, allocations: 0 / 1.023 GB, free: 464 kB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001164/0.9171, allocations: 45.59 kB / 1.023 GB, free: 412 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.9171, allocations: 4 kB / 1.023 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.9171, allocations: 4.094 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.9171, allocations: 0 / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.916e-05/0.9172, allocations: 4 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.9172, allocations: 0 / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.231e-05/0.9173, allocations: 0 / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.9173, allocations: 4 kB / 1.023 GB, free: 396 kB / 0.6355 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 (2): * Single equations (assignments): 2 * 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.291e-05/0.9174, allocations: 108.8 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.9174, allocations: 0 / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.9176, allocations: 55.88 kB / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.9176, allocations: 4.031 kB / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.9176, allocations: 0 / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.9176, allocations: 0 / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.9177, allocations: 137.3 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.9178, allocations: 0.875 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.705e-05/0.9178, allocations: 4 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.9178, allocations: 0 / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.9178, allocations: 4 kB / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.9178, allocations: 0 / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.9178, allocations: 3.984 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001895/0.918, allocations: 73.27 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.9181, allocations: 87.67 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.9181, allocations: 0 / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.73e-05/0.9182, allocations: 0 / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.9182, allocations: 3.906 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.9182, allocations: 4 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.808e-05/0.9183, allocations: 83.47 kB / 1.023 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004172/0.9187, allocations: 55.44 kB / 1.024 GB, free: 15.71 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 (2): * Single equations (assignments): 2 * 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.000643/0.9193, allocations: 195.1 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.667e-05/0.9195, allocations: 13.94 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.9195, allocations: 0 / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.103e-05/0.9195, allocations: 7.938 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.9197, allocations: 8.125 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002462/0.92, allocations: 63.53 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.9203, allocations: 0.6841 MB / 1.024 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of SimCode: time 1.112e-06/0.9203, allocations: 4 kB / 1.024 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of Templates: time 0.005406/0.9258, allocations: 1.254 MB / 1.026 GB, free: 13.5 MB / 0.6511 GB