Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.SingleUTubeResistances,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",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.231/2.231, allocations: 248.6 MB / 255.9 MB, free: 372 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.001665/0.001665, allocations: 187.3 kB / 315.1 MB, free: 7.801 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.119/2.119, allocations: 205.1 MB / 0.5658 GB, free: 25.5 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.001351/0.001351, allocations: 94.33 kB / 0.67 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2791/0.2805, allocations: 112.4 MB / 0.7797 GB, free: 2.473 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.7886, allocations: 106.2 MB / 0.8835 GB, free: 77.2 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.249/1.038, allocations: 133.8 MB / 1.014 GB, free: 7.203 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003547/1.038, allocations: 83.94 kB / 1.014 GB, free: 7.121 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.02391/1.062, allocations: 3.435 MB / 1.018 GB, free: 3.617 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.062, allocations: 8 kB / 1.018 GB, free: 3.609 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.58e-05/1.062, allocations: 79.19 kB / 1.018 GB, free: 3.531 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/1.062, allocations: 266.2 kB / 1.018 GB, free: 3.23 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.91e-05/1.063, allocations: 150.6 kB / 1.018 GB, free: 3.082 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.731e-05/1.063, allocations: 161.2 kB / 1.018 GB, free: 2.926 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001269/1.063, allocations: 154.5 kB / 1.018 GB, free: 2.773 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.773e-05/1.063, allocations: 104.9 kB / 1.018 GB, free: 2.664 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.559e-05/1.063, allocations: 75.28 kB / 1.019 GB, free: 2.59 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.876e-05/1.063, allocations: 150.6 kB / 1.019 GB, free: 2.441 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.588e-05/1.063, allocations: 150.6 kB / 1.019 GB, free: 2.293 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/1.063, allocations: 446.5 kB / 1.019 GB, free: 1.82 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/1.063, allocations: 165.1 kB / 1.019 GB, free: 1.648 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.603e-05/1.064, allocations: 88.08 kB / 1.019 GB, free: 1.559 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.906e-05/1.064, allocations: 75.28 kB / 1.02 GB, free: 1.484 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.927e-05/1.064, allocations: 113.8 kB / 1.02 GB, free: 1.363 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 1.934e-06/1.064, allocations: 0 / 1.02 GB, free: 1.363 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 9.709e-05/1.064, allocations: 33.61 kB / 1.02 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/1.064, allocations: 51.41 kB / 1.02 GB, free: 1.262 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/1.064, allocations: 119.9 kB / 1.02 GB, free: 1.137 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/1.064, allocations: 25.7 kB / 1.02 GB, free: 1.105 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/1.064, allocations: 92.12 kB / 1.02 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/1.064, allocations: 0 / 1.02 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-06/1.064, allocations: 4 kB / 1.02 GB, free: 1.008 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.064, allocations: 310.8 kB / 1.02 GB, free: 0.6953 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.877e-05/1.064, allocations: 8 kB / 1.02 GB, free: 0.6875 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.655e-05/1.064, allocations: 0 / 1.02 GB, free: 0.6875 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/1.065, allocations: 31.89 kB / 1.02 GB, free: 0.6562 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.065, allocations: 4 kB / 1.02 GB, free: 0.6523 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003198/1.065, allocations: 69.8 kB / 1.02 GB, free: 0.5781 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.065, allocations: 4 kB / 1.02 GB, free: 0.5742 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/1.065, allocations: 7.938 kB / 1.02 GB, free: 0.5664 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/1.065, allocations: 0 / 1.02 GB, free: 0.5664 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/1.065, allocations: 4.062 kB / 1.02 GB, free: 0.5625 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/1.065, allocations: 0 / 1.02 GB, free: 0.5625 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.744e-05/1.065, allocations: 3.906 kB / 1.02 GB, free: 0.5586 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/1.065, allocations: 0 / 1.02 GB, free: 0.5586 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001108/1.065, allocations: 180.3 kB / 1.021 GB, free: 384 kB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.552e-05/1.065, allocations: 108.9 kB / 1.021 GB, free: 268 kB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.624e-05/1.065, allocations: 116.5 kB / 1.021 GB, free: 144 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.584e-05/1.066, allocations: 180.3 kB / 1.021 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001293/1.066, allocations: 176.3 kB / 1.021 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.679e-05/1.066, allocations: 192.8 kB / 1.021 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/1.066, allocations: 389.7 kB / 1.022 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.961e-05/1.066, allocations: 105 kB / 1.022 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/1.066, allocations: 105 kB / 1.022 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.291e-05/1.066, allocations: 188.2 kB / 1.022 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.982e-05/1.066, allocations: 184.2 kB / 1.022 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.95e-05/1.066, allocations: 185.9 kB / 1.022 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.285e-05/1.067, allocations: 180.3 kB / 1.023 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001574/1.067, allocations: 307.7 kB / 1.023 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002987/1.067, allocations: 0.6797 MB / 1.024 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.121e-05/1.067, allocations: 182 kB / 1.024 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.594e-05/1.067, allocations: 184.2 kB / 1.024 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/1.067, allocations: 105 kB / 1.024 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/1.067, allocations: 180.2 kB / 1.024 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/1.067, allocations: 105.2 kB / 1.024 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.813e-05/1.068, allocations: 101.5 kB / 1.024 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001355/1.069, allocations: 39.94 kB / 1.024 GB, free: 12.23 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 (0): * Single equations (assignments): 0 * 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.0004691/1.069, allocations: 234.4 kB / 1.025 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001249/1.07, allocations: 45.64 kB / 1.025 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.07, allocations: 0 / 1.025 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.32e-06/1.07, allocations: 4 kB / 1.025 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005065/1.07, allocations: 0.5264 MB / 1.025 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/1.07, allocations: 151 kB / 1.025 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/1.071, allocations: 0.6958 MB / 1.026 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of SimCode: time 7.82e-07/1.071, allocations: 0 / 1.026 GB, free: 10.51 MB / 0.6823 GB