Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.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.Validation.Cylindrical,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",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.185/2.185, 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.001621/0.001621, allocations: 184.2 kB / 315.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.908/1.908, allocations: 205.1 MB / 0.5658 GB, free: 376 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.001219/0.001219, allocations: 89.5 kB / 0.67 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4463/0.4476, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.6434, allocations: 106.3 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6742/1.318, allocations: 139.8 MB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003584/1.318, allocations: 98.11 kB / 1.02 GB, free: 320 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.09754/1.416, allocations: 16.51 MB / 1.036 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/1.416, allocations: 8 kB / 1.036 GB, free: 2.199 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004349/1.416, allocations: 47.44 kB / 1.036 GB, free: 2.152 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/1.417, allocations: 365.3 kB / 1.037 GB, free: 1.797 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/1.417, allocations: 7.984 kB / 1.037 GB, free: 1.789 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/1.418, allocations: 24 kB / 1.037 GB, free: 1.766 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005321/1.418, allocations: 162 kB / 1.037 GB, free: 1.652 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005183/1.419, allocations: 183 kB / 1.037 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/1.419, allocations: 0 / 1.037 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/1.419, allocations: 4 kB / 1.037 GB, free: 1.504 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/1.419, allocations: 7.906 kB / 1.037 GB, free: 1.496 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/1.421, allocations: 0.9494 MB / 1.038 GB, free: 0.6992 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007331/1.422, allocations: 296.1 kB / 1.038 GB, free: 480 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/1.423, allocations: 132.5 kB / 1.038 GB, free: 384 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/1.423, allocations: 0 / 1.038 GB, free: 384 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/1.423, allocations: 46.48 kB / 1.038 GB, free: 332 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=24): time 2.695e-06/1.423, allocations: 0 / 1.038 GB, free: 332 kB / 0.6511 GB Notification: Performance of matching and sorting (n=24): time 0.001237/1.424, allocations: 330.9 kB / 1.039 GB, free: 56 kB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/1.424, allocations: 59.34 kB / 1.039 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005757/1.425, allocations: 332 kB / 1.039 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001824/1.425, allocations: 29.69 kB / 1.039 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/1.425, allocations: 133.3 kB / 1.039 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/1.425, allocations: 89.34 kB / 1.039 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.911e-05/1.425, allocations: 0 / 1.039 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001817/1.425, allocations: 352 kB / 1.04 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/1.426, allocations: 333.3 kB / 1.04 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/1.427, allocations: 398.7 kB / 1.04 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/1.429, allocations: 374.7 kB / 1.041 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.429, allocations: 0 / 1.041 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002879/1.432, allocations: 0.8709 MB / 1.042 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/1.432, allocations: 7.906 kB / 1.042 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/1.432, allocations: 4 kB / 1.042 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002285/1.432, allocations: 30.59 kB / 1.042 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/1.434, allocations: 145.7 kB / 1.042 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/1.436, allocations: 1.29 MB / 1.043 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003488/1.439, allocations: 83.41 kB / 1.043 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/1.44, allocations: 31.16 kB / 1.043 GB, free: 12.11 MB / 0.6667 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 (76): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002124/1.44, allocations: 112.9 kB / 1.043 GB, free: 12 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/1.44, allocations: 31.53 kB / 1.043 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/1.44, allocations: 37.22 kB / 1.043 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/1.44, allocations: 4 kB / 1.043 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.44, allocations: 3.938 kB / 1.043 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.44, allocations: 0 / 1.043 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008452/1.441, allocations: 485.1 kB / 1.044 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/1.441, allocations: 0 / 1.044 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006321/1.442, allocations: 43.91 kB / 1.044 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001811/1.442, allocations: 27.34 kB / 1.044 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.864e-05/1.442, allocations: 11.98 kB / 1.044 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/1.443, allocations: 1.28 MB / 1.045 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.443, allocations: 3.906 kB / 1.045 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00142/1.445, allocations: 0.5818 MB / 1.046 GB, free: 9.586 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001871/1.447, allocations: 1.117 MB / 1.047 GB, free: 8.617 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/1.447, allocations: 120 kB / 1.047 GB, free: 8.488 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/1.447, allocations: 8 kB / 1.047 GB, free: 8.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/1.449, allocations: 23.84 kB / 1.047 GB, free: 8.457 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.503e-05/1.449, allocations: 15.78 kB / 1.047 GB, free: 8.445 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/1.449, allocations: 11.91 kB / 1.047 GB, free: 8.434 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0004004/1.449, allocations: 238.2 kB / 1.047 GB, free: 8.25 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002364/1.452, allocations: 270.2 kB / 1.047 GB, free: 7.992 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005394/1.452, allocations: 245.4 kB / 1.048 GB, free: 7.75 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002065/1.454, allocations: 0.6928 MB / 1.048 GB, free: 7.207 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/1.454, allocations: 0 / 1.048 GB, free: 7.207 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005389/1.455, allocations: 255.6 kB / 1.049 GB, free: 6.984 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008317/1.456, allocations: 77.88 kB / 1.049 GB, free: 6.922 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/1.459, allocations: 1.181 MB / 1.05 GB, free: 5.789 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/1.46, allocations: 0.8868 MB / 1.051 GB, free: 4.887 MB / 0.6667 GB Notification: Performance of SimCode: time 1.533e-06/1.46, allocations: 0 / 1.051 GB, free: 4.887 MB / 0.6667 GB