Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",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 3.9/3.9, allocations: 433 MB / 440.3 MB, free: 4.793 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5272/4.427, allocations: 104.3 MB / 0.5319 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/4.654, allocations: 98.72 MB / 0.6283 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9735/5.627, allocations: 384.1 MB / 1.003 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005109/5.628, allocations: 99.12 kB / 1.004 GB, free: 3.605 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 1.355/6.983, allocations: 234.8 MB / 1.233 GB, free: 185.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/6.983, allocations: 8 kB / 1.233 GB, free: 185.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007487/6.983, allocations: 138.5 kB / 1.233 GB, free: 185.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02528/7.009, allocations: 7.363 MB / 1.24 GB, free: 178.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/7.009, allocations: 27.91 kB / 1.24 GB, free: 178.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/7.009, allocations: 44 kB / 1.24 GB, free: 178.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002195/7.011, allocations: 0.6521 MB / 1.241 GB, free: 177.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/7.013, allocations: 0.8459 MB / 1.242 GB, free: 176.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/7.013, allocations: 4 kB / 1.242 GB, free: 176.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.971e-05/7.013, allocations: 4 kB / 1.242 GB, free: 176.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.582e-05/7.013, allocations: 23.98 kB / 1.242 GB, free: 176.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007981/7.021, allocations: 4.459 MB / 1.246 GB, free: 171.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/7.022, allocations: 325.3 kB / 1.246 GB, free: 171.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004747/7.023, allocations: 235 kB / 1.247 GB, free: 171.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004682/7.023, allocations: 433.1 kB / 1.247 GB, free: 170.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/7.023, allocations: 46.5 kB / 1.247 GB, free: 170.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=38): time 3.306e-06/7.023, allocations: 0 / 1.247 GB, free: 170.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=38): time 0.001966/7.025, allocations: 0.5325 MB / 1.248 GB, free: 170.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/7.025, allocations: 51.41 kB / 1.248 GB, free: 170.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/7.027, allocations: 0.7898 MB / 1.248 GB, free: 169.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/7.027, allocations: 29.7 kB / 1.248 GB, free: 169.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/7.027, allocations: 394.2 kB / 1.249 GB, free: 169 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/7.027, allocations: 149.9 kB / 1.249 GB, free: 168.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/7.027, allocations: 0 / 1.249 GB, free: 168.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.417e-05/7.028, allocations: 330 kB / 1.249 GB, free: 168.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004802/7.028, allocations: 209.2 kB / 1.249 GB, free: 168.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005915/7.029, allocations: 428.1 kB / 1.25 GB, free: 167.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008575/7.03, allocations: 321.2 kB / 1.25 GB, free: 167.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/7.03, allocations: 4 kB / 1.25 GB, free: 167.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002112/7.032, allocations: 0.7441 MB / 1.251 GB, free: 166.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004675/7.032, allocations: 2.178 MB / 1.253 GB, free: 164.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/7.032, allocations: 4 kB / 1.253 GB, free: 164.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002704/7.032, allocations: 56.84 kB / 1.253 GB, free: 164.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007653/7.033, allocations: 115.8 kB / 1.253 GB, free: 164.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009636/7.034, allocations: 0.6419 MB / 1.254 GB, free: 163.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002571/7.037, allocations: 91.42 kB / 1.254 GB, free: 163.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002749/7.037, allocations: 31.91 kB / 1.254 GB, free: 163.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/7.037, allocations: 4 kB / 1.254 GB, free: 163.4 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003034/7.04, allocations: 0.6213 MB / 1.255 GB, free: 162.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/7.04, allocations: 4 kB / 1.255 GB, free: 162.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004203/7.041, allocations: 64.88 kB / 1.255 GB, free: 162.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/7.042, allocations: 111.8 kB / 1.255 GB, free: 162.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/7.045, allocations: 1.59 MB / 1.256 GB, free: 160.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/7.046, allocations: 83.5 kB / 1.256 GB, free: 160.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/7.046, allocations: 35.98 kB / 1.256 GB, free: 160.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002264/7.047, allocations: 116.8 kB / 1.256 GB, free: 160.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/7.047, allocations: 86.97 kB / 1.257 GB, free: 160.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/7.049, allocations: 0.617 MB / 1.257 GB, free: 159.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/7.049, allocations: 4 kB / 1.257 GB, free: 159.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/7.049, allocations: 0 / 1.257 GB, free: 159.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001254/7.05, allocations: 0.7975 MB / 1.258 GB, free: 159 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004465/7.055, allocations: 1.503 MB / 1.259 GB, free: 157.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/7.055, allocations: 0 / 1.259 GB, free: 157.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007661/7.055, allocations: 75.89 kB / 1.259 GB, free: 157.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001422/7.056, allocations: 32.84 kB / 1.259 GB, free: 157.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.704e-05/7.056, allocations: 4 kB / 1.26 GB, free: 157.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004641/7.056, allocations: 0.5757 MB / 1.26 GB, free: 156.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/7.056, allocations: 0 / 1.26 GB, free: 156.8 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00203/7.058, allocations: 0.9375 MB / 1.261 GB, free: 155.8 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002598/7.061, allocations: 1.579 MB / 1.263 GB, free: 154.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007595/7.062, allocations: 247.8 kB / 1.263 GB, free: 153.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/7.062, allocations: 12.2 kB / 1.263 GB, free: 153.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009737/7.063, allocations: 55.78 kB / 1.263 GB, free: 153.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/7.063, allocations: 27.97 kB / 1.263 GB, free: 153.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/7.063, allocations: 12 kB / 1.263 GB, free: 153.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001135/7.064, allocations: 0.6162 MB / 1.263 GB, free: 153.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00516/7.069, allocations: 0.6389 MB / 1.264 GB, free: 152.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001194/7.071, allocations: 393.2 kB / 1.264 GB, free: 152.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002452/7.073, allocations: 0.9724 MB / 1.265 GB, free: 151.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/7.073, allocations: 0.6875 kB / 1.265 GB, free: 151.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005222/7.074, allocations: 235.6 kB / 1.266 GB, free: 151 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004827/7.079, allocations: 0.505 MB / 1.266 GB, free: 150.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004627/7.083, allocations: 1.626 MB / 1.268 GB, free: 148.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/7.084, allocations: 1.338 MB / 1.269 GB, free: 147.4 MB / 0.823 GB Notification: Performance of SimCode: time 1.393e-06/7.085, allocations: 0 / 1.269 GB, free: 147.4 MB / 0.823 GB