Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") [: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.533/1.533, allocations: 289.8 MB / 297.1 MB, free: 6.719 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.001135/0.001135, allocations: 177.3 kB / 366.3 MB, free: 2.004 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.609/1.609, allocations: 205.1 MB / 0.6256 GB, free: 7.477 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001034/0.001035, allocations: 95.25 kB / 0.7396 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.368e-06/9.388e-06, allocations: 4 kB / 0.859 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.84/0.8401, allocations: 116.3 MB / 0.9726 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.1/1.94, allocations: 400.9 MB / 1.364 GB, free: 150.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/1.94, allocations: 94.75 kB / 1.364 GB, free: 150.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.4823/2.423, allocations: 241.9 MB / 1.6 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001031/2.423, allocations: 35.98 kB / 1.6 GB, free: 0.7109 MB / 0.9323 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 0.002187/2.425, allocations: 1.18 MB / 1.602 GB, free: 15.49 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/2.425, allocations: 15.97 kB / 1.602 GB, free: 15.47 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004853/2.426, allocations: 142.5 kB / 1.602 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01875/2.444, allocations: 7.647 MB / 1.609 GB, free: 7.566 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.262e-05/2.444, allocations: 24 kB / 1.609 GB, free: 7.543 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/2.445, allocations: 44 kB / 1.609 GB, free: 7.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001254/2.446, allocations: 0.6521 MB / 1.61 GB, free: 6.848 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/2.447, allocations: 0.8697 MB / 1.611 GB, free: 5.93 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/2.447, allocations: 11.84 kB / 1.611 GB, free: 5.918 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.615e-05/2.447, allocations: 0 / 1.611 GB, free: 5.918 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.502e-05/2.447, allocations: 27.98 kB / 1.611 GB, free: 5.891 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006144/2.453, allocations: 4.493 MB / 1.615 GB, free: 1.082 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/2.454, allocations: 302.5 kB / 1.615 GB, free: 0.7812 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/2.454, allocations: 253.4 kB / 1.616 GB, free: 0.5312 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004567/2.455, allocations: 437.8 kB / 1.616 GB, free: 12 kB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.5267/2.982, allocations: 42.77 kB / 1.616 GB, free: 336.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=40): time 3.31e-05/2.982, allocations: 0 / 1.616 GB, free: 336.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=40): time 0.001946/2.984, allocations: 0.5397 MB / 1.617 GB, free: 336.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/2.984, allocations: 55.25 kB / 1.617 GB, free: 336.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/2.985, allocations: 0.7861 MB / 1.617 GB, free: 336.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.791e-05/2.985, allocations: 25.7 kB / 1.618 GB, free: 336.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/2.985, allocations: 390.2 kB / 1.618 GB, free: 336.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/2.985, allocations: 139.1 kB / 1.618 GB, free: 336.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/2.986, allocations: 0 / 1.618 GB, free: 336.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001478/2.986, allocations: 333.4 kB / 1.618 GB, free: 336.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/2.986, allocations: 219.6 kB / 1.619 GB, free: 336.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/2.986, allocations: 432.5 kB / 1.619 GB, free: 335.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005763/2.987, allocations: 320.7 kB / 1.619 GB, free: 335.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/2.987, allocations: 0 / 1.619 GB, free: 335.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001405/2.988, allocations: 0.7503 MB / 1.62 GB, free: 335.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001003/2.989, allocations: 2.182 MB / 1.622 GB, free: 333.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/2.989, allocations: 4.656 kB / 1.622 GB, free: 333.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002926/2.99, allocations: 57.66 kB / 1.622 GB, free: 333.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/2.99, allocations: 112.7 kB / 1.622 GB, free: 333.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005782/2.991, allocations: 0.6389 MB / 1.623 GB, free: 332.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/2.992, allocations: 93.91 kB / 1.623 GB, free: 332.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.048e-05/2.992, allocations: 31.8 kB / 1.623 GB, free: 332.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/2.992, allocations: 7.594 kB / 1.623 GB, free: 332.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001136/2.993, allocations: 0.6147 MB / 1.624 GB, free: 332.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/2.993, allocations: 3.969 kB / 1.624 GB, free: 332.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001849/2.993, allocations: 64.09 kB / 1.624 GB, free: 332.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/2.994, allocations: 109.6 kB / 1.624 GB, free: 332.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/2.996, allocations: 1.593 MB / 1.625 GB, free: 331.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/2.997, allocations: 85.67 kB / 1.625 GB, free: 331.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.933e-05/2.997, allocations: 30 kB / 1.625 GB, free: 331.6 MB / 0.948 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.0003232/2.997, allocations: 123.8 kB / 1.626 GB, free: 331.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/2.997, allocations: 85.06 kB / 1.626 GB, free: 331.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/2.999, allocations: 0.6296 MB / 1.626 GB, free: 331.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/2.999, allocations: 6.688 kB / 1.626 GB, free: 331.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/2.999, allocations: 0 / 1.626 GB, free: 331.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009999/3, allocations: 0.8053 MB / 1.627 GB, free: 330.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003254/3.003, allocations: 1.572 MB / 1.629 GB, free: 330.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/3.003, allocations: 0 / 1.629 GB, free: 330.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/3.004, allocations: 83.61 kB / 1.629 GB, free: 330.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/3.004, allocations: 31.89 kB / 1.629 GB, free: 330.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/3.004, allocations: 11.75 kB / 1.629 GB, free: 330.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003543/3.004, allocations: 0.5644 MB / 1.629 GB, free: 330 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/3.004, allocations: 13.14 kB / 1.629 GB, free: 330 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001204/3.005, allocations: 0.9795 MB / 1.63 GB, free: 329.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005135/3.006, allocations: 268.8 kB / 1.631 GB, free: 329.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/3.006, allocations: 3.375 kB / 1.631 GB, free: 329.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000595/3.007, allocations: 59.73 kB / 1.631 GB, free: 329.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/3.007, allocations: 22.8 kB / 1.631 GB, free: 329.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.224e-05/3.007, allocations: 25.5 kB / 1.631 GB, free: 329.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006916/3.007, allocations: 0.6039 MB / 1.631 GB, free: 329.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001986/3.009, allocations: 0.5605 MB / 1.632 GB, free: 329.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 36 * 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.0009428/3.01, allocations: 403 kB / 1.632 GB, free: 329.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001526/3.012, allocations: 0.9801 MB / 1.633 GB, free: 329.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/3.012, allocations: 0 / 1.633 GB, free: 329.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003102/3.012, allocations: 238 kB / 1.633 GB, free: 329.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/3.015, allocations: 0.51 MB / 1.634 GB, free: 329.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/3.017, allocations: 1.638 MB / 1.635 GB, free: 328.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008898/3.018, allocations: 1.326 MB / 1.637 GB, free: 328.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.483e-06/3.018, allocations: 0 / 1.637 GB, free: 328.2 MB / 0.948 GB Notification: Performance of Templates: time 0.03909/3.057, allocations: 21.58 MB / 1.658 GB, free: 327.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)