Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.14/4.14, allocations: 433 MB / 440.3 MB, free: 4.852 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.553/4.693, allocations: 104.3 MB / 0.5319 GB, free: 12.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/4.936, allocations: 98.71 MB / 0.6283 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/5.962, allocations: 405 MB / 1.024 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004312/5.963, allocations: 103 kB / 1.024 GB, free: 15.93 MB / 0.7761 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.768/8.731, allocations: 0.5354 GB / 1.559 GB, free: 174.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/8.731, allocations: 9.031 kB / 1.559 GB, free: 174.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/8.732, allocations: 152.7 kB / 1.559 GB, free: 174.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005362/8.738, allocations: 1.397 MB / 1.561 GB, free: 173.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.576e-05/8.738, allocations: 30.38 kB / 1.561 GB, free: 173.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002277/8.738, allocations: 56.05 kB / 1.561 GB, free: 173.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002107/8.74, allocations: 0.5564 MB / 1.561 GB, free: 173.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/8.742, allocations: 0.7238 MB / 1.562 GB, free: 173.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.901e-05/8.743, allocations: 3.594 kB / 1.562 GB, free: 173.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/8.743, allocations: 1 kB / 1.562 GB, free: 173.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.096e-05/8.743, allocations: 30.16 kB / 1.562 GB, free: 173.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008904/8.752, allocations: 4.323 MB / 1.566 GB, free: 169.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/8.754, allocations: 486.2 kB / 1.567 GB, free: 169.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008656/8.754, allocations: 292.3 kB / 1.567 GB, free: 169.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008235/8.755, allocations: 0.6068 MB / 1.568 GB, free: 168.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/8.755, allocations: 38.28 kB / 1.568 GB, free: 168.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=55): time 5.901e-06/8.755, allocations: 3.609 kB / 1.568 GB, free: 168.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=55): time 0.002712/8.758, allocations: 0.624 MB / 1.568 GB, free: 168.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/8.758, allocations: 57.41 kB / 1.568 GB, free: 168.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/8.76, allocations: 0.7042 MB / 1.569 GB, free: 167.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/8.76, allocations: 27.64 kB / 1.569 GB, free: 167.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/8.76, allocations: 391.1 kB / 1.57 GB, free: 167.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002417/8.761, allocations: 192.6 kB / 1.57 GB, free: 167.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/8.761, allocations: 0 / 1.57 GB, free: 167.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.85e-05/8.761, allocations: 332.4 kB / 1.57 GB, free: 166.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004901/8.761, allocations: 177.8 kB / 1.57 GB, free: 166.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006692/8.762, allocations: 378.4 kB / 1.571 GB, free: 166.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/8.763, allocations: 300.9 kB / 1.571 GB, free: 166.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/8.763, allocations: 3.219 kB / 1.571 GB, free: 166.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003058/8.766, allocations: 0.7861 MB / 1.572 GB, free: 165.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003382/8.767, allocations: 1.314 MB / 1.573 GB, free: 164.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-05/8.767, allocations: 4.875 kB / 1.573 GB, free: 164.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005493/8.767, allocations: 118 kB / 1.573 GB, free: 164.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/8.768, allocations: 127.8 kB / 1.573 GB, free: 164.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004557/8.773, allocations: 4.648 MB / 1.578 GB, free: 159.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/8.775, allocations: 95.17 kB / 1.578 GB, free: 159.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/8.775, allocations: 26.12 kB / 1.578 GB, free: 159.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/8.775, allocations: 6.469 kB / 1.578 GB, free: 159.7 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00252/8.778, allocations: 0.6531 MB / 1.578 GB, free: 159.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/8.778, allocations: 4 kB / 1.578 GB, free: 159.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004898/8.778, allocations: 119.4 kB / 1.579 GB, free: 159 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009467/8.779, allocations: 131.1 kB / 1.579 GB, free: 158.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004968/8.784, allocations: 5.497 MB / 1.584 GB, free: 153 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/8.786, allocations: 86.52 kB / 1.584 GB, free: 152.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-05/8.786, allocations: 28 kB / 1.584 GB, free: 152.8 MB / 0.823 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.0002715/8.786, allocations: 131.5 kB / 1.584 GB, free: 152.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/8.786, allocations: 94.86 kB / 1.584 GB, free: 152.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/8.789, allocations: 0.687 MB / 1.585 GB, free: 151.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/8.789, allocations: 7.984 kB / 1.585 GB, free: 151.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/8.789, allocations: 4 kB / 1.585 GB, free: 151.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001723/8.791, allocations: 0.6427 MB / 1.586 GB, free: 151.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004693/8.795, allocations: 1.69 MB / 1.587 GB, free: 149.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/8.796, allocations: 0 / 1.587 GB, free: 149.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007484/8.796, allocations: 91.17 kB / 1.587 GB, free: 149.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00042/8.797, allocations: 106.7 kB / 1.588 GB, free: 149.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.064e-05/8.797, allocations: 4 kB / 1.588 GB, free: 149.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003718/8.8, allocations: 4.625 MB / 1.592 GB, free: 144.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/8.801, allocations: 0 / 1.592 GB, free: 144.3 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00296/8.804, allocations: 1.034 MB / 1.593 GB, free: 143.3 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003558/8.807, allocations: 1.707 MB / 1.595 GB, free: 141.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008437/8.808, allocations: 259.1 kB / 1.595 GB, free: 141.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/8.808, allocations: 4 kB / 1.595 GB, free: 141.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/8.809, allocations: 50.91 kB / 1.595 GB, free: 141.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.876e-05/8.81, allocations: 28.45 kB / 1.595 GB, free: 141.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.019e-05/8.81, allocations: 23.12 kB / 1.595 GB, free: 141.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001093/8.811, allocations: 0.5345 MB / 1.596 GB, free: 140.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.006164/8.817, allocations: 0.916 MB / 1.597 GB, free: 139.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (46): * Single equations (assignments): 40 * 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.001814/8.819, allocations: 0.6522 MB / 1.597 GB, free: 139.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003412/8.822, allocations: 1.599 MB / 1.599 GB, free: 137.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/8.822, allocations: 0 / 1.599 GB, free: 137.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/8.823, allocations: 0.5416 MB / 1.599 GB, free: 136.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004809/8.828, allocations: 487.2 kB / 1.6 GB, free: 136.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005025/8.833, allocations: 1.515 MB / 1.601 GB, free: 135.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/8.835, allocations: 1.201 MB / 1.602 GB, free: 133.9 MB / 0.823 GB Notification: Performance of SimCode: time 1.273e-06/8.835, allocations: 0 / 1.602 GB, free: 133.9 MB / 0.823 GB