Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") [: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.0.1-maint.8.0.x/package.mo): time 1.476/1.476, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001422/0.001423, allocations: 189.3 kB / 361.1 MB, free: 7.098 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.525/1.525, allocations: 205.1 MB / 0.6195 GB, free: 10.4 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.0009725/0.0009724, allocations: 89.42 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.09e-05/1.092e-05, allocations: 4 kB / 0.8511 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7413/0.7413, allocations: 115.3 MB / 0.9637 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.149/5.89, allocations: 2.324 GB / 3.288 GB, free: 85.59 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/5.891, allocations: 92.89 kB / 3.288 GB, free: 85.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.906/7.797, allocations: 477.8 MB / 3.755 GB, free: 211.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001777/7.797, allocations: 39.2 kB / 3.755 GB, free: 211.6 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.004688/7.801, allocations: 1.479 MB / 3.756 GB, free: 211.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/7.802, allocations: 8.406 kB / 3.756 GB, free: 211.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003936/7.805, allocations: 0.503 MB / 3.757 GB, free: 211 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003414/7.809, allocations: 1.339 MB / 3.758 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/7.809, allocations: 28.25 kB / 3.758 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003362/7.809, allocations: 73.22 kB / 3.758 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002185/7.812, allocations: 1.167 MB / 3.759 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/7.814, allocations: 1.131 MB / 3.76 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.299e-05/7.814, allocations: 3.938 kB / 3.76 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/7.814, allocations: 6.562 kB / 3.76 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.208e-05/7.814, allocations: 34.59 kB / 3.76 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007335/7.821, allocations: 4.791 MB / 3.765 GB, free: 208.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/7.822, allocations: 0.9306 MB / 3.766 GB, free: 208.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00068/7.823, allocations: 0.5686 MB / 3.766 GB, free: 208.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003559/7.823, allocations: 208.7 kB / 3.767 GB, free: 208.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/7.824, allocations: 46.34 kB / 3.767 GB, free: 208.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=78): time 4.318e-06/7.824, allocations: 0 / 3.767 GB, free: 208.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=81): time 0.005724/7.829, allocations: 2.544 MB / 3.769 GB, free: 207.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/7.829, allocations: 65.28 kB / 3.769 GB, free: 207.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/7.83, allocations: 0.7693 MB / 3.77 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/7.831, allocations: 25.7 kB / 3.77 GB, free: 207.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/7.831, allocations: 394.8 kB / 3.77 GB, free: 207.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000312/7.831, allocations: 279.7 kB / 3.771 GB, free: 207.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/7.831, allocations: 0 / 3.771 GB, free: 207.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001011/7.831, allocations: 340.3 kB / 3.771 GB, free: 207 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005614/7.832, allocations: 441.4 kB / 3.771 GB, free: 207 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006566/7.833, allocations: 0.599 MB / 3.772 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006756/7.833, allocations: 0.55 MB / 3.773 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/7.833, allocations: 3.188 kB / 3.773 GB, free: 206.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001707/7.835, allocations: 1.197 MB / 3.774 GB, free: 206.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002294/7.835, allocations: 1.056 MB / 3.775 GB, free: 205.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/7.835, allocations: 3.469 kB / 3.775 GB, free: 205.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002412/7.835, allocations: 69.91 kB / 3.775 GB, free: 205.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/7.837, allocations: 193.7 kB / 3.775 GB, free: 205.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/7.838, allocations: 2.912 MB / 3.778 GB, free: 203.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/7.84, allocations: 106.2 kB / 3.778 GB, free: 203.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/7.84, allocations: 35.23 kB / 3.778 GB, free: 203.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.657e-06/7.84, allocations: 3.781 kB / 3.778 GB, free: 203.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001354/7.841, allocations: 1.061 MB / 3.779 GB, free: 203.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/7.841, allocations: 7.5 kB / 3.779 GB, free: 203.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/7.842, allocations: 67.02 kB / 3.779 GB, free: 203.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007304/7.842, allocations: 171 kB / 3.779 GB, free: 203.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/7.844, allocations: 1.722 MB / 3.781 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/7.845, allocations: 104.7 kB / 3.781 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.052e-05/7.845, allocations: 31.03 kB / 3.781 GB, free: 201.9 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002351/7.845, allocations: 130 kB / 3.781 GB, free: 201.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/7.846, allocations: 107.5 kB / 3.781 GB, free: 201.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/7.847, allocations: 1.153 MB / 3.782 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/7.847, allocations: 7.375 kB / 3.782 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/7.847, allocations: 0 / 3.782 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001253/7.849, allocations: 1.218 MB / 3.784 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004029/7.853, allocations: 2.629 MB / 3.786 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/7.853, allocations: 4.406 kB / 3.786 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/7.854, allocations: 224.5 kB / 3.786 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002174/7.854, allocations: 69.75 kB / 3.786 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-05/7.854, allocations: 16.67 kB / 3.786 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/7.856, allocations: 2.909 MB / 3.789 GB, free: 198.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/7.856, allocations: 4.828 kB / 3.789 GB, free: 198.4 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002274/7.858, allocations: 2.03 MB / 3.791 GB, free: 198 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007724/7.859, allocations: 323.4 kB / 3.792 GB, free: 197.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002672/7.859, allocations: 13.73 kB / 3.792 GB, free: 197.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/7.86, allocations: 85.47 kB / 3.792 GB, free: 197.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.862e-05/7.86, allocations: 50.05 kB / 3.792 GB, free: 197.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-05/7.86, allocations: 28.62 kB / 3.792 GB, free: 197.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0007938/7.861, allocations: 0.6142 MB / 3.792 GB, free: 197.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002626/7.864, allocations: 0.7201 MB / 3.793 GB, free: 197.8 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00215/7.866, allocations: 1.501 MB / 3.795 GB, free: 197.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002939/7.869, allocations: 1.865 MB / 3.796 GB, free: 197.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/7.869, allocations: 0 / 3.796 GB, free: 197.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008272/7.87, allocations: 0.645 MB / 3.797 GB, free: 197.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003478/7.873, allocations: 0.702 MB / 3.798 GB, free: 197.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004794/7.878, allocations: 2.613 MB / 3.8 GB, free: 196.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/7.88, allocations: 1.535 MB / 3.802 GB, free: 195.9 MB / 0.9323 GB Notification: Performance of SimCode: time 7.52e-07/7.88, allocations: 2.188 kB / 3.802 GB, free: 195.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.05885/7.938, allocations: 37.25 MB / 3.838 GB, free: 195.1 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)