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.Examples.InternalResistancesTwoUTube.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.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.364/2.364, allocations: 248.6 MB / 255.9 MB, free: 7.148 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.002026/0.002025, allocations: 188 kB / 315.1 MB, free: 4.262 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.058/2.058, allocations: 205.1 MB / 0.5658 GB, free: 364 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.001294/0.001293, allocations: 97.55 kB / 0.67 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4667/0.468, allocations: 112.4 MB / 0.7798 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.6845, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6768/1.361, allocations: 142.5 MB / 1.023 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004166/1.362, allocations: 109 kB / 1.023 GB, free: 13.71 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.09941/1.461, allocations: 22.45 MB / 1.045 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.444e-05/1.461, allocations: 8 kB / 1.045 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002454/1.462, allocations: 74.66 kB / 1.045 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009873/1.463, allocations: 433.4 kB / 1.045 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.186e-05/1.463, allocations: 16 kB / 1.045 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/1.463, allocations: 28 kB / 1.045 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001048/1.464, allocations: 308.5 kB / 1.046 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/1.465, allocations: 326.1 kB / 1.046 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/1.465, allocations: 3.906 kB / 1.046 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.321e-05/1.465, allocations: 0 / 1.046 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/1.465, allocations: 19.97 kB / 1.046 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004016/1.469, allocations: 1.449 MB / 1.047 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006014/1.47, allocations: 248.9 kB / 1.048 GB, free: 8.887 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000617/1.471, allocations: 277.2 kB / 1.048 GB, free: 8.715 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/1.471, allocations: 11.72 kB / 1.048 GB, free: 8.703 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/1.471, allocations: 37.69 kB / 1.048 GB, free: 8.66 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=42): time 3.717e-06/1.471, allocations: 3.938 kB / 1.048 GB, free: 8.656 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42): time 0.001009/1.472, allocations: 306.9 kB / 1.048 GB, free: 8.43 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/1.472, allocations: 55.41 kB / 1.048 GB, free: 8.363 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008595/1.473, allocations: 373.2 kB / 1.049 GB, free: 8.074 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/1.473, allocations: 25.7 kB / 1.049 GB, free: 8.043 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/1.473, allocations: 215.8 kB / 1.049 GB, free: 7.852 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003478/1.473, allocations: 138.9 kB / 1.049 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/1.473, allocations: 4 kB / 1.049 GB, free: 7.727 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002049/1.474, allocations: 354.6 kB / 1.049 GB, free: 7.391 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/1.474, allocations: 104.2 kB / 1.049 GB, free: 7.328 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/1.474, allocations: 100.1 kB / 1.049 GB, free: 7.277 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/1.475, allocations: 113.9 kB / 1.05 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/1.475, allocations: 4 kB / 1.05 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009207/1.476, allocations: 338 kB / 1.05 GB, free: 6.961 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/1.476, allocations: 4 kB / 1.05 GB, free: 6.957 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.476, allocations: 0 / 1.05 GB, free: 6.957 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.531e-05/1.476, allocations: 3.906 kB / 1.05 GB, free: 6.953 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/1.477, allocations: 127.2 kB / 1.05 GB, free: 6.832 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/1.477, allocations: 4 kB / 1.05 GB, free: 6.828 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000806/1.478, allocations: 46.84 kB / 1.05 GB, free: 6.785 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.026e-05/1.478, allocations: 8 kB / 1.05 GB, free: 6.777 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 (46): * Single equations (assignments): 46 * 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 0.000168/1.478, allocations: 112.9 kB / 1.05 GB, free: 6.664 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/1.479, allocations: 51.44 kB / 1.05 GB, free: 6.613 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/1.479, allocations: 46.91 kB / 1.05 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/1.479, allocations: 4 kB / 1.05 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/1.479, allocations: 0 / 1.05 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/1.479, allocations: 3.984 kB / 1.05 GB, free: 6.578 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/1.48, allocations: 0.4977 MB / 1.051 GB, free: 6.172 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.48, allocations: 0 / 1.051 GB, free: 6.172 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/1.481, allocations: 131 kB / 1.051 GB, free: 6.047 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.771e-05/1.481, allocations: 11.89 kB / 1.051 GB, free: 6.035 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.734e-05/1.481, allocations: 0 / 1.051 GB, free: 6.035 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/1.481, allocations: 3.938 kB / 1.051 GB, free: 6.031 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.481, allocations: 0 / 1.051 GB, free: 6.031 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00135/1.483, allocations: 0.5789 MB / 1.051 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001818/1.485, allocations: 1.107 MB / 1.053 GB, free: 4.711 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003449/1.485, allocations: 144.1 kB / 1.053 GB, free: 4.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/1.485, allocations: 0 / 1.053 GB, free: 4.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004958/1.486, allocations: 19.98 kB / 1.053 GB, free: 4.539 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-05/1.486, allocations: 19.72 kB / 1.053 GB, free: 4.523 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/1.486, allocations: 8 kB / 1.053 GB, free: 4.516 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0005843/1.486, allocations: 295 kB / 1.053 GB, free: 4.305 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001585/1.488, allocations: 150.5 kB / 1.053 GB, free: 4.164 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.0005477/1.488, allocations: 260.6 kB / 1.053 GB, free: 3.914 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008341/1.489, allocations: 275.1 kB / 1.054 GB, free: 3.742 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.489, allocations: 0 / 1.054 GB, free: 3.742 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003755/1.49, allocations: 160.4 kB / 1.054 GB, free: 3.641 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008897/1.491, allocations: 81.64 kB / 1.054 GB, free: 3.578 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002994/1.494, allocations: 0.8979 MB / 1.055 GB, free: 2.746 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008935/1.495, allocations: 0.9336 MB / 1.056 GB, free: 1.789 MB / 0.6667 GB Notification: Performance of SimCode: time 1.172e-06/1.495, allocations: 0 / 1.056 GB, free: 1.789 MB / 0.6667 GB