Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.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.HexInternalElement,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",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.369/2.369, allocations: 248.6 MB / 255.9 MB, free: 7.086 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.001649/0.001649, allocations: 190.4 kB / 315.1 MB, free: 4.297 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.842/1.842, allocations: 205.1 MB / 0.5658 GB, free: 400 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: 85.98 kB / 0.67 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.463/0.4644, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.7113, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.589/2.3, allocations: 414.1 MB / 1.288 GB, free: 244.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/2.3, allocations: 106.6 kB / 1.288 GB, free: 244.7 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 2.362/4.663, allocations: 0.5402 GB / 1.828 GB, free: 88.74 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/4.663, allocations: 8 kB / 1.828 GB, free: 88.73 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008573/4.664, allocations: 150.3 kB / 1.828 GB, free: 88.59 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005588/4.669, allocations: 1.385 MB / 1.83 GB, free: 87.18 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/4.669, allocations: 31.94 kB / 1.83 GB, free: 87.15 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/4.669, allocations: 59.92 kB / 1.83 GB, free: 87.09 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001876/4.671, allocations: 0.5546 MB / 1.83 GB, free: 86.54 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/4.673, allocations: 0.7373 MB / 1.831 GB, free: 85.76 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.949e-05/4.673, allocations: 4 kB / 1.831 GB, free: 85.76 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/4.673, allocations: 0 / 1.831 GB, free: 85.76 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.214e-05/4.673, allocations: 27.91 kB / 1.831 GB, free: 85.73 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007862/4.681, allocations: 4.36 MB / 1.835 GB, free: 81.16 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/4.683, allocations: 475.9 kB / 1.836 GB, free: 80.69 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007636/4.684, allocations: 307.7 kB / 1.836 GB, free: 80.39 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007886/4.684, allocations: 0.6055 MB / 1.837 GB, free: 79.66 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/4.684, allocations: 35.06 kB / 1.837 GB, free: 79.62 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 4.308e-06/4.684, allocations: 4.109 kB / 1.837 GB, free: 79.61 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.002702/4.687, allocations: 0.635 MB / 1.837 GB, free: 78.96 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/4.687, allocations: 59.89 kB / 1.837 GB, free: 78.89 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/4.689, allocations: 0.6924 MB / 1.838 GB, free: 78.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001772/4.689, allocations: 29.7 kB / 1.838 GB, free: 78.16 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/4.689, allocations: 383.4 kB / 1.838 GB, free: 77.78 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/4.69, allocations: 197.1 kB / 1.839 GB, free: 77.59 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/4.69, allocations: 0 / 1.839 GB, free: 77.59 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.211e-05/4.69, allocations: 333.9 kB / 1.839 GB, free: 77.25 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005376/4.69, allocations: 181.5 kB / 1.839 GB, free: 77.08 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006412/4.691, allocations: 372.2 kB / 1.839 GB, free: 76.64 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/4.692, allocations: 305.2 kB / 1.84 GB, free: 76.34 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/4.692, allocations: 0 / 1.84 GB, free: 76.34 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002852/4.695, allocations: 0.7946 MB / 1.841 GB, free: 75.53 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002999/4.695, allocations: 1.311 MB / 1.842 GB, free: 74.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/4.696, allocations: 4 kB / 1.842 GB, free: 74.11 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005437/4.696, allocations: 119.3 kB / 1.842 GB, free: 73.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009943/4.697, allocations: 127.8 kB / 1.842 GB, free: 73.86 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004066/4.701, allocations: 4.663 MB / 1.847 GB, free: 68.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/4.703, allocations: 87.39 kB / 1.847 GB, free: 68.73 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/4.703, allocations: 35.98 kB / 1.847 GB, free: 68.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/4.703, allocations: 4 kB / 1.847 GB, free: 68.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002513/4.706, allocations: 0.6496 MB / 1.847 GB, free: 68.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/4.706, allocations: 4 kB / 1.847 GB, free: 68.03 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005323/4.706, allocations: 115.7 kB / 1.847 GB, free: 67.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009429/4.707, allocations: 131.8 kB / 1.848 GB, free: 67.78 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004948/4.712, allocations: 5.511 MB / 1.853 GB, free: 61.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/4.714, allocations: 83.48 kB / 1.853 GB, free: 61.73 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.254e-05/4.714, allocations: 31.98 kB / 1.853 GB, free: 61.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 66 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000272/4.714, allocations: 128.6 kB / 1.853 GB, free: 61.56 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/4.715, allocations: 94.78 kB / 1.853 GB, free: 61.47 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002454/4.717, allocations: 0.6926 MB / 1.854 GB, free: 60.75 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/4.717, allocations: 11.98 kB / 1.854 GB, free: 60.74 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/4.717, allocations: 0 / 1.854 GB, free: 60.74 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002124/4.719, allocations: 0.6507 MB / 1.855 GB, free: 60.05 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005006/4.724, allocations: 1.74 MB / 1.856 GB, free: 58.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/4.724, allocations: 0 / 1.856 GB, free: 58.24 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007618/4.725, allocations: 91.89 kB / 1.856 GB, free: 58.15 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004101/4.726, allocations: 107.5 kB / 1.857 GB, free: 58.04 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-05/4.726, allocations: 16.11 kB / 1.857 GB, free: 58.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004137/4.73, allocations: 4.612 MB / 1.861 GB, free: 53.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-06/4.73, allocations: 3.938 kB / 1.861 GB, free: 53.04 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002982/4.733, allocations: 1.093 MB / 1.862 GB, free: 51.88 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003763/4.737, allocations: 1.78 MB / 1.864 GB, free: 50.04 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000853/4.738, allocations: 263.7 kB / 1.864 GB, free: 49.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/4.738, allocations: 4 kB / 1.864 GB, free: 49.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/4.739, allocations: 55.84 kB / 1.864 GB, free: 49.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.199e-05/4.739, allocations: 32.36 kB / 1.864 GB, free: 49.67 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.389e-05/4.739, allocations: 23.98 kB / 1.864 GB, free: 49.65 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001164/4.74, allocations: 0.5343 MB / 1.865 GB, free: 49.12 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006539/4.747, allocations: 0.9122 MB / 1.866 GB, free: 48.21 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.capFil1.T,hex.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001921/4.749, allocations: 0.6498 MB / 1.866 GB, free: 47.59 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003189/4.752, allocations: 1.614 MB / 1.868 GB, free: 45.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/4.752, allocations: 4.875 kB / 1.868 GB, free: 45.89 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009378/4.753, allocations: 0.5579 MB / 1.868 GB, free: 45.31 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004682/4.758, allocations: 492.9 kB / 1.869 GB, free: 44.83 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004517/4.762, allocations: 1.546 MB / 1.87 GB, free: 43.24 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/4.763, allocations: 1.199 MB / 1.872 GB, free: 42.02 MB / 0.8698 GB Notification: Performance of SimCode: time 1.222e-06/4.763, allocations: 0 / 1.872 GB, free: 42.02 MB / 0.8698 GB