Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.084/2.084, allocations: 248.6 MB / 255.9 MB, free: 7.156 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00164/0.00164, allocations: 193.2 kB / 315.1 MB, free: 4.266 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.2/2.2, allocations: 205.1 MB / 0.5658 GB, free: 324 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 83.33 kB / 0.67 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4843/0.4856, allocations: 112.4 MB / 0.7798 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.7135, allocations: 106.2 MB / 0.8835 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6839/1.397, allocations: 136.2 MB / 1.017 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004281/1.398, allocations: 109.1 kB / 1.017 GB, free: 3.91 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.03109/1.429, allocations: 5.918 MB / 1.022 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/1.429, allocations: 12 kB / 1.022 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/1.429, allocations: 0 / 1.022 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/1.429, allocations: 175.5 kB / 1.023 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/1.429, allocations: 1.031 kB / 1.023 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/1.429, allocations: 0 / 1.023 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001014/1.429, allocations: 11.94 kB / 1.023 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.18e-05/1.43, allocations: 45.61 kB / 1.023 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/1.43, allocations: 4 kB / 1.023 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/1.43, allocations: 0 / 1.023 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/1.43, allocations: 7.844 kB / 1.023 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/1.43, allocations: 137.9 kB / 1.023 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/1.43, allocations: 33.77 kB / 1.023 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.859e-05/1.43, allocations: 20.12 kB / 1.023 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/1.431, allocations: 0.9769 MB / 1.024 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/1.431, allocations: 34.5 kB / 1.024 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 2.124e-06/1.431, allocations: 4 kB / 1.024 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0003026/1.432, allocations: 56.41 kB / 1.024 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/1.432, allocations: 51.41 kB / 1.024 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.975e-05/1.432, allocations: 104.2 kB / 1.024 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/1.432, allocations: 25.7 kB / 1.024 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/1.432, allocations: 80.14 kB / 1.024 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/1.432, allocations: 15.31 kB / 1.024 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/1.432, allocations: 0 / 1.024 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.432, allocations: 314.8 kB / 1.024 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/1.432, allocations: 11.19 kB / 1.024 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.488e-05/1.432, allocations: 4 kB / 1.024 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/1.432, allocations: 11.98 kB / 1.024 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.432, allocations: 0 / 1.024 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001694/1.433, allocations: 57.03 kB / 1.025 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.433, allocations: 8 kB / 1.025 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/1.433, allocations: 0 / 1.025 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/1.433, allocations: 0 / 1.025 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/1.433, allocations: 12 kB / 1.025 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/1.433, allocations: 0 / 1.025 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.092e-05/1.433, allocations: 4 kB / 1.025 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/1.433, allocations: 3.984 kB / 1.025 GB, free: 12.34 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 (4): * Single equations (assignments): 4 * 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.146e-05/1.433, allocations: 105 kB / 1.025 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/1.433, allocations: 3.906 kB / 1.025 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/1.433, allocations: 65.48 kB / 1.025 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.433, allocations: 0 / 1.025 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.433, allocations: 0 / 1.025 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/1.433, allocations: 0 / 1.025 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/1.433, allocations: 149.3 kB / 1.025 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.433, allocations: 0 / 1.025 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/1.434, allocations: 12 kB / 1.025 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/1.434, allocations: 3.938 kB / 1.025 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/1.434, allocations: 3.984 kB / 1.025 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/1.434, allocations: 0 / 1.025 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.434, allocations: 8 kB / 1.025 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001775/1.434, allocations: 77.44 kB / 1.025 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00037/1.434, allocations: 471.4 kB / 1.025 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/1.434, allocations: 88.95 kB / 1.025 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/1.434, allocations: 0 / 1.025 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.763e-05/1.434, allocations: 0 / 1.025 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/1.434, allocations: 0 / 1.025 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/1.434, allocations: 0 / 1.025 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.132e-05/1.434, allocations: 90.41 kB / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001175/1.436, allocations: 47.92 kB / 1.026 GB, free: 11.15 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 (4): * Single equations (assignments): 4 * 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.0003558/1.436, allocations: 153 kB / 1.026 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001206/1.436, allocations: 19.31 kB / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.436, allocations: 0 / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.532e-05/1.436, allocations: 15.44 kB / 1.026 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/1.436, allocations: 7.891 kB / 1.026 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/1.437, allocations: 67.42 kB / 1.026 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/1.437, allocations: 0.6915 MB / 1.027 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of SimCode: time 8.22e-07/1.437, allocations: 0 / 1.027 GB, free: 10.16 MB / 0.6511 GB