Running: ./testmodel.py --libraries=/var/lib/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 (/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.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [: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.049/2.049, allocations: 253.1 MB / 260.4 MB, free: 7.512 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.001637/0.001637, allocations: 188.4 kB / 319.6 MB, free: 3.32 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.836/1.836, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001247/0.001246, allocations: 86.91 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.057e-06/9.157e-06, allocations: 0 / 0.7844 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2025, allocations: 106.2 MB / 0.8881 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6215/0.824, allocations: 136.2 MB / 1.021 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004/0.8245, allocations: 107.7 kB / 1.021 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02948/0.854, allocations: 5.53 MB / 1.027 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.8541, allocations: 0 / 1.027 GB, free: 13.49 MB / 0.6511 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.0005876/0.8547, allocations: 397.6 kB / 1.027 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.8547, allocations: 8.031 kB / 1.027 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.8548, allocations: 4 kB / 1.027 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.8549, allocations: 163 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.8549, allocations: 4 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.855, allocations: 3.984 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.091e-05/0.8551, allocations: 19.06 kB / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.685e-05/0.8552, allocations: 37.62 kB / 1.027 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.8552, allocations: 0 / 1.027 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.8552, allocations: 0 / 1.027 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.8552, allocations: 7.906 kB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.8554, allocations: 137.5 kB / 1.027 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.8555, allocations: 38.55 kB / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.578e-05/0.8556, allocations: 15.95 kB / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/0.8568, allocations: 0.9778 MB / 1.028 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.8569, allocations: 38.55 kB / 1.028 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 4.479e-06/0.8569, allocations: 0 / 1.028 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0002797/0.8572, allocations: 57.47 kB / 1.028 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.8572, allocations: 51.41 kB / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.535e-05/0.8573, allocations: 93 kB / 1.029 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.8574, allocations: 25.7 kB / 1.029 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.8574, allocations: 84.02 kB / 1.029 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.8575, allocations: 15.8 kB / 1.029 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.8575, allocations: 4 kB / 1.029 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.8576, allocations: 313.5 kB / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/0.8576, allocations: 4 kB / 1.029 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-05/0.8577, allocations: 7.812 kB / 1.029 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.666e-05/0.8578, allocations: 11.98 kB / 1.029 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.8578, allocations: 1.031 kB / 1.029 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001675/0.858, allocations: 57.34 kB / 1.029 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.858, allocations: 6.5 kB / 1.029 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.858, allocations: 320 / 1.029 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.858, allocations: 8 kB / 1.029 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.8582, allocations: 15.98 kB / 1.029 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.8582, allocations: 4 kB / 1.029 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.278e-05/0.8583, allocations: 0 / 1.029 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.8583, allocations: 3.984 kB / 1.029 GB, free: 10.52 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 7.866e-05/0.8584, allocations: 102.7 kB / 1.029 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.8584, allocations: 7.906 kB / 1.029 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.8587, allocations: 68.3 kB / 1.029 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.8587, allocations: 0 / 1.029 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.8587, allocations: 4 kB / 1.029 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.8587, allocations: 3.938 kB / 1.029 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.8589, allocations: 142.3 kB / 1.029 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.8589, allocations: 0 / 1.029 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.859, allocations: 15.98 kB / 1.029 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.859, allocations: 0 / 1.029 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.8591, allocations: 3.984 kB / 1.029 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.8591, allocations: 0 / 1.029 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.8591, allocations: 0 / 1.029 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001803/0.8593, allocations: 84.66 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.8593, allocations: 88.94 kB / 1.03 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.8594, allocations: 0 / 1.03 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.686e-05/0.8594, allocations: 0 / 1.03 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.8594, allocations: 4 kB / 1.03 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.8595, allocations: 0 / 1.03 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.706e-05/0.8595, allocations: 83.16 kB / 1.03 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004/0.8599, allocations: 47.92 kB / 1.03 GB, free: 9.809 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.000347/0.8603, allocations: 163.1 kB / 1.03 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001105/0.8604, allocations: 15.44 kB / 1.03 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.8604, allocations: 0 / 1.03 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.384e-05/0.8605, allocations: 8 kB / 1.03 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.8607, allocations: 6.875 kB / 1.03 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002941/0.861, allocations: 71.34 kB / 1.03 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/0.8613, allocations: 0.6915 MB / 1.031 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of SimCode: time 6.51e-07/0.8613, allocations: 4 kB / 1.031 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of Templates: time 0.004982/0.8663, allocations: 1.117 MB / 1.032 GB, free: 7.746 MB / 0.6511 GB