Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) [: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/Buildings 7.0.1/package.mo): time 2.248/2.248, allocations: 248.6 MB / 255.9 MB, free: 328 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00165/0.00165, allocations: 179.4 kB / 315.1 MB, free: 7.73 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.352/2.352, allocations: 205.1 MB / 0.5658 GB, free: 25.4 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001218/0.001218, allocations: 87.33 kB / 0.67 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2726/0.2739, allocations: 112.4 MB / 0.7798 GB, free: 2.367 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.481/0.7549, allocations: 106.2 MB / 0.8835 GB, free: 77.22 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2156/0.9705, allocations: 136 MB / 1.016 GB, free: 5.023 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004035/0.9709, allocations: 103.9 kB / 1.016 GB, free: 4.922 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.04204/1.013, allocations: 9.528 MB / 1.026 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/1.013, allocations: 12 kB / 1.026 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.33e-05/1.013, allocations: 15.81 kB / 1.026 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/1.013, allocations: 193.2 kB / 1.026 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/1.013, allocations: 11.91 kB / 1.026 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.437e-05/1.013, allocations: 8 kB / 1.026 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007891/1.021, allocations: 2.536 MB / 1.028 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009563/1.022, allocations: 321.3 kB / 1.029 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/1.022, allocations: 3.984 kB / 1.029 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.115e-05/1.022, allocations: 4 kB / 1.029 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/1.023, allocations: 4 kB / 1.029 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009297/1.023, allocations: 357.6 kB / 1.029 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/1.025, allocations: 0.5029 MB / 1.03 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000674/1.026, allocations: 232.7 kB / 1.03 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002661/1.028, allocations: 1.455 MB / 1.031 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/1.028, allocations: 38.56 kB / 1.031 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 2.354e-06/1.028, allocations: 0 / 1.031 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43): time 0.003085/1.031, allocations: 0.6113 MB / 1.032 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/1.031, allocations: 59.36 kB / 1.032 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/1.032, allocations: 125.3 kB / 1.032 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.673e-05/1.032, allocations: 25.7 kB / 1.032 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/1.032, allocations: 88.92 kB / 1.032 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/1.032, allocations: 145.9 kB / 1.032 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/1.032, allocations: 0 / 1.032 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.032, allocations: 334.8 kB / 1.033 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006554/1.033, allocations: 207.8 kB / 1.033 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006344/1.034, allocations: 212.2 kB / 1.033 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/1.035, allocations: 316.4 kB / 1.033 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.035, allocations: 0 / 1.033 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002883/1.038, allocations: 0.618 MB / 1.034 GB, free: 2.508 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/1.038, allocations: 4 kB / 1.034 GB, free: 2.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.038, allocations: 4 kB / 1.034 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/1.038, allocations: 0 / 1.034 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006491/1.039, allocations: 95.89 kB / 1.034 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/1.039, allocations: 7.875 kB / 1.034 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/1.039, allocations: 19.69 kB / 1.034 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.975e-05/1.039, allocations: 27.98 kB / 1.034 GB, free: 2.352 MB / 0.6823 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 (43): * Single equations (assignments): 43 * 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 0.000168/1.04, allocations: 108.9 kB / 1.034 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.763e-05/1.04, allocations: 19.72 kB / 1.034 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004473/1.044, allocations: 1.019 MB / 1.035 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/1.044, allocations: 4 kB / 1.035 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.044, allocations: 0 / 1.035 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/1.044, allocations: 3.984 kB / 1.035 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008722/1.045, allocations: 365.7 kB / 1.036 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/1.045, allocations: 0 / 1.036 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006273/1.046, allocations: 99.89 kB / 1.036 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.467e-06/1.046, allocations: 4 kB / 1.036 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.272e-05/1.046, allocations: 16 kB / 1.036 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/1.046, allocations: 0 / 1.036 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.046, allocations: 0 / 1.036 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002839/1.049, allocations: 0.6661 MB / 1.036 GB, free: 36 kB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.3301/1.379, allocations: 1.043 MB / 1.037 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.271e-05/1.379, allocations: 102.7 kB / 1.037 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/1.379, allocations: 3.75 kB / 1.037 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/1.379, allocations: 0 / 1.037 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/1.38, allocations: 34.2 kB / 1.037 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/1.38, allocations: 22.62 kB / 1.037 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001113/1.38, allocations: 108.6 kB / 1.038 GB, free: 208.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002766/1.383, allocations: 204.1 kB / 1.038 GB, free: 208.5 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 (44): * Single equations (assignments): 44 * 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.001386/1.384, allocations: 295.8 kB / 1.038 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001815/1.386, allocations: 0.5027 MB / 1.039 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/1.386, allocations: 0 / 1.039 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009333/1.387, allocations: 290.1 kB / 1.039 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005174/1.387, allocations: 29.2 kB / 1.039 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/1.389, allocations: 0.4896 MB / 1.039 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008834/1.39, allocations: 0.8314 MB / 1.04 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.974e-06/1.39, allocations: 3.906 kB / 1.04 GB, free: 207.6 MB / 0.6823 GB