Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") [: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 8.1.4-maint.8.1.x/package.mo): time 1.643/1.643, allocations: 289.8 MB / 297.1 MB, free: 9.059 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 193.2 kB / 366.3 MB, free: 11.37 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.1 MB / 0.6256 GB, free: 11.48 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 86.47 kB / 0.7396 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 8.597e-06/8.607e-06, allocations: 4 kB / 0.859 GB, free: 148.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2752, allocations: 116.3 MB / 0.9726 GB, free: 31.77 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.933/5.208, allocations: 2.087 GB / 3.059 GB, free: 219.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/5.209, allocations: 87.95 kB / 3.059 GB, free: 219.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.706/9.915, allocations: 1.338 GB / 4.397 GB, free: 128.8 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001676/9.915, allocations: 55.95 kB / 4.397 GB, free: 128.8 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.006184/9.921, allocations: 2.174 MB / 4.399 GB, free: 128.3 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/9.921, allocations: 9.375 kB / 4.399 GB, free: 128.3 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003568/9.925, allocations: 0.53 MB / 4.4 GB, free: 128.2 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003405/9.928, allocations: 1.441 MB / 4.401 GB, free: 127.9 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/9.928, allocations: 121.2 kB / 4.401 GB, free: 127.8 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/9.928, allocations: 93.38 kB / 4.402 GB, free: 127.8 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002202/9.931, allocations: 1.22 MB / 4.403 GB, free: 127.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/9.933, allocations: 1.484 MB / 4.404 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.412e-05/9.933, allocations: 6.25 kB / 4.404 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/9.933, allocations: 9.312 kB / 4.404 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.298e-05/9.933, allocations: 52.42 kB / 4.404 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01034/9.944, allocations: 8.232 MB / 4.412 GB, free: 122.7 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007823/9.944, allocations: 0.549 MB / 4.413 GB, free: 122.7 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006701/9.945, allocations: 0.4933 MB / 4.413 GB, free: 122.7 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006472/9.946, allocations: 406.2 kB / 4.414 GB, free: 122.3 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/9.946, allocations: 52.27 kB / 4.414 GB, free: 122.3 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=96): time 4.078e-06/9.946, allocations: 0 / 4.414 GB, free: 122.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=102): time 0.007036/9.953, allocations: 2.649 MB / 4.416 GB, free: 121.7 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/9.953, allocations: 65.16 kB / 4.416 GB, free: 121.6 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/9.954, allocations: 0.8847 MB / 4.417 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/9.955, allocations: 32.83 kB / 4.417 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004218/9.955, allocations: 0.5898 MB / 4.418 GB, free: 121.2 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003593/9.955, allocations: 352.6 kB / 4.418 GB, free: 121 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/9.955, allocations: 3.25 kB / 4.418 GB, free: 121 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001197/9.956, allocations: 347 kB / 4.418 GB, free: 120.7 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006005/9.956, allocations: 386.8 kB / 4.419 GB, free: 120.7 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009649/9.957, allocations: 0.7696 MB / 4.42 GB, free: 120.3 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/9.958, allocations: 0.5674 MB / 4.42 GB, free: 120.2 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-06/9.958, allocations: 8.344 kB / 4.42 GB, free: 120.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002128/9.96, allocations: 1.284 MB / 4.421 GB, free: 120.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008939/9.961, allocations: 3.629 MB / 4.425 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/9.961, allocations: 14.59 kB / 4.425 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.388e-05/9.961, allocations: 15.66 kB / 4.425 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/9.963, allocations: 284.2 kB / 4.425 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-05/9.963, allocations: 25.53 kB / 4.425 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/9.965, allocations: 147.1 kB / 4.425 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/9.965, allocations: 53.8 kB / 4.425 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/9.965, allocations: 3.969 kB / 4.425 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00168/9.966, allocations: 1.087 MB / 4.427 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/9.966, allocations: 10.94 kB / 4.427 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/9.966, allocations: 17.84 kB / 4.427 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/9.968, allocations: 279 kB / 4.427 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/9.968, allocations: 24.23 kB / 4.427 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/9.969, allocations: 148.6 kB / 4.427 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/9.97, allocations: 50.25 kB / 4.427 GB, free: 116.4 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0003217/9.97, allocations: 141.4 kB / 4.427 GB, free: 116.3 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/9.97, allocations: 155.8 kB / 4.427 GB, free: 116.2 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/9.972, allocations: 1.083 MB / 4.428 GB, free: 116.1 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/9.972, allocations: 7.344 kB / 4.428 GB, free: 116.1 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/9.972, allocations: 2.438 kB / 4.428 GB, free: 116.1 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001266/9.973, allocations: 1.03 MB / 4.429 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004367/9.978, allocations: 2.544 MB / 4.432 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/9.978, allocations: 3.875 kB / 4.432 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/9.979, allocations: 259.3 kB / 4.432 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/9.979, allocations: 6.062 kB / 4.432 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.756e-05/9.979, allocations: 20.5 kB / 4.432 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/9.979, allocations: 6.594 kB / 4.432 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/9.979, allocations: 4.531 kB / 4.432 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002195/9.981, allocations: 1.818 MB / 4.434 GB, free: 115 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007677/9.982, allocations: 323.8 kB / 4.434 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/9.982, allocations: 12.81 kB / 4.434 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/9.984, allocations: 133.4 kB / 4.434 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/9.984, allocations: 62.16 kB / 4.434 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.003e-05/9.984, allocations: 37.14 kB / 4.435 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.0008939/9.985, allocations: 0.6649 MB / 4.435 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002936/9.988, allocations: 0.9224 MB / 4.436 GB, free: 114.7 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 102 * 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.004773/9.993, allocations: 3.347 MB / 4.439 GB, free: 113.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002524/9.995, allocations: 1.62 MB / 4.441 GB, free: 113.4 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/9.995, allocations: 0 / 4.441 GB, free: 113.4 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0005793/9.996, allocations: 481.7 kB / 4.441 GB, free: 113.4 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004552/10, allocations: 0.8315 MB / 4.442 GB, free: 113.4 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005514/10.01, allocations: 2.765 MB / 4.445 GB, free: 112.7 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/10.01, allocations: 1.621 MB / 4.446 GB, free: 112 MB / 0.9792 GB Notification: Performance of SimCode: time 1.583e-06/10.01, allocations: 2.781 kB / 4.446 GB, free: 112 MB / 0.9792 GB Notification: Performance of Templates: time 0.08118/10.09, allocations: 48.79 MB / 4.494 GB, free: 111.1 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)