Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",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.182/2.182, allocations: 248.6 MB / 255.9 MB, free: 7.184 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.001675/0.001675, allocations: 181.3 kB / 315.1 MB, free: 4.238 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.97/1.97, allocations: 205.1 MB / 0.5658 GB, free: 272 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.001251/0.001251, allocations: 85.64 kB / 0.67 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.473/0.4743, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.6987, allocations: 106.2 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.014/1.713, allocations: 361.9 MB / 1.237 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/1.713, allocations: 89.75 kB / 1.237 GB, free: 10.23 MB / 0.8542 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.4701/2.184, allocations: 16.08 MB / 1.253 GB, free: 311.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/2.184, allocations: 9.344 kB / 1.253 GB, free: 311.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/2.184, allocations: 0 / 1.253 GB, free: 311.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/2.184, allocations: 169.8 kB / 1.253 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/2.184, allocations: 0 / 1.253 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/2.184, allocations: 0 / 1.253 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.74e-05/2.184, allocations: 7.344 kB / 1.253 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.284e-05/2.184, allocations: 32.3 kB / 1.253 GB, free: 311.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/2.184, allocations: 0 / 1.253 GB, free: 311.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/2.184, allocations: 3.094 kB / 1.253 GB, free: 311.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/2.184, allocations: 0 / 1.253 GB, free: 311.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/2.184, allocations: 133 kB / 1.253 GB, free: 311.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.58e-05/2.184, allocations: 28.16 kB / 1.253 GB, free: 311.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/2.184, allocations: 14.77 kB / 1.253 GB, free: 311.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003074/2.185, allocations: 94.66 kB / 1.253 GB, free: 311.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/2.185, allocations: 37.38 kB / 1.253 GB, free: 311 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 2.435e-06/2.185, allocations: 2.719 kB / 1.253 GB, free: 311 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002832/2.185, allocations: 47.09 kB / 1.253 GB, free: 311 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/2.185, allocations: 54.06 kB / 1.253 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.936e-05/2.185, allocations: 91.44 kB / 1.253 GB, free: 310.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/2.185, allocations: 25.7 kB / 1.253 GB, free: 310.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.904e-05/2.185, allocations: 90.61 kB / 1.253 GB, free: 310.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/2.185, allocations: 3.906 kB / 1.253 GB, free: 310.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/2.185, allocations: 0 / 1.253 GB, free: 310.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.003e-05/2.185, allocations: 314.7 kB / 1.254 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/2.185, allocations: 3.719 kB / 1.254 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.326e-05/2.185, allocations: 3.062 kB / 1.254 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/2.185, allocations: 14.23 kB / 1.254 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/2.185, allocations: 2.938 kB / 1.254 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001828/2.186, allocations: 53.81 kB / 1.254 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/2.186, allocations: 6.969 kB / 1.254 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/2.186, allocations: 0 / 1.254 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/2.186, allocations: 2.344 kB / 1.254 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.667e-05/2.186, allocations: 3.719 kB / 1.254 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/2.186, allocations: 0 / 1.254 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.751e-05/2.186, allocations: 6.625 kB / 1.254 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/2.186, allocations: 0 / 1.254 GB, free: 310.4 MB / 0.8542 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 5.997e-05/2.186, allocations: 112.8 kB / 1.254 GB, free: 310.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/2.186, allocations: 3.562 kB / 1.254 GB, free: 310.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/2.186, allocations: 66.25 kB / 1.254 GB, free: 310.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/2.186, allocations: 0 / 1.254 GB, free: 310.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/2.186, allocations: 0 / 1.254 GB, free: 310.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/2.186, allocations: 7.469 kB / 1.254 GB, free: 310.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.895e-05/2.186, allocations: 139.6 kB / 1.254 GB, free: 310.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/2.186, allocations: 0 / 1.254 GB, free: 310.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/2.186, allocations: 6.375 kB / 1.254 GB, free: 310.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/2.186, allocations: 3.062 kB / 1.254 GB, free: 310.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/2.186, allocations: 0 / 1.254 GB, free: 310.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/2.186, allocations: 0 / 1.254 GB, free: 310.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/2.186, allocations: 2.969 kB / 1.254 GB, free: 310.1 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001856/2.187, allocations: 74.88 kB / 1.254 GB, free: 310 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002572/2.187, allocations: 465.8 kB / 1.255 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/2.187, allocations: 81.05 kB / 1.255 GB, free: 309.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/2.187, allocations: 3.781 kB / 1.255 GB, free: 309.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.446e-05/2.187, allocations: 0 / 1.255 GB, free: 309.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/2.187, allocations: 6.516 kB / 1.255 GB, free: 309.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/2.187, allocations: 0 / 1.255 GB, free: 309.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.85e-05/2.187, allocations: 80.94 kB / 1.255 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001122/2.188, allocations: 30.78 kB / 1.255 GB, free: 309.4 MB / 0.8542 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.000307/2.189, allocations: 158 kB / 1.255 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.618e-05/2.189, allocations: 11.75 kB / 1.255 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/2.189, allocations: 0 / 1.255 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.809e-05/2.189, allocations: 10.05 kB / 1.255 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/2.189, allocations: 4.875 kB / 1.255 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000223/2.189, allocations: 69.77 kB / 1.255 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/2.189, allocations: 0.6869 MB / 1.256 GB, free: 308.5 MB / 0.8542 GB Notification: Performance of SimCode: time 7.61e-07/2.189, allocations: 0 / 1.256 GB, free: 308.5 MB / 0.8542 GB